background image

 

 
 
 
 
 
 
 
 
 

 

 

CS-GSM/GPRS 

Digital Transceiver Kits 

(including the COM110 modem) 

 

 

 

 

 
 
 
 

 

 
 
 
 
 
 
 
 
 

Issued: 16.9.13 

 

Copyright © 2013 Campbell Scientific Ltd 

 
 

CSL 997 

USER MANUAL

 

Summary of Contents for COM110

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: ...he 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 can be given on request It is the policy of Campbell Scientific to protect the health of its employees and provide a safe working environment in support of this policy a Declaration of Hazardous Mate...

Page 4: ......

Page 5: ...nt 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 Ltd can advise on the recycling of the equipment and in some cases arrange collection and the correct disposal of it although charges may apply for some items or territories For further advice or su...

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 1 Connection to aCSI O Port 14 6 2 2 Connection to an RS232 Port 14 6 3 Connecting Power 15 6 4 Selecting and Connecting an Antenna 16 6 4 1 AntennaSupplied by Campbell Scientific 17 7 Configuring t...

Page 8: ...SAdvanced 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 Example A 1 A 3 CR10X Program Example A 3 B Controlling the Power Supply to the COM110 Modem B 1 B 1 Controlling thePower Consumption of theCOM110 modem B 1 B1 1 CRBasic Program Exampleof Power Control...

Page 9: ...RBasic 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 modem to aDatalogger 14 2 Low cost dual band antennasupplied by Campbell Scientific 17 iii ...

Page 10: ......

Page 11: ...ection 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 collect data from a datalogger at a similar speed to a land based 9600 baud modem in good reception areas and faster in GPRS mode Closely emulates a standard Hayes style telephone modem suitable for sit...

Page 12: ...105 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 pointers to the rest of the manual to enable you to setup the system and get running quickly 1 Make sure you have a data enabled SIM with the security PIN disabled You should have been notified of a tele...

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 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 s...

Page 14: ...ill 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 often known as a software stack Then select the method of connection control select Logger Listening for all other loggers select Select the Modem Listening option At this point you will be asked for ...

Page 15: ...am 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 will load the APN and other settings into the logger and configure its communication ports The logger needs to be connected to the same serial port as the modem was Click continue and after short del...

Page 16: ...M 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 most phones and some do not have agreements with distant providers For data transmission most networks support the SMS Short Message System This is not very practical for collecting large volumes of...

Page 17: ...are 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 network maintainer will be able to offer advice on coverage problems Campbell Scientific can also offer further advice on suitable antennae to suit the application 4 2 GSM data call charges Call charges on...

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 fast as a few seconds Lower cost of data transfer Always on connection if your system has the power to keep a GPRS modem powered all the time then it is possible to set up a system that is always on w...

Page 19: ...be 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 SIM supplied will work in a GSM GPRS phone and that GPRS operation is enabled and any 3G compatibility does not slow down the log on process to the network which has been seen on UK O2 networks When b...

Page 20: ...gger 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 connections and also ensures the connection is working however this does incur data traffic charges See the help within Loggernet for connecting via an IP port the port number must match that set for the Pakb...

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 attached logger to transmit Normally you would trigger the connection by using the standard call back commands in the logger program which would trigger data exchange with Loggernet on a direct conne...

Page 22: ...ns 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 network which can lead to delays in registering the modem when power is restored In either mode of operation you can use the call back function of Loggernet see above to make a special call back to the log...

Page 23: ...me 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 aerial end of the case Before installing the SIM make sure power is disconnected from the modem The SIM is installed in a small tray that has to be ejected by pushing in the small green button which is to...

Page 24: ...ase 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 make sure it is in modem mode and the baud rate of its serial port matches the speed set for the COM110 Please refer to the SC105 manual for further details 6 2 2 Connection to an RS232 Port If using ...

Page 25: ...ally 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 having the datalogger program include code to control the power For very low power installations turning the power off may be essential though To do this it is possible to control the power supply to...

