Insys GPRS 5.0 Series, EDGE 5.0 Series User manual

  • Hello! I am an AI chatbot trained to assist you with the Insys GPRS 5.0 Series User manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Manual
INSYS GPRS/EDGE 5.0
serial
Sep-10
Copyright © September 10 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
Internet: http://www.insys-tec.de
Date: Sep-10
Item: 31-22-03.136
Version: 1.1
Language: EN
Contents
4 Sep-10
1 Scope of Delivery ................................................................................................ 7
2 General................................................................................................................ 8
2.1 Function Overview..............................................................................................................8
2.2 Application Example...........................................................................................................9
2.3 History...............................................................................................................................10
3 Utilization Notes............................................................................................... 11
4 Mounting .......................................................................................................... 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
5 Connection ........................................................................................................ 24
5.1 Logging into the GSM Network........................................................................................24
5.2 TCP Transparent (GPRS/EDGE Modem Emulation) ..........................................................27
5.2.1 General............................................................................................................................... 27
5.2.2 Defaults.............................................................................................................................. 28
5.2.3 Settings for 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 .................................................................................................. 37
5.2.9 Termination...................................................................................................................... 38
5.3 GSM Data Connection (CSD Call)......................................................................................39
5.3.1 Connection Setup............................................................................................................ 39
5.3.2 Incoming Connections................................................................................................... 39
5.3.3 Termination...................................................................................................................... 40
5.3.4 Connection to Analogue Modems.............................................................................. 41
5.3.5 Connections to ISDN TAs............................................................................................... 41
5.4 Direct GPRS/EDGE Connection via PPP.............................................................................41
5.4.1 GPRS/EDGE APN (PDP context).................................................................................... 42
5.4.2 PPP Authentication Type............................................................................................... 42
5.4.3 GPRS/EDGE Connection Setup..................................................................................... 42
5.4.4 GPRS/EDGE Connection Termination........................................................................ 43
5.5 Setup and Disconnetction of a TCP Connection...............................................................44
5.5.1 Overview............................................................................................................................ 44
5.5.2 Connection Setup Possibilities..................................................................................... 45
5.5.3 Connection Termination ............................................................................................... 45
Contents
Sep-10 5
6 Functions........................................................................................................... 46
6.1 Access Control...................................................................................................................46
6.1.1 Password Protection....................................................................................................... 46
6.1.2 Selective Call Answer ..................................................................................................... 47
6.2 Establishing a Connection by Callback.............................................................................49
6.3 Defined Termination of GPRS Connections for Incoming CSD Calls ("CSDPRIO")...........53
6.3.1 CSD Priority with Caller Authentication.................................................................... 54
6.3.2 CSD Priority without Caller Authentication............................................................. 55
6.4 Automatic Logout and Login or Restart of the Device ....................................................55
6.4.1 Automatic Login at Restart........................................................................................... 56
6.4.2 Periodic Logout and Login or Restart of the Device ............................................... 56
6.5 Automatic SMS Processing ...............................................................................................58
6.5.1 Activation .......................................................................................................................... 58
6.5.2 Reading Interval............................................................................................................... 59
6.5.3 Syntax................................................................................................................................. 59
6.5.4 Access Protection ............................................................................................................ 60
6.5.5 SMS Storage Locations................................................................................................... 61
6.6 Manually Dispatching SMS...............................................................................................61
6.7 Digital Inputs and Potential-Free Outputs.......................................................................62
6.7.1 Automatic SMS Dispatch Via Switch Input .............................................................. 62
6.7.2 Connection Setup via Switch Input............................................................................ 65
6.7.3 Transmitting Input States to Another INSYS GPRS/EDGE 5.0 serial (IO
Tunnelling)........................................................................................................................ 66
6.8 Remote Configuration ......................................................................................................71
6.9 Firmware Update ..............................................................................................................71
6.10 Virtual COM Port...............................................................................................................72
7 Short Description INSYS AT Commands ........................................................... 74
7.1 Overview...........................................................................................................................74
7.2 Availability/Storage..........................................................................................................77
8 GSM, GPRS, and EDGE General ......................................................................... 78
8.1 Application Notes .............................................................................................................78
8.1.1 GSM..................................................................................................................................... 78
8.1.2 GPRS and EDGE................................................................................................................ 78
8.2 Network Design ................................................................................................................79
8.3 TCP Transparent................................................................................................................80
8.4 IP Addresses/Accessibility ................................................................................................81
8.4.1 Fixed IP Address and VPN Connection....................................................................... 82
8.5 Data Rates.........................................................................................................................82
8.6 Quality of Service (QoS)....................................................................................................84
8.7 Delay Times.......................................................................................................................84
8.8 Calculation Examples for Data Transmission via GPRS ...................................................85
8.8.1 Application Description................................................................................................. 85
8.8.2 General Data Amount.................................................................................................... 86
8.8.3 Calculation Example....................................................................................................... 88
9 Sending SMS as Fax or E-Mail........................................................................... 90
9.1 SMS as Fax.........................................................................................................................90
9.2 SMS as E-Mail....................................................................................................................90
Contents
6 Sep-10
10 GPRS Dial-In Parameters................................................................................... 91
11 FAQ .................................................................................................................... 92
12 Technical Data................................................................................................... 97
12.1 General 97
12.2 Mechanical Features.........................................................................................................97
12.3 Power Supply ....................................................................................................................98
13 Connections, Display and Control Elements .................................................... 99
13.1 Serial Interface................................................................................................................100
13.2 SIM Card 100
13.3 Internal Design................................................................................................................101
14 Standards and Directives ................................................................................ 102
15 Declaration of Conformity.............................................................................. 103
16 International Safety Instructions ................................................................... 105
16.1 Safety Precautions..........................................................................................................105
16.2 Compliance with FCC Rules and Regulations.................................................................106
INSYS GPRS/EDGE 5.0 serial Scope of Delivery
7
1 Scope of Delivery
Before you begin with the initial operation, please check if all accessories are in-
cluded in the box.
INSYS GPRS/EDGE 5.0 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/EDGE 5.0 serial
8
2 General
This manual describes two different devices, which differ in the supported mobile
phone standards. These are
INSYS GPRS 5.0 serial
INSYS EDGE 5.0 serial
These two devices are referred to as INSYS GPRS/EDGE 5.0 serial in this manual.
The EDGE version also supports EDGE functions in addition to all GSM, SMS and
GPRS functions. Both DIN rail devices for industrial applications have the follow-
ing characteristics in common:
2.1 Function Overview
The INSYS GPRS/EDGE 5.0 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/EDGE 5.0 serial can be used worldwide)
Before using the INSYS GPRS/EDGE 5.0 serial you should check the certi-
fication requirements in the country of deployment, see Chapter 14.
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
(only INSYS EDGE 5.0 serial)
Support for the virtual COM port driver VCOM from INSYS MICROELECTRONICS
GmbH
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.
INSYS GPRS/EDGE 5.0 serial General
9
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)
Automatic processing of incoming SMS for configuration or connection setup,
also during existing connections
Firmware update of the µ controller (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/EDGE 5.0
serial
2.2 Application Example
INSYS
GPRS/EDGE 5.0 serial
Controller
Control center
Internet GPRS
General INSYS GPRS/EDGE 5.0 serial
10
2.3 History
Version Additional functions
1.00
Redesign
2.001
Further development:
Accepts incoming TCP connections ("TCP
Listen"), replacement destinations for
AutoDial
Substitute access for TCP Leased Line
Termination of GPRS connections for in-
coming CSD calls ("CSDPRIO")
Software handshake at serial interface
Automatic dispatch of an SMS via switch
input
2.100
Extensions:
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
Extensions:
Baud rate 14400 configurable
Effect of ATV and ATQ also for self-defined URCs
TSC/IPT telegram receive terminal
Maintaining the GPRS/EDGE connection after
terminating a TCP/TSC/IPT leased line connec-
tion
Incrementation of the delay between leased line
dial-up attempts
Remote configuration of the automatic call ac-
ceptance
AT commands AT+IPR, AT**BAUD,
AT**IPTTIMEOUT, AT**LLWAITRST,
AT**LLWAIT, AT**S0 extended or changed
INSYS GPRS/EDGE 5.0 serial Utilization Notes
11
3 Utilization 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 Call-
back”.
AT+COPS=<n>[,<format>,<oper>]
Select network provider and login
AT+COPS=0 Select network provider automatically and
login
Mounting INSYS GPRS/EDGE 5.0 serial
12
4 Mounting
4.1 Front Panel
RS 232
Ant.
INSYS
GPRS
Reset
Power
Status
Connect
RX/TX
Signal
SIM
10 Base-T
The INSYS GPRS/EDGE 5.0 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/EDGE 5.0 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/EDGE 5.0 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
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
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
10 GND Ground
4.3 Bottom
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
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
Mounting INSYS GPRS/EDGE 5.0 serial
14
4.4 HSComm GPRS
The configuration of the INSYS GPRS/EDGE 5.0 serial takes place via AT commands
which are entered by a terminal program or a control program in the form of char-
acter sequences. For a simpler set-up, all basic functions of the INSYS GPRS/EDGE
5.0 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/EDGE 5.0 serial after you click on the button Send settings.
INSYS GPRS/EDGE 5.0 serial Mounting
15
4.5 Initial Operation
4.5.1 Installation
Caution - Electric shock hazard
Do not touch live parts when connecting the device.
Make sure that the power supply of the switch board or the system
where the device will be installed is switched off during installation,
and that it is secured against being switched on accidentally.
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.
Mounting INSYS GPRS/EDGE 5.0 serial
16
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.
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/EDGE 5.0
serial
At delivery, the serial interface settings of the INSYS GPRS/EDGE
5.0 serial 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/EDGE 5.0 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-tec.de/ or install the
standard modem 336 under Windows.
INSYS GPRS/EDGE 5.0 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/EDGE 5.0 serial.
Use the button "Send settings".
Mounting INSYS GPRS/EDGE 5.0 serial
18
4.5.4 Inserting the SIM Card
1. Disconnect the power supply.
The LEDs of the INSYS GPRS/EDGE 5.0 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/EDGE 5.0 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/EDGE 5.0 serial has been registered.
Mounting INSYS GPRS/EDGE 5.0 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.
/