Manual. INSYS GSM/GPRS small. Sep-09

Similar documents
Manual. INSYS GSM small 2.0. Feb-11

Manual. INSYS Modem 56k small INT 1.1 USB

Manual. INSYS Modem 56k AC/DC 4.2

Manual. INSYS Powerline 1.0

Manual INSYS ISDN TA 4.0. Nov-09

Manual. MoRoS Modem 1.3 MoRoS ISDN 1.3. Oct-09

Manual. MoRoS MI. Sep-09

Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg.

GNS-MC35iT, GNS-MC35iU Terminals datasheet

Add-On Manual. INSYS GSM 4.3 easy. Apr-09

Manual. INSYS GSM 4.2 INSYS GSM 4.2 compact. Sep-06

VISY-X. Technical Documentation. Cinterion MC 55 i. Edition: Version: 1 Article no.:

Gemalto EHS6T-USB Terminal Starter Kit. Getting Started Guide

Cinterion BGS2T (RS232) Terminal Starter Kit. Getting Started Guide

Development KIT for TM2 GPRS modem User manual 1.2. Development KIT. Development KIT for TM2 GSM/GPRS modem User s manual 1.2

Operation Manual GSM modem irz TG42-232

Manual. MoRoS GPRS 2.1 PRO

UniMod Ethernet. LAN-Modem. Bär Industrie-Elektronik GmbH Siemensstr. 3 D Fürth Germany

Universal communications device Metcom T A..

The modems are made in industrial 108mm wide aluminium housing for DIN rail mounting. UCM RS232 interface

Brief Instruction. 4.2 ISDN devices. 4.2 GSM devices MDH 502 MDH 536 MDH 506 MDH 512 MDH 542 MDH 522

i-modul Modem 3.1 PRO

Manual INSYS ADSL 1.1

Installation and Configuration Quick Guide GoRugged M1000 MP

User Manual for VE GSM Modem

irz MC55iT GPRS class 10 GSM modem USER MANUAL

Manual. Pocket ISDN. Nov-09

Operating Manual UMB ISO Converter ISOCON Order Number: 8160.UISO

RTS ISDN 2002 System. Operator Manual Software Description

Operating Manual Pocket Modem 56k

TELTONIKA ModemCOM (TMC-10x) User Manual V

A TECHNICAL INFO A. External GSM AT420 DATE :

General Operating, Maintenance and Installation Manual

ZM24x Quick-Connect Industrial Modem. User s Manual

GPRS Pager 3 INSTALATION AND USER MANUAL

Designer's Guide. i-modul GPRS 3.1 serial

EZ864 UMTS Terminal Telit Cellular GSM Engine

IM3523 IM3533 IM IM3536 LCR METER IM3570 IM7580 IM3590 CHEMICAL IMPEDANCE ANALYZER IMPEDANCE ANALYZER. Communication Instruction Manual

GPRS ADAPTER INSTALLATION AND USER MANUAL. for module version v2.24 and higher

HEC. General Operating, Maintenance and Installation Manual

ZM56 High-Speed Industrial Modem. Command Summary. 1 ZM56 High-Speed Industrial Modem

QUICK START GUIDE. M40 Series Cellular modem. Version 1.0

Channel Switch CS. General Operating, Maintenance and Installation Manual

Product description Rev. 3 11/06/14

GSM SECURITY AND CONTROL SYSTEM ESIM021

Development KIT for TM2Q GSM/GPRS module. User s Manual v1.1

Industrial Quad-band GPRS/GSM Modem GTM-201 Series. User Manual

GREISINGER electronic GmbH D Regenstauf, Hans-Sachs-Straße 26

CMC III GSM-Unit CMC III GSM unit

i-modul Modem 144/56k 3.0 basic Designer's Guide

Product Manual. USB BAY-4 Port Serial DB- 9 RS-232 Adapter with FTDI Chipset. Coolgear, Inc. Version 1.1 September 2017 Model Number: USBG-BAY4

Designer's Guide. Socket Modem 336/56k basic 2.0

Contents 1. Introduction General Information Connecting, configuring and management Emergencies Support...

Check your system requirements

REDUNDANCY MODULE TSP-REM360 AND TSP-REM600

EDW-ML8021 GSM GPRS Modem User s Manual. Page 1

UniMod GSM-3. Operation Manual

PHOENIX CONTACT

VL BPC 100. Valueline configurable box PC. Data sheet 3063_en_E. 1 Description. 2 Features

Supplementary Manual INSYS GSM 4.1. Siemens LOGO! Version. Version

SGE-3G/GPRS INSTRUCTION MANUAL (M179B A)

SENECA s.r.l. Commercial

ARB-0612 Converter USB RS 232/422/485/485-4W/TTL Manual

Check your system requirements

SMM Series 3G and GSM Modems. Quick Start Guide. Document Number: Version: 1.2 (20 October, 2015)

Product description The SWH is a board Cellular Terminal solution for GSM GPS/GLONASS

TELTONIKA ModemCOM/G10 (CM1100) User Manual V0.1

EZ864 G. Telit Cellular GSM/UMTS Engine. Hardware guide Version: Update: 27. APR.2009 EZ864 G_Hardware Guide_V

Product Manual. 8-Port RS-232 USB to Serial Adapter Data Control Box. Coolgear, Inc. Version 1.1 September 2017 Model Number: USB-8COM

GT- IRDM-9603 Product description Rev. 2 17/06/2014

Installation & Configuration manual. InduBox GSM IV

GSM/GPRS TRANSMISSION MODULE SM8 TYPE

GSM & GPRS Modem. Ordering Information

Brief Overview. Vehicle Terminal MFT12 (B183) Version: 1.10

Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg.

MU110-6U. Analog output module 6 channel. User guide

LBGSMMODEM31. User s Manual. 1 of 27.

Rhino Redundancy Module PSM24-REM360S. Operating Instructions

Industrial motor controller for brushed DC motors 24 VDC

Motortronics VirtualSCADA VS2-MT Communication Gateway VS2-MT User Manual Revision

TELTONIKA ModemUSB/G10 User Manual v0.1

Industrial motor controller for brushed DC motors 24 VDC

OnCell G2111/G2151I Series User s Manual

Operating Manual. English. Digital-Analog Converter DACON8-UMB.

Flow Sensor SONOFLOW CO.55

GT- HE910-EUD. Product description Rev. 8 21/02/ Overview

ModemUSB/E12 User Manual v0.1

CMM 900-3W USER GUIDE

CPCI-PS24 24V-Power Supply

GREISINGER electronic GmbH. D Regenstauf, Hans-Sachs-Straße 26. T-Logg 120 W -... T-Logg 120 K -...

Getting Started How to insert the SIM card

Network Camera. Quick Guide DC-B1203X. Powered by

DATA LOGGER (Version V1.3)

GREISINGER electronic GmbH. D Regenstauf, Hans-Sachs-Straße 26. T-Logg 100. T-Logg 100 E

Designer's Guide. i-modul HSPA basic 1.0

Low Speed Modems for Dial and Leased Circuits 2400E (Standalone) 2400R (Rackmount)

Accessories / 7XV5820

User Manual. Printer P-52RUE

Industrial Tri-band 3G Modem GTM-201-3GWA Series. User Manual

CMC III Universal Sensor

Transcription:

Manual INSYS GSM/GPRS small Sep-09

Copyright September 09 INSYS MICROELECTRONICS GmbH Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg. Trademarks The use of a trademark not shown below is not an indication that it is freely available for use. MNP is a registered trademark of Microcom Inc. IBM PC, AT, XT are registered trademarks of International Business Machine Corporation. INSYS is a registered trademark of INSYS MICROELECTRONICS GmbH. Windows is a registered trademark of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. Publisher: INSYS MICROELECTRONICS GmbH Waffnergasse 8 D-93047 Regensburg, Germany Phone: +49 (0)941/56 00 61 Fax: +49 (0)941/56 34 71 e-mail: insys@insys-tec.de Internet: http://www.insys-tec.de Date: Sep-09 Item: 31-22-03.134 Version: 2.0 Language: EN

Contents 1 Safety... 6 2 Usage According to the Regulations... 8 3 Scope of Delivery... 9 4 Technical Data... 10 4.1 Physical Features...10 4.2 Technological Features...11 5 Display and Control Elements... 12 5.1 Displays...12 5.2 Operating Elements...14 6 Connections... 15 6.1 Front Panel Connections...15 6.2 Terminal Connections on the Top...16 6.3 Pin Assignment of the Serial Interface...16 7 Functional Overview... 17 8 Meaning of the Symbols and the Formatting in this Manual... 19 9 Installation... 20 10 Initial Operation... 24 11 Operating Principle... 26 11.1 Operation via Terminal Program...26 11.2 Operation with HSComm GSM...27 11.3 User Interface of the Software HSComm GSM 4.x / GSM Small...28 12 Functions... 31 12.1 Entering the PIN of the SIM Card...31 12.2 Inserting and Removing the SIM Card...32 12.3 Checking the Status of the GSM Login...34 12.4 Checking the GSM Signal Quality...35 12.5 Automatic Baud Rate Detection...36 12.5.1 Serial Connection... 36 12.5.2 CSD Data Connection to ISDN/PSTN... 37 12.6 Data Flow Control (Handshake)...38 12.6.1 Hardware Data Flow Control (RTS/CTS)... 38 12.6.2 Software Data Flow Control (XON/XOFF)... 39 12.7 Establish or Accept a Data Connection...40 12.8 Automatic Call Acceptance...41 12.9 Manual Sending of a Message...42 12.10 Automatic Execution of AT Command...43 12.10.1 Automatic PIN Entry and Login after Restart... 44 12.10.2 Automatic Reset... 45 12.10.3 Alarm via DTR Control Line... 46 4 Sep-09

Contents 12.11 Configuration of Energy Conservation Modes and Real-Time Clock...49 12.11.1 Real-Time Clock... 49 12.11.2 Change between the Energy Conservation Modes... 51 12.11.3 Sleep Modes... 52 12.11.4 Power-Down Mode... 54 12.12 Operation with a PLC...56 12.13 Using USSD Codes...56 12.14 Reset of the Device...57 13 AT Command Reference... 58 13.1 General Information Regarding the Command Sets...58 13.2 Short Description AT commands...59 13.2.1 AT Commands According To V.25ter... 60 13.2.2 AT Commands for GSM Connection... 65 13.2.3 AT Commands for SMS... 66 13.2.4 AT Commands for Energy Conservation Functions... 67 13.2.5 AT Commands for Real-Time Clock Functions... 68 13.2.6 AT Commands for Automated Functions... 68 14 GSM - Service Center Numbers... 69 15 Network Provider Codes... 70 16 Declaration of Conformity... 74 17 Waste Disposal... 75 17.1 Repurchasing of Legacy Systems...75 18 Tables and Diagrams... 76 18.1 List of Tables...76 18.2 List of Diagrams...76 19 Index... 77 Sep-09 5

Safety INSYS GSM/GPRS small 1 Safety Danger! Moisture und liquids from the environment may seep into the interior of the device. Risk of death through shock hazard when touching it! The INSYS GSM/GPRS small may not be used in wet or damp environments, or in or very close to water. Install the device at a dry location, protected from water spray. Switch the power supply off before you do any work on a device which may have been in contact with moisture. Danger! Overvoltage. Fire hazard! The modem must be secured with a suitable fuse against overvoltage. Danger! Overcurrent. Fire hazard! The modem must be secured with a suitable fuse against currents exceeding 1.6 A. Warning! Short circuits and damage due to improper repairs and opening of maintenance areas. Fire, breakdown and risk of injury! Only trained personnel are allowed to open the INSYS GSM/GPRS small and to repair it. Note Damage of the device due to overvoltage! Voltage peaks from the power supply may damage the device. Install suitable overvoltage protection. 6

INSYS GSM/GPRS small Safety Note Damage due to chemicals! Ketones and chlorinated hydrocarbons dissolve the plastic housing and damage the surface of the device. Never let the device come into contact with ketones (e.g. acetone) or chlorinated hydrocarbons, such as dichloromethane. Note Antenna distance to persons! A too close distance of GSM antennas to persons may affect the health. Please observe that a minimum distance of 20 cm between a GSM antenna and a person must be maintained during operation. 7

Usage According to the Regulations INSYS GSM/GPRS small 2 Usage According to the Regulations The INSYS GSM/GPRS small may only be used for the purposes specified in the function overview. In addition, it may be used for the following purposes: Usage and mounting in an industrial cabinet. Data transmission functions in machines according to the machine directive 2006/42/EC. Usage as data transmission device for a PLC. The INSYS GSM/GPRS small may not be used for the following purposes and used or operated under the following conditions: Controlling or switching of machines and systems which do not comply with the directive 2006/42/EC. Usage, controlling, switching and data transmission in machines or systems which are operated in explosive atmospheres. Controlling, switching and data transmission of machines, which may involve risks to life and limb due to their functions or when a breakdown occurs. 8

INSYS GSM/GPRS small Scope of Delivery 3 Scope of Delivery The scope of delivery for the INSYS GSM/GPRS small includes all accessories listed below. Please check if all accessories are included in the box. If a part is missing or damaged, please contact your distributor. INSYS GSM/GPRS small Cable: 1 serial cable with 9-pin Sub-D connector for the connection to the PC 1 manual Optional Accessories CD-ROM GSM antenna Outside mounted antenna, magnetic base antenna or patch antenna Configuration software HSComm AT Command Reference 9

Technical Data INSYS GSM/GPRS small 4 Technical Data 4.1 Physical Features Danger! Overvoltage. Fire hazard! The modem must be secured with a suitable fuse against overvoltage. All specified data was measured with a nominal input voltage, at full load, and an ambient temperature of 25 C. The threshold value tolerances are subject to typical fluctuations. Physical Feature Operating voltage Power input standby Power input connection Power input power-down Power input sleep Minimum operating voltage SIM card Emitted radiation: EGSM 900: Class 4 GSM 1800: Class 1 EGSM 900: Class E2 GSM 1800: Class E2 Weight Dimensions (Width x Depth x Height) Value minimum 12 V DC maximum 24 V DC max. approx. 500 mw max. approx. 2 W max. approx. 200 mw max. approx. 300 mw 3 V 2 W 1 W 0,5 W 0,5 W 125 g 23 x 120 x 75 mm Temperature range -20 C 55 C Maximum allowed humidity Protection Class Table 1: Physical Features 95% non-condensing Housing IP40, Terminals IP20 10

INSYS GSM/GPRS small Technical Data 4.2 Technological Features Technological Feature Data formats of the serial interface Description 8N1, (7E1, 7O1, 7N2, 8E1, 8O1, 8N2 only GSM small) Fax classes Fax Group 3: Class 1/2 SMS features GPRS features (only GPRS small) Modulation types Text and PDU mode - Mobile Originated (MO) - Mobile Terminated (MT) - Cell Broadcast (CB) GPRS multislot class 8 (max. 4 R X timeslots and 1 TX timeslot) Coding Scheme CS1 to CS4 (must be supported by the provider) GPRS terminal device class B (no simultaneous CSD and GPRS connect possible) V.22bis, V.32 (4800/9600 bps), V.34, V.110 (4800/9600/1400 bps) Serial interface speeds 300, 600, 1220, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200 bps Table 2: Technological Features 11

Display and Control Elements INSYS GSM/GPRS small 5 Display and Control Elements 5.1 Displays Figure 1: LEDs on the front panel Position Description 1 Status LED 2 Power/RX/TX LED Table 1: Description of the LEDs on the front panel The right LED (Status) indicates the log-in state into the GSM network as well as an existing data connection. The left LED (Power - RX/TX) indicates the state of the power supply as well as a data transfer. The exact meaning of the display elements is indicated in the following table. 12

INSYS GSM/GPRS small Display and Control Elements LED Color On Blinking Flashing Off green Power supply present - - - - - - Power RX/TX orange Device is in power-down mode - - - red - - - - - - - - - Data is transferred; LED flashes/flickers in the cycle of incoming/outgoing data No power supply present green Only with setting AT&C1 (default): Connection establishment: Remote station has picked up; connection handshake is performed With setting AT&C1 (default): Timing: 600 ms on / 600 ms off Device is not legged in into GSM network (e.g. loss of network, no SIM card inserted or no PIN entered. With setting AT&C1 (default): Timing 75 ms on / 3 s off Device is legged in into GSM network. Status orange If Power Rx/Tx LED also orange: Device is in power-down mode, otherwise: AT&C1 as well as AT&C0: Data connection is established, i.e. DCD is active And with setting AT&C0: Connection establishment: Remote terminal has picked up; connection handshake is performed Only with setting AT&C0: Timing 600 ms orange / 600 ms rot Device is not legged in into GSM network (e.g. loss of network, no SIM card inserted or no PIN entered. Only with setting AT&C0: Timing 75 ms orange / 3 s red Device is legged in into GSM network. Only for INSYS GPRS small (independent of setting AT&C): Timing 75 ms orange / 75 ms red/ 75 ms orange / 3 s red GPRS context active (idle connection) No power supply present red - - - Timing 0.5 s orange 0.5 s red GPRS data transfer active Table 3: Meaning of the LED displays 13

Display and Control Elements INSYS GSM/GPRS small 5.2 Operating Elements Figure 2: Operating elements on the bottom Position Description 1 Insert for SIM card holder 2 Eject key for SIM card holder Table 4: Description of the operating elements on the bottom 14

INSYS GSM/GPRS small Connections 6 Connections 6.1 Front Panel Connections Figure 3: Connections on the front panel Position Description 1 Serial Interface (RS232 jack) 2 Antenna connection (FME jack) Table 1: Description of the connections on the front panel 15

Connections INSYS GSM/GPRS small 6.2 Terminal Connections on the Top Figure 2: Connections on the top Terminal Description Description 1 Power supply 12 V 24 V DC 12... 24 VDC (the voltage values are limit values without tolerances) 2 GND Ground 3 Reset Reset input Table 5: Description of the connections on the top 6.3 Pin Assignment of the Serial Interface Figure 4: 9-pin sub-d jack at the device Pin Signal Description 1 DCD Data Carrier Detect 2 RXD Receive Data 3 TXD Transmit Data 4 DTR Data Terminal Ready 5 GND Ground 6 DSR Data set ready 7 RTS Request to send 8 CTS Clear To Send 9 RI Ring Indication Table 6: Description of the pin allocation of the sub-d jack 16

INSYS GSM/GPRS small Functional Overview 7 Functional Overview The INSYS GSM/GPRS small offers the following functions: Data buffer for serial data transmission The INSYS GSM/GPRS small has a fast send and receive buffer (cache) to adjust the modem to the operating speed of the application. Hardware and software data flow control The INSYS GSM/GPRS small can transmit to the application via the control lines of the serial interface to interrupt the dataflow, if the buffers of the INSYS GSM/GPRS small exceed a certain level. An application can also prompt the INSYS GSM/GPRS small via a control line to interrupt the data flow. As an alternative, the INSYS GSM/GPRS small can control the data flow via XOFF/XON characters in the data stream. Caller ID display The INSYS GSM/GPRS small transmits the caller ID of an incoming call via the serial interface. Automatic call acceptance for CSD data connections The INSYS GSM/GPRS small can be configured to accept incoming CSD data connections after a certain number of ring tones. Automatic establishment of CSD data connections via DTR control line The INSYS GSM/GPRS small can establish a CSD data connection to a configured number by activating the DTR control line. Sending SMS messages after DTR activation The INSYS GSM/GPRS small can send a predefined message to a predefined recipient by activating the DTR control line. Integrated real-time clock The integrated real-time clock can be used to execute AT commands timecontrolled and to leave the Power-Down mode time-controlled. Reset terminal The INSYS GSM/GPRS small can be reset by connecting the reset terminal to ground. All stored settings are maintained. Automatic reset The INSYS GSM/GPRS small can perform an automatic reset after a defined number of operating hours. The reset ensures a regular GSM network logout and login again and therefore a reliable availability in the GSM network. 17

Functional Overview INSYS GSM/GPRS small Sleep modes and Power-Down mode The INSYS GSM/GPRS small provides several modes, which turn the INSYS GSM/GPRS small into a state with reduced energy consumption. Depending on the mode, the INSYS GSM/GPRS small can be called up, i.e. changed into normal state, by an incoming call, an AT command, an incoming SMS, a reset, or other possibilities. GPRS functions The INSYS GPRS small provides the possibility to establish packet-based IP connections via GPRS in addition. 18

INSYS GSM/GPRS small Meaning of the Symbols and the Formatting in this M l 8 Meaning of the Symbols and the Formatting in this Manual This section describes the definition, formatting and symbols used in this manual. The various symbols are meant to help you read and find the information relevant to you. The following text is structured like a typical operating instruction of this manual. Bold print: This will tell you what the following steps will result in After that, there will be a detailed explanation why you could perform the following steps to be able to reach the objective indicated first. An arrow will indicate prerequisites which must be fulfilled to be able to process the subsequent steps in a meaningful way. You will also learn which software or which equipment you will need. 1. One individual action step: This tells you what you need to do at this point. The steps are numbered for better orientation. A result which you will receive after performing a step will be marked with a check mark. At this point, you can check if the previous steps were successful. Additional information which you should take under consideration are marked with a circled "i". At this point, we will indicate possible error sources and tell you how to avoid them. Alternative results and steps are marked with an arrow. This will tell you how to reach the same results performing different steps, or what you could do if you didn't reach the expected results at this point. 19

Installation INSYS GSM/GPRS small 9 Installation This chapter describes how to mount the INSYS GSM/GPRS small to a DIN rail, connect it to the power supply and disassemble it again. Danger! Exposed electrical components! Risk of death through electric shock hazard! Prior to the installation, switch the power of the cabinet off and secure it against being switched on again. Danger! Moisture und liquids from the environment may seep into the interior of the INSYS GSM/GPRS small. Risk of death through shock hazard when touched! The INSYS GSM/GPRS small may not be used in wet or damp environments, or in or very close to water. Install the device at a dry location, protected from water spray. Switch the power supply off before you do any work on a device which may have been in contact with moisture. Note The device could be destructed if the wrong power supply is used. If the INSYS GSM/GPRS small is used with a power supply which has a larger voltage than the allowed operational voltage of the INSYS GSM/GPRS small, the device is destroyed. Make sure that you use the suitable power supply. The Chapter "Technical Data" has the information about the correct voltage range for the INSYS GSM/GPRS small. 20

INSYS GSM/GPRS small Installation Mount the device to the DIN rail Instructions on how to mount the INSYS GSM/GPRS small to a DIN rail. 1. Position the device at the DIN rail as seen in the following diagram. There are two snap-in hooks at the outer edge of the DIN rail groove of the INSYS GSM/GPRS small. Hook them into place behind the upper edge of the DIN rail when connecting the device. 2. Lift the INSYS GSM/GPRS small perpendicular to the DIN rail until the plastic spring of the third, flexible snap-in hook engages in the DIN rail. The INSYS GSM/GPRS small is now completely mounted. Connecting the power supply The device has already been mounted to the DIN rail. The power supply is connected and switched off. 1. Connect the ground lead of the power supply to the terminal "GND". 2. Connect the plus pole of the power supply to the terminal for the power supply. 21

Installation INSYS GSM/GPRS small Disassemble the device from the DIN rail Instructions on how to disassemble the INSYS GSM/GPRS small from a DIN rail in a cabinet: You will need a flat tip screwdriver with a 4.5 mm blade. The power supply of the cabinet is switched off and secured against being switched off accidentally. All cables at the INSYS GSM/GPRS small are disconnected. Danger! Exposed electrical components! Risk of death through electric shock hazard! Prior to the installation, switch the power of the cabinet off and secure it against being switched on again. 1. Insert the flat tip screwdriver into the flexible snap-in hook of the INSYS GSM/GPRS small as shown in the diagram. 2. Turn the flat tip screwdriver into the direction of the INSYS GSM/GPRS small as shown in the diagram. 22

INSYS GSM/GPRS small Installation The plastic spring of the snap-in hook is pulled apart. 3. While you hold the plastic spring of the snap-in hook stretched apart, pull the INSYS GSM/GPRS small away from the DIN rail. 4. Unhook the INSYS GSM/GPRS small and take it off, perpendicularly to the DIN rail. 23

Initial Operation INSYS GSM/GPRS small 24 10 Initial Operation This chapter describes how to commission the INSYS GSM/GPRS small, i.e. how to connect the INSYS GSM/GPRS small to a PC, to log it into a mobile phone network, and how to test it. Connect the INSYS GSM/GPRS small to a PC How to connect the INSYS GSM/GPRS small to a PC via a serial interface. You will need the 9-pin serial cable. You will need a free serial interface at the PC. Use preferably serial interfaces which are actually at the PC as "real" hardware. Virtual serial interfaces or USB-to-Serial solutions often cause problems. 1. Connect the 9-pin serial cable with the INSYS GSM/GPRS small and fasten the connection screws. 2. Connect the 9-pin serial cable to a free serial interface of your PC. Note or remember to which interface (COM1 or COM2) you connected the INSYS GSM/GPRS small at the PC. Insert a SIM card into the INSYS GSM/GPRS small You will need a SIM card Please observe the notes in the Enter PIN of the SIM Card section of the Functions chapter concerning the PIN entry before inserting the SIM card to avoid an unintentional locking of the SIM card. 2. Insert the SIM card into the INSYS GSM/GPRS small and proceed as described in the Insert and Remove SIM Card section of the Functions chapter. Connect a GSM antenna to the INSYS GSM/GPRS small You will need a suitable GSM antenna 1. Connect the GSM antenna with the FME connection on the front of the INSYS GSM/GPRS small. Test the INSYS GSM/GPRS small The INSYS GSM/GPRS small is connected to the PC. The power supply of the INSYS GSM/GPRS small is switched on (refer to the Installation section for the connection of the power supply). A GSM antenna is connected. A terminal program such as TeraTerm or HSComm (contains a terminal

INSYS GSM/GPRS small Initial Operation program) is installed at the PC. The Power LED light up green. 1. Open your terminal program. 2. Open the serial interface, to which the INSYS GSM/GPRS small is connected. The baud rate and protocol settings in the terminal program must correspond with the settings of the INSYS GSM/GPRS small. The INSYS GSM/GPRS small is configured to 19200 Baud, 8 data bits, 1 stop bit and no parity (8N1) by default. 3. Enter AT into your terminal program and confirm with the Enter key. The response will be OK. If you don't receive the response OK, check the connection and if the INSYS GSM/GPRS small receives power. Repeat the test. The RX/TX LED light up while you type. If the RX/TX LED at the INSYS GSM/GPRS small does not light up, while you type AT and receive an OK, the reason may be that you are connected to another modem (e.g. with the modem integrated in the laptop or the PC). In this case, check to which interface your INSYS GSM/GPRS small is actually connected and repeat the test. The INSYS GSM/GPRS small is successfully installed and ready for operation. 25

Operating Principle INSYS GSM/GPRS small 11 Operating Principle This chapter describes the basis procedures to operate and configure a INSYS GSM/GPRS small. It will also give you an overview of the control elements of the software HSComm. You have two possibilities to operate and configure the INSYS GSM/GPRS small. In general, the INSYS GSM/GPRS small is configured and operated via AT commands. You can enter these commands yourself with the help of a terminal program and the AT Command Reference. As an alternative, you can enter the most important functions easily with the help of the configuration software HSComm. 11.1 Operation via Terminal Program In general, any terminal program may be used. We recommend the program TeraTerm by T. Teranishi. It is available free of cost on the Internet at http://hp.vector.co.jp/authors/va002416/teraterm.html. Configuration and settings of the INSYS GSM/GPRS small with a terminal program How to configure and operate the INSYS GSM/GPRS small with a terminal program. The INSYS GSM/GPRS small is connected to the PC and switched on. A terminal program is installed on the PC. 1. Start your terminal program. 2. Open the serial port, to which you connected the INSYS GSM/GPRS small. COM1 under Windows corresponds to /dev/ttys0 under Linux. 3. Type the character string AT into the terminal program. Complete the entry by pressing the Enter key. Each command input starts with AT und is completed with the Enter key. The INSYS GSM/GPRS small responds with OK: If the INSYS GSM/GPRS small does not respond, this may have several possible reasons: a) The INSYS GSM/GPRS small is switched off b) The INSYS GSM/GPRS small is connected to a different serial port. c) Baud rate and/or data format are configured inconsitently. Check it and repeat step 3. 4. Configure the INSYS GSM/GPRS small with the help of the AT commands. 26

INSYS GSM/GPRS small Operating Principle A reference of the AT commands can be found in the AT Command Reference chapter. 5. Save your entries with AT&W. Not all settings at the INSYS GSM/GPRS small must be actively stored by entering AT&W. Some settings are automatically saved immediately. We still recommend sending the command AT&W to the INSYS GSM/GPRS small as your last configuration step to ensure that all settings are stored safely and are available for the next restart. 11.2 Operation with HSComm GSM Use the software HSComm to easily configure the INSYS GSM/GPRS small. HSComm offers an interface for the parameters of the most important AT commands of the INSYS GSM/GPRS small. The operation is mostly self-explanatory. You can download the software from the INSYS MICROELECTRONICS homepage (www.insys-tec.de). Configuration and setting of the INSYS GSM/GPRS small with HSComm How to configure the INSYS GSM/GPRS small with the software HSComm. The INSYS GSM/GPRS small is connected to the PC and switched on. The software HSComm GSM is installed on the PC. 1. Start the program HSComm GSM 4.x / GSM Small. The program starts. A process bar appears in the field on the right if the automatic recognition at program start is activated in the program settings of HSComm. If this option is not activated, the settings can be read out with the Read settings button (Figure 5, page 28, position 16). The program will now search for a connected INSYS GSM/GPRS small and will attempt to read the settings. After a short time, the settings are read out. A status message "Settings read." appears. If the settings cannot be read out, try to synchronize the serial interface by selecting the Synchronize RS232 button (Figure 5, page 28, position 19). 2. Click OK in the status message. 27

Operating Principle INSYS GSM/GPRS small 3. Enter the required settings. 4. Afterwards, click on the button Send settings (Figure 5, page 28, position 15). A process bar appears above the button. The entered settings are sent to the INSYS GSM/GPRS small and stored. A dialog box with the message "transmission finished" is displayed. 5. Click OK in the status message. 11.3 User Interface of the Software HSComm GSM 4.x / GSM Small In the following, the user interface of the software is displayed. These illustrations should help you find the different software settings. 1 2 3 4 5 6 7 8 9 10 11 26 25 24 23 22 12 13 14 15 16 17 18 19 20 21 Figure 5: HSComm GSM - Tab Basic Settings 28

INSYS GSM/GPRS small Operating Principle Position Function/Description 1 Save and load settings in files. 2 Configure the serial interface of the PC. 3 Configure the device behaviour; enable or disable auto-recognition at program start or log all commands. 4 Status of the PIN request between device and SIM, indication of the login state into the GSM network. 5 Button to activate the integrated terminal. 6 Configure interface language (German / English / Czech). 7 Load or store special settings for the operation with a PLC. 8 Display the configuration overview. 9 Protocol of the settings, sent and received by HSComm. 10 Program version information. 11 Online program help. 12 Enable and configure the scheduled reset of the INSYS GSM/GPRS small. 13 Setting the transmit protocols for CSD connections. 14 Entry field for an additional AT command for initialization ( Initialization string ) of the INSYS GSM/GPRS small. 15 Button for sending the settings to the INSYS GSM/GPRS small. 16 Button for reading the settings from the INSYS GSM/GPRS small. 17 Button for sending the default settings to the INSYS GSM/GPRS small. 18 Button for resetting the INSYS GSM/GPRS small. 19 Button for synchronizing the serial interface of the INSYS GSM/GPRS small with the serial interface at the PC. 20 Button for terminating the reading or sending of settings. 21 Status line; shows status and settings of the used serial PC interface. 22 Button for reading out the GSM field strength. 23 Enable and disable the automatic call acceptance. 24 Entry field for the SMS Service Center Number. 25 Configuring a new SIM PIN or deleting the old SIM PIN when sending the settings. 26 Tab to select the different configuration areas. Table 7: Description of the functions on the HSComm GSM tab "Basic Settings" 29

Operating Principle INSYS GSM/GPRS small 1 2 3 4 8 7 6 5 Figure 6: HSComm GSM - Tab Serial interface Position Function/Description 1 Handshake settings for the INSYS GSM/GPRS small. 2 Configure behaviour when activating the DTR control line. 3 Configure the result report form. 4 Configure target number and message text (if applicable) for SMS dispatch or data connection after DTR activation. 5 Configure behaviour when deactivating the DTR control line. 6 Enable command echo. 7 Configure data format for serial transfer. 8 Configure baud rate for serial transfer. Table 8: Description of the functions on the HSComm tab "Serial interface" 30

INSYS GSM/GPRS small Functions 12 Functions 12.1 Entering the PIN of the SIM Card The INSYS GSM/GPRS small requires a SIM card as well as the PIN belonging to the SIM card to be able to log into a GSM network. The PIN is necessary that the device is able to use the SIM card for logging into the GSM network. You may enter the PIN into the INSYS GSM/GPRS small without inserting the SIM card. If the SIM card requires no PIN, you don t have to enter a PIN in the INSYS GSM/GPRS small. If you enter a PIN, it will be transmitted to the SIM card with every login attempt. Note Loss of function of the SIM card! A falsely entered PIN may lock the SIM cars directly after switching on the INSYS GSM/GPRS small, when the device has tried to log into the GSM network for more than three times. Take care, that the SIM PIN configured in the INSYS GSM/GPRS small corresponds with the SIM card or disable the PIN request of the SIM card. A possibly false configured PIN has no effect if the PIN request is disabled. Configuration with HSComm In order to enter the already existing PIN of the used SIM card, use the PIN entry field (Figure 5, page 28, position 25) in the GSM Connection panel on the Basic Settings tab. In order to use a new PIN in the INSYS GSM/GPRS small, activate the check box new PIN (Figure 5, page 28, position 25). Then enter a new PIN into the entry field (Figure 5, page 28, position 25). In order to delete the PIN in the INSYS GSM/GPRS small, activate the check box delete PIN (Figure 5, page 28, position 25). Transmit your entries using the button Send settings (Figure 5, page 28, position 15), that they become effective. Configuration with AT commands The configuration of the PIN entry is described in detail in the Automatic Processing of AT command section. In order to check the status of the PIN request between device and SIM card, use the command AT+CPIN? The following replies inform about the status of the PIN request: No entry required READY 31

Functions INSYS GSM/GPRS small PIN of the SIM card missing PUK entry required (after repeated incorrect entry of the PIN) SIM carte not or not correctly inserted SIM PIN SIM PUK ERROR 12.2 Inserting and Removing the SIM Card A SIM card must be inserted that your INSYS GSM/GPRS small is able to log into the GSM network and transmit data. Moreover, the PIN of the SIM card must be entered into the INSYS GSM/GPRS small. Insert SIM card How to insert the SIM card into the INSYS GSM/GPRS small. You will need a SIM card. You will need a pointed tool, e.g. a ball pen refill. 1. Disconnect the power supply of the INSYS GSM/GPRS small. 2. Press onto the SIM card holder eject key using the pointed tool. The SIM card holder will be ejected. 3. Remove the SIM card holder. 4. Insert the SIM card into the SIM card holder. 5. Insert the SIM card holder with the inserted SIM card with the SIM card contacts facing left into the INSYS GSM/GPRS small. 32

INSYS GSM/GPRS small Functions The SIM card can now be used by the INSYS GSM/GPRS small. Take care that the correct PIN in configured in the INSYS GSM/GPRS small. A wrong PIN may lead to the SIM card being locked after switching on the INSYS GSM/GPRS small. Remove SIM card How to remove the SIM card from the INSYS GSM/GPRS small. You will need a pointed tool, e.g. a ball pen refill. 1. Disconnect the power supply of the INSYS GSM/GPRS small. 2. Press onto the SIM card holder eject key using the pointed tool. The SIM card holder will be ejected. 3. Remove the SIM card holder. 4. Remove the SIM card from the SIM card holder. 5. Insert the SIM card holder back into the INSYS GSM/GPRS small. 33

Functions INSYS GSM/GPRS small 12.3 Checking the Status of the GSM Login The INSYS GSM/GPRS small logs in into the GSM network automatically with each restart of the device. The login status into the GSM network may be requested for test purposes. Then, you can see, whether the INSYS GSM/GPRS small is logged out at the moment, whether a network search is performed, whether a login has been refused by the GSM network, or whether the device is logged in into a foreign network via roaming. Configuration with HSComm The Login state is indicated in text form in HSComm on the Basic Settings tab in the panel GSM Connection (Figure 5, page 28, position 4). Configuration with AT commands In order to request the Status of the GSM login, use the command AT+CREG? The Status is indicated in the reply by the second number following the comma. Reply example <+CREG: 0,3> The following status replies are possible: Not logged in, no GSM network search 0 Logged in with the standard provider 1 Not logged in, INSYS GSM/GPRS small searches for GSM network 2 GSM network refuses a login 3 Logged into a foreign network via roaming 5 34

INSYS GSM/GPRS small Functions 12.4 Checking the GSM Signal Quality You can check the signal field strength at the location of the INSYS GSM/GPRS small. The signal quality has an essential effect on data transmission speed. If the signal field strength is too low, the transmission speed may drop too much or the connection may be terminated completely. The signal field strength is visible for you in several ways: via HSComm or via an AT command. Configuration with HSComm In order to open a dialog window with the current signal field strength, click the detect GSM intensity button (Figure 5, page 28, position 22) on the Basic Settings tab. Configuration with AT commands In order to display the signal field strength, use the command AT+CSQ The signal quality is indicated in the response by the first digit before the comma. Response example <+CSQ: 13,0> The value of the signal quality means here: 0..10 poor reception, change position 11..31 good reception 99 cannot be detected The value behind the comma indicates the bit failure rate. 35

Functions INSYS GSM/GPRS small 12.5 Automatic Baud Rate Detection 12.5.1 Serial Connection Note Functional reliability! Undefined settings of baud rate and data format may affect a reliable function. It is recommended to select a fix baud rate and thus deactivating the automatic baud rate detection for a reliable operation. The automatic baud rate detection enables a continuous automatic adjustment of all parameters (baud rate, (data format only GSM small)) of the serial interface at the INSYS GSM/GPRS small. The device will detect during operation, which baud rate and which data format is applied to the serial interface. With each incoming AT command (according to the character string "AT"), the parameters for the interface of the INSYS GSM/GPRS small will be checked and adjusted, if necessary. Automatic baud rate detection does not work for baud rates below 1200 baud. Configuration with HSComm In order to enable the automatic baud rate detection, select on the Serial interface tab in the Baud rate field the Autobaud setting (Figure 6, page 30, position 8). Configuration with AT commands To set the baud rates, enter one of the following baud rates for <n>: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200, or 230400 bps. AT+IPR=<n> If 0 is configured for <n> here, automatic baud rate detection is enabled. 36

INSYS GSM/GPRS small Functions 12.5.2 CSD Data Connection to ISDN/PSTN For a data connection with a device outside the GSM network (PSTN or ISDN TA) the right protocol has to be selected. This setting is not important for data connections with a GSM device. The automatic negotiation of the connection protocol enables the INSYS GSM/GPRS small to negotiate the largest possible connection speed to the remote terminal while the connection is established. The speed depends on the settings and the abilities of the modem at the remote terminal. Via the connection protocol, the connection speed can be set through the phone line. If nothing is defined, the INSYS GSM/GPRS small will automatically try to determine the optimum connection parameters. Configuration with HSComm In order to configure the protocol, select on the Serial interface tab in the Protocol field the respective setting (Figure 6, page 30, position 13). Configuration with AT commands To configure the modulation standard and thus the connection speed, use the command: AT+CBST=<service> Please find the possible parameters for this command in the AT Command reference chapter. To display the current settings: For a list of possible parameter of the command, enter: AT+CBST? AT+CBST=? 37

Functions INSYS GSM/GPRS small 12.6 Data Flow Control (Handshake) The data flow control ensures that the data transfer is interrupted as soon as the modem buffer exceeds a certain level. Two data flow control options are available: Via the control lines RTS and CTS, or via the control characters XON/XOFF which are inserted into the data stream. 12.6.1 Hardware Data Flow Control (RTS/CTS) The hardware data flow control works in two directions. When the critical buffer level is exceeded, the modem will set the CTS line to "low" and will thus indicate to the application to interrupt the dataflow. When the buffer is emptied sufficiently for the INSYS GSM/GPRS small to be able to receive data again, the CTS line is set to "high". Reversely, the application can also indicate to the INSYS GSM/GPRS small to interrupt the data flow. This is done via the RTS line. If it is set to "low", the modem will interrupt the data flow to the application. The application will set it to "high" to request data from the INSYS GSM/GPRS small. The data flow control with RTS/CTS behaviour is active by default. Configuration with HSComm Select the type of data flow control or switch it off completely on the "Serial interface" tab in the "Handshake" panel (Figure 6, page 30, position 1). Configuration with AT commands In order to enable the data flow control and to set the type to RTS/CTS, use the command In order to disable the data flow control, use the command AT\Q3 AT\Q0 38

INSYS GSM/GPRS small Functions 12.6.2 Software Data Flow Control (XON/XOFF) When the input buffer of the modem exceeds a certain fill state, the modem will insert an XOFF character into the data stream to the application. This character will cause the application to send no more data. It will depend on the according application software if the XON/XOFF data flow control is supported. After the input buffer of the modem is emptied so much that data can be received again, the modem will send an XON character to the application. This character will cause the application to send data to the modem again. Analogously, the application can insert XON/XOFF characters into the data stream to switch the data flow on and off. The XON/XOFF data flow control is only available when the transmitted data do not contain the characters XON or XOFF, which usually appear only in actual ASCII texts (7 bit). When binary data (programs, etc.) are transmitted, or in the XMODEM transmission protocol, for example, occasionally appearing XON or XOFF characters would disturb the operation. Configuration with HSComm Select the type of data flow control or switch it off completely on the "Serial interface" tab in the "Handshake" panel (Figure 6, page 30, position 1). Configuration with AT commands In order to enable the data flow control and to set the type to XON/XOFF, use the command In order to disable the data flow control, use the command AT\Q1 AT\Q0 39

Functions INSYS GSM/GPRS small 12.7 Establish or Accept a Data Connection The INSYS GSM/GPRS small can call another modem via the GSM network and establish a data connection. After dialling a number, the INSYS GSM/GPRS small synchronizes with the called modem and opens a data connection with the transmission speed, allowed by the GSM network. Usually, this is 9600 bit/s. The speed, which is configured at the serial interface of the INSYS GSM/GPRS small at the time of connection establishment, will not be changed. All incoming characters are transmitted to the called modem during an active data connection. Therefore, AT commands are not processed during a connection. The INSYS GSM/GPRS small must be switched to command mode using the Escape sequence that it is able to process AT commands during an active data connection again. Then, the local INSYS GSM/GPRS small processes the entered characters as AT commands and does not transmit it top the remote station. In the same way, the INSYS GSM/GPRS small can accept an incoming connection. It picks up after the configured number of rings and opens a connection. Configuration with AT commands In order to establish a data connection with the INSYS GSM/GPRS small, use the command Replace <phonenumber> with the phone number of the remote station. If another modem accepts the connection, the INSYS GSM/GPRS small reports If the remote station is busy, the IN- SYS GSM/GPRS small reports If no connection with the remote station can be established, the INSYS GSM/GPRS small reports An incoming call is signalled by ATD<phonenumber> CONNECT BUSY NO CARRIER RING In order to change into command mode, use the escape sequence Before and after, no data may be transmitted for 1 second that the IN- SYS GSM/GPRS small changes into command mode. In order to change back from command mode to regular data transmission, use the command +++ ATO 40

INSYS GSM/GPRS small Functions In order to accept an incoming connection, use the command In order to configure the number of ring tones, after which the INSYS GSM/GPRS small picks up and accepts the connection, use the command Replace <n> with the number of ring tines (<n> = 2 255, <n> = 0 disables the function). In order to terminate a connection and make the INSYS GSM/GPRS small hang up, use the command ATA ATS0=<n> ATH 12.8 Automatic Call Acceptance With the automatic call acceptance, the INSYS GSM/GPRS small accepts every call after the configured number of ring tones. Configuration with HSComm In order to enable the automatic call acceptance, activate the check box auto answer (Figure 5, page 28, position 23) on the Basic settings tab. Configure the desired number of ring tones (Figure 5, page 28, below position 23), after which the INSYS GSM/GPRS small picks up. Configuration with AT commands In order to enable the automatic call acceptance, use the command In order to disable the automatic call acceptance, use the command In order to configure the number of ring tones, after which the INSYS GSM/GPRS small accepts the call, use the command Replace <n> with the number of ring tones (<n> = 2 255). ATS0=1 ATS0=0 ATS=<n> 41

Functions INSYS GSM/GPRS small 12.9 Manual Sending of a Message The INSYS GSM/GPRS small can be used to send an SMS manually. Configuration with HSComm A manually triggered dispatch of a message is not possible with the HSComm software. Configuration with AT commands In order to configure the SMS text mode, use the command AT+CMGF=1 In order to configure the number of the Short Message Service Center, use the command Replace <SMSCno> with the number of the Short Message Service Center (SMS Center) in international format in quotation marks (for example +49172 ). In order to send the SMS message, enter the target number using the command Finish the entry of the target number in international format in quotation marks with the Enter key <CR>. After the prompt > appears, enter the text of the SMS message and finish the entry with CTRL-Z (not with the Enter key!). AT+CSCA=< SMSCno > AT+CMGS=< targetno > >SMS text The INSYS GSM/GPRS small starts to send the SMS now. 42

INSYS GSM/GPRS small Functions 12.10 Automatic Execution of AT Commands The command AT^SCFG allows to execute functions (AT commands) time-controlled or via activating the DTR control line. Up to 3 actions can be configured for time-controlled processes. One action can be configured for triggering via DTR. In case of time-controlled functions, the internal timers start over after a restart or reset. This is also valid when entering ATZ or AT&F! The most important functions for an application are explained with examples in the following. These examples are also used in the HSComm for GSM; Automatic PIN entry and login after restart Automatic reset Alarm via DTR control line If all functions are configured in the configuration software HSComm, all memory locations are occupied. The settings of this command are only stored by the command AT^SMSO. This command shuts the {{{PRODUKTBEZEICHNUNG}}} down. It can be restarted by briefly disconnecting the power supply. 43

Functions INSYS GSM/GPRS small 12.10.1 Automatic PIN Entry and Login after Restart This function allows a login into the GSM network and the transfer of the PIN by the IN- SYS GSM/GPRS small. Configuration with HSComm The simplified PIN entry via the software HSComm is described in the Entering the PIN of the SIM card section. Configuration with AT commands In order to configure an automatic login into the GSM network, use the command Replace <time> with the time in the format <hhh:mm:ss> (e.g. <000:00:06> for 6 seconds), which has to expire before the login takes place. In order to configure an automatic PIN transfer, use the command Replace <PIN> with the PIN of the SIM car and <time> with the time in format <hhh:mm:ss>, which has to expire before the PIN is transferred. After the configured time has expired after a restart, the reply appears at the serial interface Then, the INSYS GSM/GPRS small is logged in into the GSM network. In order to disable the automatic login into the GSM network, use the command In order to disable the automatic PIN transfer, use the command AT^SCFG= AutoExec,1,1,0,0, AT+COPS=0, <tim e> AT^SCFG= AutoExec,1,1,1,0, AT+CPIN=<PIN>, <time> ^SCFG: Auto- Exec,1,1,0,0, AT+COPS =0 ^SCFG: Auto- Exec,1,1,1,0, AT+CPIN =<PIN> AT^SCFG= AutoExec,0,1,0 AT^SCFG= AutoExec,0,1,1 All settings made with the command AT^SCFG, are only stored after executing the command AT^SMSO. In order to store the settings, use the command AT^SMSO 44

INSYS GSM/GPRS small Functions 12.10.2 Automatic Reset To avoid a faulty registering status of INSYS GSM/GPRS small during infrastructure changes of the GSM network (software updates of the databases, temporary network extensions, e.g. for fairs), the device should be periodically unregistered and reregistered, or re-started and initialized. Configuration with HSComm In order to enable the automatic reset, activate on the Basic settings tab in the System monitoring tab the radio button software reset and enter the time, which has to expire, before a reset will be performed (Figure 5, page 28, position 12). Configuration with AT command In order to configure an automatic reset, use the command Replace <time> with the time in the format <hhh:mm:ss> (e.g. <024:00:00> for 24 hours), which has to expire before the reset takes place. AT^SCFG= AutoExec,1,1,2,0, AT+CFUN=1,1, <t ime> The INSYS GSM/GPRS small will be reset after the configured time has expired following a restart. After this reset, the configured functions will also be processed again, which is indicated accordingly at the serial interface. In order to disable the automatic reset, use the command AT^SCFG= AutoExec,0,1,2 All settings made with the command AT^SCFG, are only stored after executing the command AT^SMSO. In order to store the settings, use the command AT^SMSO 45

Functions INSYS GSM/GPRS small 12.10.3 Alarm via DTR Control Line The INSYS GSM/GPRS small can send a message or establish a data connection when activating the control line DTR of the serial interface (e.g. by opening a COM port at a PC). When using the alarm via DTR control line, we recommend to make the setting AT&D0. 12.10.3.1 Sending an SMS via DTR Activation The INSYS GSM/GPRS small can send an SMS when activating the control line DTR of the serial interface. Only one attempt to send the message will be made. Configuration with HSComm In order to enable the SMS dispatch on DTR activation, activate on the Serial interface tab in the Action on DTR activation panel the radio button SMS (Figure 6, page 30, position 2). In order to determine how to handle existing connections, select on the Serial interface tab in the handling of open connection panel the respective radio button (Figure 6, page 30, position 2). In order to determine the target number for sending the SMS, enter on the Serial Interface tab in the Action on DTR activation the number into the field target number (Figure 6, page 30, position 4). In order to determine the text of the SMS, enter on the Serial Interface tab in the Action on DTR activation the desired text into the field SMS text (Figure 6, page 30, position 4). Configuration with AT commands Some presettings are necessary for this: In order to configure the SMS text mode, use the command AT+CMGF=1 In order to configure the number of the Short Message Service Center, use the command Replace <SMSCno> with the number of the Short Message Service Center (SMS Center) in international format in quotation marks (for example +49172 ). In order to delete the SMS on memory location 1, use the command This is performed to ensure that the SMS configured in the following will definitely be stored on memory location 1. AT+CSCA=< SMSCno > AT+CMGD=1 46

INSYS GSM/GPRS small Functions In order to send the SMS message, enter the target number using the command Finish the entry of the target number in international format in quotation marks with the Enter key <CR>. After the prompt > appears, enter the text of the SMS message and finish the entry with CTRL-Z (not with the Enter key!). In order to store the settings made, use the command AT+CMGW=< targetno > >SMS text AT&W After the presettings have been made, the actual alarm function can be configured: In order to send the SMS on memory location 1 (AT+CMSS=1) to the respective target on a DTR activation, use the command The serial interface indicates as reply The message +CMSS: 23 indicates the number of messages sent with this SIM card so far. AT^SCFG= AutoExec,1,0,0,0, AT+CMSS=1 ^SCFG: Auto- Exec,1,0,0,0, AT+CMSS =1 OK +CMSS: 23 Above command ignores already existing data connections, i.e. the SMS dispatch would fail in this case. In order to wait for the end of an already existing data connection, use the command In order to terminate an already existing data connection in case of an alarm, use the command In order to disable the function, use the command AT^SCFG= AutoExec,1,0,0,1, AT+CMSS=1 AT^SCFG= AutoExec,1,0,0,2, AT+CMSS=1 AT^SCFG= AutoExec,0,0,0 All settings made with the command AT^SCFG, are only stored after executing the command AT^SMSO. In order to store the settings, use the command AT^SMSO 47