Page 26: ...n 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 it may be vulnerable to lightning damage If lightning is common at the installation site additional lightning protection may be required to protect the COM110 modem please contact Campbell Scientific...

Page 27: ...ned 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 cutting off the surplus cable together with the original connector and fitting a new connector Ensure that all connections are well made and the connector is secured using a crimping tool or pliers The co...

Page 28: ...al 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 and refer to Appendix F of this manual It is not possible to run the Mobile Data Assistant package via this type of connection If the COM110 modem has been purchased with a cable for plugging into a...

Page 29: ...atalogger 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 Configuration program The Diagnostics option shows you the modem can connect to the 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 ha...

Page 30: ...tack 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 allows optimisation of power and data use Setup Settings for IP connection APN the access point name provided by your SIM provider This points the system to a server through which is accesses the GPR...

Page 31: ...e 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 second attempt there 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 ...

Page 32: ...ired 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 baud rate and also to control the automatic call back option This tool may still need to be used if you are running the logger s TCP IP stack and you wish to change the IP services it supports as a ser...

Page 33: ...s 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 modem type selected Thereafter you can use the modem to call out using the TAPI interface You can also use the Phone modem option in Loggernet using the default modem type with the baud rate set to 9...

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 networks or with poor communication links a value of 3 or even 4 may be required to allow the error correction process to function Where a COM110 modem is used as the base station modem it is advisable to i...

Page 35: ...P 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 remote logger is entered in the Routing screen as an Outgoing connection 25 ...

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 the settings for the Internet address and the IPPort on the IPPort hardware screen are largely irrelevant in this case as Loggernet cannot make new outgoing calls as most loggers with dynamic IPs ass...

Page 37: ...ters 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...

Page 38: ...ixed 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 support If that fails or 30 minutes pass with no real data being transferred it will attempt to hang up the PPP connection and reconnect This process allows detection and recovery from a broken GPRS conne...

Page 39: ...the 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 the Telnet program this is an optional part of recent Windows installations that you may need to enable first If enabled use Start Run cmd enter and then type telnet n n n n port enter Where n n n n is...

Page 40: ...o 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 from establishing a PPP connection Repeatedly cutting the power off to the modem without taking these precautions can cause a corruption to the modem settings or firmware that may need to be reset at th...

Page 41: ...etting 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 phone charges If many retries are recorded it is worth checking the signal strength studying the antenna position and the likely causes of interference If you still encounter problems it is also wor...

Page 42: ...ol 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 depending on which interface is used for the modem and presuming you have a compatible cable interface Run the Device Configuration program screen connect to the datalogger and use the data monitor t...

Page 43: ...ogress 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 fast...

Page 44: ...p 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 end up showing the same values as ppp ip and ppp gw Where peer should be the gateway For a successful connection the messages should follow a sequence such as initialized dialling dial connecting dia...

Page 45: ...he 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 either into a datatable or file in the datalogger memory The former is done using the IPTrace command in your program see the CRBasic help however only a limited amount of information can be captured tha...

Page 46: ...k 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 an IP address has been allocated you can check a system setup for call back operation by running Loggernet and use the Logtool to check the modem is opening the incoming socket as expected If not che...

Page 47: ...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 releases of the CR510 CR10X and CR23X operating systems from versions 1 06 1 13 and 1 10 and later respectively If you have one of these dataloggers with an older operating system you should download the lat...

Page 48: ...val 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 to unlock the pin code PIN 601141 in this case Allow one retry SerialOut Modemport AT CPIN 601141 CHR 13 OK CHR 13 1 100 SerialClose Modemport EndIf 10 minutes later turn the modem off If TimeIntoInte...

Page 49: ...ore 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 Instruction P97 with the Generic Modem option The power to the COM110 is controlled by Port 1 Please note that no measurement or data storage instructions are shown this is an example of COM110 power control ...

Page 50: ...gth 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 uses a PIN code of 66011411 8 Extended Parameters 4 Digit P68 1 48 Option 0 2 49 Option 1 3 49 Option 1 4 52 Option 4 5 49 Option 1 6 49 Option 1 7 13 Option CR 8 82 Option R to wait for response 9 Ext...

Page 51: ...cal 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 callback once the first call is successful or the AT CPIN command can be incorporated in the normal dial string Please contact Campbell Scientific if further advice on these techniques is needed If a COM11...

Page 52: ......

Page 53: ...olar 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 relevant control port high which controls the power switch which will turn the COM110 on The COM110 will not answer an incoming call when the power control line is low Control is normally done using t...

Page 54: ...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 control slow sequence can be cut and pasted as self contained Set this constant to match the port the modem is connected to Const Modemport COMRS232 Const Modembaud 115200 Change to match modem baud rate ...

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 LOW use writeio as in slowsequence WriteIO B00000001 0 timetogooff false EndIf NextScan EndProg ...

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 turn off the COM110 when any current call is finished 5 If time is P92 1 5 Minutes Seconds into a 2 60 Interval same units as above 3 11 Set Flag 1 High If Flag 1 is set AND 6 If Flag Port P91 1 11 Do i...

Page 57: ...re 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 scan and turn the COM110 off It is always best to design a power supply that has plenty of spare capacity to cope with the power demands of the entire measurement system If the power supply is inadequ...

Page 58: ......

Page 59: ...ecommunications 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 Parameter See execute command Execute command AT CSQ Response TA returns received signal strength indication rssi and channel bit error rate ber from the ME CSQ rssi ber OK Parameter rssi 0 113 dBm or le...

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 operator will be selected except mode 4 The selected operator name format will apply to further read command COPS also OK Parameter stat 0 unknown 1 operator available 0 operator current 1 operator f...

Page 61: ...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 information unsolicited result code CREG stat lac ci if there is a change of network cell stat 0 not registered ME is not currently searching for a new operator 1 registered home network 2 not registered ME...

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 taken and an error message CME ERROR is returned to TE If the PIN required is SIM PUK or SIM PUK2 the second PIN is required This second PIN newpin is used to replace the old PIN in the SIM OK If error i...

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 memory automatically To check the Band s Selection To check the band selection for the COM110 Supreme use a communication software such as HyperTerminal then enter AT WMBS command The table below gives t...

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 For successful and fast communication a signal strength as reported by AT CSQ see Appendix C of 18 or above is recommended for transparent mode The non transparent mode will operate at signal levels d...

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

Page 67: ...st 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 the reset process the automatic process is redundant E 2 CRBasic Program Example This example can be used on the CR800 series CR1000 and CR3000 dataloggers It uses the standard CRBasic serialopen seria...

Page 68: ...tScan 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 Table 1 Program 01 10 Execution Interval seconds As an example includes a simple measurement and data storage example 1 Batt Voltage P10 1 1 Loc Batt 2 If time is P92 1 0 Minutes Seconds into a 2 1 ...

Page 69: ...ds 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 reset the module 3 Extended Parameters P63 1 68 Option Delay to allow SC WMI to power on 2 10 Option 1 second 3 84 Option Transmit 4 10 Option 10 characters 5 65 Option A 6 84 Option T 7 43 Option 8 ...

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 correct PC COM port you intend to use and the baud rate and press connect 4 First to turn off any PPP function in the logger using the PPP tab only needed if it was setup for GPRS use Set the PPP port to i...

Page 72: ...s 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 response at all please consider the baud rate may not be set as expected so press ESC a few times to quit the talk through session back out and return to step 5 above to change the baud rate of the ...

Page 73: ......

Page 74: ...berta 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 info campbellsci cc Campbell Scientific Ltd CSL Campbell Park 80 Hathern Road Shepshed Loughborough LE12 9GX UNITED KINGDOM www campbellsci co uk sales campbellsci co uk Campbell Scientific Ltd Franc...

Reviews: