Campbell CS-GSM/GPRS User Manual

Campbell CS-GSM/GPRS User Manual

Cs-gsm/gprs digital transceiver kits (including the com110 modem)
Table of Contents

Advertisement

CS-GSM/GPRS
Digital Transceiver Kits
(including the COM110 modem)
Issued: 16.9.13
Copyright © 2013 Campbell Scientific Ltd
CSL 997

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CS-GSM/GPRS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Campbell 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...
  • Page 3 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 Material and Decontamination”...
  • Page 5: About This Manual

    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.
  • Page 7: Table Of Contents

    6.3 Connecting Power ................... 15 6.4 Selecting and Connecting an Antenna ............. 16 6.4.1 Antenna Supplied by Campbell Scientific ........17 7. Configuring the COM110 modem ......18 7.1 Using the Mobile Data Assistant Program for system configuration ..18 7.2 Mobile Data Assistant Program Technology ..........
  • Page 8 9. Using Loggernet for GPRS communications ..24 9.1 Setting up to call a logger with a fixed IP address ........24 9.2 Setting up call-back in Loggernet ............25 9.2.1 Setting up call-back in Loggernet Version 3 ......... 25 9.2.2 Setting up call-back in Loggernet Version 4 .........
  • Page 9 F. Configuring the COM110 via the datalogger ..F-1 Table 1. COM110 modem Power Supply Connections via a PSW12 switch ..15 Figures 1. Connecting the COM110 modem to a Datalogger ........14 2. `Low-cost’ dual-band antenna supplied by Campbell Scientific ....17...
  • Page 11: Introduction

    CS-GSM/GPRS digital transceiver kits This manual provides the details of how to use the CS-GSM/GPRS digital transceiver kits with Campbell Scientific dataloggers. This version of the manual covers kits that use the Campbell Scientific COM110 modem as the communication device. Details in this manual are specific to this model introduced in October 2012.
  • Page 12: Quick Start Guide - For Gsm Dial-Up Use

    The Campbell Scientific COM110 Modem is manufactured by Maestro Wireless Solutions and is configured specifically for Campbell Scientific use. It is based upon a Sierra Wireless (Wavecom) chipset as used previously by Campbell Scientific Ltd. This modem runs a special software application that causes the modem to enter a low power state on power up.
  • Page 13: Quick Start Guide - For Gprs Communications

    Using with Campbell Scientific Dataloggers 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.
  • Page 14 CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) Connect the modem to the PC using the programming cable (use a serial to USB convertor if necessary). Connect the modem to a nominal 12V DC supply (the datalogger supply if available).
  • Page 15 Using with Campbell Scientific Dataloggers COM110 will be connect to using the drop down option list. Select RS232 for a direct connection to the serial port, CS I/O ME for the SC-WMI or one of the SDC options to match the configuration of an SC105 if used. For all...
  • Page 16: Using Gsm Networks For Dial-Up Data Transfer

    This is not very practical for collecting large volumes of data, but can be useful for sending alarm messages – see Technical Note 33 for more details of using SMS with older loggers. Contact Campbell Scientific for details of sending or receiving text messages with CRBasic dataloggers. (Please note that the COM110 modem...
  • Page 17: Network Coverage

    In areas of normal signal strength the COM110 modem can be used with a small, low cost antenna (as supplied in the CS-GSM/GPRS package). However, if the signal strength is marginal it may be possible to improve reception using a raised and/or a higher gain antenna.
  • Page 18: Using Gprs Data Transfer

    This is done by setting the system to communicate in a digital fashion throughout (UDI mode). Please contact Campbell Scientific Ltd for further advice on this matter. NOTE Where a datalogger is only receiving incoming calls it is often possible to use a “Pay as you go”...
  • Page 19: Network Coverage

    IP address. This can be used with Campbell dataloggers and is often the cheapest way to get a system up and running. However, when operating in this way you can only have a limited...
  • Page 20: Gprs Modes Of Operation

    IP address so can connect to it from the public internet if you can track the address assigned to it. It is possible to use a dynamic name service in this instance (please contact Campbell Scientific for more details).
  • Page 21: Gprs - Minimising Call Costs And Power Use

    Using with Campbell Scientific Dataloggers More commonly if you have a dynamic IP SIM you will not be able to call out to the logger as it is on a private network behind a router/firewall. Instead you have to get the datalogger or modem to open a connection back to the Loggernet PC which itself must have a public IP address (see firewall issues below) and have Loggernet hold the connection open.
  • Page 22: Calling The Logger In Gsm Dial-Up Mode When It Is Set For Gprs Comms

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) To achieve lower power states either a power switch can be used in the power line, (see the installation section below), or if using a datalogger that is running its own TCP/IP stack, you can close the PPP connection (using PPPClose in your program), which will put the modem in a lower power state.
  • Page 23: Installation Of The Com110 Modem

    The PIN can most easily be disabled by inserting it into a separate, hand-held standard GSM phone and following the instructions contained in the phone manual. If a separate phone is not available, please contact Campbell Scientific for details of how to disable the PIN code for use with the COM110. If this is not possible, or if your airtime provider only allows operation with a PIN enabled, please refer to Appendix A.
  • Page 24: Connection To A Cs I/O Port

    RS232 port so this is the only option. The cable required for the direct connection to a datalogger serial port is supplied as part of the CS-GSM/GPRS 232 kit. The 9-pin connector plugs in the datalogger RS232 port and the 15-way connector directly into the COM110...
  • Page 25: Connecting Power

    Yellow (power control) Control Port (or +12V for testing) White (Failsafe function) 5V (normally) N.B. These colours and connections only apply to the cable supplied by Campbell Scientific Ltd. NOTE In the case of CR10X dataloggers, only the power switch in wiring...
  • Page 26: Selecting And Connecting An Antenna

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) 6.4 Selecting and Connecting an Antenna When selecting an antenna, please note the following points: • Make sure the antenna used covers the frequency you intend to use the COM110 modem on, i.e. does the antenna cover 900 or 1800 MHz, or both (dual band).
  • Page 27: Antenna Supplied By Campbell Scientific

    Using with Campbell Scientific Dataloggers 6.4.1 Antenna Supplied by Campbell Scientific 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 strength, the low-cost antenna will be suitable for almost all applications, either at 900 or 1800 MHz.
  • Page 28: Configuring The Com110 Modem

    7. Configuring the COM110 modem If bought as part of a CS-GSM/GPRS package the COM110 modem will be preconfigured by Campbell Scientific to work out of the box so no configuration is normally necessary for GSM dial-up use.
  • Page 29: Mobile Data Assistant Program Technology

    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.
  • Page 30 CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) Setup – Settings - Datalogger port: allows you to select the serial port on the datalogger to which the modem will be connected. Setup – IP Control: allows you to select whether you will be using the logger’s own IP stack or the one built into the modem.
  • Page 31: Mobile Data Assistant Advanced Options

    Using with Campbell Scientific Dataloggers less frequent than the default time of 60 mins then increase this time – at the possible cost of the extra time it will take to recover a bad connection. Setup Settings (for IP connection, Modem IP Stack) –Max Time Online: limits the maximum time the call-back socket is opened for.
  • Page 32: Changing The Modem And Logger Settings Without Mobile Data Assistant

    “AT” commands 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 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.
  • Page 33: Configuring A Desk-Top Modem As A Base Station

    (TAPI being the preferred option if you have installed the modem into your Windows environment.) While Campbell Scientific Ltd may be able to give some advice as NOTE to the best settings to use for common modems, the connection of the landline modem to a cellular network is specific to the cellular network being used.
  • Page 34: Using Loggernet For Gprs Communications

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) To add this setting, use the Phone modem option in Loggernet where you can edit the modem initialisation string in the setup screen. You cannot amend this setting for a TAPI interface in a way that Loggernet can also detect.
  • Page 35 Using with Campbell Scientific Dataloggers Where the number 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 address of the...
  • Page 36: Setting Up Call-Back In Loggernet

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) 9.2 Setting up call-back in Loggernet Where the logger is programmed to call-back to a Loggernet server, perhaps because it has a dynamic IP address, Loggernet needs to configured to expect a call-back on a the chosen port.
  • Page 37: Setting Up Call-Back In Loggernet Version 4

    Using with Campbell Scientific Dataloggers 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.
  • Page 38: Keeping The Connection Open When Calling-Back

    If you have a poor connection it is possible to speed up the detection of loss routing back to Loggernet by adding code to the logger program, e.g. using the PingIP command. Please contact Campbell Scientific Ltd for further details.
  • Page 39: Firewall Issues

    10. Preventing COM110 modem Connection Problems The COM110 differs from previous modems offered by Campbell Scientific in that it continuously monitors its connection state to the network. The modem will reset itself if it loses connection which will often re-establish its connection to the network.
  • Page 40: Fault Finding

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) electrical spikes on the power supply or local electrical storms. If the COM110 modem is powered continuously, such a crash will often prevent it answering an incoming call again until it has been reset.
  • Page 41: A Gsm Base Station Fails To Get A Response From The Logger

    If you still encounter problems it is also worth checking the firmware version of the COM110 modem. Campbell Scientific has validated use with units with firmware revision: “R7.45” (checked using instruction ATI3). While later software revisions will probably be backwards compatible, older software may not work so well.
  • Page 42: Gprs Fault Finding - When Using The Logger Tcp/Ip Stack

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) • If you manually dial the number with a phone and hear a buzzing noise rather than modem negotiation tones (beep and whistles) the SIM is configured to accept incoming digital (UDI) calls only - contact the SIM supplier.
  • Page 43 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.
  • Page 44: Gprs Advanced Fault Finding

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) Messages that can appear include: Message Cause/Fault ppp initialized PPP was enabled and initialised OK ppp program opening PPPOpen in the program ppp program closing PPPClose in the program ppp closing Now trying to hang up the connection ppp closed failed Could not hang up the modem.
  • Page 45: Gprs Fault Finding - When Using The Modem Tcp/Ip Stack

    Using with Campbell Scientific Dataloggers • Make sure any local firewalls allow you to make outgoing connections on the ports being used. (Some institutions limit you to standard ports) . • Make sure the service provider lets you use non-standard ports over GPRS (a very few apply default firewalls –...
  • Page 46 PPP connections and sometimes errors are obvious, e.g. mistyped dial strings. For expert diagnosis the file can be emailed to your support contact at Campbell Scientific who should be able to work out what is the problem and the solution for it.
  • Page 47: Using The Com110 With The Pin Security

    Appendix A. Using the COM110 with the PIN Security Feature Enabled It is possible to use the COM110 with Campbell Scientific dataloggers with the COM110’s PIN (Personal Identification Number) feature enabled. However, this has the following disadvantages: • If the COM110 loses power momentarily, it will not answer further calls until the datalogger sends the PIN again as part of the normal program sequence.
  • Page 48 CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) '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 paste as self-contained 'Set this constant to match the port the modem is connected to...
  • Page 49: Cr10X Program Example

    Appendix A. Using the COM110 with the PIN Security Feature Enabled A3. CR10X Program Example Using Instruction P97 with the generic modem option does not require any special cabling or set-up. It is possible that the generic modem option may not be fully documented in your datalogger manual, but you should be able to find some information in the help system of Edlog for Windows.
  • Page 50 CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) 2: 1 Disabled when User Flag 1 is High ; More than enough time to send 3: 20 Seconds Call Time Limit command ; just in case 4: 30 Seconds Before Fast Retry ;try just once more...
  • Page 51 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.
  • Page 53: Controlling The Power Supply To The Com110

    For extreme low power consumption applications where the modem has to be left powered on it is possible to disable the status LED which will save a further 1-2 mA power use on average. Please contact Campbell Scientific for further details on how to do this.
  • Page 54: Modem

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) B1.1 CRBasic Program Example of Power Control This example can be used on the CR800 series, CR1000 and CR3000 dataloggers. It uses the standard CRBasic serialopen, serialout and serialclose commands to send out configuration commands to the modem. The example shows using a slow sequence to turn on and then turn off the modem after 5 minutes.
  • Page 55 Appendix B. Controlling the COM110 Power Supply 'First send the +++ sequence to get the modem in 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...
  • Page 56: B1.2 Cr10X Program Example

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) B.1.2 CR10X Program Example ;COM110 power control example code for the CR10X ;Port 1 is the control port used to control the switch ON/OFF ;Flag 1 is used to indicate the COM110 should be turned off ;when any current call has ended.
  • Page 57 Appendix B. Controlling the COM110 Power Supply CAUTION If power is limited and the turn-on time has to be kept very short, it is critical to ensure that the PC and the datalogger clocks are not allowed to drift apart, otherwise the PC may try to call when the COM110 is turned off.
  • Page 59: Signal Quality Checks

    This section gives details of some of the useful test commands that can be used during setup of the COM110. Further details can be found in the COM110 technical manuals available on request from Campbell Scientific Ltd. General details referring to the telecommunications industry can be found at the European Telecommunications Standards Institute (ETSI) web site at www.etsi.org.
  • Page 60: Network Registration Checks

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) C.2 Network Registration Checks AT+COPS Operator selection Test command Response TA returns a list of quadruplets, each representing an operator present in AT+COPS=? the network. Any of the formats may be unavailable and should then be an empty field.
  • Page 61 Appendix C. Useful Configuration Commands AT+CREG Network registration Test command Response AT+CREG=? +CREG: list of supported <n>s OK Parameter See set command Read command Response AT+CREG? +CREG : <mode>, <stat> [ ,<lac>,<ci> ] for AT+CREG? Command only Set command Response TA controls the presentation of an unsolicited result code AT+CREG=[<n>] +CREG:<stat>...
  • Page 62: Pin Configuration

    CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) C.3 PIN Configuration AT+CPIN Enter PIN Test command Response AT+CPIN=? Read command Response AT+CPIN? TA returns an alphanumeric string indicating whether some password is required or not. +CPIN: <code> OK If error is related to ME functionality: +CME ERROR: <err>...
  • Page 63 Appendix C. Useful Configuration Commands To switch between EU/US band(s) for the COM110, use a communication AT+WMBS=<band>,0 software such as a HyperTerminal, then enter command. The table below gives the commands for various band(s) selection: AT+WMBS Band Selection AT+WMBS=0,0 Select mono band mode 850MHz. AT+WMBS=1,0 Select mono band mode extended 900MHz AT+WMBS=2,0...
  • Page 65: Gsm Dial-Up Use

    Appendix D. Using the COM110 in Transparent Mode for GSM Dial-up use It is possible to use the COM110 in transparent mode, when the default non-transparent (RLP) mode is not supported by the cellular phone network or is incompatible with the COM110.
  • Page 66 CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem)
  • Page 67: Control

    Appendix E. Resetting the COM110 Module under Program Control This Appendix describes how the datalogger can be used to send commands to the COM110 to reset the module and also enable the lowest power mode which still allows incoming calls. E.1 Principle of Control To reset the COM110 and change its mode of operation it can be sent commands by the datalogger by embedding commands within a datalogger program.
  • Page 68: Cr10X Program Example

    CS-GSM Digital Transceiver Kits (including the COM110 modem) SlowSequence 'Run once a minute so can have one minute resolution of timing Scan (1,Min,3,0) 'Every 12 hours, in this example and only if we are not communicating If TimeIntoInterval (0,12,hr) AND (NOT status.commactiveRS232) Then SerialOpen (Modemport,Modembaud,0,0,100) 'First send the +++ sequence to get the modem in command mode SerialOut (Modemport,"+++","OK"+CHR(13),1,150)
  • Page 69 Appendix E. Resetting the COM110 Under Program Control ; is loaded to as flag 8 will be low then. If time is (P92) 1: 1439 Minutes (Seconds --) into a 2: 1440 Interval (same units as above) 3: 28 Set Flag 8 Low ;Use P97 to send out the commands Initiate Telecommunications (P97) 1: 72...
  • Page 71: Configuring The Com110 Via The Datalogger

    Appendix F. Configuring the COM110 via the datalogger It is possible to reconfigure a GSM modem connected to a logger without the programming cable by talking through the datalogger from one communications interface to another. This works with the CR800 series, CR1000 or CR3000 dataloggers.
  • Page 72 CS-GSM/GPRS Digital Transceiver Kits (including the COM110 modem) 11. The logger should then report “opening 2” (in the case of ComME), which means you now have a “talk through” path to the modem, i.e. it should respond as if connected directly to the PC.
  • Page 74 CAMPBELL SCIENTIFIC COMPANIES Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES • www.campbellsci.com info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA • www.csafrica.co.za sales@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA)

This manual is also suitable for:

Com110

Table of Contents