background image

CS-GSM/GPRS Digital Transceiver Kits (including the COM110A modem) 

28 

9.2.2  Setting up call-back in Loggernet Version 4 

In Loggernet 4 there is a new root device called a PakbusTCPServer that has a 
single call-back port.  Multiple dataloggers are attached to this port and are 
identified, when they call-back, by their Pakbus address rather than the port they 
call-back on.  This simplifies the configuration of the dataloggers and only 
requires one port to be configured in 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 documented in the Loggernet help system.  If you are able 
to call out to a device that has a fixed IP address enter it in the Outbound Pakbus 
connection table, matching the logger Pakbus address to its fixed IP address, with 
the logger’s Pakbus service port appended to the end. 

If the logger can only call back and you wish Loggernet to try to hold on and 
maintain the connection, enter the logger or range of loggers with a specific 
Pakbus address into the Maintained node table. 

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: