Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

CR1000 - Fastrack Xtend FXT009 modem connection


Coralie Sep 2, 2014 02:50 PM

Hello,

I am trying to establish a PPP connection using a Wavecom Fastrack Xtend (FXT009) and a CR1000 (OS version 25).
The modem is connected to the CR1000 with the RS232 port of the CR1000.

The cable I am using is a custom made cable D15Male-D9male.
The wire connection is as follow:

D15-Male - D9-Male
Fastrack - CR1000

2 (Txd) - 2 (Rxd)
6 (Rxd) - 3 (Txd)
9 (gnd) - 5 (gnd)

I have established a PPP connection using HyperTerminal to configure the modem as follow:
- ATX0
- ATS0=1
- AT+IPR=115200
- AT+IFC=0,0
I have ATV1 so I am expecting result code of "CONNECT" when a PPP connection is established.

In Device Config, I have entered:
RS232 port for PPP (set to 115.2K Auto)
IP address 0.0.0.0
Modem Dial String AT+CGDCONT=1,"IP","orange.m2m";ATD*99***1#
Modem Dial Response CONNECT

I should see some IP addresses in the TCP/IP page on Device Config but the only thing I see is:
PPP IP: 0.0.0.0
PPP gw: 0.0.0.0
ppp state: dialing -> dialing
I have tried to connect the same modem on the CSI/O port of the same CR1000 using the SC932A interface. I changed only the port which is used for PPP and it works…
I really would like to use the RS232 port to communicate with the modem. Does anyone have an idea on what can be wrong?
Any help would be appreciated.
Thanks!
Coralie


aps Sep 4, 2014 10:33 AM

Try connecting pin 1 on the logger to pin 8 on the modem. This is needed because more recent Wavecom modems need to see DTR high before they will dial.


Coralie Sep 5, 2014 07:44 AM

Hi,

Thanks for you rreply. It works now!

Coralie


FRalex Dec 5, 2014 02:07 PM

hi
I try to configure a PPP connection on the COM4 of the CR1000

D15-Male - D9-Male
Fastrack - CR1000
2 (Txd) - C7 (Rxd)
6 (Rxd) - C8(Txd)
9 (gnd) - G (gnd)

with hyper terminal i configure modem like Coralie

ATX0
- ATS0=1
- AT+IPR=115200
- AT+IFC=0,0
- AT&D0

In Device Config, I have entered:
COM4 port for PPP (set to 115.2K)
IP address 0.0.0.0
Modem Dial String AT+CGDCONT=1,"IP","m2minternet";ATD*99***1#
Modem Dial Response CONNECT

I should see some IP addresses in the TCP/IP page on Device Config but the only thing I see is:
PPP IP: 0.0.0.0
PPP gw: 0.0.0.0
ppp state: dialing -> dialing

Can we use the port COM4 on the CR1000 to establish a ppp connection with a fastrack Supreme 10 Modem?

Thanks


FRalex Dec 5, 2014 02:07 PM

hi
I try to configure a PPP connection on the COM4 of the CR1000

D15-Male - D9-Male
Fastrack - CR1000
2 (Txd) - C7 (Rxd)
6 (Rxd) - C8(Txd)
9 (gnd) - G (gnd)

with hyper terminal i configure modem like Coralie

ATX0
- ATS0=1
- AT+IPR=115200
- AT+IFC=0,0
- AT&D0

In Device Config, I have entered:
COM4 port for PPP (set to 115.2K)
IP address 0.0.0.0
Modem Dial String AT+CGDCONT=1,"IP","m2minternet";ATD*99***1#
Modem Dial Response CONNECT

I should see some IP addresses in the TCP/IP page on Device Config but the only thing I see is:
PPP IP: 0.0.0.0
PPP gw: 0.0.0.0
ppp state: dialing -> dialing

Can we use the port COM4 on the CR1000 to establish a ppp connection with a fastrack Supreme 10 Modem?

Thanks


FRalex Dec 5, 2014 02:07 PM

hi
I try to configure a PPP connection on the COM4 of the CR1000

