insys icom GPRS 5.1 User manual

INSYS GPRS 5.1 serial
Manual


Copyright © March 14 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 availa-
ble for use.
MNP is a registered trademark of Microcom Inc.
IBM PC, AT, XT are registered trademarks of International Business Machine Cor-
poration.
INSYS®, e-Mobility LSG® and e-Mobility PLC® are registered trademarks 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
Internet: http://www.insys-icom.com
Date: Mar-14
Item: 31-22-03.174
Version: 1.1
Language: EN

Contents
4Mar-14
1Scope of Delivery ................................................................................................ 7
2General................................................................................................................ 8
2.1 Function Overview..............................................................................................................8
2.2 Application Example...........................................................................................................9
2.3 History...............................................................................................................................10
3Utilization Notes............................................................................................... 11
4Mounting .......................................................................................................... 12
4.1 Front Panel........................................................................................................................12
4.2 Top.....................................................................................................................................13
4.3 Bottom ..............................................................................................................................13
4.4 HSComm GPRS ..................................................................................................................14
4.5 Initial Operation................................................................................................................15
4.5.1 Installation........................................................................................................................ 15
4.5.2 Driver Installation ........................................................................................................... 16
4.5.3 Entering the SIM PIN into the Device......................................................................... 17
4.5.4 Inserting the SIM Card................................................................................................... 18
4.5.5 Checking the Settings .................................................................................................... 19
4.5.6 Checking the Field Strength of the GSM Signal...................................................... 20
4.5.7 Setting the GPRS APN (Access Point Name) Dial-In Parameters ........................ 21
4.5.8 Connection to the Application..................................................................................... 22
4.6 Operating Modes ..............................................................................................................23
4.6.1 Command Mode.............................................................................................................. 23
4.6.2 Connection Mode............................................................................................................ 23
5Connection ........................................................................................................ 24
5.1 Logging into the GSM Network........................................................................................24
5.2 TCP Transparent (GPRS Modem Emulation).....................................................................28
5.2.2 Defaults.............................................................................................................................. 28
5.2.3 Settings for the leased line........................................................................................... 30
5.2.4 Settings for TCP Listen (incoming TCP connections) ............................................. 32
5.2.5 Manual connection setup............................................................................................. 34
5.2.6 Automatic connection setup (leased line)................................................................ 34
5.2.7 Connection acceptance ................................................................................................. 35
5.2.8 During the connection................................................................................................... 36
5.2.9 Termination...................................................................................................................... 38
5.3 GSM Data Connection (CSD Call)......................................................................................38
5.3.1 Connection setup ............................................................................................................ 39
5.3.2 Incoming connections.................................................................................................... 39
5.3.3 Termination...................................................................................................................... 40
5.3.4 Connection to analogue modems .............................................................................. 40
5.3.5 Connections to ISDN TAs............................................................................................... 41
5.4 Direct GPRS Connection via PPP .......................................................................................41
5.4.1 GPRS APN (PDP context)................................................................................................ 41
5.4.2 PPP authentification type ............................................................................................. 42
5.4.3 GPRS connection setup.................................................................................................. 42
5.4.4 GPRS connection termination...................................................................................... 42

Contents
Mar-14 5
6Functions........................................................................................................... 43
6.1 Access Control...................................................................................................................43
6.1.1 Password Protection....................................................................................................... 43
6.1.2 Selective Call Answer ..................................................................................................... 44
6.2 Establishing a Connection by Callback.............................................................................46
6.3 Defined Termination of GPRS Connections for Incoming CSD Calls ("CSDPRIO")...........50
6.3.1 CSD Priority with Caller Authentication.................................................................... 51
6.3.2 CSD Priority without Caller Authentication............................................................. 52
6.4 Automatic Logout and Login or Restart of the Device ....................................................53
6.4.1 Automatic Login at Restart........................................................................................... 53
6.4.2 Periodic Logout and Login or Restart of the Device ............................................... 53
6.5 Automatic SMS Processing ...............................................................................................55
6.5.1 Activation .......................................................................................................................... 55
6.5.2 Reading Interval............................................................................................................... 56
6.5.3 Syntax................................................................................................................................. 56
6.5.4 Access Protection ............................................................................................................ 57
6.5.5 SMS Storage Locations................................................................................................... 58
6.6 Manually Dispatching SMS...............................................................................................58
6.7 Digital Inputs and Potential-Free Outputs.......................................................................59
6.7.1 Automatic SMS Dispatch Via Switch Input .............................................................. 59
6.7.2 Connection Setup via Switch Input............................................................................ 62
6.7.3 Transmitting Input States to Another INSYS GPRS 5.1 serial (IO Tunnelling). 63
6.8 Remote Configuration ......................................................................................................68
6.9 Firmware Update ..............................................................................................................69
6.10 Virtual COM Port...............................................................................................................70
7Short Description INSYS AT Commands ........................................................... 71
7.1 Overview...........................................................................................................................71
7.2 Availability/Storage..........................................................................................................74
8GSM, GPRS, and EDGE General ......................................................................... 75
8.1 Application Notes .............................................................................................................75
8.1.1 GSM..................................................................................................................................... 75
8.1.2 GPRS and EDGE ................................................................................................................ 75
8.2 Network Design ................................................................................................................76
8.3 TCP Transparent................................................................................................................77
8.4 IP Addresses/Accessibility ................................................................................................78
8.4.1 Fixed IP address and VPN connection........................................................................ 79
8.5 Data Rates.........................................................................................................................79
8.6 Quality of Service (QoS)....................................................................................................81
8.7 Delay Times.......................................................................................................................81
8.8 Calculation Examples for Data Transmission via GPRS ...................................................82
8.8.1 Application description.................................................................................................. 82
8.8.2 General data amount..................................................................................................... 83
8.8.3 Calculation example....................................................................................................... 85
9Sending SMS as Fax or E-Mail........................................................................... 87
9.1 SMS as Fax.........................................................................................................................87
9.2 SMS as E-Mail....................................................................................................................87

Contents
6Mar-14
10 GPRS Dial-In Parameters................................................................................... 88
11 FAQ .................................................................................................................... 89
12 Technical Data................................................................................................... 94
12.1 General..............................................................................................................................94
12.2 Mechanical Features.........................................................................................................94
12.3 Power Supply ....................................................................................................................95
13 Connections, Display and Control Elements .................................................... 96
13.1 Serial Interface..................................................................................................................97
13.2 SIM Card 97
13.3 Internal Design..................................................................................................................98
14 Declaration of Conformity................................................................................ 99
15 International Safety Instructions ................................................................... 100
15.1 Safety Precautions..........................................................................................................100

INSYS GPRS 5.1 serial
Scope of Delivery
7
1Scope of Delivery
Before you begin with the initial operation, please check if all accessories are in-
cluded in the box.
INSYS GPRS 5.1 serial
PC connection cable 9/9-pin (RS232 cable)
User Guide
Please contact your supplier if the content is not complete. Please also check the
modem for shipping damage. Please also refer to your supplier if anything is dam-
aged.
Please keep the packaging material for possible future shipping or storage.
Optional Accessories
GSM antenna:
Wall-mounted antenna, magnetic base antenna or patch antenna
CD-ROM with configuration software and manuals

General
INSYS GPRS 5.1 serial
8
2General
2.1 Function Overview
The INSYS GPRS 5.1 serial is a DIN rail device for industrial applications.
It has a compact design, a robust plastic housing and offers the following charac-
teristics:
Quadband GSM engine for all four frequency ranges: 850 / 900 / 1800 / 1900
MHz (The INSYS GPRS 5.1 serial can be used worldwide)
Before using the INSYS GPRS 5.1 serial you should check the certifica-
tion requirements in the country of deployment.
Integrated TCP/IP and PPP stack for transparent modem emulation via GRPS
(GRPS modem emulation)
GSM services: GSM/CSD data connection, SMS, GPRS Class 12, EDGE Class 12
Support for the virtual COM port driver VCOM from INSYS icom
Integrated TCP/UP stack for modem-compatible behavior with transparent
transfer of data from and to the serial interface (“TCP transparent”).
Active dialing of IP addresses or domain names with TCP connections to a
server
Accepts TCP connections ("TCP Listen")
Dedicated line function (leased line); design as CSD or TCP/IP possible; intelli-
gent re-dialing time-outs for TCP/IP cost cutting; configurable substitute ac-
cess for redundant paths.
Callback function for incoming calls; callback as CSD or “TCP transparent" pos-
sible
Defined termination of GPRS connections for incoming CSD calls ("CSDPRIO")
Access protection via phone number analysis (CLIP) for incoming CSD calls, in-
coming SMS, when starting a callback, and when the priority for CSD calls is
set.
Password protection for remote configuration and configuration via SMS
Storage of the SIM card PIN enables automatic login into the GSM network af-
ter reset/restart
Timer-controlled logout and login into the GSM network or restart of the de-
vice, to prevent undefined login states in the GSM network
Automatic dispatch of a predefined SMS when the switch input is activated.
Advance switch input functionality: Connection setup and "IO tunneling"
(transmitting the input states via a TCP connection)
Standard AT command set according to GSM 07.05 and GSM 07.07
Extended AT command set (INSYS AT command for additional functions)

INSYS GPRS 5.1 serial
General
9
Automatic processing of incoming SMS for configuration or connection setup,
also during existing connections
Firmware update (locally and remote)
Integrated SIM reader and external SIM interface for 3V / 1.8 V SIM cards
Hardware watchdog
Extended data formats for the serial interface
Hardware and software handshake at the serial interface
Field strength of the GSM network, status display of the INSYS GPRS 5.1 serial
2.2 Application Example
INSYS
GPRS 5.1 serial
Controller
Control center
Internet
GPRS

General
INSYS GPRS 5.1 serial
10
2.3 History
Version
Additional functions
1.00
Redesign
2.001
Further development:
Accepts incoming TCP connections ("TCP Listen"), replace-
ment destinations for AutoDial
Substitute access for TCP Leased Line
Termination of GPRS connections for incoming CSD calls
("CSDPRIO")
Software handshake at serial interface
Automatic dispatch of an SMS via switch input
2.100
Enhancement:
CSDPRIO without CLIP
IO tunneling via TCP/IP
Advanced IO functions: Connection setup and SMS dispatch
triggered via second switch input
PPP user name extended to 38 characters
New baud rate 28800
2.200
Enhancement:
Baud rate 14400 configurable
Effect of ATV and ATQ also for self-defined URCs
TSC/IPT telegram receive terminal
Maintaining the GPRS connection after terminating a
TCP/TSC/IPT leased line connection
Incrementation of the delay between leased line dial-up at-
tempts
Remote configuration of the automatic call acceptance
AT commands AT+IPR, AT**BAUD, AT**IPTTIMEOUT,
AT**LLWAITRST, AT**LLWAIT, AT**S0 extended or
changed
3.000
Enhancement:
New command AT#SYS for displaying system information
Command AT**PPPIPCHECK enhanced

INSYS GPRS 5.1 serial
Utilization Notes
11
3Utilization Notes
This manual uses the symbol for especially important notes. Further notes will
be marked accordingly.
All factory settings are marked “default”.
In Chapters 4.6 to 7 the description consists of two columns. Individual functions
are described on the left side. The according AT commands and the modem re-
sponses can be found in the right column.
Function description AT command
Example:
Dialing IP 192.168.0.2 and port 1234 ATD192.168.0.2:1234
All AT commands start with the letters AT and end with a “Return” (Carriage Re-
turn - CR). AT commands can be entered in capital or small letters. The command is
processed after the modem received a CR input.
In the following, the used syntax is explained:
ATD AT command (font: Courier, bold)
<expression> Input of a parameter
(font: Courier, bold)
[expression]Input of an optional parameter
(font: Courier, bold)
expression Response from the modem
(font: Italic)
Examples:
ATD<ip>:<port> Dialing the IP address <ip>:<port>
ATD192.168.0.1:1234 Dialing the IP address 192.168.0.1 and
the IP port 1234
AT**CALLBACK=0,2,0 The phone number that was stored with
AT**CLIP2 is assigned the action “IP
Callback”.
AT+COPS=<n>[,<format>,<oper>]
Select network provider and login
AT+COPS=0 Select network provider automatically and
login

Mounting
INSYS GPRS 5.1 serial
12
4Mounting
4.1 Front Panel
RS 232 Ant.
INSYS
GPRS
Reset
Power
Status
Connect
RX/TX
Signal
SIM
10 Base-T
The INSYS GPRS 5.1 serial has five LEDs for the operating state:
Name
Colour
LED off
LED on
LED blinks
LED flashes
Power
Green
No supply volt-
age
Supply voltage
available
Status
Yellow
GSM engine
not logged into
network
TCP connection to
the remote ter-
minal has been
established
Initialization
phase
Slow flashing (100 ms
on, 1900 ms off): INSYS
GPRS 5.1 serial logged
into the GSM network
Fast flashing (100 ms
on, 900 ms off): PPP
dial-up successful, IP
address received from
provider; in the operat-
ing mode "TCP Listen",
this is the normal state
Connect
Yellow
No connection
is established
The connection to
the remote ter-
minal is estab-
lished (Carrier
detected)

INSYS GPRS 5.1 serial
Mounting
13
Name
Colour
LED off
LED on
LED blinks
LED flashes
RX/TX
(Receive /
Transmit)
Green
No data ex-
change
Date is exchanged
via the modem
Signal
Green
GSM signal
(field strength)
too low
Best GSM signal
(field strength)
Blinking interval
depending on GSM
signal (field
strength):
ON 25 .. 31
60 ms 23 .. 24
140 ms 21 .. 22
260 ms 19 .. 20
380 ms 17 .. 18
500 ms 15 .. 16
1000 ms 13 .. 14
OFF 0 .. 12, 99
4.2 Top
1
2
4
5
6
7
8
9
10
3
GND
GND
X1
GND
Reset
GND
Input 1
Input 2
GND
10...60 VDC
1
2
4
5
6
7
8
9
10
3
Power
supply IN 1 IN 2
Ext.
Reset
Terminal
Meaning
1
GND
Ground
2
X1
Reserved
3
10..60V DC
Power supply 10V - 60V DC
4
GND
Ground
5
GND
Ground
6
Reset
Reset input
7
GND
Ground
8
Input 1
Alarm input 1
9
Input 2
Alarm input 2
10
GND
Ground
4.3 Bottom
OUT 1-NC
OUT 1
OUT 2-NC
OUT 2
OUT 2-NO
OUT 1-NO
20
19
11
12
13
14
15
16
17
18
11
12
13
14
15
16
17
18
19
20
Terminal
Meaning
11
OUT1-NC
Output 1 normally closed
12
OUT1
Output 1
13
OUT1-NO
Output 1 normally open
14
OUT2-NC
Output 2 normally closed
15
OUT2
Output 2
16
OUT2-NO
Output 2 normally open

Mounting
INSYS GPRS 5.1 serial
14
4.4 HSComm GPRS
The configuration of the INSYS GPRS 5.1 serial takes place via AT commands which
are entered by a terminal program or a control program in the form of character
sequences. For a simpler set-up, all basic functions of the INSYS GPRS 5.1 serial can
be entered without knowing the individual AT commands and their parameters,
using the configuration software HSComm GPRS.
The software can be installed on the operating systems Microsoft Windows 2000
and Microsoft Windows XP. A terminal window to enter commands directly is
available (menu item “Terminal”).
In Chapter 5 - Connections - and Chapter 6 - Functions -, the HSComm GPRS or an-
other terminal program can be used for the configuration. The AT commands can
be directly entered into the HSComm GPRS at the menu item “Terminal”.
The HSComm GPRS checks the connected device during startup. By default, only
those settings can be selected which are implemented in the identified device.
The buttons in the right column can be used to select the current settings, to re-
start (reset) the device, or to set the factory settings (default).
The current can be saved as a file at the menu item "File" in the main menu at the
top window border, and reloaded at a later date.
The selected configuration of the parameters is only sent to the INSYS GPRS
5.1 serial after you click on the button Send settings.

