background image

Using with Campbell Scientific Dataloggers 

 

Check the modem was configured correctly. 

 

Check you have set the correct APN, username and password. 

 

Double check with your airtime provider that the SIM is GPRS enabled. 

 

Check the datalogger operating system is up to date. 

If the datalogger has firmware version 22 onwards additional information is 
provided in the IPInfo field of the status table that can be used to track progress of 
PPP connection.  The information is shown at the end of the address messages 
after the "ppp gw:..." information. This field can be monitored with the Device 
Configuration program, or in the Table monitor of the Connect client of 
Loggernet.  Either of those programs only update every second, at best, which 
may not be fast enough as some of the information messages displayed are 
transitory.  To get a faster update of the message you need to use the numeric 
monitor screen and show the IPInfo field alone. You can decrease the update 
interval below 1 second.  You can also increase the field width to see the whole 
message. 

33 

Summary of Contents for CS-GSM/GPRS

Page 1: ...CS GSM GPRS Digital Transceiver Kits including the COM110 modem Issued 16 9 13 Copyright 2013 Campbell Scientific Ltd CSL 997 USER MANUAL...

Page 2: ......

Page 3: ...e repair is under guarantee or not Please state the faults as clearly as possible and if the product is out of the guarantee period it should be accompanied by a purchase order Quotations for repairs...

Page 4: ......

Page 5: ...t for recycling Any batteries contained within the product or used during the products life should be removed from the product and also be sent to an appropriate recycling facility Campbell Scientific...

Page 6: ......

Page 7: ...up modewhen it isset for GPRS comms 12 5 6 Sending configuration commandsin themodem 12 6 Installation of the COM110 modem 13 6 1 Configuring and Fitting theSIM 13 6 2 Connection to aDatalogger 13 6 2...

Page 8: ...Advanced fault finding 34 11 5 GPRSFault finding when using themodem TCP IP stack 35 Appendices A Using the COM110 with the PIN Security Feature Enabled A 1 A 1 Introduction A 1 A 2 CRBasic Program Ex...

Page 9: ...Basic Program Example E 1 E 3 CR10X Program Example E 2 F Configuring the COM110 via the datalogger F 1 Table 1 COM110 modem Power Supply ConnectionsviaaPSW12 switch 15 Figures 1 Connecting theCOM110...

Page 10: ......

Page 11: ...ction It is therefore commonly called a modem It has the following features Standard RS232 serial port Relatively low power consumption Wide operating temperature range 30 C to 75 C Can be used to col...

Page 12: ...05 or RS232 variants can also be use for GSM dial up use All modem are preconfigured so they should work out of the box for GSM dial up use This section of the manual gives brief instructions and poin...

Page 13: ...TCP IP software e g the CR800 CR1000 and CR3000 loggers or it can be used running TCP IP functions built into the modem which will give basic communication over GPRS for other loggers e g the CR200X T...

Page 14: ...ll then be prompted for the method of IP connection For the CR800 CR1000 and CR3000 select Logger IP Stack this indicates you will use the TCP IP functionality built into the logger operating system o...

Page 15: ...m should report it has setup the modem correctly Then click on Done If you are using the Logger TCP IP software stack you will now be prompted if you wish to setup the datalogger to suit This process...

Page 16: ...network of the same frequency For voice communications this theory almost works in practice except that many airtime providers the company you pay for use of the phone limit the geographical range of...

Page 17: ...re having to make multiple requests to ensure uncorrupted data is collected This will not usually lead to data loss or corruption but may result in longer calls and thus higher call charges The networ...

Page 18: ...become a standard for always on data connections with GSM mobile phones GPRS technology offers many potential advances in remote telemetry These include Fast connection time compared to phone GSM as f...

Page 19: ...e used with an airtime contract that allows GPRS communications Some SIMs are sold as 3G compatible which means they can be used in 3G phones too It is important to check with your supplier that any S...

Page 20: ...ger will automatically start to send beacon messages once per minute to the device that called This will hold the connection open which is useful as some GPRS providers will cut off inactive connectio...

Page 21: ...more than four connections to different servers are required When using the Modem IP Stack for a program controlled call back the modem will only make the IP connection when it receives data from the...

Page 22: ...s for shutting down the GPRS link Normally the only option is by cutting the power to the modem If this is done avoid doing this too frequently as it is not possible to cleanly log off from the networ...