D15-Male - D9-Male
Fastrack - CR1000
2 (Txd) - C7 (Rxd)
6 (Rxd) - C8(Txd)
9 (gnd) - G (gnd)

with hyper terminal i configure modem like Coralie

ATX0
- ATS0=1
- AT+IPR=115200
- AT+IFC=0,0
- AT&D0

In Device Config, I have entered:
COM4 port for PPP (set to 115.2K)
IP address 0.0.0.0
Modem Dial String AT+CGDCONT=1,"IP","m2minternet";ATD*99***1#
Modem Dial Response CONNECT

I should see some IP addresses in the TCP/IP page on Device Config but the only thing I see is:
PPP IP: 0.0.0.0
PPP gw: 0.0.0.0
ppp state: dialing -> dialing

Can we use the port COM4 on the CR1000 to establish a ppp connection with a fastrack Supreme 10 Modem?

Thanks


Coralie Dec 5, 2014 03:00 PM

Hi,

I think the modem Fastrack Supreme 10 baudrate is 9600 bps.
Try to configure both:
- AT+IPR=9600
- COM4 port for PPP to 9600

Regards,

Coralie


FRalex Dec 5, 2014 03:47 PM

hi Coralie
it not working any more at 9600bps...
does the DTR signal was ignored witch the parameter AT&D0?
sometimes i can see in the DATA monitor the ppp state message "dial failed".
regard's

alex


Coralie Dec 8, 2014 10:09 AM

Hi,

Yes try to change this parameter. It might be the problem of DTR signal which is required to communicate with the modem. I have never tried this...

Otherwise, try to make a test by plugging the modem on the RS232 port of the datalogger with a 4 wires connection like here under:
D15-Male - D9-Male
Fastrack - CR1000
2 (Txd) - 2 (Rxd)
6 (Rxd) - 3(Txd)
9 (gnd) - 5 (gnd)
8 (DTR) - 1 (DCD)

In this way, you will be sure your modem is working.

Then, try to change modem configuration with the AT command which cancel the DTR signal, maybe AT&D0 but i have never tested.

Regards,

Coralie


FRalex Dec 10, 2014 03:00 PM

hi Coralie

It works now!
i compile my program in "sequentialmode"
regard's

Alex


smeck Jun 6, 2016 03:28 PM

Hello,

I am trying to establish connection of CR1000 with FTX009 through RS232 port. Probably it is somehow related to previous posts, so I am continuing here.

Cable connection is as follows:
D15-Male - D9-Male
FTX009 - CR1000
2 (Txd) - 2 (Rxd)
6 (Rxd) - 3(Txd)
9 (gnd) - 5 (gnd)
8 (DTR) - 1 (DCD)

Device config:
RS232 port for PPP (set to 115.2K Auto)
IP address 0.0.0.0
Modem Dial String ATV1;AT+CGDCONT=1,"IP","xxxxxxxxx";ATD*99***1#
Modem Dial Response CONNECT

On TCP/IP page I see:
PPP IP: 0.0.0.0
PPP gw: 0.0.0.0

ppp state: dialing START
 -> dialing ECHO

dns: xxx.xx.xxx.xxx
(where xxx are real numbers and I can ping that IP)

and no connection is made. Is there any other thing which should be set? Or Is there any other method to check/make connection? I don't have CS I/O port adapter...

thanks


Coralie Jun 14, 2016 04:36 PM

Hello Smeck,

You should remove the ATV1 in the Modem Dial String and set it to AT+CGDCONT=1,"IP","xxxx";ATD*99***1# where xxxx is the APN of your internet provider. In my case it was orange.m2m

The command ATV1 should be set in your modem confoguration and it should be as follow:

- ATX0
- ATS0=1
- AT+IPR=115200
- AT+IFC=0,0
- ATV1 (if ATV1, then Modem Dial Response should be set to CONNECT in the CR1000 configuration using DevicConfig)

Also, set the RS232 port for PPP to 115.2K Fixed in Devic Config

Regards,

Coralie


smeck Jun 14, 2016 09:55 PM

