Operating Manual INSYS GSM small Version 1.00 / 08.
Copyright © 2004 INSYS MICROELECTRONICS GmbH Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg. Restrictions of guarantee This manual contains a concise description of the INSYS GSM small. The compilation of the text has been made with the utmost care. Despite all efforts, mistakes can never be prevented completely. No guarantee can therefore be given for the accuracy of the contents.
Contents I 0 SAFETY INSTRUCTIONS ! ............................................1 1 SCOPE OF DELIVERY....................................................1 2 GENERAL.....................................................................2 3 TECHNICAL DATA........................................................3 3.1 GENERAL ..................................................................................3 3.1.1 3.1.2 Features...........................................................................
II Contens 4.3.2 4.3.3 Initial Operation Using a Terminal Program ....................................15 Troubleshooting and Diagnosis during the Initial Operation..........17 5 CONFIGURATION SOFTWARE HSCOMM ..................19 5.1 GENERAL OPERATION ...............................................................19 5.1.1 5.1.2 5.1.3 5.1.5 Help ...................................................................................................19 Menus..................................................
Contents III 6.4 SLEEP, POWER DOWN AND RTC FUNCTIONALITY ..........................33 6.4.1 6.4.2 6.4.3 6.4.4 6.4.5 General..............................................................................................33 RTC Functionality ..............................................................................33 Change of Status...............................................................................34 Sleep Modes ..............................................................................
0. Safety Instructions 1 0 Safety Instructions ! GSM devices are subject to restrictions in the vicinity of electronic devices. The operation of a GSM device may lead to interferences which might impair electronic devices, such as PCs, controls, monitors, etc. Attention! The device may not be operated: • in the vicinity of medical devices or life-saving equipment. • at explosion-prone locations. • at filling stations and fuel depots. • at blast sites.
2 2. General 2 General The INSYS GSM small is a terminal device according to ETSI GSM Phase 2/2+ for the transmission of data, voice, fax group 3 and SMS messages in 900 MHz and 1,800 MHz networks (dual-band). It has a very compact design, is only 23 mm wide and is designated for rail mounting. Installing the modem on the rail in the switchboard, as well as the connection and the initial operation of the modem are very simple.
3. Technical Data 3 3 Technical Data 3.1 General 3.1.1 Features • • • • • • • • • • • • • • • • • Mounting on DIN rail DIN EN 500 22 Power supply 12..24 V DC, 5% ripple Level on V.24 interface according to V.28 Protected V.24/V.
4 3. Technical Data 3.2 Interfaces and Display Elements Front view 3.2.1 Display Elements The left LED (Power - Rx/Tx) displays the condition of the operating voltage and a data transmission. The right LED (GSM net – DCD) displays the registration status within the GSM network and an existing data connection. The exact meaning of the display elements is described in the following table.
3.
6 3. Technical Data 3.2.3 Power Supply Power supply: 12..24 V DC (5% ripple) Power consumption standby (logged in): . max. approx. 500 mW Power consumption data connection (connect): max. approx. 2 W Power consumption power down: max. approx. 200 mW Power input sleep: max. approx.
3. Technical Data 7 3.2.5 SIM Card The INSYS GSM small requires a SIM card from a GSM provider for operation. The SIM card is the identification towards the network provider. The slot for the SIM card is on the bottom of the INSYS GSM small. Push the sunk yellow button above the card slot to unlock and pull out the insert. The visible contacts of the SIM card must face the top, when inserting the SIM card into the holder.
8 3. Technical Data Description of the signals on the 9-pin D-SUB connector 9-pin D-Sub Pin No.
3. Technical Data 3.3.1 Data Connections Non-transparent asynchronous: • V.22bis (2400 bps) • V.32 (4800 bps) • V.32 (9600 bps) • V.32 (14400 bps) • V.110 (4800 bps ) • V.110 (9600 bps ) • V.110 (14400 bps ) USSD (Unstructured Supplementary Services Data) are supported. 3.3.2 Fax Group 3: Class 1 and Class 2 3.3.3 SMS Text and PDU mode • Mobile Originated (MO) • Mobile Terminated (MT) • Cell Broadcast (CB) Version 1.00 / 09.
10 3. Technical Data 3.4 Approvals The INSYS GSM small bears the CE symbol of conformity.
4. Installation and Initial Operation 11 4 Installation and Initial Operation Before the initial operation, familiarize yourself with the effective safety regulations for the operation of an GSM terminal device. Please also read the safety instructions in Chapter 0. 4.1 Connection Overview The serial interface (RS 232) of the INSYS GSM small and the configuration PC are connected for the initial operation and configuration. For the data communication during operation, the application (e.g.
12 2. 4. Installation and Initial Operation Inserting the SIM card Attention! When the automatic module initialization sequence (see Chap. 4) is used to automatically transfer the PIN of the SIM card, this function must be deactivated for a while for a new SIM card with another PIN. This may otherwise lead to the blocking of the SIM card (after three incorrect inputs). 3. Connection of Power Supply: Attention! The value for Pin 1 stated on the cover top is a maximum value.
4. Installation and Initial Operation 4.3 13 Initial Operation and Setup The initial operation may take place comfortably by using the configuration software HSComm (see Chap. 5) under Windows as well as directly by entering the AT commands with a terminal program. 4.3.1 Initial Operation Using the Configuration Software HSComm 1. Start HSComm under Windows: 2. Select the following standard setting for the serial interface in the menu “Interface” at the configuration PC: 3.
14 4. Installation and Initial Operation 5. After the device has been reset, the INSYS GSM small registers itself at the GSM network. As soon as the device is registered, the LED GSM net changes from steady green blinking (600 ms) into green flashing (75 ms on, 3 s off). 6. Check the field strength of the GSM signal using the button “Detect GSM Intensity”. The response should be a field strength of at least 12 – otherwise the antenna location has to be changed. (see also Chap. 5.2). 7.
4. Installation and Initial Operation 15 4.3.2 Initial Operation Using a Terminal Program 1. Start your terminal program with the interface parameters 19200 bps, 8 data bits, 1 stop bit, no parity. 2. Communication test For a first communication test, enter the command “AT” and hit the “Enter” key. The reply “OK” indicates that the INSYS GSM small has been successfully installed. 3. Entering the PIN: Attention! When using SIM cards with deactivated PIN query, the PIN does not need to be entered.
16 4. Installation and Initial Operation Attention! To avoid problems due to undefined settings of baud rate and data format, we recommend to deactivate the auto baud function, and to select a fixed baud rate. 6. Data format The data format can be set to fixed values. Example: AT+ICF=5,1 sets the data format to 7E1 (7 data bits, parity even, 1 stop bit). AT+ICF=3 sets the data format to 8N1 (8 data bits, no parity, 1 stop bit).
4. Installation and Initial Operation 17 4.3.3 Troubleshooting and Diagnosis during the Initial Operation No response on commands • INSYS GSM small and the terminal device (configuration PC or control) have to operate the serial interface with the same baud rate and the same data format, unless auto baud is not used. The used COM port may not be used by another application. No connection • Is the signal quality of the GSM network sufficient? See next page.
18 4. Installation and Initial Operation Attention! Measuring of the signal quality should always take place in a registered status with a SIM card of the provider who is actually used. A measurement without a SIM card will due to the emergency call functionality always supply the value of the strongest GSM network! Registered status and PIN status The registered status can primarily be checked through the LED GSM net. The query via AT command will supply further information.
5. Configuration Software HSComm 19 5 Configuration Software HSComm The software HSComm allows the configuration of the INSYS GSM small under Windows without explicit knowledge of the AT commands and their parameters. The requested functions and settings can be selected on a graphical user interface. The selected settings are translated to AT commands and sent to or read from INSYS GSM small after the appropriate instruction (buttons Send or Read settings).
20 5. Configuration Software HSComm Language Image HSComm language selection Selection of the HSComm user interface language: German or English. The setting has no effect on the functionality of the INSYS GSM small. Overview All current settings of the INSYS GSM small are clearly displayed. The output extends over several screen pages and can be saved as text file.
5. Configuration Software HSComm 21 Synchronize The serial interface of the INSYS GSM small and the used PC must have the same settings. With “Synchronize”, all possible baud rate and data format settings at the PC side are tested through until both sides match. Abort Terminates a running data transmission (“Send settings”, “Read settings”, or “Send default settings”). This is indicated by the progress bar above the buttons. 5.1.
22 5. Configuration Software HSComm PIN The INSYS GSM small can store the PIN of the SIM card internally to be able to automatically register at the GSM network during start up. To enter, activate “new PIN” and enter the PIN. For safety reasons, * is displayed instead of digits. The default setting is “0000”. When the INSYS GSM small has stored a PIN, the option “PIN active” is checked. A PIN stored in the INSYS GSM small is deleted by “Delete PIN”.
5. Configuration Software HSComm 23 Detect field strength intensity The actual field strength of the GSM signal is read out and displayed graphically. Values below 12 indicate an insufficient signal strength. The antenna location should be improved. The value 99 stands for not ascertainable field strength, e.g. due to network loss or a damaged antenna. When the location of the antenna is changed, it takes approximately 5 to 10 seconds until the field strength of the INSYS GSM small is updated. 5.2.
24 5.3 5. Configuration Software HSComm Serial Interface 5.3.1 Baud Rate, Data Format and Echo The settings of the serial interface of the INSYS GSM small must match the parameter settings of the device to be connected. This concerns the transmission rate (baud rate) and the data format (number of data bits, number of stop bits, and parity).
5. Configuration Software HSComm 25 5.3.2 Handshake The handshake controls the data flow at the serial interface while the data rate is too high at the moment. Software handshake controls the data flow with the control characters (XON/XOFF) via the data lines. Hardware handshake uses the separate control lines RTS/CTS of the serial interface. Without handshake, overflowing data is ignored.
26 5. Configuration Software HSComm Reaction to DTR activation When the DTR signal changes from 0 to 1, a data connection can be established automatically, an SMS can be sent, or no DTR behavior takes place. To establish a data connection or to send an SMS, the target number must be entered into the field below. For sending an SMS, you must always allocate an SMS text.
6. Function Description 27 6 Function Description 6.1 Data Connection 6.1.1 General ATD22243 CONNECT 9600/RLP +++ ATH or ATO Dial number to which a connection is to be set up (always with dialing code, except for special provider numbers). The call is accepted. The data is exchanged over the GSM network. Changing from data mode to online AT command mode. Before and after this “Escape sequence”, there must be one second message “Silent” on the TXD line to the INSYS GSM small.
28 6.2 6. Function Description SMS Dispatch Example of a text SMS. AT+CMGF=1 AT+CSCA=““ AT+CMGS=”“ >Hello, this is a test Set SMS text mode SMS service center number Target number Prompt >, enter SMS text here, finish text entry with Ctrl Z (0x1A); the INSYS GSM small starts to send the SMS message Here you have to note that the service center number and the telephone number are placed in “”.
6. Function Description 29 6.3.2 Automatic PIN Input and Registering After Restart AT^SCFG="AutoExec",1,1,0,0,"AT+COPS=0","000:00:06" AT^SCFG="AutoExec",1,1,1,0,"AT+CPIN=0000","000:00:10" Meaning: 6 seconds after a restart/reset, the command AT+COPS=0 is automatically executed to allow the engine to automatically register itself at the GSM network after the PIN input.
30 6. Function Description 6.3.3 Automatic Reset To avoid a faulty registering status of the INSYS GSM 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 re-registered, or restarted and initialized.
6. Function Description 31 Establishing a data connection AT^SCFG=“AutoExec“,1,0,0,0,“ATD0123456789” When activating the DTR control line from the application, a data connection to the specified number (here 0123456789) is established. This is indicated at the serial interface: ^SCFG: "AutoExec",1,0,0,0,"ATD0123456789" CONNECT 9600/RLP In this case already existing data connections are ignored, i.e. establishing alarm connections would fail in this situation.
32 6. Function Description When entering the service center number and the telephone number you have to place them in “”. The service center number must be written in international format, i.e. for a German provider with a leading „+49“. After entering the target number (finalize with ), the prompt for the SMS text > appears. The text entry has to be completed with (not with !).
6. Function Description 6.4 33 Sleep, Power Down and RTC Functionality 6.4.1 General The following paragraphs show an overview of the extended functions of the INSYS GSM small in view of the different energy saving modes. For in-depth information and the AT commands used for it we refer to the AT command set for the Siemens TC35i. In addition, the INSYS GSM small has an integrated real time clock (RTC, no power reserve), which can also be used in connection with the sleep and power down modes. 6.4.
34 6. Function Description When the INSYS GSM small is in normal mode during the alarm time, the following message appears: +CALA: Good morning When the INSYS GSM small is in power down mode during the alarm time, the RTC alarm mode is entered with the message: ^SYSSTART ALARM MODE +CALA: Good morning After an alarm has occurred, the alarm time is set to “00/01/01,00:00:00“ ; the parameter is maintained. 6.4.
6. Function Description 35 6.4.4 Sleep Modes Attention! Sleep modes only function correctly when the PIN of the SIM card has been authenticated. (Either by entering the PIN with AT+CPIN or by deactivating the PIN query.) 6.4.4.1 Sleep Mode Off (Normal Mode) AT+CFUN=1 This is normal operation. 6.4.4.2 NON Cyclic Sleep Mode AT+CFUN=0 In this sleep mode the serial interface is deactivated. Each possible “wake-up event” in this mode (besides AT commands) causes the INSYS GSM small to switch to normal mode.
36 6. Function Description When AT+CFUN=7 and AT+CFUN=8 is set, the sleep mode is re-entered after an SMS or a Connect. When entering AT+CFUN=1, the sleep mode is in all cases exited permanently and the system is set to normal mode. 6.4.4.
6. Function Description 37 6.4.5 Power Down Mode 6.4.5.1 Changes in Power Down Mode The Power Down Mode is entered using the command AT^SMSO. The GSM engine switches itself off, only the RTC is still active. The following routine takes place with AT^SMSO: AT^SMSO ^SMSO: MS OFF OK ^SHUTDOWN In the power down mode, the serial interface is inactive, the outputs (RXS, CTS, DCD, DSR, and RI) are highly resistive.
38 6. Function Description If a text was configured together with the command AT+CALA using additional parameters, this text will appear in the second message line. If an alarm occurs, the alarm time set with AT+CALA is deleted and can be set once more in the RTC alarm mode.
7. Command Overview 39 7 Command Overview 7.1 General Information Regarding the Command Sets The AT commands can only be entered locally via the serial interface if the device is either in offline state (no active data connection) or on online command mode (interrupted data connection). This document lists the most important commands. The complete AT command set of the GSM engine TC35i is available on request. The modem guideline V.
40 7. Command Overview To ease readability of the further comments, is always used as carriage return character. The standard responses are always OK or ERROR , regardless of the actually selected responses according to V.25. After the response to a command, a waiting period of at least 100 ms is recommended before the next command to enable the sending of more non-synchronous event codes, if necessary. For lining up standard AT commands please refer to the detailed command set of the GSM engine. 7.
7. Command Overview 41 ATQ Sets result code presentation mode 0 Result codes are transmitted 1 Result codes are not transmitted ATS0? Query automatic auto answer ATS0= Auto answer after call signals (RING) 0 off 1..
42 7.
7. Command Overview 43 with the command AT^STPB. For the formats 8E1 and 8O1, the parity bits are generally not transmitted. For a data rate of 300 bps, an interruption of 500 ms after must be observed after this command until the next command is sent. For baud rates of 600 and 1200 bps the waiting period is 300 ms. If auto bauding is active (AT+IPR=0), this also applies for the recognition of the data format (except 8N2).
44 AT^STPB= 7. Command Overview Transmission of the parity bit (only for the data formats 7E1 and 7O1) Concerns only the air interface! 0 The parity bit is not sent via the air interface and is replaced by 0. 1 The parity is correctly sent via the air interface as the 8th bit. This setting should be used when problems occur with the data formats 7E1 or 7O1 during data transmissions. 7.2.
7. Command Overview 45 AT+CPIN= Enter PIN of the SIM card: 4 digit number AT+CREG? Display registration state (network state) Response: , OK 0 Not registered, no GSM network search 1 Registered at standard provider 2 Not registered, GSM network search 3 Refused 5 Registered, roaming AT+CSQ Display signal quality (intensity of the GSM signal) Response: , 0..10 Poor GSM signal, change location 11..31 Good GSM signal 99 Not detectable 7.2.
46 AT+CMGW= 7. Command Overview Save SMS Message: Phone number Enter/return key Text of the SMS message Press the Ctrl key and Z (0x1A) The phone number is ended with , the actual text with . In this case, the SMS is not sent, but stored in the next free memory. After the text is finalized with , acknowledgement takes place with +CMGW: , where stands for the number of the storage location.
7. Command Overview 47 7.2.5 AT Commands For Time Functions AT+CCLK? Display current time and date AT+CCLK=
48 8. Network Provider Identification Numbers 8 Network Provider Identification Numbers Identifiers and names of the network providers (GSM Location Area Identification Number) for the GSM module in alphabetic order – for the commands AT+COPS, AT**PROVIDER (output for model TC35i Firmware V2.7). The following table can be output with the command AT^SPLM.
8.
50 8.
51 Version 1.00 / 09.