Page 23: ...e SIM suppliers send the SIM with the PIN enabled and set to a default PIN number Check the documentation that came with your SIM The SIM card is installed in the COM110 modem in the slot at the aeria...

Page 24: ...se take not of the marking on the case of the SC105 indicating which end connects to the datalogger to ensure it is installed the correct way around The SC105 may need to be configured before use to m...

Page 25: ...lly around 5 mA once the unit automatically shuts down at the end of a call Having the unit powered all the time ensures unhindered access at any time by remote users and also avoids complications of...

Page 26: ...Using a cheaper low gain antenna may result in a significant increase in power consumption in areas of poor signal coverage If the antenna is placed near the top of a mast or has long antenna cables...

Page 27: ...ed above it is often more advantageous to mount the antenna higher In some applications the cable will need to be shortened and so a new connector can be installed onto the cable at this time by cutti...

Page 28: ...l port to the modem connected on another When the modem is offline you can manually send configuration commands to the modem via this route see the datalogger manual for a description of terminal mode...

Page 29: ...talogger needs to be will configure a datalogger too if it is available If the logger is not available it can be setup later using either this program or using the Campbell Scientific Device Configura...

Page 30: ...ack and is set to call back but only to make a connection where commands in the program trigger serial communication via the modem e g the SendVariables command to trigger a call back collection This...

Page 31: ...Mobile Data Assistant is straightforward and only requires you to step through the options and wait for the system to be setup If this process is not completed correctly and does not complete after a...

Page 32: ...red The setup of the datalogger can also be done using the Campbell Scientific Device Configuration program This can be used to manually enter the PPP settings change the communications port or its ba...

Page 33: ...or Standard 19200 bps Check that Windows finds the modem and attaches it to the correct COM port For this to work you must make sure the baud rate of the modem has been setup previously to match the...

Page 34: ...the datalogger hardware set up screen This delay is entered in seconds Loggernet has a default built in delay of 2 seconds which is adequate for use with the COM110 modem in most cases On busy network...

Page 35: ...ports is limited perhaps due to a firewall restriction Pakbus loggers with discreet Pakbus addresses can be connected via a PakbusTCPServer as shown below Loggernet 4 onwards The IP address of the re...

Page 36: ...a connection This setting ensures Loggernet returns to a state of waiting for another call back as soon as possible The setup screen for Loggernet 3 4 is shown below When filling in that setup screen...

Page 37: ...ers The call back port is entered in the hardware tab as shown below The details of the way calls are routed via this port are entered in the routing tab as shown below and fully documented in the Log...

Page 38: ...xed IP mode if no valid TCP IP packets are received by the datalogger within a few minutes either it or the modem will test the PPP link locally using a special PPP link test that most providers suppo...

Page 39: ...he incoming port numbers you wish to allow dataloggers to call back in on You can test the firewall settings by using that PC from outside your local network to make a connection to Loggernet using th...

Page 40: ...shown in the example in Appendix B If the modem is not cleanly shutdown there may be a delay of some minutes before the network will allow access to the modem again and in GPRS mode prevent modem fro...

Page 41: ...tting bad data stored to disk are very small because of the error checking protocols used the speed at which data is collected can fall markedly if the link is very noisy This will lead to much higher...

Page 42: ...l port There are some other methods of checking if a connection has at least been established The simplest of these is to connect a PC to the other spare serial port on the datalogger CS I O or RS232...

Page 43: ...gress of PPP connection The information is shown at the end of the address messages after the ppp gw information This field can be monitored with the Device Configuration program or in the Table monit...

Page 44: ...authentication failed Username Password invalid for APN being used ppp authenticated Username Password accept and OK ppp up ip xxx xxx xxx xxx peer xxx xxx xxx xxx At the end of a call ppp up should...

Page 45: ...e GPRS modem is connected as described below The full trace information can then be captured into a file for long periods If this is not possible it is possible to capture some key trace messages eith...

Page 46: ...connection and whether an IP address has been allocated If the address has not been allocated please try setting up the modem again making sure the APN username and password are entered correctly If...

Page 47: ...he modem is turned on see the example below For Edlog dataloggers this is done using Instruction P97 Initiate Telecommunications using the Generic Modem option This option was added in recent releases...

