background image

Using with Campbell Scientific Dataloggers 

4.

 

Connect the power supply to the COM110A modem, by connecting the 
red/black power lead either directly to the outlet of the power supply, if 
powering the device continuously or to a suitable power switch – see Section 
6.3 below.  It is best to connect the power as close as possible to the battery 
rather than to terminals on the datalogger if possible.   

5.

 

Turn on the power to the datalogger and COM110A modem. The status LED 
on the end of the package, near the SIM socket should come on continuously 
initially.  After a period of about 15 seconds the LED will start to flash 
briefly every 2-3 seconds.  When the LED starts to flash it indicates that the 
modem has signed onto the phone network successfully. Note the frequency 
of flashing will vary with the depending on the power state of the modem and 
whether data is being transferred. 

6.

 

Start-up your PC and run PC400, Loggernet or your chosen communications 
program.  Set up a phone or TAPI connection to the datalogger, following the 
instructions for your software package to do this.  Enter the data phone 
number assigned to your SIM as the phone number of the datalogger to be 
called. 

7.

 

Apply the setup setting and then connect to the datalogger.  You should find 
the PC connects to the datalogger and the displayed datalogger time then 
starts to update showing you have a working system. If this does not happen 
please read the rest of this manual in more detail. 

The COM110A  includes features to prevent it locking up and 
going  offline.  However,  there  are  still  some  rare  events,  e.g. 
voltage  surges  or  network  reconfiguration  from  which  it  may 
not  automatically  recover.  For  the  highest  reliability  it  is 
therefore  advisable  to  include  code  within  your  datalogger 
program to reset the modem at regular intervals. Please refer 
to Section 10 of this manual for more details of how to do this. 

3.  Quick Start Guide 

– for GPRS communications 

The COM110A modem can also be used for GPRS communications.  The 
COM110A will support dataloggers that run their own 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. 

This quick start section only covers systems which have a SIM card with a fixed IP 
address.  Other configurations are detailed elsewhere in this manual.  

1.

 

Make sure you have a data enabled SIM with the security PIN disabled and 
enabled for GPRS use. To insert the SIM card eject the card tray from the 
end of the modem by pushing in the button with a small screwdriver or pen.  
Put the SIM card in the small card tray taking care the angled corner of the 
card matches the moulding in the tray.  The gold plated contacts of the card 
should be uppermost and remain so when the card tray is pushed back into 
the modem. 

2.

 

Now the modem and logger should be setup using the Mobile Data Assistant 
package.  To do this you require a modem programming cable (a grey 9 to 15 
way serial cable), plus an optional USB-Serial convertor, a cable to allow 
communication with the datalogger and a power supply to power the modem 
and logger. 

3.

 

Install the Mobile Data Assistant package and start it running.  You will be 
presented with a screen like that shown below. 

CAUTION 

Summary of Contents for COM110A

Page 1: ...CS GSM GPRS Digital Transceiver Kits including the COM110A modem Issued 10 8 15 Copyright 2013 14 Campbell Scientific Ltd CSL 997 USER MANUAL...

Page 2: ......

Page 3: ...er the 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 rep...

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: ...mode when it is set for GPRS comms 13 5 6 Sending configuration commands in the modem 13 6 Installation of the COM110A modem 13 6 1 Configuring and Fitting the SIM 13 6 2 Connection to a Datalogger 14...

Page 8: ...RS Advanced fault finding 36 11 5 GPRS Fault finding when using the modem TCP IP stack 37 Appendices A Using the COM110A with the PIN Security Feature Enabled A 1 A 1 Introduction A 1 A 2 CRBasic Prog...

Page 9: ...Basic Program Example E 1 E 3 CR10X Program Example E 2 F Configuring the COM110A via the datalogger F 1 Table 1 COM110A modem Power Supply Connections via a PSW12 switch 16 Figures 1 Connecting the C...

Page 10: ......

Page 11: ...phone network The COM110A modem is a digital radio transceiver that works on GSM networks it can be thought of as equivalent to a phone modem but without the telephone line connection It is therefore...

Page 12: ...of the reduced propagation range of higher frequency radio waves Therefore GSM1800 phones have a shorter range which can cause more problems in areas of dubious signal coverage 2 Quick Start Guide for...

Page 13: ...re still some rare events e g voltage surges or network reconfiguration from which it may not automatically recover For the highest reliability it is therefore advisable to include code within your da...

Page 14: ...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 often known as a software stack The...

Page 15: ...odem 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 will load the APN and other settin...

Page 16: ...network reconfiguration from which it may not automatically recover For the highest reliability it is therefore advisable to include code within your datalogger program to reset the modem at regular i...

Page 17: ...nywhere without installing land or telephone lines However this only applies if a suitable GSM network covers your installation site Within the UK the coverage of GSM networks is good in most areas Ho...

Page 18: ...and set up for the phone account by the network operator the connection time can be reduced to one or two seconds which can substantially reduce the call bill This is done by setting the system to co...

Page 19: ...ose loggers currently include the CR800 series CR1000 and CR3000 dataloggers 5 1 Network coverage The same considerations as outlined in Section 4 1 above apply in terms of the type of network and sig...

Page 20: ...and realise the likely costs Where an always on connection is required a flat rate tariff will likely be more economic or you should at least negotiate a volume discount tariff with your provider In...

Page 21: ...on to a remote system e g your Loggernet server It will do this as soon as it is powered up and a PPP connection is established It will try to open the socket once per second until successful This is...

Page 22: ...is it is important to deregister the modem from the network before turning off the power This is usually done by sending a command AT CFUN 0 to the modem and waiting at least 2 seconds before turning...

Page 23: ...nstallation of the COM110A modem 6 1 Configuring and Fitting the SIM Before the COM110A modem can be used or tested it must be fitted with a SIM card Subscriber Identification Modem that enables it fo...

Page 24: ...the CS I O port It is advisable to make sure you are running the latest operating system in the datalogger before deploying a GPRS system to ensure you have all the latest IP related features in the d...

Page 25: ...odem requires a power supply capable of supplying 5 32V DC at an average current of up to 500 mA with short peak currents of 2 5A at 5 5 V supply COM110A is fitted with a 2A slow acting fuse in an inl...

Page 26: ...ground plane should have a radius equal to or greater than the height of the radiator Slightly higher priced co linear marine grade antennae do not require such a ground plane and can be more easily p...

Page 27: ...fic Campbell Scientific can supply various antennas if required including a low cost antenna see Figure 2 below This is supplied as part of the standard CS GSM GPRS package In areas of high signal str...

Page 28: ...t can take some experimentation to find the best orientation to get the optimum reception 7 Configuring the COM110A modem If bought as part of a CS GSM GPRS package the COM110A modem will be preconfig...

Page 29: ...e used with the Mobile Assistant program because the reset procedure does not work via this cable combination Prior to attempting to setup a modem for GPRS communication you need to decide whether you...

Page 30: ...he local network giving a measure of signal strength too If the modems own TCP IP stack is being used you can also see if it has acquired an IP address 7 2 Mobile Data Assistant Program Terminology Th...

Page 31: ...ser name provided by your SIM provider to allow access to the GPRS service Sometimes this is blank or a common name for all users Setup Settings for IP connection Password the password provided by you...

Page 32: ...re is a facility to be able view the commands sent to the modem and also to record the process to aid in support This is accessed by clicking in the very right of the screen which becomes highlighted...

Page 33: ...ommands to it Please contact Campbell Scientific for details of those commands if required The setup of the datalogger can also be done using the Campbell Scientific Device Configuration program This...

Page 34: ...modem as a Base Station using Loggernet Neither Campbell Scientific nor the manufacturer provide specific drivers for the COM110A modem Instead they recommend that you follow the normal Windows proce...

Page 35: ...C software may need to be extended In Loggernet or PC400W a station specific delay can be added by increasing the time in the Extra response time box shown on the datalogger hardware set up screen Thi...

Page 36: ...of outgoing IP 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 add...

Page 37: ...tion 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 the sett...

Page 38: ...firewalls routers 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 documen...

Page 39: ...ode 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 support If th...

Page 40: ...ing a PC running Windows XP with SP2 SP3 Vista Windows 7 or Windows 8 or equivalent server versions as the Loggernet server you will as a minimum need to check the Firewall settings via the advanced s...

Page 41: ...mples in Appendix B check if the modem is online before turning off the power You should also avoid scheduling calls to the logger when it is due to power off If possible the AT CFUN 0 command should...

Page 42: ...ber of attempts required to retrieve good data retries While the chances of getting bad data stored to disk are very small because of the error checking protocols used the speed at which data is colle...

Page 43: ...indicator although this could be done if required by including code in your logger program and an LED to a control port There are some other methods of checking if a connection has at least been esta...

Page 44: ...al 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 inf...

Page 45: ...tication 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 end up...

Page 46: ...ne to which the 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...

Page 47: ...ion 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 an IP ad...

Page 48: ...CS GSM GPRS Digital Transceiver Kits including the COM110A modem 38...

Page 49: ...e after the 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...

Page 50: ...nterval 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 comm...

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

Page 52: ...length 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 examp...

Page 53: ...hnical 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 ca...

Page 54: ......

Page 55: ...solar panel will suffice Please refer to Technical Note 12 Calculating Power Consumption and Solar Panel Size for further details To allow the COM110A to receive calls program the datalogger to set th...

Page 56: ...ts 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 cont...

Page 57: ...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...

Page 58: ...2 Batt Voltage P10 1 1 Loc BattV and if it is than 11 5 V turn on the COM110A 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 tu...

Page 59: ...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 60: ......

Page 61: ...n Telecommunications 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 O...

Page 62: ...rmat 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 o...

Page 63: ...of network 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 inf...

Page 64: ...es a 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...

Page 65: ...The default setting in Europe After issuing the command the COM110A 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...

Page 66: ......

Page 67: ...0W to 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...

Page 68: ...CS GSM GPRS Digital Transceiver Kits including the COM110A modem D 2...

Page 69: ...e past 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 controlli...

Page 70: ...extScan EndProg E 3 CR10X Program Example CR10X Program example showing how to reset the COM110A once per day and also how to reset the low power mode Instruction 97 is used to send out the reset comm...

Page 71: ...mands 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...

Page 72: ......

Page 73: ...ger 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 co...

Page 74: ...it is 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...

Page 75: ......

Page 76: ...Centro Caribe S A CSCC 300N Cementerio Edificio Breller Santo Domingo Heredia 40305 COSTA RICA www campbellsci cc info campbellsci cc Campbell Scientific Ltd CSL Campbell Park 80 Hathern Road Shepshe...

Reviews: