background image

INSYS GPRS/EDGE 5.0 serial 

Connections, Display and Control Elements 

 

 

101 

13.3

 

Internal Design 

For the INSYS GPRS/EDGE 5.0 serial, a 

µ

controller is placed in series between the 

external serial interface and the GSM/GPRS/EDGE engine. 
All commands sent to the INSYS GPRS/EDGE 5.0 serial via the serial interface are 
first received and evaluated by the 

µ

controller. 

 
If the command results in just one action by the 

µ

controller, the response to the 

application (e.g. 

OK

) is created directly by the 

µ

controller. 

 
If the GSM/GPRS/EDGE engine is activated while commands are entered, the re-
sponse to the application is determined by the engine; in this case, the 

µ

controller 

will just relay them. 
 
During CSD calls or standard GPRS/EDGE connections the 

µ

controller relays the 

data transparently in both directions. 
 
When using the integrated TCP/IP stacks (TCP transparent) of the 

µ

controller, the 

data from the 

µ

controller is packed into the according protocol elements, sent via 

the GSM/GPRS/EDGE engine and vice versa. 
 

 

Содержание EDGE 5.0 Series

Страница 1: ...Manual INSYS GPRS EDGE 5 0 serial Sep 10...

Страница 2: ......

Страница 3: ...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 tr...

Страница 4: ...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 Man...

Страница 5: ...tal 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 seri...

Страница 6: ...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 1...

Страница 7: ...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 P...

Страница 8: ...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 Cla...

Страница 9: ...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 SM...

Страница 10: ...hout 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...

Страница 11: ...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 ex...

Страница 12: ...tage 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...

Страница 13: ...g 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...

Страница 14: ...enu 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 HSCom...

Страница 15: ...al 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 Conne...

Страница 16: ...rface 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 Synchr...

Страница 17: ...g 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 se...

Страница 18: ...e 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 contact...

Страница 19: ...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...

Страница 20: ...th 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 an...

Страница 21: ...S Dial in Parameters 2 Enter the GPRS Access Point Name in the software HSComm GPRS or se lect it from the list Your mobile network provider will inform you about the name of your APN Please find an o...

Страница 22: ...serial Use the button Send settings in the program HSComm GPRS 4 Perform a restart Use the reset key at the front of the device or disconnect the de vice from the power supply for a short time 4 5 8...

Страница 23: ...nsparent After switching from data mode to online command mode the connection will remain established but no data is transmitted to the remote terminal The online command mode is also entered by DTR d...

Страница 24: ...ISDN GSM GSM AT command SMS Callback Leased Line Incoming call GPRS EDGE direct via PPP 5 4 TCP IP GPRS EDGE AT command 5 1 Logging into the GSM Network To enable the device to log into the GSM netwo...

Страница 25: ...twork is not always suc cessful Manually selecting the exclusively preferred network will correct this problem In the first step the display of all available network providers would be a plus Click on...

Страница 26: ...ds the device must be reset After the current settings have been read out the INSYS GPRS EDGE 5 0 serial is registered If the device is preconfigured for another country a search for the desired net w...

Страница 27: ...ter each reset If the module is started and logged in from an external application this applica tion may request a manual login In this case the following method should be used Enter the PIN when the...

Страница 28: ...ate the IP ad dress it received during the dial up into the GPRS EDGE network to a remote ter minal see Chapter VCOM The GPRS EDGE modem emulation TCP transparent can be set using HSComm Click on the...

Страница 29: ...atively the settings can be entered or modified using the terminal pro gram Enter the Access Point Name APN AT GPRSAPN apn GPRS EDGE dial in for the integrated TCP IP stack AT DIALIN 1 GPRS EDGE dial...

Страница 30: ...on is monitored and re established after interruptions For the implementation the selection of the remote terminal CSD IP or URL is required as a first step In our example we selected an IP address as...

Страница 31: ...d after 20 seconds If the connection setup fails the device will attempt to dial the AutoDial alternative destination If the connection setup to the AutoDial alternative destination fails as well or i...

Страница 32: ...ative access Setting for leased line function AT LL2 3 Remote terminal domain name AT AUTOURL2 url Remote terminal TCP port AT AUTOPORTIP2 port Save settings AT SAVE Perform RESET accept all parameter...

Страница 33: ...TUP the INSYS INSYS GPRS EDGE 5 0 serial can now be reached via its IP address If the connection can not be established network failure etc or if the connection is terminated the INSYS GPRS EDGE 5 0 s...

Страница 34: ...d the transfer of data can begin 5 2 6 Automatic Connection Setup Leased Line With the leased line function a preset destination is automatically dialed The connection setup and the connection itself...

Страница 35: ...of the contract with the mobile network provider 5 2 7 Connection Acceptance Use the function TCP listen to accept incoming TCP connections Alternatively the settings can be entered or modified using...

Страница 36: ...1280 seconds after the third failure 1 hour for each additional failure The number of dialing attempts for the TCP Listen operation can be limited with AT TCPLISTENWAITRST n For example the INSYS GPR...

Страница 37: ...ted and the INSYS GPRS EDGE 5 0 serial returns to offline mode If the device is configured as a leased line device the connection will then be re established Keep Alive will mostly be used for leased...

Страница 38: ...iting time default 100 ms no character has been sent via the serial interface and data is already waiting in the send buffer see Chapter 8 8 AT TCPBLOCK block size AT TCPAGG agg time 5 2 9 Termination...

Страница 39: ...d the transfer of data can begin e g connection with 9600 bps The successfully established connec tion is indicated by the control signal DCD and the message CONNECT Connect 9600 RLP Note For an activ...

Страница 40: ...contrast to earlier versions setting the ring tones until the call acceptance S0 registry with the command ATS0 n can only be performed after a valid PIN was entered 5 3 3 Termination Connections can...

Страница 41: ...t the remote terminal has to work with the same protocol as well AT CBST n E g The protocol V 110 with a data rate of 9600 baud AT CBST 71 5 4 Direct GPRS EDGE Connection via PPP When the GPRS EDGE fu...

Страница 42: ...on PAP authentication AT SGAUTH 0 AT SGAUTH 1 According to the APN PPP authentication is required The necessary information can be obtained from the customer service center of your provider 5 4 3 GPRS...

Страница 43: ...DTR drop for the setting AT D2 After switching from data mode to online mode the connection will remain estab lished However data is no longer transmit ted to the remote terminal The online command m...

Страница 44: ...he TCP connection Then the connection to the GPRS network can also be disconnected this is called GPRS De tach The following figure shows the different levels of the connection setup and disconnection...

Страница 45: ...nnection setup The GPRS connection remains established the IP address remains valid and the data volume incurred will not be charged and summed up When reaching the maximum number of attempts paramete...

Страница 46: ...ists of a maximum of 16 characters and pro tects switching into remote configuration during a data connec tion CSD or TCP transparent accepting SMS for activated automatic SMS processing Click on the...

Страница 47: ...nction is activated only connections which originate from the released phone numbers 1 to 3 are accepted To use this func tion the caller himself has to activate the calling line identification presen...

Страница 48: ...s the signalling They can neither be accepted manually The caller receives the signal BUSY For each incoming call the phone number is displayed as well ATA BUSY RING CLIP 49941586920 1 45 0 The releas...

Страница 49: ...or phone number in the configuration In connection with the function CSDPRIO see Chapter 4 3 it is also possible to trigger a callback if the called INSYS GPRS EDGE 5 0 serial has a TCP connection or...

Страница 50: ...ons IP address and port Domain name and port GSM data connection CSD Store the callback connection type IP domain name CSD for the three phone numbers AT AUTOIP ip AT AUTOPORTIP port AT AUTOURL domain...

Страница 51: ...ice center should be made available for this call For a call from the Clip number 2 mobile phone a TCP transparent connection to the service center must be established The service center has a normal...

Страница 52: ...CLIP 1 AT CLIP1 494989949494 AT CLIP2 491711253456 Store destination IP for callback Store destination TCP port for callback AT AUTOIP 200 12 0 120 AT AUTOPORTIP 10000 Store callback settings AT CALLB...

Страница 53: ...ive call acceptance AT CLIP 1 Two modes are available In the first mode AT CSDPRIO 1 only authorized calls may trigger this function and terminate the connection In the second mode AT CSDPRIO 2 any ca...

Страница 54: ...ter two ring tones in general actually 5 to 6 ring tones RINGs are required Please set the number of rings to a minimum of three rings to ensure full func tionality if you want to use automatic call a...

Страница 55: ...m In general activate selective call acceptance To activate the call signals or enable them to be processed by the INSYS GPRS EDGE 5 0 se rial this setting must be entered AT CLIP 1 Activate CSDPRIO w...

Страница 56: ...2 Periodic Logout and Login or Restart of the Device For function support even after infrastructure changes and net work software updates by the network providers the INSYS GPRS EDGE 5 0 serial can be...

Страница 57: ...e scheduled logout login can be set changed or deleted using the terminal program Our example 3 hrs AT LOGOUT n mode AT LOGOUT 3 In our example 2 the INSYS GPRS EDGE 5 0 serial performs a re start eve...

Страница 58: ...processing of SMS messages can be set using the HSComm Click on the GSM GPRS tab 6 5 1 Activation Activation in HSComm is done by clicking the automatic SMS processing Each incoming SMS is deleted af...

Страница 59: ...set from 20 to 60 seconds Alternatively the GSM reading interval can be changed using the terminal program AT GSMREQ n Note Due to different GSM GPRS network structures it may occur that the provider...

Страница 60: ...protected by a password and a confirmation is desired Note Between CN phonenumber a space must be entered If no phone number is entered after CN the response returns automatically to the sender passw...

Страница 61: ...module internal interface used for proc essing are independent from the interface settings for the applica tion text mode used storage locations 6 6 Manually Dispatching SMS Note The sending time of...

Страница 62: ...nother INSYS GPRS EDGE 5 0 serial or a server 6 7 1 Automatic SMS Dispatch Via Switch Input Note To enable the automatic sending of SMS messages the device must know the number of a SMS service center...

Страница 63: ...INSYS GPRS EDGE 5 0 serial Functions 63...

Страница 64: ...ry AT CMGD 2 for storage location 2 You must delete this storage location if you want to trigger an SMS via the second input AT CMGD 1 AT CMGD 2 The SMS service center number of the network provider m...

Страница 65: ...Input By changing the input states connections can be established to the predefined AutoDial destinations automatically The inputs are debounced At the time of events at the switching inputs existing...

Страница 66: ...nnection The second INSYS GPRS EDGE 5 0 serial can output the transmitted states at the outputs The second de vice can output the states of its inputs at the outputs of the first device as well The Le...

Страница 67: ...INSYS GPRS EDGE 5 0 serial Functions 67 Configuration of the first device...

Страница 68: ...Functions INSYS GPRS EDGE 5 0 serial 68 Configuration of the second device...

Страница 69: ...Option can be used si multaneously with AT INPUTCHANGE AT INPUTTIMEOUT prevents the provider from termi nating the unused open connection Save the settings Reset the device AT LL 2 AT AUTOIP 100 1 20...

Страница 70: ...The option AT INPUTTIMEOUT Option can be used si multaneously with AT INPUTCHANGE AT INPUTTIMEOUT prevents the provider from termi nating the unused open connection Save the settings Save the standard...

Страница 71: ...ng the password appears If no valid password is entered within 30 seconds attention complete the entry with line end character the configuration mode will be exited with the following message A valid...

Страница 72: ...rt Applications which up to now communicated with the end devices via a modem connection or directly via a serial interface will not function directly with TCP connections A virtual COM port is requir...

Страница 73: ...s only accepted if the caller has sent a valid authentication via a UDP packet in advance This function is also used to terminate a hanging TCP connection for the INSYS GPRS EDGE 5 0 serial e g due to...

Страница 74: ...OPORTURL AutoDial destination port for domain name X X X X X AT BAUD Baud rate of the serial interface X X X AT CALLBACK AutoDial function callback X X X X X AT CLIP Selective call answer X X X X X AT...

Страница 75: ...e X X X X X AT LLWAIT Incrementation of the waiting period between leased line dial up attempts X X X X X AT LOGOUT Timer controlled log out login X X X X X AT OUT Set reset the switch outputs X X X X...

Страница 76: ...the operating mode TCP Listen X X X X X AT TCPLISTENWAITRST Number of failed dialup attempts until reset in TCP Listen mode X X X X X AT VCOM Support of the INSYS virtual COM port driver X X X X X AT...

Страница 77: ...mmands are saved immediately after they are entered without AT SAVE but only activated after a restart AT PROVIDER AT PIN AT GPRSAPN AT PPPAUTH The following settings are immediately saved when entere...

Страница 78: ...ed CSD call call at data phone number required SMS Voice connection call at voice phone number required 8 1 2 GPRS and EDGE When using data services via GPRS EDGE providers offer various contract opti...

Страница 79: ...and download are possible Price struc tures which are not time based make this technology suitable for regular re quests of plant data as well as transmission of large data amounts e g video im ages...

Страница 80: ...y the net work operator or the provider Note The integrated TCP IP stack will establish a new GPRS connection for each TCP transparent connection i e after the end termination of the TCP transparent c...

Страница 81: ...ice or its IP address from being accessed by so called scanners As GPRS is billed by the amount of data this prevents un wanted and costly data traffic This also means that the following functions may...

Страница 82: ...rver Internet PC Internet The service fixed IP from mdex will enable GPRS devices to communicate with each other as well as with computers in the Internet via a VPN connection 8 5 Data Rates The INSYS...

Страница 83: ...S 2 TS 3 TS 4 TS CS1 8 16 24 32 CS2 12 24 36 48 CS3 14 4 28 8 43 2 57 6 CS4 20 40 60 80 GPRS data rates of PC data only without GPRS control data 1 TS 2 TS 3 TS 4 TS MCS1 8 8 17 6 26 4 35 2 MCS2 11 2...