Hello Coralie,
thank you for your response.
I tried to apply modem configuration through both ports (USB and DSUB15) to be sure that modem is configured according to your recommendation, but nothing changed.
How long should I wait for succcesfull connection of modem?
I have static IP, should I include it into connection string?

Regards,
Smeck


FRalex Jun 15, 2016 07:23 AM

hi every body

You can use the PPPopen/PPPclose instruction to program when you want to connect your modem on GPRS.

also, this instruction return the IP adress and you can monitor them in a data table if you don't have a CR1000KD

In my appz, I have programmed my CR1000 to send data every day at 8:00 am.

regard's

Alex


Coralie Jun 15, 2016 05:25 PM

Hi Smeck,

You have to configure the modem but also the CR1000 through device configuration.

Ensure your APN name is the good one.

Then, you should get an IP address after few seconds to 1 min but not more I think. You can see the IP address in Device Configuration on TCP/IP page PPP IP.

Then, to transfer your data, you have to modify your CRBasic program according to what you want to do. Initiate communication with PPPOpen etc.... You can find documentation with some codes examples.

I hope it will work,

Regards,

Coralie


smeck Jul 5, 2016 09:00 PM

Hi all,

thanks for the support, now I have found problem solution. The main "devil" was in dialstring, station is working with this one:

AT+CGDCONT=1,"IP","xxxxxxxxx","vvvv.yyy.zzz.uuu";ATD*99***1#

The problem was at the static IP address of my SIM card "vvv.yyy.zzz.uuu". It have to be written exactly with three numbers in each part of address - in my case with leading zeros. Also probably modem configuration from Coralie helped to make it working now.

Best regards

Smeck


novicok Sep 26, 2016 07:20 AM

Dear All,

I have some problem. I can use of the remote control of the data logger

i  used instruction manual and tried to configurate GPRS connection. 

our equipments are:

CR 1000

Fastrack modem

sc105 interface

I insert SIM card with static IP address

I have question:

Modem Dial String AT+CGDCONT=1,"IP","orange.m2m";ATD*99***1#
Modem Dial Response CONNECT

if i am using Static IP address 

 I must be change orange.m2m to APN name or provider name like "azercell"

port nummber must be 6785?

i used cports but cant see this port  logger net is in 6789 port

best regards

 


novicok Nov 13, 2016 06:06 PM

Dear Coralie,

you write:

You have to configure the modem but also the CR1000 through device configuration. OK

OK and  I understood

Ensure your APN name is the good one.

OK and I understood

Then, you should get an IP address after few seconds to 1 min but not more I think. You can see the IP address in Device Configuration on TCP/IP page PPP IP.

Ok,  I understood and  I did

Then, to transfer your data, you have to modify your CRBasic program according to what you want to do. Initiate communication with PPPOpen etc.... You can find documentation with some codes examples.

but it is not clear to me Can you specify more detail. 


Coralie Dec 2, 2016 10:22 AM

Hi Novicok,

Here under an example showing how to start and shutdown the modem for example.

To transfer datalogger's data to a server, you have several solutions:

- using Loggernet software on the remote computer

- using FTPClient command in your CRBasic program

- sending email ....

Const GPRS_ModemBaudRate = 115200
Const GPRS_ModemPort = ComRS232

Const GPRS_CR = CHR(13)

Const GPRS_OK = CHR(10)& "OK"

----------------------

Sub ModemOFF 'modem shutdown

PPPClose

SerialOpen(GPRS_ModemPort,GPRS_ModemBaudRate,0,20000,100)

SerialOut(GPRS_ModemPort,"AT+CFUN=0" & GPRS_CR,GPRS_OK,3,200)

Delay(1,5,sec)
SerialClose(GPRS_ModemPort)
SW12(0)

Delay(1,10,sec)

EndSub

----------------------

Sub ModemON ‘modem on

SW12(1)

Delay(1,45,sec)

ppp=PPPOpen

Delay(1,15,sec)

EndSub

----------------------

SlowSequence Scan(60, Min, 3, 0)

If IfTime (9,24,Hr) Then

ModemON

EndIf

If IfTime (11,24,Hr) Then

ModemOFF

EndIf

Next Scan

Log in or register to post/reply in the forum.