Manual INSYS GPRS 5.
Copyright © August 07 INSYS MICROELECTRONICS GmbH Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg. Restrictions of guarantee This handbook contains a concise description. The compilation of the text has been made with the utmost care. Despite all efforts, there may be deviations compared with the actual functions. No guarantee can therefore be given for the accuracy of the contents.
Contents 1 Scope of Delivery ............................................................................................... 7 2 Function Overview ............................................................................................ 8 2.1 Application Example ........................................................................................................ 10 2.2 History .......................................................................................................................
Contents 6.3 6.4 6.5 6.6 6.7 Defined termination of GPRS connections for incoming CSD calls ("CSDPRIO")............ 59 6.3.1 CSD priority with caller authentification.................................................................. 60 6.3.2 CSD priority without caller authentification ........................................................... 61 Automatic Logout and Login or Restart of the Device.................................................... 61 6.4.1 Automatic login at restart ..................
Contents 12.2 Mechanical Features ...................................................................................................... 103 12.3 Power Supply.................................................................................................................. 104 13 Connections, Display and Control Elements.................................................. 106 13.1 Serial Interface ...............................................................................................................
INSYS GPRS 5.0 serial 1 Scope of Delivery Scope of Delivery Before you begin with the initial operation, please check if all accessories are included in the box. INSYS GPRS 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 damaged. Please keep the packaging material for possible future shipping or storage.
Function Overview 2 INSYS GPRS 5.0 serial Function Overview The INSYS GPRS 5.0 serial is a DIN rail device for industrial applications. It has a compact design, a robust plastic housing and offers the following characteristics: Quadband GSM engine for all four frequency ranges: 850 / 900 / 1800 / 1900 MHz (The INSYS GPRS 5.0 serial can be used worldwide) Before using the INSYS GPRS 5.0 serial you should check the certification requirements in the country of deployment, see Chapter 14.
INSYS GPRS 5.0 serial Function Overview 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 5.
Function Overview 2.1 INSYS GPRS 5.0 serial Application Example GPRS Internet Controller Control center INSYS GPRS 5.0 serial 2.2 History Version 1.00 Additional functions • Redesign • Further development: 2.001 • 2.
INSYS GPRS 5.0 serial Utilization Notes 3 Utilization Notes • This manual uses the symbol 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 responses can be found in the right column. Function description for especially important notes. Further notes will AT command Example: Dialing IP 192.168.0.2 and port 1234 ATD192.168.0.
Mounting INSYS GPRS 5.0 serial 4 Mounting 4.1 Front Panel INSYS Power Ant. Status SIM Connect RX/TX 10 Base-T Reset RS 232 Signal GPRS The INSYS GPRS 5.
INSYS GPRS 5.0 serial Mounting RX/TX (Receive / Transmit) Signal 4.2 Green Green No data exchange GSM signal (field strength) too low Date is exchanged via the modem 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 Top 1 GND Ground 2 X1 Reserved 3 10..60V DC Power supply 10V - 60V DC 1 GND 2 2 X1 3 3 10...
Mounting 4.4 INSYS GPRS 5.0 serial HSComm GPRS The configuration of the INSYS GPRS 5.0 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.0 serial can be entered without knowing the individual AT commands and their parameters, using the configuration software HSComm GPRS.
INSYS GPRS 5.0 serial Mounting 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.
Mounting INSYS GPRS 5.0 serial 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 5.0 serial At delivery, the serial interface settings of the INSYS GPRS 5.
INSYS GPRS 5.0 serial Mounting 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.0 serial. Use the button "Send values".
Mounting INSYS GPRS 5.0 serial 4.5.4 Insert the SIM card 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 prevent damaging the card when sliding it along the card reader contacts and creating a short-circuit. 1. Disconnect the power supply. The LEDs of the INSYS GPRS 5.0 serial will go out. 2. Remove the SIM card holder.
INSYS GPRS 5.0 serial Mounting 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.
Mounting 20 INSYS GPRS 5.
INSYS GPRS 5.0 serial Mounting 4.5.6 Check the field strength of the GSM signal 2. Read out the GSM field strength. Use the button "GSM field strength" in the HSComm GPRS. The field strength is displayed. The response should be a field strength of at least 12 – otherwise the antenna location needs to be changed to ensure faultless communication.
Mounting INSYS GPRS 5.0 serial 4.5.7 Set GPRS APN (Access Point Name) dial-in parameters 1. Click on the tab "TCP transparent" in the program HSComm GPRS. 2. 22 see also Chapter 11 - GPRS Dial-in Parameters - Enter the GPRS Access Point Name in the software HSComm GPRS. Your mobile network provider will inform you about the name of your APN. Please find an overview of the APNs of some mobile network providers in the attachment to this manual.
INSYS GPRS 5.0 serial Mounting If your provider requires PAP authentication, select the required field below the GPRS AN input field and enter the PAP user data. 3. Send the values to the INSYS GPRS 5.0 serial. 4. Use the button "Send values" in the program HSComm GPRS. Perform a restart. Use the reset key at the front of the device or disconnect the device from the power supply for a short time. 4.5.
Mounting INSYS GPRS 5.0 serial 6. Select the item "Serial port" in the TeraTerm menu under "Setup". 7. Set the connection parameters of the serial connection. 24 As default, the serial interface of the INSYS GPRS 5.0 serial is configured with the following parameters: Baud rate 19,200, 8 data bits, no parity, 1 stop bit If you did not change these settings in the INSYS GPRS 5.0 serial, use these parameters when configuring the serial interface of the PC. 8.
INSYS GPRS 5.0 serial 10. Mounting Test the serial connection to the INSYS GPRS 5.0 serial by entering the AT command "at" in the terminal window and confirming the entry with the "Enter" key. If you don't see the characters at the terminal that you are entering, you most probably selected the wrong baud rate. Repeat step 6 and 7 to check and correct the connection paramaters. The INSYS GPRS 5.0 serial will respond with "OK". 11.
Mounting INSYS GPRS 5.0 serial 12. Please note: For the subsequent entries in the terminal window, you will have a time window of about 20 seconds. Read the last step before you continue entering data. Enter the following command in the terminal window of TeraTerm: ATD“www.insys-tec.de“:80 13. Complete the entry by pressing the entry key. The INSYS GPRS 5.0 serial will now establish a connection to the computer www.insys-tec.de. The INSYS GPRS 5.
INSYS GPRS 5.0 serial Mounting Use the key stroke combination "Ctrl+C" to copy the marked text to the clipboard. 15. Copy the commands to the terminal window and complete your entry with "Enter". To insert, use either the key stroke combination "Alt+V" or select the item "Paste" from the menu "Edit". After a short waiting period, the contents of the file "1kb.txt" will be displayed in the terminal window.
Mounting INSYS GPRS 5.0 serial If you cannot see the contents of the file 1kb.txt, but the following message, it has most probably taken you too long to enter it. The http server has terminated the connection with a timeout. An error message is displayed in HTML code format. The message includes the HTML code of the side of the server for timeout errors. To restart an attempt to establish a test connection, start with step 12. 4.5.
INSYS GPRS 5.0 serial 4.6 Mounting Operating Modes 4.6.1 Command Mode 4.6.1.1 Offline The offline command mode is the state after the GSM/GPRS engine was booted and initialized, or after a reset of the {{{PRODUCT DESCRIPTION}}} . During the offline command mode the {{{PRODUCT DESCRIPTION}}} can be addressed via AT commands. Note Please note that in the operating mode "TCP List" not all AT commands may be used. See Chapters 5.2.7 and 7. 4.6.1.
Connection INSYS GPRS 5.0 serial 5 Connection Connection See Chap. Target Bearer Trigger TCP transparent (modem emulation) 5.3 TCP/IP GPRS AT command GSM Incoming connection request SMS Callback Leased Line Switch input CSD 5.3 Modem GSM AT command ISDN SMS GSM Callback Leased Line Incoming call GPRS direct (via PPP) 5.1 5.
INSYS GPRS 5.0 serial Connection Note As default, the INSYS GPRS 5.0 serial will login to the strongest available GSM network. In regions close to borders, registering into the desired network is not always successful. 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 the desired network provider in the display.
Connection INSYS GPRS 5.0 serial Transfer the current settings to the INSYS GPRS 5.0 serial. Afterwards, the device must be reset. After the current settings have been read out, the INSYS GPRS 5.0 serial is registered. If the device is preconfigured for another country, a search for the desired network provider will be useful. In our example, we search for Vodafone in England (UK).
INSYS GPRS 5.0 serial Connection Mark and then apply the selection. Alternatively, the settings can be entered or modified using the terminal program. Enter PIN AT**PIN If manual network provider selection is required, the network provider identification number must be determined. You will find a chart for the INSYS GPRS 5.0 serial with identification numbers and names in the AT command overview – available at no charge from INSYS.
Connection 5.2 INSYS GPRS 5.0 serial TCP Transparent (GPRS Modem Emulation) In this mode, user data is transmitted transparently via the serial interface and in TCP/IP packets via the GSM/GPRS network. The INSYS GPRS 5.0 serial will act like a conventional modem at the serial interface. The remote terminal for this connection type receives the TCP/IP data and evaluates them directly, or has a virtual COM port driver (see Chap. 6.10 - Virtual Com Port -) to unpack it. 5.2.1.
INSYS GPRS 5.0 serial Connection According to the APN, PPP authentication is required. The necessary information can be obtained from the customer service center of your provider. When using VPN or "FIX IP" solutions, authentification must in general always be used. On the basis of the entered APNs you can determine if a user name or a password is required. user: or pw: PAP authentification, user name or password is required as stated.
Connection 36 INSYS GPRS 5.
INSYS GPRS 5.0 serial Connection 5.2.3 Settings for the leased line The INSYS GPRS 5.0 serial will automatically establish a leased line after the device is switched on, or after a reset. The connection 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 remote terminal.
Connection INSYS GPRS 5.0 serial Alternatively, the settings for the leased line operation can be entered or modified using the terminal program.
INSYS GPRS 5.
Connection INSYS GPRS 5.0 serial Alternatively, the settings for TCP Listen can be entered using the terminal program. Automatic Connection acceptance Save this setting ATS0=2 AT&W Set the TCP data port Activate TCP Listen Save settings Perform RESET, accept all parameters AT**TCPLISTENPORT=1234 AT**TCPLISTEN=1 AT**SAVE AT**RESET The successful dial-up into the GPRS network is displayed after the startup with the message +PPP-IP SETUP; the INSYS INSYS GPRS 5.
INSYS GPRS 5.0 serial Connection For TCP Listen mode, the number of dialing attempts until a device is restarted can be limited with the command AT**TCPLISTENWAITRST=. For example, the INSYS GPRS 5.0 serial is restarted with AT**TCPLISTENWAITRST=3 after the third dialing attempt (20s+80s+320s). This will restart the dialing cycle. The default value for this setting is 255. 5.2.5 Manual connection setup Establish a connection to an IP address or a host with domain name.
Connection INSYS GPRS 5.0 serial The number of dialing attempts for the leased line mode can be limited with AT**LLWAITRST=. For example, the INSYS GPRS 5.0 serial is restarted with AT**LLWAITRST=3 after the third dialing attempt (20s+80s+320s). This will restart the dialing cycle. The default value for this setting is 255. Note This setting increases the availability of the INSYS GPRS 5.0 serial and its application.
INSYS GPRS 5.0 serial Connection If the test is successfully performed, the message "+PPP-IP OK" is displayed. If the test fails, the GPRS connection is terminated (message +PPP-IP RELEASE) and the TCP Listen mode is reestablished. To save costs if there is a problem with availability, the waiting time between the repeat attempts will grow for each subsequent attempt.
Connection INSYS GPRS 5.0 serial 5.2.8 During the connection 5.2.8.1 Keep Alive The data transfer via GPRS is packet-oriented. If no side of the TCP connection sends data, there will be no traffic via the transmission link. This also means that it can not be determined if the remote terminal has disappeared without properly terminating the connection (e.g. due to a failure of the radio network or a failure of the remote terminal).
INSYS GPRS 5.0 serial Connection For a TCP/IP-based transmission such as the “TCP transparent” connection, the transmitted amount of data consists not only of the sum of all user data of the application and the required TCP/IP headers. Each TCP/IP message has a protocol overhead of 40 bytes. For each message there is also a confirmation message from the remote terminal with 40 bytes as well.
Connection 5.3 INSYS GPRS 5.0 serial GSM Data Connection (CSD Call) CSD is the simple modem-like data connection in the GSM network, without using the GPRS service. Remote terminals for the connection can be analogue modems, ISDN adapter, or GSM devices. With the help of HSComm GPRS, the INSYS GPRS 5.0 serial can automatically accept the CSD call. Click on the tab “Basic settings”. 5.3.
INSYS GPRS 5.0 serial Connection Alternatively, the settings can be entered or modified using the terminal program. Incoming connections are indicated in the terminal program. The connection acceptance takes place either automatically, or after a set number of ring signals, or manually with the command ATA. RING ATS0= The indicator for incoming connections can in addition display also the connection type (data, voice) (AT+CRC=1) and the phone number of the caller (AT+CLIP=1) as an option.
Connection INSYS GPRS 5.0 serial 5.3.4 Connection to analogue modems Alternatively, the settings can be entered or modified using the terminal program. To call an analogue modem, an analogue protocol must be set. While doing so it must be observed that the remote terminal has to work with the same protocol as well. The protocol V.32 with a data rate of 9600 baud. AT+CBST= AT+CBST=7 5.3.5 Connections to ISDN TAs Alternatively, the settings can be entered or modified using the terminal program. 5.
INSYS GPRS 5.0 serial Connection The direct utilization of GPR connections via PPP is not possible if the device is in active TCP Listen mode. 5.4.1 GPRS APN (PDP context) E.g.: The Vodafone APN address is WEB.vodafone.DE. AT+CGDCONT=1,IP,”WEB .vodafone.DE” There is basically the option to define several PDP contexts. This one is stored as context "1". Note The PDP context can not be stored permanently; it must be reentered every time the device is restarted, 5.4.
Connection INSYS GPRS 5.0 serial 5.4.4 GPRS connection termination Connections can be terminated as follows: Manual termination using the ATH command in online command mode By DTR drop (for the setting AT&D2) After switching from data mode to online mode, the connection will remain established. However, data is no longer transmitted to the remote terminal. The online command mode is also entered by DTR drop (setting AT&D1) or by activating the reset input twice within 10 seconds.
INSYS GPRS 5.0 serial 6 Functions 6.1 Access Control Functions Password protection and selective call acceptance can be set using the HSComm. Click on the button "Access Control/Autodial”. 6.1.1 Password protection The password consists of a maximum of 16 characters and protects switching into remote configuration during a data connection (CSD or “TCP transparent”) accepting SMS for activated, automatic SMS processing. Click on “Set password” in HSComm.
Functions INSYS GPRS 5.0 serial Alternatively, a new password can be set or an old password can be changed or deleted using the terminal program. Setup new password AT**PASSC=, Change password AT**PASSC=,, Delete password AT**PASSC= 6.1.2 Selective call answer If this function is activated, only connections which originate from the released phone numbers (1 to 3) are accepted.
INSYS GPRS 5.0 serial Functions Alternatively, the access control can be set using the terminal program: Activating selective call acceptance Deactivating selective call acceptance AT**CLIP=1 AT**CLIP=0 Note: The settings are only changed after they were saved and the device has been reset. AT**SAVE AT**RESET Incoming calls of numbers which are not allowed are displayed until the caller ends the signaling. They can neither be accepted manually. The caller receives the signal BUSY.
Functions 6.2 INSYS GPRS 5.0 serial Establishing a Connection by Callback The callback function enables the INSYS GPRS 5.0 serial to establish a connection to one of the previously defined remote terminals, when calling from a certain phone number. The remote terminal can be a phone number, an IP address or a hostname with domain. The callback is triggered as soon as a call from a previously defined phone number is indicated at the device.
INSYS GPRS 5.0 serial See also: Functions see Chapter 5.2.2 - Defaults Alternatively, the access control can be set using the terminal program: Default: For the operation within the GPRS network, an Access Point and the GPRS access data must be selected.
Functions INSYS GPRS 5.
INSYS GPRS 5.0 serial Functions Example: A “TCP transparent” connection from the INSYS GPRS 5.0 serial to the service center must be established, controlled by a call (Callback). In addition, the existing possibility to directly call from the service center for emergencies (GPRS failure, performance problems) should be maintained. Only the number of the modem connection for the service center should be made available for this call.
Functions INSYS GPRS 5.0 serial In a second step, the IP target for the callback must be entered. Afterwards, on the tab "Basic settings" the automatic call acceptance after 2 ring tones is required. Alternatively, our example can be set using the terminal program: In general, activate selective call acceptance AT**CLIP=1 Enter allowed phone number 1 AT**CLIP1= +494989949494.
INSYS GPRS 5.0 serial Functions Save the extended functions AT**SAVE Automatic acceptance of an incoming CSD call (for the call of a service center modem) ATS0=2 Save setting for ATS0 AT&W Perform RESET, accept all parameters AT**RESET Note A connection can be established independent from the callback settings via SMS command (provided that the sender number is stored at AT**CLIP=). 6.
Functions INSYS GPRS 5.0 serial tion will be sent to the remote terminal only after the CSD connection is ended. If data is transmitted via GPRS during the CSD call (e.g. via a TCP connection), it may occur that the caller receives the BUSY signal. In this case, the dial-in should be repeated. The rule of thumb would be that the CSD call will be forwarded after a minimum of approximately 30 seconds after the last data byte was transmitted via GPRS.
INSYS GPRS 5.0 serial Functions Save settings AT**SAVE Perform RESET, accept all parameters AT**RESET 6.3.2 CSD priority without caller authentification This function makes it possible that each caller can terminate the existing data connection. In this case, the phone numbers must not be entered. Phone numbers that were entered anyhow, will not be rated.
Functions INSYS GPRS 5.0 serial 6.4.1 Automatic login at restart The INSYS GPRS 5.0 serial can store the SIM card PIN internally, which enables it to log into the GSM network after each restart and reset, without user intervention. All four globally used frequency ranges 850 MHz, 900 MHz, 1800 MHz and 1900 MHz are supported. At the respective location, the INSYS GPRS 5.0 serial will automatically operate with the frequency range provided by the network provider.
INSYS GPRS 5.0 serial Functions Examples: In our example 1, the INSYS GPRS 5.0 serial will be logged out and back in every 3 hours. Alternatively, the scheduled logout/login can be set, changed or deleted using the terminal program. AT**LOGOUT=[,] Our example – 3 hrs. AT**LOGOUT=3 In our example 2, the INSYS GPRS 5.0 serial performs a restart every 3 hours. Alternatively, the scheduled logout/login can be set, changed or deleted using the terminal program.
Functions 6.5 INSYS GPRS 5.0 serial Automatic SMS Processing Note: The sending time of an SMS from the sender to a recipient depends on the pertinent provider of the service number. Due to the network load and the time of day, the time required for sending an SMS may change. The automatic processing of SMS messages can be set using the HSComm. Click on the tab “Basic Settings”. 6.5.1 Activation Activation in HSComm is done by clicking the automatic SMS processing.
INSYS GPRS 5.0 serial Functions Alternatively, automatic SMS processing can be set, changed or deleted using the terminal program. AT**SMSRX=1 Each incoming SMS is deleted after it has been processed. Only incoming SMS messages with a command to the INSYS GPRS 5.0 serial are deleted, remote SMS are left in the buffer. AT**SMSRX=2 6.5.2 Reading interval The reading interval can be set from 20 to 60 seconds. Alternatively, the GSM reading interval can be changed using the terminal program.
Functions INSYS GPRS 5.0 serial the response returns automatically to the sender. Configuration via SMS, if the INSYS GPRS 5.0 serial is protected , by a password. Configuration via SMS, if the INSYS GPRS 5.0 serial is protected , by a password and a confirmation is desired. , Note: Between CN: a space must be CN: [] entered. If no phone number is entered after CN: the response returns automatically to the sender. 6.5.
INSYS GPRS 5.0 serial Functions The INSYS GPRS 5.0 serial evaluates all SMS storage locations made available by the GSM/GPRS engine (storage locations of the SIM card and storage locations in the engine itself). The SMS settings for the module-internal interface used for processing are independent from the interface settings for the application (text mode, used storage locations). 6.
Functions 6.7 INSYS GPRS 5.0 serial Digital Inputs and Potential-Free Outputs The INSYS GPRS 5.0 serial has digital inputs and outputs. The outputs can be switched via AT commands to control external functions. The inputs can be used to trigger an action of the INSYS GPRS 5.0 serial. The inputs can be used to dial a connection to an AutoDial destination or to send an SMS. The action is triggered through a change of the input from HIGH (inactive) to LOW/GND (active). The level change is accepted after 0.
INSYS GPRS 5.
Functions INSYS GPRS 5.0 serial Alternatively, our example can be set using the terminal program: In this example, you must note the order of the AT commands! AT**INPUT1=1 Automatic activation of SMS dispatch AT**INPUT1=2 AT**INPUT1=1 for input 1; if you want to use only 1 switch input, use input 1. AT+CPMS=MT,MT,MT AT**INPUT2=1 for input 2. Set SMS storage locations Activate SMS text mode AT+CMGF=1 Delete SMS storage location 1 preliminary, AT+CMGD=2 for storage location 2.
INSYS GPRS 5.0 serial Save settings for advanced functions Save settings for SMS commands Perform RESET, accept all parameters Functions AT**SAVE AT&W AT**RESET 6.7.2 Connection setup via switch 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 connections are terminated. In TCP Listen mode, the TCP Listener is closed as well.
Functions INSYS GPRS 5.0 serial Alternatively, the function can be configured using the terminal program: AT**INPUT1= Automatic activation of the connection setup for AutoDial destination via input 1. The command to set the input behavior is AT**INPUT2= for input 1. AT**INPUT2= for input 2. Use the parameter to set the destination, which will be dialed for an event at the input.
INSYS GPRS 5.
Functions Configuration of the second device: 74 INSYS GPRS 5.
INSYS GPRS 5.0 serial Functions Alternatively, this function can be set using the terminal program: Configuration of the first device: AT**LL=2 Enter the output device as AutoDial address: Activate the leased line operation to the IP address of the other device AT**AUTOIP=100.1 20.32.
Functions INSYS GPRS 5.0 serial -for the transmission after a certain time (in minutes): Values for : 1-255 (minutes) The option AT**INPUTTIMEOUT Option can be used simultaneously with AT**INPUTCHANGE. AT**INPUTTIMEOUT prevents the provider from terminating the unused, open connection. Save the settings. Save the standard settings. Reset the device. 6.
INSYS GPRS 5.0 serial Functions During a CSD or “TCP transparent” data connection, the INSYS GPRS 5.0 serial can be switched to remote command mode by en- **** tering the escape sequence via the data connection from the re mote terminal. Note: After the 4 escape characters were entered at the local device (1 second pause before and after the entry, no return - -), the remote configuration at the remote terminal is activated. The data connection is maintained in the background.
Functions INSYS GPRS 5.0 serial After the file has been received, the device needs up to 60 seconds to complete the upload. Afterwards, the (INSYS GPRS 5.0 serial will automatically perform a restart.) Note After an update, the settings for the advanced functions are reset to the factory defaults. The SIM card PIN (AT**PIN) and the standard command settings of the GSM/GPRS engine are maintained, which means that if automatic call acceptance (e.g.
INSYS GPRS 5.0 serial Functions This setting will only apply to the operating mode TCP Listen. It is used to communicate the just allocated IP address together with a unique device ID to the server (IP address or domain name), when IP addresses are dynamically allocated. 6.10.1.3 Authentication for incoming TCP connection: This setting will only apply to the operating mode TCP Listen. A TCP connection is only accepted if the "caller" has sent a valid authentication via a UDP packet in advance.
Short Description INSYS AT Commands 7 7.1 INSYS GPRS 5.
INSYS GPRS 5.
Short Description INSYS AT Commands INSYS GPRS 5.
INSYS GPRS 5.0 serial 7.2 Short Description INSYS AT Commands Availability/Storage The following INSYS AT commands 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 entered, and active: AT**BAUD AT**FORMAT The other settings are immediately accepted and first stored permanently with AT**SAVE.
GPRS General INSYS GPRS 5.0 serial 8 GPRS General 8.1 Application Notes 8.1.1 GSM The provider enables the requested services. A SIM card can be enabled for voice and data services at the same time. The following table lists the usually available cards and contracts.
INSYS GPRS 5.0 serial GPRS General Note The transmitted amounts of data consist of the sum of application user data and the TCP packet data. The information from the TCP/IP packets also represents a network load and will add to the total costs. For the entire data amount it is also important to select parameters adjusted to the application to form TCP packets. These parameters consist of: The maximum set block value (default: 512 byte) (see AT**TCPBLOCK) The maximum waiting period (AT**TCPAGG). 8.
GPRS General 8.3 INSYS GPRS 5.0 serial TCP Transparent This function represents the main characteristic of the extended function. By means of the integrated TCP/IP stacks, the INSYS GPRS 5.0 serial functions as “modem emulation” for the application; the user data are provided transparently via the serial interface ("TCP transparent" connection). There is no need for the application to process any additional protocol stacks. To establish TCP connections to the INSYS GPRS 5.
INSYS GPRS 5.0 serial 8.4 GPRS General IP Addresses/Accessibility The IP address of the GPRS terminal is dynamically allocated by the provider and therefore only temporary. During the next dialin at the provider, a new IP address is allocated. In almost all GPRS networks the IP address can not be accessed from outside as the providers perform the addressing for the switch from GPRS networks to the “normal Internet” via a NAT table (Network Address Translation) to manage the address area limited by IPV4.
GPRS General INSYS GPRS 5.0 serial 8.4.1 Fixed IP address and VPN connection The service provider mdex (http://www.mdex.eu) offers the service "fixed.IP". With this service, one or more devices in a virtual private network can be addressed. SIM cards are thus grouped to form a closed network with a private IP address area. Connections from the company network to the devices will then be established via a VPN tunnel. The service fixed.
INSYS GPRS 5.0 serial GPRS General Multislot class Downlink slots Uplink slots Active slots 8 4 TS 1 TS 5 TS 9 3 TS 2 TS 5 TS 10 4 TS 2 TS 5 TS 11 4 TS 3 TS 5 TS 12 4 TS 4 TS 5 TS The maximum possible data rate therefore depends on the multislot class of the device. The above table shows the available time slots (TS) of a device; the table below shows the maximum data rate. The data rate, on the other hand, depends on the used coding scheme (CS).
GPRS General 8.6 INSYS GPRS 5.0 serial Quality of Service (QoS) The above mentioned characteristics data rates (in the form of values such as “data amount per hour” and maximum data amount) and delay times are, among others, a part of the Quality of Services.
INSYS GPRS 5.0 serial 8.8 GPRS General Calculation Examples for Data Transmission via GPRS 8.8.1 Application description 8.8.1.1 Design of the entire system control center computer Data logger RS232 INSYS GPRS DEVICE GSM/GPRS Net Internet DSL / Modem INSYS vitual COMPort control center software The system consists of a data logger with 8 digital inputs and 4 analogue inputs. The received data can be output in adjustable intervals at the RS232 interface.
GPRS General INSYS GPRS 5.0 serial 8.8.1.2 Data logger user data A data logger message has the following setup: Device ID 4 byte 2 x 8 bit for the digital inputs 2 byte 4 x 16 bit for the analogue inputs 8 byte Checksum 1 byte Total 15 byte 8.8.1.3 User data acknowledge of the control center As an option, the data logger/control center software can be configured so that for a data logger message an acknowledging message of the control center (user data acknowledge) is sent. Set-up: Command (e.g.
INSYS GPRS 5.0 serial GPRS General 8.8.2.2 Transmission of user data with user data acknowledge of the remote terminal Application / control center GPRS modem Data: 15 TCP/IP PUS H: 4 0 Data: 0 : 40 TCP/IP ACK Data ACK: 2 H: 4 0 TCP/IP PUS Data: 0 TCP/IP ACK : 40 Total: 177 byte 8.8.2.3 TCP Keep Alive Some GPRS providers terminate the connections when they are inactive. Vodafone, for example, terminates the connection after approximately 30 minutes without data transfers.
GPRS General INSYS GPRS 5.0 serial 8.8.3 Calculation example We assume a GPRS rate for data with a 1kilobyte billing matrix, as offered by TMobile and Vodafone as M2M rate. Usually, GPRS network providers bill once daily, e.g. once a day the sum of all accumulated data since the last billing is rounded to the next billing unit (here: 1 kilobyte). Example T-Mobile: Contract M2M Connect (Date: September 2005) Basic fee: 3.95 Euro / month Data extension M2M Data 1 for 1 Mb free volume: 2.
INSYS GPRS 5.0 serial GPRS General Transmission of values every 15 minutes Without user data acknowledge 95 byte / 15 min 380 byte / 1 h 9120 byte / 24 h rounded to 9 kb / day 270 kb / month The 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.
Sending SMS as Fax or E-mail 9 INSYS GPRS 5.0 serial Sending SMS as Fax or E-mail Overview of network providers for German speaking countries (D, A, CH). All necessary information is available from the customer service center of the provider. (Subject to change) 9.1 SMS as Fax Network Provider Coun Service center try T-Mobile (D1) D +49 171 076 0000 D2 Vodafone D +49 172 227 0333 E-Plus (E1) D +49 177 061 0000 T-Mobile A Swisscom CH +41 79 499 9000 Swisscom CH +41 79 499 8123 9.
INSYS GPRS 5.0 serial 10 GPRS Dial-in Parameters GPRS Dial-in Parameters Overview of network providers for German speaking countries (D, A, CH). All necessary information is available from the customer service center of the provider. Note: In HSComm we prepared numerous European APNs for selection. (See also Chapter 5.2 - TCP Transparent (GPRS Modem Emulation)) Network Provider T-Mobile (D1) Germany APN AT**GSMAPN= User name AT**PPPUSER= Password AT**PPPPW= *) *) internet.t-d1.
FAQ INSYS GPRS 5.0 serial 11 FAQ Problem: Possible cause: Remedy The INSYS GPRS 5.0 serial does not log in: The location of the GSM antenna is incorrect. Check the signal quality of the GSM network. For low field strength – below 12 – the antenna location should be changed. PIN incorrect Use the HSComm to delete the PIN and to enter the correct PIN. The SIM card is blocked because the PIN was entered incorrectly three times. A PUK must be entered to enable the card.
INSYS GPRS 5.0 serial FAQ Problem: Possible cause: Remedy No reaction to AT commands. The serial interface settings at INSYS GPRS 5.0 serial and at the application are not identical. The INSYS GPRS 5.0 serial and the application (configuration PC or controller) must be operated at the serial interface with the same settings for baud rate and data format. Check the settings of both interfaces! Settings INSYS GPRS 5.
FAQ INSYS GPRS 5.0 serial Problem: Possible cause: The manual selection of The GPRS dial-in parameters have not been set corATD: or rectly. ATD: is not possible. After a few seconds, the messages No Carrier or No Dialtone are displayed. Remedy Step 1: Read out all data using the button “Read settings” from the device and check the settings. Step 2: On the tab "TCP transparent" check the selection of the network provider.
INSYS GPRS 5.0 serial FAQ Problem: Possible cause: Remedy The manual selection of ATD: or ATD: is not possible. After a few seconds, the messages No Carrier or No Dialtone are displayed. The modem has not been registered in the GPRS network or the SIM card has not been activated for the GPRS service. Check the GPRS registration with the help of the terminal program. Switch to the terminal program Enter the AT command AT+CGATT=1.
FAQ INSYS GPRS 5.0 serial Problem: Possible cause: A GPRS dialup may fail. As a The reason is unknown and is most probably due to symptom, a new GPRS some error in the interplay dialup will generate the between the engine and the response NO CARRIER or network, or directly in the ERROR. The extended error network. Remedy A counter for dialing attempts is set via the commands AT**LLWAITRST and AT**TCPLISTENWAITRST.
INSYS GPRS 5.0 serial Technical Data 12 Technical Data 12.1 General GPRS Data transmission GPRS Multislot class 12 Coding scheme 1 to 4 Mobile Station Class B Support PBCCH CSD Data transmission V.21 (300 bps), V.22 (1200 bps), V.22bis (2.400 bps), V.32 (4.800/9.600 bps), V.34 (14400 bps), V.110 (300/1.200/2.400/4.800/9.600/14.400) Fax Group 3, class 1 SMS MO and MT text und PDU mode, and automatic MT SMS processing; automatic dispatch of a predefined SMS when the switch input is activated.
Technical Data 12.3 INSYS GPRS 5.0 serial Power Supply All specified technical data was measured with a nominal input voltage, full load, and an ambient temperature of 25.0 °C. The threshold value tolerances are subject to typical fluctuations. A maximum of one value may be operated in the threshold value range. The values were determined for a GSM receiving field strength of 16. For lower field strengths on site, the values will increase, especially for CSD or GPRS data transmissions.
INSYS GPRS 5.
Connections, Display and Control Elements 13 Connections, Display and Control Elements Position 1 2 3 4 5 6 7 13.1 INSYS GPRS 5.
INSYS GPRS 5.0 serial Connections, Display and Control Elements Pin No. 13.2 V-24 RS232 66020 1 DCD Data Carrier Detect 109 CF M5 O 2 RXD Receive Data 104 BB D2 O 3 TXD Transmit 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 Indication 125 CE M3 O SIM card The INSYS GPRS 5.0 serial requires a 3V/1.
Connections, Display and Control Elements 13.3 INSYS GPRS 5.0 serial Internal Design For the INSYS GPRS 5.0 serial, a µcontroller is placed in series between the external serial interface and the GSM/GPRS engine. All commands sent to the INSYS GPRS 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.
INSYS GPRS 5.0 serial 14 Standards and Directives Standards and Directives The INSYS GPRS 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 DIN EN 61000-3-3 EN 301 489-1:V.1.4.1 EN 301 489-7:V.1.2.1 EN 301 511: V.9.0.
International Safety Instructions 15 INSYS GPRS 5.0 serial International Safety Instructions The following Siemens safety instructions in English apply to the used GSM/GPRS engine TC63. Following US FCC specifications, each device must have a sticker with a note referring to the “FCC ID” attached. 15.1 Safety Precautions The following safety precautions must be observed during all phases of the operation, usage, service or repair of any cellular terminal or mobile incorporating TC63.
INSYS GPRS 5.0 serial International Safety Instructions IMPORTANT! Cellular terminals or mobiles operate using radio signals and cellular networks. Because of this, connection cannot be guaranteed at all times under all conditions. Therefore, you should never rely solely upon any wireless device for essential communications, for example emergency calls.
International Safety Instructions INSYS GPRS 5.0 serial The FCC label of the module must be visible from the outside. If not, the host device is required to bear a second label stating, “Contains FCC ID QIPTC63”.