Страница 84: ...p via AT commands AT CGQREQ or to define a minimum profile AT CGQMIN which must exceeded by the QoS offered by the provider in order to enable the device to establish the connection Experience has sho...

Страница 85: ...he RS232 interface or via leased line modems for remote applications To save investment and maintenance costs rent when using leased line mo dems the connection should be made via a transparent GPRS m...

Страница 86: ...r user data acknowledge is sent Set up Command e g ACK 1 byte Checksum 1 byte Total 2 byte 8 8 2 General Data Amount For GPRS such as for all IP based transmission methods the user data of the ap plic...

Страница 87: ...in larger intervals should consider a Keep Alive timer The TCP stack generates an empty TCP message in adjustable intervals which the TCP remote terminal responds to This will satisfy the expectation...

Страница 88: ...ata transmission When a TCP IP connection is established via the INSYS GPRS EDGE 5 0 serial data is also gener ated 128 byte The INSYS GPRS EDGE 5 0 serial will not terminate a once estab lished conne...

Страница 89: ...e contract M2M Connect with M2M Data 1 is sufficient at all events there is enough reserve available The monthly costs would be 3 95 2 95 6 90 Euro With user data acknowledge 177 byte 15 min 708 byte...

Страница 90: ...This is a test E Plus E1 D 49 177 061 0000 151 dialing code Phone number 1510941586920 This is a test T Mobile A 6762 dialing code Phone number 67620941586920 This is a test Swisscom CH 41 79 499 900...

Страница 91: ...Chapter 5 2 TCP Transparent GPRS Modem Emulation Network Provider APN AT GSMAPN apn User name AT PPPUSER user Password AT PPPPW pw T Mobile D1 Germany internet t d1 de Internet t mobile de D2 Vodafon...

Страница 92: ...PUK must be entered to enable the card Switch to the terminal program to enter the PUK and enter the following command AT CPIN PUK new PIN The SIM card is not en abled Please contact the contact cente...

Страница 93: ...t the application are not identical The INSYS GPRS EDGE 5 0 serial and the application configuration PC or control ler must be operated at the serial inter face with the same settings for baud rate an...

Страница 94: ...settings if necessary and restart the INSYS GPRS EDGE 5 0 serial Step 4 Switch to the terminal program and manually dial into the GPRS network Enter the AT command ATD 99 1 The successful connection s...

Страница 95: ...E 2 displays the text unspeci fied GPRS error This state may end after a few sec onds or minutes or last longer The reason is unknown and is most probably due to some error in the interplay between th...

Страница 96: ...onnections can be prevented using the TCP keep alive AT KEEP and PPP check AT PPPIPCHECK functions Existing GPRS connection ceases An incoming call during an active GPRS connection interrupts the data...

Страница 97: ...tomatic dispatch of a predefined SMS when the switch input is acti vated Baud rates 300 600 1 200 2 400 4 800 9 600 19 200 28 800 38 400 57 600 115 200 Data formats 8N1 8E1 8O1 8N2 7E1 7O1 7N2 7E2 7O2...

Страница 98: ...consumption during data transmissions may also increase if the an tenna is not adjusted correctly This can occur when The antenna and or the antenna cable are not adjusted to 50 impedance The antenna...

Страница 99: ...onnections Display and Control Elements 99 13 Connections Display and Control Elements Position Description 1 Antenna connection 2 RS232 interface connection 3 LEDs 4 SIM card slot 5 SIM card eject bu...

Страница 100: ...mit Data 103 BA D1 I 4 DTR Data Terminal Ready 108 CD S1 I 5 GND Ground 102 AB E2 6 DSR Data set ready 107 CC M1 O 7 RTS Request to send 105 CA S2 I 8 CTS Clear To Send 106 CB M2 O 9 RI Ring Indicatio...

Страница 101: ...ction by the controller the response to the application e g OK is created directly by the controller If the GSM GPRS EDGE engine is activated while commands are entered the re sponse to the applicatio...

Страница 102: ...YS GPRS EDGE 5 0 serial complies with the directives 89 336 EEC 73 23 EEC and R TTE 1999 5 EG It complies with the following standards DIN EN 55022 1998 04 class B DIN EN 61000 6 2 DIN EN 61000 3 2 DI...

Страница 103: ...INSYS GPRS EDGE 5 0 serial Declaration of Conformity 103 15 Declaration of Conformity...

Страница 104: ...Declaration of Conformity INSYS GPRS EDGE 5 0 serial 104...

Страница 105: ...facturer of the device to verify that the equipment is properly shielded Pace maker patients are advised to keep their hand held mobile away from the pace maker while it is on Switch off the cellular...

Страница 106: ...tories This device is to be used only for mobile and fixed applications The antenna s used for this transmitter must be installed to provide a separation distance of at least 20cm from all persons and...

Страница 107: ......

Отзывы: