Page 2
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. Publisher:...
Power supply..................14 2.5.3 Serial interface RS232 (V.24) ............15 2.5.4 SIM card.................... 15 2.5.5 Audio interface (not for INSYS GSM 4.2 compact) ......16 2.5.6 Antenna interface ................16 2.5.7 Digital inputs and outputs ............... 16 2.5.8 Terminal Layout ................17 ...........18...
Page 4
Inhalt ...........22 WITCH THE EVICE ON AND EST IT ............23 NITIAL ONFIGURATION 3.5.1 Initial configuration via HSComm GSM........... 23 3.5.2 Initial configuration with AT commands......... 26 .................27 ESTART 3.6.1 Procedure: Insert SIM card ............... 27 ..............28 ONNECTION .......29 AUSES OF RROR DURING MPLEMENTATION ............30...
Page 5
Connection attempts ............... 48 6.1.4 Auto answer ..................49 6.1.5 System monitoring................50 6.1.6 Date/Time ..................52 6.1.7 Serial interface of the INSYS GSM............ 52 6.1.8 Protocol .................... 53 6.1.9 Handshake..................53 6.1.10 DTR behavior ..................53 SMS ..................55 6.2.1 Requirements for receiving an SMS..........
Page 6
NTERFACE AND OICE ONNECTIONS .................80 LASH UPDATE ............82 PERATION WITH AT COMMAND SETS ..........84 INSYS AT C .......85 HORT ESCRIPTION OMMANDS IT C / INSYS AT** C ....87 OMPARISON OMMANDS OMMANDS TABLE: GSM - SERVICE CENTER NUMBERS ....88 Sep-06...
The manuals are available in German and English at http://www.insys-tec.de. Conventions In the manual, the devices INSYS GSM 4.2 and INSYS GSM 4.2 compact are both called INSYS GSM. Only if there are differences between the devices, the complete device name will be used.
Page 8
INSYS GSM 4.2". The complete reference for the standard AT commands is available on request. Software HSComm The software HSComm is available for the configuration of the INSYS GSM. The following system requirements are necessary for HSComm: Windows 2000...
Page 9
INSYS GSM 4.2 Introduction INSYS GSM 4.2 compact Taking back legacy systems According to the new WEEE guidelines, the taking back and recycling of legacy systems for our clients is regulated as follows: Please send those legacy systems to the following address, carriage prepaid: Frankenberg-Metalle Gärtnersleite 8...
Overview INSYS GSM 4.2 INSYS GSM 4.2 compact Overview The INSYS GSM is a terminal device according to ETSI GSM Phase 2/2+ for the transmis- sion of the following: Data Voice Fax group 3 SMS messages In dual band GSM networks: Class 4 (2W @ 900Mhz) Class 1 (1W @ 1.800MHz)
INSYS GSM 4.2 compact Data Services 2.3.1 Data services via the serial interface The serial interface is available for the configuration of the INSYS GSM or for the data connection to the terminal device. The serial interface has the following characteristics: Interface terminal adapter (TA) –...
INSYS GSM 4.2 Overview INSYS GSM 4.2 compact o Incoming data connections o Security callback o Commands via SMS o Operation via DTMF o Remote configuration Selective call acceptance (CLIP) Connection Setup and Monitoring Periodic alive SMS for operation monitoring After any power failure that lasts a minimum of 5 seconds (not reset), the IN- SYS GSM can send a power up SMS.
INSYS GSM 4.2 INSYS GSM 4.2 compact 2.5.2 Power supply The INSYS GSM requires a power supply of 10 to 60 V (DC) at a maximum of 5% ripple. Caution - No overvoltage protection! The INSYS GSM does not have a fuse.
Ring Indication 2.5.4 SIM card For the data connection to the GSM network, the INSYS GSM requires a SIM card from a GSM provider. The SIM card is the identification towards the network provider. The slot for the SIM card is on the front of the INSYS GSM.
Reference type: Handset Siemens-Gigaset 2.5.6 Antenna interface The antenna connector at the front of the INSYS GSM has the type FME (male). All commercial GSM antennas with a female FME connector can be used as antennas. Ensure that the frequency band corresponds with the one of the provider when using single band antennas (900 MHz or 1800 MHz).
0°C to 55°C Certifications The INSYS GSM bears the CE symbol of conformity. This symbol is a declaration that be- cause of its design and implementation, the INSYS GSM complies with the currently valid versions of the following EC directives:...
INSYS GSM 4.2 Overview INSYS GSM 4.2 compact Interfaces, Display and Control Elements The INSYS GSM has 5 LEDs for status displays and one reset key on the front. 2.8.1 Display elements Each INSYS GSM has 5 LEDs on the front. Color...
INSYS GSM 4.2 INSYS GSM 4.2 compact 2.8.2 Reset key Use the reset key to re-initialize the INSYS GSM or to load the factory settings. Procedure: Reset Press the reset key briefly. The device is returned to its initial state. This process takes approximately 30 sec- onds.
Check the device for shipping damage. Please also refer to your supplier if anything is damaged. Keep the packaging material for dispatch or storage. Installation Overview The following image shows the installation overview using the INSYS GSM 4.2 as exam- ple. Sep-06...
The LED Signal is on or blinks depending on the strength of the GSM network. The device is operational. If the INSYS GSM does not perform an initialization or the LED Power is not on, refer to your supplier. Sep-06...
Suitable terminal programs: TeraTerm, HyperTerminal, or the HSComm terminal window. 3.5.1 Initial configuration via HSComm GSM Warning! The AT command sets of the current INSYS GSM and the prior version INSYS GSM 2.0 are not identical: Use the HSComm GSM version 4.6.1.15 or higher for INSYS GSM 4.2.
Page 24
Initial Operation INSYS GSM 4.2 INSYS GSM 4.2 compact Start the program HSComm under Windows. The configuration software is started and displays the tab "Basic settings". Sep-06...
Page 25
In the tab "Basic settings” enter the PIN of the SIM card in the group "GSM connec- tions” in the entry field “New pin. The PIN is stored in the INSYS GSM and is used for logging into the GSM network at every restart.
Set the serial interface settings to the standard values: 19200 baud, 8 data bits, 1 stop bit, no parity: AT**BAUD=19200 AT**FORMAT=8N1 If the INSYS GSM is in an undefined state, reset it optionally to the factory settings first: AT&F&WZ AT**DEFAULT Enter the PIN.
Changing the SIM card is only permitted when the device is switched off. The slot for the SIM card is on the front of the INSYS GSM. Unlocking the card reader – Example INSYS GSM 4.2: Turn the power supply off.
Dialing a telephone ATD <n> <n> e.g. Number of your mobile phone The ringing will indicate that the INSYS GSM is attempting to establish the connection. Note Make sure that your SIM card is enabled for incoming data connec- tion if required (see Chap. 2.5.4).
In the HSComm, synchronize the RS232 interface using the button "Synchronize RS232". Adjust the settings. Reset the INSYS GSM to the default factory settings by pressing the reset key for a prolonged period. Note If possible, use the serial interface directly. Problems during data transmission may occur when USB serial converters are used.
INSYS GSM 4.2 compact Testing the Signal Quality The signal quality at the INSYS GSM location can be tested as follows: Use the button "Read GSM field strength now" on the tab "Basic settings" in the group "GSM connection" of the software HSComm.
Check the login state. Checking in the HSComm To check if the SIM card of the INSYS GSM and the entered PIN were accepted, proceed as follows: Under the control box "Pin active" in the tab "Basic settings" in the group "GSM connec- tion"...
Page 32
Remove the SIM card from the INSYS GSM. Insert the SIM card into a common mobile phone. Enter the PUK via the menu. You must ensure that the correct PIN is stored in the INSYS GSM. Re-insert the SIM card in to the INSYS GSM. Sep-06...
In connection mode, the asynchronous byte stream between the serial interfaces of the INSYS GSM and the remote terminal is exchanged transparently. During an existing data connection, you can put the INSYS GSM into the following states: Locally into command mode using the escape sequence +++...
By DTR drop Command Mode 4.2.1 Offline command mode The offline command mode is the state after switching on or resetting the INSYS GSM. You can address the INSYS GSM during offline command mode using AT commands. 4.2.2 Online command mode (local) During a data connection, you can put the INSYS GSM into online command mode by entering the escape sequence via the serial interface.
4.2.4 SMS configuration You can also send the extended INSYS AT** commands to the INSYS GSM via SMS. (see Chap. 6.2.4) The commands sent via SMS will be executed as soon as the INSYS GSM is in command mode. Alarm State As soon as an alarm input of the INSYS GSM has been activated, existing data and voice connections are terminated.
The free configuration software HSComm can be downloaded at: http://www.insys-tec.de. Warning! The AT command sets of the current INSYS GSM and the prior version INSYS GSM 2.0 are not identical: Use HSComm GSM version 4.6.1.15 or higher for IN- SYS GSM 4.2 Use HSComm GSM version 2.0.6.1 for INSYS GSM 2.0...
Configuration Software HSComm GSM INSYS GSM 4.2 INSYS GSM 4.2 compact HSComm User Interface The HSComm GSM user interface provides menus, registries and buttons, which are de- scribed with their mode of operation in the current chapter. The according chapters of "Functions and their configuration"...
Page 39
Use the menu "Language" to switch between the interface languages German and Eng- lish. The INSYS GSM has been tested for the most common PLC systems on the market. You can adjust the default settings for the initialization and communication strings.
See advanced logging at the menu item "Program settings". 5.2.2 Buttons Use the buttons to start data transmissions between the INSYS GSM and the configura- tion PC. During the data transmission, a progress bar will be displayed above the buttons.
"Configure GSM device at the PLC" or "Configure PC modem". Read settings Use the button "Read settings" to read the current settings from the INSYS GSM. The cur- rent settings are displayed in the HSComm. Send default settings Use the button "Send default values"...
Configuration Software HSComm GSM INSYS GSM 4.2 INSYS GSM 4.2 compact HSComm User Interface The HSComm GSM user interface provides menus, registries and buttons, which are de- scribed with their mode of operation in the current chapter. The according chapters of "Functions and their configuration"...
Page 43
Use the menu "Language" to switch between the interface languages German and Eng- lish. The INSYS GSM has been tested for the most common PLC systems on the market. You can adjust the default settings for the initialization and communication strings.
See advanced logging at the menu item "Program settings". 5.3.2 Buttons Use the buttons to start data transmissions between the INSYS GSM and the configura- tion PC. During the data transmission, a progress bar will be displayed above the buttons.
"Configure GSM device at the PLC" or "Configure PC modem". Read settings Use the button "Read settings" to read the current settings from the INSYS GSM. The cur- rent settings are displayed in the HSComm. Send default settings Use the button "Send default values"...
6.1.1 GSM connection You can save the SIM card PIN in the INSYS GSM. The INSYS GSM will automatically dial into the GSM network during startup. The default PIN setting is "0000". To operate SIM cards without PIN, you may delete the PIN.
INSYS GSM 4.2 compact Idle detection The INSYS GSM can terminate hanging connections, over which no data is exchanged anymore, automatically after a specified waiting period. Each character, which is sent via the serial interface (both directions), restarts the timer.
For data connections Procedure: Activate DTMF tone processing Note After activating DTMF tone processing, the INSYS GSM must be re- set (see Chap. 2.8.2). To activate DTMF tone processing in the software HSComm, set a check mark in the check box "Process DTMF tones" in the tab "Basic settings" in the group "GSM connec- tion".
Pertinent AT commands AT**DIAL Dial-up attempts for periodic alive or alarm messages 6.1.4 Auto answer After the specified number of ring tones, the INSYS GSM will accept a data call. Switched off 2 to 255 Note Incoming voice calls are automatically accepted when DTMF proc- essing is enabled.
Scheduled logout and login It is useful to log the INSYS GSM out for a short period and log in again every day to allow maintenance functions of the GSM provider. Enter the logout time and the duration (1 to 98 minutes).
Page 51
(not reset). (see Chap. 6.2.6 ) The INSYS GSM will add the date and the time to the power up SMS. The date and the time will have a maximum accuracy of five minutes.
INSYS GSM 4.2 compact 6.1.6 Date/Time You can set the date and the time of the real time clock of the INSYS GSM to an available time or set it to the system time of the configuration PC using the button "System time (PC)".
No handshake The INSYS GSM ignores redundant data. Software handshake The INSYS GSM controls the data flow with the help of control characters (XON/XOFF) via the data lines. Hardware handshake The INSYS GSM controls the data flow via the separate control lines RTS/CTS.
Page 54
Functions and their Configuration INSYS GSM 4.2 INSYS GSM 4.2 compact The INSYS GSM is operated as a stand-alone device, i.e. it is not connected via the serial interface. The INSYS GSM is operated at a device which does not sup- port hardware handshake.
HSComm software in the group "GSM connection" and the button "Locate SIM SMS storage locations now". The INSYS GSM queries the SMS storage locations as soon as the INSYS GSM is not busy with data connections, alarm processing or processing of AT commands for 60 seconds.
SIM buffer" is marked. End device applications can therefore use these SMS messages. (Operating mode AT**SMSRX=2), The SMS which are not processed by INSYS GSM stay in the buffer of the SIM card until they are retrieved by the application via the serial interface, and deleted.
SMS messages. Select a query cycle of the application that is larger than the one of the INSYS GSM (e.g. factor 2-3). Otherwise the INSYS GSM will re-trigger its query cycle every time the application is queried (= activity at the RS232 interface).
6.2.7 Send and receive SMS The INSYS GSM can create as well as receive SMS messages via AT commands. The re- spective commands and parameters are listed in the separate document "AT Command Set For INSYS GSM 4.2" at http://www.insys-tec.de.
Page 59
INSYS GSM 4.2 Functions and their Configuration INSYS GSM 4.2 compact AT+CMGS Send SMS message AT+CSCA Number of the SMS service center AT^SMGL List SMS messages (without changing the status) AT^SMGO SMS overflow AT^SMGR Read SMS message (without changing the state)
Functions and their Configuration INSYS GSM 4.2 INSYS GSM 4.2 compact 6.2.8 SMS Dispatch to fax and e-mail An SMS can also be sent to a fax device or an e-mail address with support of the GSM provider. Examples: In order to transmit a message via SMS from the T-D1 network to the fax number...
INSYS GSM 4.2 compact 6.2.9 Example: Free SMS dispatch via AT commands You can use the INSYS GSM via the serial interface to send free text messages. The example shows the process - logged in a terminal window. One-time preparation...
Alarms are triggered by connecting an alarm input to ground. The alarm input is on HIGH potential by a pull-up resistor in open state. During an alarm, the INSYS GSM can send an alarm message or activate the pertinent switch output.
Page 63
The pulse input can be used particularly to transmit several alarm states from small PLCs like SIEMENS Logo!™, Crouzet Millenium™, Comat BoxX™ or Moeller Easy™. A demonstra- tion program for creating such pulse sequences with the PLC Siemens Logo! is available on request (send e-mail to insys@insys-tec.de). Sep-06...
The data connection will be terminated in the follow- ing cases: The alarm input is no longer active. If the remote terminal hangs up Switching the corresponding switch output Note The INSYS GSM 4.2 compact has no audio interface. Sep-06...
The INSYS GSM ignores incoming commands during the processing of the alarm actions. If during the alarm processing of one input the other input is activate, the INSYS GSM stores the second alarm state. The INSYS GSM will first complete the processing of the first alarm before processing the second alarm (in chronological order).
Functions and their Configuration INSYS GSM 4.2 INSYS GSM 4.2 compact 6.3.7 Procedure: Configcure alarms You can configure the alarms with the configuration software HSComm or directly with AT commands. Restrictions for SMS texts The internal GSM character set does not match the usual ASCII character set of PCs in all positions.
Page 67
INSYS GSM 4.2 Functions and their Configuration INSYS GSM 4.2 compact Example: Input of pulse messages: Switch to the tab "Alarm/Switch1" or "Alarm/Switch2". Define the alarm type in the field "Alarm trigger". Depending on the alarm type you can only enter one message. For a pulse alarm, you can enter the collective message and 10 individual messages.
Page 68
Functions and their Configuration INSYS GSM 4.2 INSYS GSM 4.2 compact Example: Mobile phone number +491731223228 The pulse alarm message 2 of the alarm input 1 is sent to the specified numbers +491606749832 as well. +491727895431 +491731223228 The pulse alarm messages 2, 3, 4, 5, 8 and 9 of the alarm input 1 are sent to this number as well.
Page 69
INSYS GSM 4.2 Functions and their Configuration INSYS GSM 4.2 compact Pertinent AT commands AT**MSG Alarm message text AT**DST Main target number for alarm messages AT**DIAL Dial-up attempts for periodic alive or alarm messages AT**SCN SMS service center number AT**COMBINE...
The following additional options are available: Activate by waiting alarm at relevant alarm input The INSYS GSM can signal to an external device that the alarm input is busy. Activate for the duration of an incoming RING signal An incoming RING signal switches the switch output active. With this, an external signal (lamp, horn) can be switched, for example.
Page 71
INSYS GSM 4.2 Functions and their Configuration INSYS GSM 4.2 compact Examples: Procedure: Switch outputs with AT commands Pertinent AT commands AT**OUTPUT Configuration of the switch outputs AT**OUT Manual switching of the outputs Example: Configure the switch output 1 to the pertinent alarm input Enter the command AT**OUTPUT1=0,0,0,1.
Page 72
Functions and their Configuration INSYS GSM 4.2 INSYS GSM 4.2 compact Note By default, the switch outputs are set to switching via the com- mand AT**OUT. Example for switching the switch output 2 with the AT command AT**OUT Enter the command AT**OUT2=1.
INSYS GSM 4.2 Functions and their Configuration INSYS GSM 4.2 compact Access Control You can protect the INSYS GSM from unauthorized access. The following options are available: Selective Call Answer Passwords and DTMF PIN Security callback You can configure the access protection in the HSComm in the tab "Access control".
INSYS GSM 4.2 compact 6.5.1 Selective call answer When this option is activated, the INSYS GSM will only accept connections from the specified phone numbers. You have the option to allow entire number blocks; the wild card character * replaces exactly any one digit. The selective call acceptance is also valid for data and voice connections as well as incoming SMS commands.
When an incoming connection is accepted and established, the caller is asked to enter the password after 2 seconds: If no valid password is entered within 60 seconds, the INSYS GSM will terminate the con- nection. A valid password is acknowledged with OK.
If a security callback number was entered, the INSYS GSM will query the password for all connections and terminate the connection. If the password was correct, the INSYS GSM will establish a new connection to the security callback number after 30 seconds.
Page 77
INSYS GSM 4.2 Functions and their Configuration INSYS GSM 4.2 compact Outgoing calls from the INSYS GSM are not affected. Procedure: Activate security callback Start the HSComm and switch to the tab "Access control". Enter the requested number in the group "Callback number"...
INSYS GSM 4.2 compact History The current values from the internal history list are read out and displayed. The INSYS GSM records the following events continuously in a ring buffer. The ring buffer always contains the last 200 entries. The buffer will be deleted when re- setting to factory settings.
Page 79
INSYS GSM 4.2 Functions and their Configuration INSYS GSM 4.2 compact PPW ERROR Wrong configuration password or timeout expired TPW ERROR Wrong entry of DTMF PIN or timeout expired CLIP ERROR Call with invalid phone number (selective call acceptance) SECURITY CALLBACK...
INSYS GSM 4.2 INSYS GSM 4.2 compact Audio Interface and Voice Connections The INSYS GSM 4.2 has a standard RJ45 phone plug at the front to connect a phone handset of reference type Handset Siemens Gigaset (see Chap. 2.5.5). Note The INSYS GSM 4.2 compact has no audio interface.
Page 81
Data format: Handshake: Hardware The INSYS GSM will perform a complete reset after the flash update is finished. If necessary, the INSYS GSM will load the default factory settings. The SIM card PIN will remain unchanged. Pertinent AT commands AT**FLASH...
INSYS GSM 4.2 compact Operation with PLCs Generally, the INSYS GSM will be connected to a PLC or a PC with a pertinent application via the serial interface and will provide the data connection for it via GSM to the remote device.
Page 83
Functions and their Configuration INSYS GSM 4.2 compact The INSYS GSM has been tested for the most common PLC systems on the market. The documentation regarding the required settings for the according PLC is available from INSYS MICROELECTRONICS (mailto: insys@insys-tec.de).
SMS is restricted to commands with responses of up to 140 characters. The most important standard AT commands and all extended AT commands are listed in the document "AT Command Set for INSYS GSM 4.2", which is available from IN- SYS MICROELECTRONICS (e-mail to insys@insys-tec.de) and at the website http://www.insys-tec.de .
( AT**DATE Date AT**DAY Weekday AT**DEFAULT Factory settings of the INSYS AT** commands AT**DIAL Dial-up attempts for periodic alive or alarm messages AT**DST Main target number for alarm messages AT**DTC Idle connection control (Data Transmit Controller)
Page 86
SIM card PIN AT**POOL Phone number pool for alarm messages AT**POWER Dispatch of SMS during power up AT**PROFILE Query of the settings of the INSYS AT** commands AT**PROVIDER Manual GSM provider selection AT**RESET Device reset AT**SCN SMS service center number...
INSYS GSM 4.2 compact Comparison IT Commands / INSYS AT** Commands The IT commands implemented in INSYS GSM 2.x are replaced by the extended INSYS AT** commands with the Format AT**name . Switching to configuration mode is no longer required.
Table: GSM - Service Center Numbers INSYS GSM 4.2 INSYS GSM 4.2 compact 8 Table: GSM - Service Center Numbers In the following, you will find an overview of the most important mobile providers in Germany, Austria, and Switzerland (2002). No responsibility is assumed for the correct- ness and completeness of this information.
Need help?
Do you have a question about the GSM 4.2 and is the answer not in the manual?
Questions and answers