INSYS GPRS 5.1 serial
Mounting
15
4.5 Initial Operation
4.5.1 Installation
This section applies only to the initial startup of the device with factory settings.
1. Have the SIM card and the according PIN ready.
2. Install the device on a DIN rail.
3. Connect the power supply.
First, connect the ground connection.
4. Connect a suitable power supply (10..60V DC).
Note: The minimum supply voltage value is 10V DC. The maxi-
mum supply voltage value is 60V DC.
5. Connect the antenna.
Use a suitable GSM antenna.
You can obtain suitable GSM antennas as accessories for this
device from INSYS.
6. Switch the power supply on.
The power LED will light up.
7. Wait until the device has powered up.
The status LED blinks during the boot process.
The signal LED blinks when the process is completed.
8. Connect the device to the PC.
Connect the 9-pin jack at the device with the serial interface of
your computer.

Mounting
INSYS GPRS 5.1 serial
16
9. Install the configuration software HSComm GPRS and/or your terminal
program.
10. Start the program HSComm GPRS on the PC.
11. Synchronize the serial interfaces of the PC and the INSYS GPRS 5.1 serial
At delivery, the serial interface settings of the INSYS GPRS 5.1 se-
rial are as follows: 8 data bits, no parity, 1 stop bit, data rate
19,200 Bits/s.
To synchronize the interfaces in the Software HSComm GPRS,
use the button "Synchronise RS232".
For the configuration, the settings of the serial interface of the PC and the
INSYS GPRS 5.1 serial must always be identical!
4.5.2 Driver Installation
The installation of a driver is not required when using a terminal program or the
software HSComm GPRS. When using another application, a driver may be neces-
sary. Please find our current drivers at http://www.insys-icom.com/driver/ or in-
stall the standard modem 336 under Windows.

INSYS GPRS 5.1 serial
Mounting
17
4.5.3 Entering the SIM PIN into the Device
1. Start the program HSComm GPRS.
2. Read out the settings.
3. Enter the PIN of the SIM card you are using.
4. Transmit the value to the INSYS GPRS 5.1 serial.
Use the button "Send settings".

Mounting
INSYS GPRS 5.1 serial
18
4.5.4 Inserting the SIM Card
1. Disconnect the power supply.
The LEDs of the INSYS GPRS 5.1 serial will go out.
2. Remove the SIM card holder.
Press the sunken button (see image) above the SIM card holder
using a pointed object and remove the card holder.
Caution –Danger of short-circuit for your SIM card!
A short-circuit may occur due to sliding contacts when the card is
removed.
When inserting the SIM card, interrupt the supply voltage to pre-
vent damaging the card when sliding it along the card reader con-
tacts and creating a short-circuit.

INSYS GPRS 5.1 serial
Mounting
19
3. Insert the SIM card into the card holder.
4. Reinsert the SIM card holder into the SIM card reader.
Insert the card holder. The contacts of the SIM card must point
to the left when looking at it from the front of the device.
5. Switch the power supply on.
The device will boot, the power LED will light up continuously, and the
status LED will blink.
6. Wait until the boot process is completed.
The Status LED goes out which indicates that the boot process is com-
pleted.
The signal LED is blinking.
4.5.5 Checking the Settings
1. Read out the settings.
Click on the button "Read settings" in the software HSComm
GPRS.
A symbol next the entry field of the PIN will show, if the INSYS GPRS 5.1
serial has been registered.

Mounting
INSYS GPRS 5.1 serial
20
4.5.6 Checking the Field Strength of the GSM Signal
2. Read out the GSM field strength.
Use the button "GSM signal" in HSComm GPRS.
The field strength is displayed.
The response should be a field strength of at least 12 –other-
wise the antenna location needs to be changed to ensure fault-
less communication.
Other manuals for GPRS 5.1
1
Table of contents
Popular Gateway manuals by other brands

Asus
Asus Aaeon SRG-4858P user manual

Submeter Solution
Submeter Solution NoWire 2100 Installation and operation manual

H3C
H3C MSR3610-I Series Installation, quick start

ZIGBEE
ZIGBEE BEGA CONTROL 70588 quick start guide

AudioCodes
AudioCodes Mediant 1000B user manual

EVERSPRING
EVERSPRING HSC04-0 user manual