Page 48: ...al 0 60 Min Then Set port 1 to 1 ON use writeio as in slowsequence WriteIO B00000001 1 Delay 1 2 sec Allow 2 seconds for the modem to power on SerialOpen Modemport modembaud 0 0 100 Send the command t...

Page 49: ...re calling P97 This is required because it takes approximately two seconds for the COM110 to power up CR10X An example program which shows how to turn the COM110 on and send a PIN code using Instructi...

Page 50: ...th of PIN code 7 65 Option A 8 84 Option T 7 Extended Parameters 4 Digit P68 1 43 Option 2 67 Option C 3 80 Option P 4 73 Option I 5 78 Option N 6 61 Option 7 54 Option 6 8 54 Option 6 This example us...

Page 51: ...al Note 33 Sending SMS Messages using GSM modems For those applications which also use Instruction 97 the AT CPIN can either be sent first as above followed by a second call of P97 to force the callba...

Page 52: ......

Page 53: ...lar panel will suffice Please refer to Technical Note 12 Calculating Power Consumption and Solar Panel Size for further details To allow the COM110 to receive calls program the datalogger to set the r...

Page 54: ...s Declare Public Variables Example Public PTemp batt_volt Main Program BeginProg Normal measurements in the main scan here Scan 1 Sec 0 0 PanelTemp PTemp 250 Battery Batt_volt etc NextScan Modem contr...

Page 55: ...command mode in case online SerialOut Modemport OK CHR 13 1 150 SerialOut Modemport AT CFUN 0 CHR 13 OK CHR 13 1 300 Delay to allow deregistration delay 1 2 sec SerialClose Modemport Set port 1 to 0 L...

Page 56: ...2 Batt Voltage P10 1 1 Loc BattV and if it is than 11 5 V turn on the COM110 3 If X F P89 1 1 X Loc BattV 2 3 3 11 5 F 4 41 Set Port 1 High 4 End P95 At 5 past every hour set Flag 1 to indicate to tur...

Page 57: ...e P97 to set the power control port high if the interrupt disable flag has been set low P97 will automatically set the flag high at the end of a successful call which the P91 will detect at the next s...

Page 58: ......

Page 59: ...communications Standards Institute ETSI web site at www etsi org C 1 Signal Quality Checks AT CSQ Signal Quality Test command AT CSQ Response CSQ list of supported rssi s list of supported ber OK Para...

Page 60: ...oper OK Parameter See set command Set command AT COPS mode format oper Response TA forces an attempt to select and register the GSM network operator If the selected operator is not available no other...

Page 61: ...etwork cell OK Parameter mode 0 Disable network registration unsolicited result code default 1 Enable network registration code result code CREG stat 2 Enable network registration and location informa...

Page 62: ...password which is necessary before it can be operated SIM PIN SIM PUK PH SIM PIN etc If the PIN is entered twice the TA will automatically repeat the PIN If no PIN request is pending no action is take...

Page 63: ...default setting in Europe After issuing the command the COM110 module will have to be reset by power cycling the module to change to the new specified band s The setting is stored in non volatile memo...

Page 64: ......

Page 65: ...correct any communication errors On poor quality lines the PC software will often drop the call and redial when it sees a certain level of errors The non transparent mode is less prone to doing this F...

Page 66: ...CS GSM GPRS Digital Transceiver Kits including the COM110 modem D 2...

Page 67: ...t by CS with some older modules that reset the modem every 24 hours That mode is not now recommended by many networks as it does not cleanly log off the network Clearly if the logger is controlling th...

Page 68: ...Scan EndProg E 3 CR10X Program Example CR10X Program example showing how to reset the COM110 once per day and also how to reset the low power mode Instruction 97 is used to send out the reset commands...

Page 69: ...s below are sent blindly without checking the response from the modem This is done for simplicity and to ensure the logger does not get stuck repeating instruction First send the AT CFUN 1 command to...

Page 70: ......

Page 71: ...3 Connect the logger to the PC e g via the RS232 port and start communicating with it using the Device Configuration program use the latest version from www campbellsci com downloads Select the correc...

Page 72: ...responding normally send ATZ and press enter the modem at a minimum should respond 0 or OK unless it has been configured at the wrong baud rate or all responses have been turned off 14 If there is no...

Page 73: ......

Page 74: ...rta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Scientific Centro Caribe S A CSCC 300N Cementerio Edificio Breller Santo Domingo Heredia 40305 COSTA RICA www campbellsci cc i...

Reviews: