Home

Insys GPRS 5.0 serial

image

Contents

1. PE E Gegenstelle he gite cor e ts gute Anwendungsserver l uController i TCP GSM GPRS EET Engine GGSN GPRS Tr ger od 1 E d IP IP i modul GPRS 3 0 KERNE Ne eer EE ok Pt es CORR u PER 1 GPRS Tr ger GPRS Netz Funkkomponenten und internes GPRS Netz LE MED RULES EIS o PORC E cO EE Note The integrated TCP IP stack will establish a new GPRS connection for each transparent connection i e after the end termination of the transparent connection follows the calculation of the GPRS provider where the data accumu lated until then is rounded to the next billing unit 60 Mai 06 INSYS GPRS 5 0 serial Information Regarding GPRS Mai 06 8 4 IP Addresses Accessibility The IP address of the GPRS end device is dynamically allocated by the provider and is temporary i e during the next dialup at the provider a new IP address is allocated In almost all GPRS networks the IP address can not be accessed from outside routing enabled as the providers perform the addressi
2. Baudrate in bps 300 1 200 4 800 19 200 57 600 600 2 400 9 600 38 400 115 200 TCP transparent 12 6 SIM Card To operate the INSYS GPRS 5 0 serial requires a 3V 1 8V SIM card from a GSM provider The SIM card is the identification towards the network provider The SIM card must be placed into the carrier with the contacts downward to ensure that the contacts are on top of each other A Change the SIM card only when the device is switched off 12 7 Internal Design For the INSYS GPRS 5 0 serial a ucontroller 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 ucontroller Mai 06 77 Technical Data INSYS GPRS 5 0 serial If the command results in just one action by the ucontroller the response to the applica tion e g OK is created directly by the controller If the GSM GPRS engine is activated while commands are entered the response to the application is determined by the engine in this case the ucontroller will just relay them During CSD calls or standard GPRS connections the ucontroller relays the data transpar ently in both directions When using the integrated TCP IP stacks TCP transparent of the ucontroller the data from the ucontroller is packed into the according protocol elements sent via the GSM GPRS engine and vice versa The period
3. 49 SYNIaX esssS 49 Access protection 50 SMS storage LOCATIONS er teta ent ipee Ra MER PER 50 MANUALLY DISPATCHING SMS eese eee eee eee enean 51 REMOTE CONFIGURATION e eee eee e eee eee e eee eee 52 Mai 06 Inhalt Mai 06 6 7 FIRMWARE UPDATE een 53 6 8 VIRTUAL PORT 42 53 7 OVERVIEW AT COMMANDS 54 7 1 SHORT DESCRIPTION OF THE INSYS AT COMMANDS 55 AVAILABILITYZSTORAGE 56 8 INFORMATION REGARDING 5 58 8 1 APPLICATION NOTES EE peo 58 Im GSM ri 58 btc cC 58 8 2 NETWORK DESIGN eco eoe aeo eoe nena ako aea p one osa po a rone 59 8 4 TEP TRANSPARENT eei tenere EI oa eene 60 8 4 IP ADDRESSES ACCESSIBILITY ee ee eene neenon nnne 61 8 5 DATARATEO ier eec eene ee 62 8 6 QUALITY OF SERVICE 05 63 8 7 DELAY TIMES 63 8 8 CALCULATION EXAMPLES FOR DATA TRANSMISSION VIA GPRS 64 8 8 1 Application 64 8 82 Gener
4. 2204 44 44 35 Connection setup 35 Incoming connections eire ettet rauen 35 TQM ATOM mee 36 Connection to analogue 36 Connection to ISDN TAS eei 36 DIRECT GPRS CONNECTION VIA PPP 37 ES 37 PPP authentication type 0 000 37 GPRS connection setup 37 GPRS connection 1 38 6 FUNCTIONS men L 6 1 6 1 1 6 1 2 6 2 6 3 6 3 1 6 3 2 6 4 6 4 1 6 4 2 6 4 3 6 4 4 6 4 5 6 5 6 6 ACCESS CONTROL since 39 Password Protection nie essen 39 Selective Call 40 ESTABLISHING A CONNECTION BY 24 41 AUTOMATIC LOGOUT AND LOGIN e eee eee e eee e eee eee e ee ee oe noe 47 Automatic login at restart 000 2 2 1 4 4 1 47 Scheduled logout login o rh teas F ea 47 AUTOMATIC SMS PROCESSING 2 6 48 PAGEIV QUI ON Pee T E 48 Reading er
5. 5 o esses s eite paper e so eee uso aeu esae 7 2 8 2 1 FUNCTION ee ersehen 8 2 22 APPLICATION 2 22 525 255855555 9 2 3 HISTORY 9 2 4 DISTINCTIONS TO INSYS GSM 4 1 10 3 UTILIZATION NOTES u 00000 11 A INSTALLATION een 12 2 1 EE 1018 1n 12 BQ TOP 13 423 BOTTOM erc 13 4 4 iHSCOMM wessen PE NS 14 4 5 INSTALLATION INSTRUCTIONS eee eee eee eene eene eet 15 4 6 OPERATING MODES u a 22 4 64 Command mode sin 22 4 6 2 Connection mode 22 B CONNECTION 2208er 23 5 1 LOGGING INTO THE GSM NETWORK 2 23 5 2 TRANSPARENT GPRS MODEM EMULATION 26 Defaults ua 28 5 2 1 Manual connection 0000 32 5 2 2 Automatic connection 2 32 Inhalt 5 2 3 5 2 4 5 2 5 5 3 5 3 1 5 3 2 5 3 3 5 3 4 5 3 5 5 4 5 4 1 5 4 2 5 4 3 5 4 4 Connection acceptance etta sese e teen so sene 32 During the connection 33 DORM IMATION e 34 GSM DATA CONNECTION CSD CALL
6. Name Colour On Flashing Power green Supply OK No supply Status yellow TCP Connection GSM engine not Initialization Slow flashing 100 ms on established logged into network 1900 ms off INSYS GPRS 5 0 serial registered in the GSM network Fast flashing 100 ms on 900 ms off PPP dial up successful IP address re ceived from provider Connect yellow Data connection No data connection established established Rx Tx green Data exchange over No data exchange RS232 Signal green Best GSM signal GSM signal field Blinking interval depending on field strength strength too low GSM signal field strength ON 25 31 60 ms 23 24 140 ms 21 22 260 ms 19 20 380 5 17 18 500 ms 15 16 1000 ms 13 14 OFF 0 12 99 12 Mai 06 INSYS GPRS 5 0 serial Installation 16 OUT2 NO Output 2 normally open 4 2 Top Terminal 1 GND Ground Masse 2 X1 Reserved GND 3 10 60VDC Supply 10V 60V DC m 52 4 GND Ground 3 10 60 VDC NW LE ans 5 GND Ground s ICJ GND V gm 6 Reset Reset 7 GND Ground GND 1H g 8 Input 1 _ 8 Input 1 Alarm input 1 Input 2 2 9 Input 2 Alarm input 2 10 GN T m 2 10 GND Ground 4 3 Bottom OUT 1 NC 3 Terminal 11 1 utput 1 normally close SUTA OUT1 NC Output lly closed LT OUT1NO 2 Masi 12 OUT1 Output 1 OUT 2
7. File Interface Settings Terminal Language Sprache Overview LogFie Info Basic settings Inputs Outputs TCP transparent Access Control Autodial N YS Network provider new PIN ew delete PIN GSM GPRS Network registration automatic selection C preferred network fallback automatic preferred network only available provider time scheduled logout login after automatic SMS processing leave unknown SMS in SIM memory PIN active search provider SMS service center number SMS processing interval signal IMEI MICROELECTRONICS Serial Interface baud rate 19200 data format echo Handshake no handshake hardware RTS CTS DTR drop action ignore DTR close connection online command mode Result code no result code C numeric result code result code in text form CSD connection auto answer number of Rings before answering Synchronize RS232 Transmission protocol to Modem ISDN 5 600 bps V 32 kom 29200 ani 2 Enter the and send the value to the INSYS GPRS 5 0 serial M HSComm GPRS File Interface Settings Terminal Language Sprache new delete automatic selection C preferred network fallback automatic C preferred network only time scheduled logout login after SMS service center number automatic SMS processin
8. AT FLASH firmware After the response the firmware file with the ending hex is sent as a text file Send HEX fil After the file has been received the device needs up to 60 seconds to E complete the upload After that the INSYS GPRS 5 0 serial will automati cally restart Note Depending on the loaded firmware version the settings for the extended functions are reset to factory settings after the update The SIM card PIN AT PIN and the standard command settings of the GSM GPRS engine are maintained which means that if auto matic call acceptance e g 50 2 is activated the device still be accessed from outside to enable the re configuration of the ex tended functions per CSD call via remote configuration 6 8 Virtual COM Port Applications which up to now communicated with the end devices via a modem connection or directly via a serial interface will not function with TCP connections directly A virtual COM port is required which will process TCP connections on one side and make a COM port to the operating system available on the other side INSYS MICROELECTRONICS GmbH offers a free virtual COM port for the op erating systems Windows XP 2000 Please request more detailed informa tion from insys insys tec de Mai 06 53 Overview Commands INSYS GPRS 5 0 serial 7 Overview AT Commands Most of the INSYS communication devices are controlled internally via AT commands A terminal program i
9. Mai 06 The SMS settings for the module internal interface used for process ing are independent from the interface settings for the application text mode used storage locations 6 5 Manually Dispatching SMS Note The sending time of an SMS from the sender to a recipient de pends on the pertinent provider of the service number Depend ing on the degree of utilization and the time of day an SMS may be on the way for an extended period Set SMS text mode The SMS service center number of the network provider may be omit ted if the number is stored on the SIM card Enter the destination phone number Wait for the prompt gt enter the text The SMS is dispatched using the key combination Ctrl and Z Prior to the confirmation message you will be informed about the amount of SMS that have already been sent Note The service center phone number must be written in interna tional format e g for a German provider starting with 49 AT CMGF 1 AT CSCA lt no gt gt lt text gt lt CtrltZ gt CMGS lt Num gt OK 51 Functions INSYS GPRS 5 0 serial 6 6 Remote Configuration During a CSD or TCP transparent data connection the INSYS GPRS 5 0 lt Pause gt serial be switched to remote command mode by entering the escape xa sequence via the data connection from the remote terminal Pause Note After the 4 escape characters were entered 1 second pause be fore and after the entry
10. The current consumption during data transmissions may also increase if the antenna is not adjusted correctly This can occur for the following cases The antenna and or the antenna cable are not adjusted to 50 impedance Mai 06 75 Technical Data INSYS GPRS 5 0 serial The antenna that is being used is misaligned due to the situation at the installation site metal parts To operate the INSYS GPRS 5 0 serial suitable device protection must be used Power supply 10 60 V DC Current consumption during normal operation Supply Voltage 10V 24V 36V Field strength 26 26 26 Standby 140mA 60mA 42mA CSD Data transmission 195 mA 84mA 60 GPRS Data transmission 290 84 mA 60mA Note Average values during data transmission and switched on relay AT OUT1 close AT OUT2 close 76 Mai 06 INSYS GPRS 5 0 serial Technical Data 12 4 Serial Interface Layout of the 9 pin D Sub jack 00000 0 9 Description of the signals at the 9 pin D SUB jack of the DCE Description NE CCITT DCE pin no V 24 Data Carrier Detect HN 7o DIN E A DCE to 66020 DTE Data Carrier Detect Transmit Data Data Terminal Ready 1 Data Set Ready Request To Send Clear To Send Ring Indication 1 7 E DN Hg pog p E Bl je MN prc DCD 109 RXD 104 XD 103 DTR 108 DSR 107 RTS 105 CTS 106 25 12 5 Interface speeds
11. Autodial Network provider new ids delete PIN GSM GPRS Networ automatic selection C preferred network fallback automatic preferred network only e active egistration available provider search provider preferred network z b time scheduled logout login after SMS service center number automatic SMS processing leave unknown SMS in SIM memory Serial Interface 19200 Deud rate Handshake no handshake C hardware RTS CTS DTR drop action C ignore DTR close connection C online command mode Result code no result code C numeric result code result code in text form CSD connection O x INSYS MICROELECTRONICS Read settings Send default values Synchronize RS232 SMS p auto answer essing interval p am number of Rings before answering network parameter Transmission protocol to Modem ISDN 9 600 bps V 32 19200 2 17 Installation INSYS GPRS 5 0 serial 13 18 Interface Settings Terminal Language Sprache Check the field strength of the GSM signal using the butt Basic settings Inputs Outputs TCP transparent Access Control Autodial Network provider new PIN Iv PIN active delete PIN SIM card missing GSM GPRS Network registration automatic selection C preferred network
12. 13 OUT1 NO Output 1 normally open i 14 2 utput 2 normally close s slc Bl OUT2 NC Output lly closed 15 2 2 OUT Output L1 Mai 06 Installation INSYS GPRS 5 0 serial 4 4 HSComm The configuration of the INSYSGPRS 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 simple set up all basic functions of the INSYS GPRS 5 0 serial can be entered with out knowing the individual commands and their parameters using the configuration software 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 tings Language Sprac In Chapters 6 Connections and 7 Functions the HSComm or another terminal pro gram can be used for the configuration The HSComm has an integrated terminal pro gram The AT commands can be directly entered at the menu item Terminal HSComm GPRS File Interface Settings Terminal Language Sprache Overview LogFie Info Help Basic settings Inputa Outputs TCP transparent Access Control Autodial Network provider E Serial Interface new E FUN acti badate 19200 E delete no information TIT GSM GPRS Network registration automatic selection C preferred network fallback automatic C prefe
13. 3 95 Euro month Dataextension M2M Data 5 for 5 Mb free volume 4 95 Euro month gt Data extension M2M Data 10 for 10 Mb free volume 6 95 Euro month The following examples show merely the pure data transmission When a TCP IP connec tion is established via thelNSYS GPRS 5 0 serial data is generated 128 byte The INSYS GPRS 5 0 serial will not terminate a once established connection automatically i e the amount of date for the connection setup may be ignored However the following may occur Theremote terminal can no longer be reached power failure in the control cen ter system crash new IP address for the control center gt The GSM GPRS network breaks down temporarily gt The GPRS modem has a power cut In all cases the INSYS GPRS 5 0 serial will automatically attempt a new connection setup to guarantee the availability of the application attempts in intervals of 20s 80s 320 12805 th 1h 1h For the M2M rates for each failed connection setup attempt 1kilobyte amount of data may be assumed at a 1 kilobyte matrix it is therefore recommended to plan a reserve of 30 to 50 kb up to the according upper limit of the rate 67 Information Regarding GPRS INSYS GPRS 5 0 serial Transmission of values every 15 minutes Without user data acknowledge 95 byte 15 min gt 380 byte 1 h gt 9120 byte 24h gt rounded to 9 kb day gt 270 kb month The contract M2M Connect with M2M Da
14. Firmware update of the u controller locally and remote 8 Mai 06 INSYS GPRS 5 0 serial General gt Integrated SIM reader and external SIM interface for 3V 1 8 V SIM cards Hardware watchdog Extended data formats for the serial interface LED output for field strength indication of the GSM network LED output for status indication of the INSYS GPRS 5 0 serial and the GSM GPRS engine SYNC 2 2 Application Example Control INSYS GPRS 5 0 serial Head Office 2 3 History Version Additional functions gt design pre production series gt Chapter 6 Functions i gt AT LOGIN is renamed to AT PROVIDER gt The data format 702 is supported Mai 06 General INSYS GPRS 5 0 serial 2 4 Distinctions to INSYS GSM 4 1 The INSYS AT commands listed in the following table exist for the INSYS GSM 4 1 and for the INSYS GPRS 5 0 serial but they vary regarding their parameters due to the different hardware AT BAUD AT CLIP AT FORMAT AT LOGOUT AT IN AT PASS AT PASS AT OUT AT CALLBACK AT FLASH AT GSMREQ 10 Mai 06 INSYS GPRS 5 0 serial Utilization Notes 3 Utilization Notes This manual uses the symbol especially important notes Further notes will be marked accordingly factory settings are marked default In Chapters 4 to 5 the description consists of two columns Individual functions a
15. PPP TCP IP for the application In this mode the TCP IP stack of the INSYS GPRS 5 0 serial is not active Example Connection via the RDT network of a PC In this mode the INSYS GPRS 5 0 serial is the PPP server 5 4 1 PDP context With the PDP context the Access Point Name APN of the GPRS AT CGDCONT 1 network provider is specified lt gt Note see also Chapter 10 GPRS Dial in Parameters E g The Vodafone APN address is AT CGDCONT 1 IP WEB VODAFONE DE There is basically the possibility to define different PDP contexts in this case it is stored as context 1 see also Chapt 6 2 4 AT com mands for GPRS Note PDP context can not be stored permanently it must be re entered every time the device is restarted WEB VODAFONE DE 5 4 2 PPP authentication type To adjust the authentication type to the one used by the PPP cli AT SGAUTH ent of the application the INSYS GPRS 5 0 serial offers two possi bilities gt Noauthentication AT SGAUTH O0 PAP AT SGAUTH 1 5 4 3 GPRS connection setup Modem compatible GPRS connection setup ATD 99 lt cid gt When dialing this special number the GPRS service is activated If a PDP context AT CGDCONT is defined such as The PDP context no 1 the AT command will be ATD 99 1 The successfully established connection is indicated by the con trol signal DCD and the message CONNECT After the GPRS connection h
16. SAVE Save the extended INSYS settings X X X X AT SCN SMS service center number X X X X AT SIGNAL GSM signal field strength X X X X Automatic SMS reception process AT SMSRX X X X X ing TCP block formation timer of the AT TCPAGG l X X X X integrated TCP IP stack Support of the INSYS virtual COM AT VCOM X X X X port driver AT VERSION Display of the software version X X X X X implemented Availability Storage The following AT commands are saved immediately after they are entered without AT SAVE but only activated after a restart gt AT PROVIDER AT PIN AT GPRSAPN 56 Mai 06 INSYS GPRS 5 0 serial Overview AT Commands 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 Mai 06 57 Information Regarding GPRS INSYS GPRS 5 0 serial 8 Information Regarding GPRS 8 1 Application Notes 8 1 1 GSM The provider enables the requested services ASIM card can be enabled for voice and data services at the same time The following table lists the usually available cards and contracts Ra Prepaid Contract for voice Contract for data Contract for voice and unction card transmission transmission data transmission Outgoing data con nection mobile Y 4 Y originated CSD call Incoming data con Y
17. b Connect the power supply 10 60V DC Note The minimum value is 10V DC The maximum value is 60V DC 4 Connect the antenna and switch the power supply on The power LED will light up 5 Wait until the device has powered up The status LED blinks during this process The signal LED blinks when the process is completed 6 Connection to the PC Connect the 9 pin jack at the modem with the serial interface of your computer A For the configuration the PC settings Menu Interface and the INSYS GPRS 5 0 serial settings tab Basic settings must be identical PC NSYS GPRS 5 0 serial Serial Interface ETE baud rate 19200 7 0020622005 Interface gt mr s yar Baud rate 19200 p dola kemal Ae d Data format 8N1 N D N pi C D Iv Hardware handshake Handshake RN 3 oi no handshake 40472 hardware RTS CTS The two interfaces can be adjusted using the button Synchronize RS232 Mai 06 15 Installation INSYS GPRS 5 0 serial 7 16 Driver installation The installation of a driver is not required when using a terminal program or the HSComm If you use another application a driver may be necessary Please find our current drivers at http www insys tec de or install the standard modem 336 under Windows Communication with the INSYS GPRS 5 0 serial Open the installed HSComm and read out the settings M HSComm GPRS
18. fallback automatic C preferred network only available provider search provider preferred network 0 v time scheduled logout login after p h automatic SMS processing leave unknown SMS in SIM memory s network parameter SMS service center number SMS processing interval Serial Interface baud rate 57600 1 data format Handshake no handshake C hardware RTS CTS DTR drop action ignore DTR close connection online command mode Result code no result code C numeric result code result code in text form CSD connection auto answer number of Rings before answering Transmission protocol to Modem ISDN 9 600 bps 32 on GSM Field Strength Overview Logfile Info h MICROELECTRONICS wv Send settings Read settings Send default values Synchronize RS232 GSM Signal GSM Signal 20 settings read 2 x Signalinto tenna location needs to changed Note The response should result in a field strength of at least 12 otherwise the an Mai 06 INSYS GPRS 5 0 serial Installation 14 Set GPRS dial in parameters APN Note see also Chapter 10 GPRS Dial in Parameters Wi HSComm GPRS E Ele Interface Settings Terminal Language Sprache Overview Logfile Info Help Basic settings Inputs Outputs TCP transparent Access Control Autodia I
19. see Kapitel Fehler Verweisquelle konnte nicht gefunden werden Fehler Verweisquelle konnte nicht gefunden werden Enter the password Hinweis siehe Kapitel Fehler Verweisquelle konnte nicht gefunden werden Fehler Verweisquelle konnte nicht gefunden werden AT PPPPW lt pw gt Setting of the authentication option noormally PAP for AT PPPAUTH lt auth gt the integrated TCP IP Stack Save settings AT SAVE Perform RESET durchf hren accept all parameters AT RESET Mai 06 29 Connection INSYS GPRS 5 0 serial Additional information for 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 inter ruptions For the implementation the selection of the remote terminal CSD IP or URL is re quired as a first step In our example we selected an IP address as remote terminal Leased Line operation off C AutoDial GSM CSD AutoD ial IP address In a second step the IP address of the remote terminal must be stated together with the according port In our example this is the IP 192 168 100 1 with port 80 AutoDial targets GSM CSD number 0947457890 IP address Port 192 168 100 1 Domain name Port 80 Mai 06 INSYS GPRS 5 0 serial Connection Mai 06 Alternatively the settings for the leased line operation can be entered or modif
20. the GSM reading interval be changed using the terminal program Note Due to different GSM GPRS network structures it may occur that the provider cannot deliver any SMS to the GSM GPRS engine while data packets are sent received via GPRS this re lates to standard GPRS calls and transparent calls via GPRS Experience shows that an SMS is only sent during data transmission intervals larger than 30 seconds 6 4 3 Syntax SMS messages intended for the INSYS GPRS 5 0 serial must have the following syntax lt password gt lt command gt CN lt callbacknumber gt Detailed explanation Configuration via SMS without reply Note see also Chapt 6 1 1 Password Protection and Chapt 6 1 2 Delete password Configuration via SMS with confirmation Note Between CN lt phonenumber gt a space character must be inserted If no phone number is entered after CN no phone number the response will automatically be sent to the sender Configuration via SMS if the INSYS GPRS 5 0 serial is protected by a password AT SMSRX 1 AT SMSRX 2 AT GSMREQ n command command CN lt phonenumber gt password command 49 Functions INSYS GPRS 5 0 serial Configuration via SMS if the INSYS GPRS 5 0 serial is protected by a password password and a confirmation is required command CN lt phonenumber gt Note Between CN lt phonenumber gt a space charac
21. GSM GPRS Network registration C automatic selection C preferred network fallback automatic preferred network only available provider search provider preferred network In our example we search for Vodafone in England GB x Enter search term vodafone Search 20205 vodafone GR 20404 vodafone NL 21401 vodafone ES 21670 vodafone HU 22210 vodafone IT 23415 vodafone UK 24008 vodafone SE Mai 06 25 Connection INSYS GPRS 5 0 serial Mark and then apply the selection GSM GPRS Network registration C automatic selection C preferred network fallback automatic preferred network only Alternatively the INSY a terminal program Enter PIN be registered using A If manual network provider selection is required the network provider identification number must be deter mined You will find a chart for the INSYS GPRS 5 0 serial with identification numbers and names in the AT com mand overview available at no charge from INSYS In our example the German network T Mobile with the identification number 26201 is used Network provider selection for T Mobile in Germany Perform a RESET to use the PIN Manual registration after each reset If the INSYS GPRS 5 0 serial is started and registered from an ternal application this application may request a manual login In this case the following method should be used Enter the PIN when the PIN is entered v
22. 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 en tered incorrectly three times A PUK must be entered to enable the card Switch to the terminal program to enter the PUK and enter the following command AT CPIN lt PUK gt lt new The SIM card is not en abled Please contact the contact center of your provider The power supply is not sufficient The wrong interface has been selected in the set tings for the serial inter face Check the voltage supply using the in formation from Chapter 12 Technical Data Check the interface settings x Interface 19200 Data format 8 1 Baud rate with the used COM port There is another program running in the background which accesses the same serial interface Terminate all programs running in the background 71 INSYS GPRS 5 0 serial No reaction to AT The serial interface settings The INSYS GPRS 5 0 serial and the appli commands at the INSYS GPRS 5 0 serial cation configuration PC or controller and at the application are must be operated at the serial interface not identical with the same settings baud rate and data format Check the settings of both interfaces INSYS GPRS 5 0 serial settings Serial Interface baud rate 19200 data format 901 echo M Han
23. close to TV sets radios computers or inadequately shielded equipment Follow any special regulations and al ways switch off the cellular terminal or mobile wherever forbidden or when you suspect that it may cause interference or danger Road safety comes first Do not use a hand held cellular terminal or mobile when driving a vehicle unless it is securely mounted in a holder for speakerphone operation Before making a call with a hand held terminal or mobile park the vehicle Speakerphones must be installed by qualified personnel Faulty installation or operation can constitute a safety hazard 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 ex ample emergency calls Remember in order to make or receive calls the cellular terminal or mobile must be switched on and in a service area with adequate cellular signal strength Some networks do not allow for emergency calls if certain network services or phone features are in use e g lock functions fixed dialing etc You may need to deactivate 80 Mai 06 INSYS GPRS 5 0 serial Internationale Sicherheitshinweise those features before you can make an emergency call Some networks require that a valid SIM card be properly inserted in the cellular terminal or mobil
24. close to borders registering at the preferred network is not always successful In this case the manual selection of the exclusively preferred network will be available In the first step display all available network providers GSM GPRS Network registration C automatic selection C preferred network fallback automatic preferred network only available provider eier In this display click on the preferred network provider In our example the available network provider is T Mobile correct description T Mobile D Available network providers search provider network providers rn The selected network provider is stored as the preferred network preferred network 26201 T Mobile D Mai 06 INSYS GPRS 5 0 serial Connection The current settings are sent 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 regis tered Network provider new active delete PIN GSM registered GSM GPRS Network registratia automatic selection C preferred network fallback automatic preferred network only available provider search provider preferred network 26201 T Mobile D If the device is preconfigured for another country a search for the preferred network provider will be useful Network provider Cm newPIN Pace delete PIN GSM registered
25. copy line 1 into the terminal program and run lt CR LF gt After the Connect copy line 2 into the terminal program and run it with lt CR LF gt Finally copy line 3 and run it 18 Connection to the application A For the operation the application settings and the settings of the INSYS GPRS 5 0 serial must be identical Application INSYS GPRS 5 0 serial Serial Interface baud rate 19200 data format 9711 7 Handshake no handshake C hardware RTS CTS EXC wo s gt P 5 1 Mai 06 21 Installation INSYS GPRS 5 0 serial 4 6 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 INSYS GPRS 5 0 se rial During the offline command mode the INSYS GPRS 5 0 serial can be addressed via AT commands 4 6 1 2 Online The INSYS GPRS 5 0 serial can be switched to online command mode during a data connection CSD GPRS TCP transparent After switching from data mode to online command mode the con nection will remain established but no data is transmitted to the remote terminal The online command mode is also entered by DTR drop setting AT amp D1 or by activating the reset input twice within 10 seconds Note Terminating connections see Chapters 4 2 6 and 4 4 4 Zi gae Pauses 4 6 1 3 Remote Note See Chapter 6 6 Remote Configuration lt 1 Sec Pau
26. ip port or registered in the GPRS net ATD domain port is work or the SIM card has not possible After a not been activated for the few seconds the mes GPRS service sages No Carrieror No Dialtone are displayed Check the GPRS registration with the help of the terminal program Switch to the terminal program Setting Nnguage Enter the AT command AT CGATT 1 Afterwards query the network registra tion status with AT CGATT If you receive one the following mes sages from the INSYS GPRS 5 0 serial gt CGATT 1 the device is regis tered in the GPRS network CGATT 0 the device could not be registered in the GPRS net work Please contact the contact center A of your provider The remote terminal IP address or URL can not be reached The virtual COM port The virtual COM port is not from INSYS should be activated used The device can not be accessed via the virtual COM port 74 Use another remote terminal for testing purposes Manually select ATD lt ip gt lt port gt or ATD lt domain gt lt port gt You may also use the URL www insys tec de 80 asre mote terminal see also Chapter 4 5 Installation No 16 Check the settings for the virtual COM port driver on the tab TCP transparent virtual COM Port supported C not supported Mai 06 INSYS GPRS 5 0 serial Technical Data 12 Technical Data 12 1 General GPRS Data transmission
27. no return CR at the local device the remote configuration at the remote terminal is activated The data connection is maintained in the background The 4 escape characters must be entered within 1 second If this was configured the configuration password is queried before the switching to the remote command mode occurs Note see also Chap 6 1 1 Password protection After the escape sequence is detected the prompt for entering the CONFIG PASS password appears OR 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 password is acknowledged with OK now the AT commands re OK leased for remote configuration can be entered Terminate configuration AT EXIT Note Due to the sometimes long packet run times for TCP connections the escape character must be sent in one TCP packet Other wise the pauses between the individual characters get too large and the reception of the sequence is terminated 52 Mai 06 INSYS GPRS 5 0 serial Functions 6 7 Firmware Update The firmware of the ucontroller can be loaded locally via the serial inter face and remote CSD or TCP transparent connection A Before the firmware is updated hardware handshake must always be activated INSYS GPRS 5 0 serial and remote terminal The process is started The device prepares itself for receiving the new
28. service number Depending on the network load and the time of day an SMS may be on the way for an extended period The automatic processing of SMS messages can be set using the HSComm Click on the tab Basic Settings Basic settings Inputs Dutputs TCP transparent Access Control Autodial 6 4 1 Activation Activation in HSComm takes place via clicking the automatic SMS processing v automatic SMS processing 5157 V memory Each incoming SMS is deleted after it has been processed Each SMS with an INSYS AT command is processed Any other SMS is immediately deleted If other SMS messages are required for processing with the application the field Leave remote SMS in SIM buffer must also be clicked automatic SMS processing v leave unknown SMS in SIM memory A The Remote SMS messages must be read out regularly i the application must read out SMSs periodically to avoid SMS memory overflow 48 Mai 06 INSYS GPRS 5 0 serial Functions Mai 06 Alternatively automatic SMS processing can be set changed or de leted using the terminal program 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 6 4 2 Reading interval The reading interval can be set with a command from 20 to 60 seconds SMS processing interval 60 5 Alternatively
29. the network provider A Before using the INSYS GPRS 5 0 serial you should check the certification requirements in the country of deployment Note As default the INSYS GPRS 5 0 serial will login to the AT PROVIDER strongest available GSM network If required a pre mode lt gt ferred network be pre selected with the command lt gt 11 AT PROVIDER if necessary 6 3 2 Scheduled logout login For function support even after infrastructure changes and network software updates by the network providers the IN SYS GPRS 5 0 serial can be logged out of the GSM network via a timer The timer can be set by the hour up to a maximum of 99 hours and starts when the device is switched on One minute after the logout the INSYS GPRS 5 0 serial will auto matically log back in The timer restarts If a TCP transparent or a data connection CSD or GPRS is established at the time of the logout the logout will wait until the connection is terminated In our example the INSYS GPRS 5 0 serial will be logged out and back in every 3 hours v time scheduled logout login after h Alternatively the scheduled logout login can be set AT LOGOUT n changed or deleted using the terminal program E g 3 hours AT LOGOUT 3 Mai 06 47 Functions INSYS GPRS 5 0 serial 6 4 Automatic SMS Processing Note The sending time of an SMS from the sender to a recipient depends on the perti nent provider of the
30. 0 o 2 0 T 6 U m 0 is Q INSYS GPRS 5 0 serial jenuew suljeiado Copyright May 06 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 ac tual functions No guarantee can therefore be given for the accuracy of the contents We can neither take over a legal responsibility nor any liability for incorrect information and their consequences Suggestions for improvements and comments are gladly accepted 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 Publisher INSYS MICROELECTRONICS GmbH Waffnergasse 8 D 93047 Regensburg Germany Phone 49 0 941 58692 0 Fax 49 0 941 563471 e mail insys insys tec de Internet http www insys tec de Subject to technical changes as well as correction Date Mai 06 31 22 03 041 english Inhalt Mai 06 1 SCOPE OF
31. DE O2 internet user pw DE T Mobile internet t d1 de user td1 DE Vodafone volume d2gprs de user any DE Vodafone web vodafone de user any A1 net user gprs alplus at pw AT ONE web one at AT T Mobile gprsinternet user GPRS According to the APN PPP authentication may be required The necessary information PPP authentication can be obtained from the customer service C none center of your provider PAP User name Password On the basis of the entered APNs you can determine if a user name or password is re quired gt user lt username gt pw lt password gt PAP authentication user name or password is required as stated gt user or pw No authentication user name or password is required gt user any or pw any PAP authentication any user name or any password is required Note see Chapter GPRS Dial in Parameters 28 Mai 06 INSYS GPRS 5 0 serial Connection Alternatively the GPRS modem emulation for the INSYS GPRS 5 0 serial can be entered or modified using the terminal program Enter the Access Point Namen APN AT GPRSAPN lt apn gt Note see Chapter Fehler Verweisquelle konnte nicht gefunden werden Fehler Verweisquelle konnte nicht gefunden werden GPRS dial in for the integrated TCP IP Stack AT DIALIN 1 GPRS dial in number for the integrated TCP IP Stack AT DIALINNR 99 1g Enter the username AT PPPUSER lt user gt Note
32. GPRS Multislot class 12 Coding scheme 1 to 4 Mobile Station Class B Support PBCCH CSD Data transmission 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 Baud rates 300 600 1200 2400 4800 9600 19200 38400 57600 115200 230400 460800 for TCP transparent connections only baud rates starting at 9600 Data formats 8 1 8 1 801 8N2 7 1 701 7N2 7E2 702 2 digital inputs Pull up 2 digital outputs Output power EGSM 850 and 900 Class 4 2 W GSM 1800 and 1900 Class 1 1 W 12 2 Physical Features INSYS GPRS 5 0 serial Weight 250g Dimensions x xh 55X110x75 Temperature range 32 F 131 F Protective class Housing IP 40 screw termination IP 20 Humidity O 95 non condensing 12 3 Power Supply specified technical data was measured with a nominal input voltage full load and an ambient temperature of 77 00 F The threshold value tolerances are subject to the typi cal 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
33. MS format address Example number 49 171 076 poe T Mobile D1 D2 Vodafone 149172227 3400 0333 E mail ad abc defg de 49 177 061 dress This i 0000 space abc defg de e T Mobile text 41 79 499 8123 555 Swisscom Swisscom no guara Mai 06 69 GPRS Dial in Parameters INSYS GPRS 5 0 serial 10 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 Network pro vider APN AT GSMAPN lt apn gt User name AT PPPUSER lt user gt Password AT PPPPW lt pw gt T Mobile D1 internet t d1 de td td Germany D2 Vodaf odarone web vodafone de 52 Germany E Plus E1 internet eplus de eplus rs Germany P P BP O2 E2 surf xxl interkom de neicom y pany interkom de T Mobil ait gprsinternet GPRS 1 Austria Swisscom rs swisscom ch rs rs Switzerland 8 5 not required user defined User name and user defined password 70 Mai 06 INSYS GPRS 5 0 serial 11 FAQ The INSYS GPRS 5 0 does not login No reaction to AT commands 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
34. SYS AT AT DEFAULT X X X X commands AT DIALIN Dial in type for integrated TCP IP x x stack Dial in number for integrated AT DIALINNR X X X X TCP IP stack AT EXIT Exit remote command mode X AT FLASH Firmware update of the ucontroller X X AT FORMAT Data format of the serial interface X X X GPRS APN for integrated TCP IP AT GPRSAPN X X X stack AT GSMNET Display of GSM network parame x x x x ters Ouery interval for automatic SMS AT GSMREQ processing and reading the net X X X X work parameters AT IMEI Display of device IMEI X X X X AT IN Query of the switch inputs X X X X Mai 06 Overview AT Commands INSYS GPRS 5 0 serial Implementation possible Command Short description Offline Online Remote SMS local local AT KEEP TCP Keep Alive X X X X Display of information about the AT LASTCON X X X X last connection AT LL AutoDial function leased line X X X X AT LOGOUT Timer controlled logout login X X X X AT OUT Set reset the switch outputs X X X X AT PASSC Configuration password X X X X AT PIN SIM card PIN X X X X PPP authentication type for inte AT PPPAUTH X X X grated TCP IP stack PPP password for integrated TCP IP AT PPPPW X X X X stack PPP user name for integrated AT PPPUSER X X X X TCP IP stack AT PROFILE Display settings X X X AT PROVIDER GSM network provider selection X X X X AT RESET Restart X X X X AT
35. TCP IP ACK 40 data ACK 2 reference 10 PUSH reference data 0 TCP IP ACK 40 gt 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 trans fers For this reason applications that exchange data 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 expectations of the pro vider regarding the amount of data The INSYS GPRS 5 0 serial provides this function The application will not notice this action Application l GPRS Modem control centre reference data 0 TCP IP PUSH 40 0 reference data 40 Total 80 byte 66 Mai 06 INSYS GPRS 5 0 serial Information Regarding GPRS Mai 06 8 8 3 Calculation example We assume a GPRS rate for data with a 1kilobyte billing matrix as offered by T Mobile and Vodafone as M2M rate Usually GPRS network providers bill once daily e g once a day the sum of all accumu lated data since the last billing is rounded to the next billing unit here 1 kilobyte Example T Mobile Contract M2M Connect Date September 2005 Basicfee 3 95 Euro month Dataextension M2M Data 1 for 1 Mb free volume 2 95 Euro month Dataextension M2M Data 2 for 2 Mb free volume
36. al data amount lee eciiees sesso etes sese dans nna erase iuda a danh 65 8 8 3 Calculation example 67 9 SENDING SMS AS FAX OR 69 91 lt 5 5 5555 n A S M 69 9 2 SMS ASEMA oreiro or onn r N E 69 10 GPRS DIAL IN PARAMETERS 70 Inhalt T1 FAO unsere 71 12 TECHNICAL DATA 55550555 eges ope pv vae erroe 75 12 1 GENERALE SG 75 12 2 PHYSICAL FEATURES iios ee fo era ee eo eo Eae e YE Ee Hn aee 75 12 3 POWER SUPPLY 2460 75 12 4 SERIAEINTERFACE a nisse 77 12 5 INTERFACE SPEEDS 77 12 6 o 77 12 7 INTERNAL DESIGN eee Ser epe He Y Tav YE CH EVER ER REN 77 13 NORMEN UND 79 14 INTERNATIONALE SICHERHEITSHINWEISE 80 14 1 SAFETY PRECAUTIONS c ve eee yea s eu su eo Seu eU VR ve Ue To ea uoa Ee 80 14 2 COMPLIANCE WITH FCC RULES AND REGULATIONS 81 6 Mai 06 INSYS GPRS 5 0 serial Scope of Delivery Mai 06 1 Scope of Delivery Please check the scope of delivery before initial operation gt INSYS GPRS 5 0 serial gt 9 ser
37. as been successfully established the protocol stacks of the application can start First the PPP session is started and then it can be used for TCP IP data traffic Mai 06 37 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 amp D2 If the remote terminal hangs up After switching from data mode to online mode the connection dip will remain established However data is no longer transmitted to the remote terminal The online command mode is also en tered by DTR drop setting AT amp D1 or by activating the reset input twice within 10 seconds Hang up terminate connection to the other party OK The connection was terminated ATH 38 Mai 06 INSYS GPRS 5 0 serial Functions 6 Functions 6 1 Access Control Password protection and selective call acceptance can be set using the HSComm Click on the tab Access Con trol Autodial Basic settings Inputs Outputs TCP transpar amp m__ Access Control Autodial 6 1 1 Password Protection The password consists of a maximum of 16 characters and protects the following Switching into remote configuration during a data con nection CSD or TCP transparent Accepting SMS for activated automatic SMS processing Click on Set password in the 5 Password for remote configuration anspa
38. ata exchange GPRS General Packet Radio Services runs packet oriented based on the Internet Protocol IP The following figure shows the basic design where the application has to provide the TCP IP PPP stacks This is required when using the standard GPRS functionality of the modul GRPS 3 0 serial SoS SSS SS SS Se SS SS Application Remote terminal Mobile Application Application server TCP PPP IP PPP IP GPRS carrier GPRS engine 1 GPRS carrier 1 1 1 1 1 1 59 Information Regarding GPRS INSYS GPRS 5 0 serial 8 3 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 Due to the fact that the IP address of the the INSYS GPRS 5 0 serial can not be accessed only outgoing TCP IP connections are supported Mem re RU Eel vm Ey SO Mae A Applikation Mobile Anwendung
39. d selecting Callback by entering the phone number Mai 06 41 Functions INSYS GPRS 5 0 serial Selective call answer Callback trigger Number 1 Number 2 Number 3 CSD SMS access control only C Callback AutoDial GSM CSD AutoDial IP address amp AutoDial domain nam CSD SMS access control only C Callback AutaDial GSM CSD AutoDial IP address AutoDial domain nam m CSD SMS access control only C Callback AutoDial GSlv AutoDial IP address AutoDial domain nam In our figure as an example the number 1 of callback number is allocated the number 2 of an IP address with port information and the number 3 of an URL with port informa tion is allocated Note see Chapter TCP transparent GPRS modem emulation In next step the callback target must be determined In our example for the phone number 1 a CSD target number is defined for the phone number 2 an IP address with port information and for the phone number 3 a URL with port information AutoDial targets GSM CSD number IP address Port Domain name Port 42 192 168 100 1 E wwrw insys tec de Mai 06 INSYS GPRS 5 0 serial Functions Mai 06 Alternatively the connection setup can be set changed or deleted via a phone call using the terminal program Default For the operation within the GPRS network an Access P
40. dshake no handshake 4 hardware RTS CTS Application setting in our example a PC with the HSComm GPRS x Interface COMI v Baud rate Data format 72 Mai 06 INSYS GPRS 5 0 serial FAO Mai 06 Manual dialing of The GPRS dial in parame Step 1 ATD lt ip gt lt port gt or ters have not been set cor Read out all data using the button ATD domain port is rectly not possible After a M iniu from the device and few seconds the mes Read settings check the settings sages No Carrier or No Dialtone are displayed Step 2 On the tab TCP transparent check the selection of the network provider GPRS GPRS APN default Name Passwort z For some network providers PAP au thentication is required PPP authentication C none 6 Password Please find a selection of network pro viders for German speaking countries Germany Austria and Switzerland in Chapter 11 GPS Dial in Parameters or ask the customer center of your provider for the correct settings Step 3 Change the settings if needed and re start the INSYS GPRS 5 0 serial Step 4 Switch to the terminal program Setting u anguage and man atty diat into the GPRS net work Enter the AT command ATD 99 14 The successful connec tion setup is confirmed with the mes sage Connect 73 INSYS GPRS 5 0 serial Manual dialing of The modem has not been ATD
41. e 14 2 Compliance with FCC Rules and Regulations The FCC Equipment Authorization Certification for the TC63 reference application is listed under the FCC identifier QIPTC63 IC 267W TC63 granted to Siemens AG The TC63 reference application registered under the above identifier is certified to be in accordance with the following Rules and Regulations of the Federal Communications Commission FCC Power listed is ERP for Part 22 and EIRP for Part 24 This device contains GSM and GPRS Class12 functions in the 900 and 1800MHz Band which are not operational in U S Territories 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 must not be co located or operating in conjunc tion with any other antenna or transmitter Users and installers must be provided with antenna installation instructions and transmitter operating conditions for satisfying RF exposure compliance Antennas used for this OEM module must not exceed 8 4dBi gain GSM 1900 and 2 9dBi GSM 850 for mobile and fixed operat ing configurations This device is approved as a module to be installed in other de vices Manufacturers of mobile or fixed devices incorporating TC63 modules are advised to in clude instructions according to above mentioned RF exposure statements in their end product user manual Please note that chan
42. e except for special provider numbers ATD lt phonenumber gt After the call was accepted the transfer of data can begin e g con nection with 9600 bps The successfully established connection is Connect 9600 RLP indicated by the control signal DCD and the message CONNECT 5 3 2 Incoming connections The connection acceptance takes place either automatically or af ter a set number of ring signals CSD connection auto answer ber of Rings before answerinc 0 Alternatively the settings be entered or modified using the terminal program Incoming connections are indicated in the terminal program RING The connection acceptance takes place either automatically or af ter a set number n of ring signals or manually ATA In addition the indicator for incoming connections can optionally display the connection type data voice and the caller number Note In contrast to earlier versions setting the ring tones until ATSO lt n gt the call acceptance 50 registry with the command 50 lt gt can only be performed after a valid was en tered Mai 06 35 Connection INSYS GPRS 5 0 serial 5 3 3 Termination Connections can be terminated as follows Manual termination using the ATH command in online command mode By DTR drop for the setting AT amp D2 If the remote terminal hangs up After switching from data mode to online mode the connection will remain established Howe
43. e entered locally as well as remote remote configuration and in most cases also via SMS The configuration via SMS is restricted to commands with responses of up to 140 characters A Lining up several commands per input line is usually not possible Further com mands can be sent only after the processing of the previous command is com pleted with the output of the response 54 Mai 06 INSYS GPRS 5 0 serial Overview AT Commands 7 1 Short description of the INSYS AT commands Note a detailed description of the syntax and the parameters can be ordered at INSYS Microelectronics free of charge The AT commandlist for the INSYS GPRS 5 0 serial is downloadable at http www insys tec de Implementation possible Command Short description Offline Online Remote 5 5 local local Establish CSD or TCP transparent ATD X connections Terminate CSD or TCP transpar ATH X X ent connections AT AUTOCSD AutoDial CSD destination number X X X X AT AUTOIP AutoDial destination IP address X X X X AT AUTOPORTI AutoDial destination port for desti X X X X P nation IP AT AUTOURL AutoDial destination domain name X X X X AT AUTOPORTU AutoDial destination port for do X X X X RL main name AT BAUD Baud rate of the serial interface X X X AT CALLBACK _ AutoDial function callback X X X X AT CLIP Selective Call Answer X X X X Factory settings of the IN
44. e will increase for every new repeated attempt gt 20 seconds after restart or if the last connection setup was successful 80 seconds after the first false attempt 320 seconds after the second false attempt 1280 seconds after the third false attempt ON WV 1 hour for each additional false attempt 5 2 3 Connection acceptance Accepting incoming IP connections is currently not supported 32 Mai 06 INSYS GPRS 5 0 serial Connection 5 2 4 During the connection 5 2 4 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 termi nating the connection e g due to a failure of the radio network or a failure of the remote terminal It can also happen that GPRS network providers terminate con nections themselves if there is no data transfer for an extended period of time to be able to offer the resources to other partici pants For these cases TCP offers a suitable accessory by sending Keep Alive messages The period between two monitoring packets can be set to 1 minute steps or be turned off completely If three successive monitoring packets are not responded to the connec tion is regarded as terminated and the INSYS GPRS 5 0 serial returns to offline mode If the device is configured as a leased line device t
45. ed by the network provider using coding schemes and time slots can change dynamically during a connection and among other things depend on the current amount of connections in the GSM cell In the device class B the INSYS GPRS 5 0 serial supports the GSM services GPRS CSD and voice However only one service can be executed at a time 8 6 Quality of Service QoS The above mentioned characteristic data rates in the form of values such as data amount per hour and maximum data amount and delay times are a part of the Quality of Services among others Theoretically there is a possibility for requesting a certain QoS profile from the provider during the connection setup 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 shown that these settings will not show any success regarding perform ance improvement as the providers always supply Best Effort as OoS i e the best val ues according to the current network load during the moment of the connection setup 8 7 Delay Times Usually there will be marginally higher delays than with a normal connection via GSM The delays will mostly be below one second The average delay times are stated with 700 ms for GSM values of 500 ms are assumed In rare cases delays of several seconds are possible the applications at the GPRS end de v
46. er of time slots for the classes which can be used for uplink downlink and for the device altogether GPRS devices support all variants up to their own multislots Multislot class Downlink slots Uplink slots Active slots Pa as lo _ 275 575 10 4 5 2 TS 5 5 1a 41 1375 515 12 4 5 4 5 5 5 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 This information is unfortunately not available for the user The network providers use different coding schemes according to the reception situation 1TS 2 15 3 5 4 TS CS1 9 05 18 1 27 15 36 2 CS2 13 4 26 8 40 2 53 6 CS3 15 6 31 2 46 8 62 4 CS4 21 4 42 8 64 2 85 6 Data rates of PC data including GPRS control data 62 Mai 06 INSYS GPRS 5 0 serial Information Regarding GPRS 1TS 2TS 3 TS 4 5 51 8 16 24 32 CS2 12 24 36 48 CS3 14 4 28 8 43 2 57 6 CS4 20 40 60 80 Data rates of PC data only without GPRS control data Note The above mentioned values represent the theoretically maximum possible val ues In practice the following applies GPRS will not provide guaranteed data rates or bandwidths for the application The val ues allocat
47. g leave unknown SMS in SIM SMS processing interval IMEI Es lolx INSYS MICROELECTRONICS Overview LogFie Info Help Basic settings inputs Outputs TCP transparent Access Control Autodial Serial Interface baud rate 19200 z data format 8N1 iv Handshake no handshake C hardware RTS CTS DTR drop action ignore DTR close connection C online command mode Result code C no result code C numeric result code result code in text form CSD connection auto answer number of Rings before answering Transmission protocol to Modem ISDN e 600 bps V 32 19200 Ni Mai 06 Mai 06 INSYS GPRS 5 0 serial Installation 9 10 11 12 Disconnect the power supply Insert the SIM card Press the sunken yellow button see image above the SIM card slot and remove the card holder Put the SIM card into 3 the card holder and reinsert it The contacts ofthe SIM card face to the left when inserting Switch on power supply The power LED lights up cececccecce INSYS Pow 79 GPRS Check the communication using the configuration program 5 Please read out the settings once more The INSYS GPRS 5 0 serial is registered Wi HSComm GPRS E Language Sprache Overview LogFle Info Eile Interface Settings Terminal Basic settings noutsioutputs transparent Access Control
48. ges or modifications not expressly approved by the party responsi ble for compliance could void the user s authority to operate the equipment If the final product is not approved for use in U S territories the application manufac turer shall take care that the 850 MHz and 1900 MHz frequency bands be deactivated and that band settings be inaccessible to end users If these demands are not met e g if the AT interface is accessible to end users it is the responsibility of the application manufacturer to always ensure that the application be FCC approved regardless of the country it is marketed in The frequency bands can be set using the command AT SCFG Radio Band rbp rba 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 OIPTC63 Mai 06 81
49. he connection will then be re established Keep Alive will mostly be used for leased lines because the ap plication on location is usually not able to assume the connec tion control and monitoring TCP TCP Keep Alive Timer 0 Alternatively the settings can be entered or modified using the terminal program Note Keep Alive generates traffic in principle each Keep Alive packet is an empty TCP IP message which must be con firmed For one Keep Alive two empty TCP IP messages with 40 bytes each are required When selecting the timeout besides ensuring that the connec tion is monitored the pricing of the current GPRS contract must also be considered AT KEEP n A see Chapter 8 8 3 Calculation example Mai 06 33 Connection INSYS GPRS 5 0 serial 5 2 4 2 Forming data packets 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 It is important to select the suitable parameters for the application to form the TCP packets in the integrated TCP IP stack The INSYS GPRS 5 0 serial sends a data packet to the remote termi nal when Themaximum size of 512 bytes is reached Since the preset wai
50. ia this command it must be re entered for each reset Prompt manual registering this command may trigger a wait ing period of several seconds 5 2 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 IN 26 AT PIN AT PROVIDER 1 2 26201 AT RESET AT CPIN lt PIN gt AT COPS 0 Mai 06 INSYS GPRS 5 0 serial Connection SYS 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 Fehler Verweisquelle konnte nicht gefunden werden Virtual Com Port unpack it The INSYS GPRS 5 0 serial will address the remote terminal either directly via the IP address e g 212 77 161 1 or via the domain name e g www insys tec de The GPRS modem emulation TCP transparent can be set with the help of the HSComm Click the tab with the same name Basic settings Inputs OutputsM TCP transparent Wccess Control Autodial Mai 06 27 Connection INSYS GPRS 5 0 serial Defaults For the operation within the GPRS network an APN Access Point Name must be se lected We prepared numerous European APNs for selection in the HSComm GPRS GPRS APN default Name Passwort DE E Plus internet eplus de pv
51. ial cable for connection between and INSYS GPRS 5 0 serial RS232 cable gt printed manual German English The latest editions of the manual and the AT command set are available for download at our internet site gt http www insys tec com manual If the content is not complete please refer to your supplier Optional accessories gt GSM antenna wall mounted antenna or magnetic foot antenna gt CD with configuration software HSComm free and manuals The con figuration software is also available for download at our internet site gt http www insys tec com configuration Please check the device for shipping damage Please refer to your supplier if damage ex ists Please keep the packaging material for dispatch or storage General INSYS GPRS 5 0 serial 2 General The INSYS GPRS 5 0 serial is a DIN rail device for industrial applications and combines the following features Quadband GSM engine for all four GSM frequency ranges applicable worldwide A Before using the INSYS GPRS 5 0 serial you should check the certification re quirements in the country of deployment Integrated TCP IP and PPP stack for transparent modem emulation via GRPS GRPS mo dem emulation GSM services GSM CSD data connection SMS voice connection GPRS connection Support for the virtual COM port driver from INSYS MICROELECTRONICS GmbH The integrated protocol stacks allow for the connection of customer applications di
52. ically performed status queries AT GSMREO and evaluations of incoming SMS occur internally on another interface they will generally not have an effect on the communication between the application and the INSYS GPRS 5 0 serial 78 Mai 06 INSYS GPRS 5 0 serial Normen und Direktiven Mai 06 13 Normen und Direktiven The INSYS GPRS 5 0 serial complies with the directives 89 336 EEC 73 23 EEC and R amp TTE 1999 5 EG The device fulfils 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 2 DIN EN 60950 1 VVVVVV VV 79 Internationale Sicherheitshinweise INSYS GPRS 5 0 serial 14 Internationale Sicherheitshinweise 14 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 Manufac turers of the cellular terminal are advised to convey the following safety information to users and operating personnel and to incorporate these guidelines into all manuals sup plied with the product Failure to comply with these precautions violates safety stan dards of design manufacture and intended use of the product Siemens AG assumes no liability for customer s failure to comply with these precautions When in a hospital or other health care facility observe the restrictions on the use
53. ices should therefore be set to maximum delay times Mai 06 63 Information Regarding GPRS INSYS GPRS 5 0 serial 8 8 Calculation Examples for Data Transmission via GPRS 8 8 1 Application description 8 8 1 1 Design of the entire system control centre modem dsl INSYS Application RS232 i modul long distance virtual control centre GPRS 3 0 data software connection Port The system consists of a data logger with 8 digital inputs and 4 analogue inputs The re ceived data can be output in adjustable intervals at the 5232 interface The evaluation software at the control center computer will either communicate directly with the data logger via the RS232 interface or via leased line modems for remote appli cations To save investment and maintenance costs rent when using leased line modems the connection should be made via a transparent GPRS modem In this case the INSYS GPRS 5 0 serial is used It is also used for leased line operation i e after being switched on it will automatically attempt to establish a connection with the remote terminal the INSYS virtual COM port As soon as the connection is established all user data from and to the data logger are transmitted via a transparent TCP IP connec tion No adjustment is required for the data logger and the control center computer 8 8 1 2 Data logger user data A data logger
54. ied using the terminal program Connection to an IP address Setting for leased line function AT LL 2 Remote terminal IP address AT AUTOIP lt ip gt Remote terminal IP port AT AUTOPORTIP lt port gt Save settings AT SAVE Perform RESET accept all parameters AT RESET Connection to a domain name Setting for leased line function AT LL 3 Remote terminal domain name AT AUTOURL domain Remote terminal IP port AT AUTOPORTURL port Save settings AT SAVE Perform RESET accept all parameters AT RESET The successfully established connection is indicated by the control signal DCD and the message CONNECT 31 Connection INSYS GPRS 5 0 serial 5 2 1 Manual connection setup Establish a connection with an IP address lt gt ora domain ATD lt ip gt lt port gt name domain with the port port ATD domain port The call was accepted the transfer of data can begin Connect 5 2 2 Automatic connection setup With the leased line function a preset destination is automatically dialed The connection setup and the connection itself are moni tored If the connection can not be established network failure no response from remote terminal or if the connection is terminated the INSYS GPRS 5 0 serial will automatically start reconnecting To limit the connection costs for inaccessible remote ter minals for each connection setup data packets are cre ated and billed the delay tim
55. ion IP for callback AT AUTOIP 200 12 0 120 Store destination TCP port for callback AT AUTOPORTIP 10000 Store callback settings AT CALLBACK 0 2 0 No callback action for call from phone number 1 IP callback for call from phone number 2 No callback action for call from phone number 3 Save the extended functions AT SAVE Activate automatic acceptance of an incoming ATSO 2 CSD call for the call of a modem in the service center Save setting for ATSO AT amp W Perform RESET accept all parameters AT RESET Note connection can be established inde pendent from the callback settings via SMS command see also Chapter 57 Short description of the INSYS AT commands provided that the sender number is stored at AT CLIP lt index gt lt n gt 46 Mai 06 INSYS GPRS 5 0 serial Functions 6 3 Automatic Logout and Login Scheduled logout login can be activated using the HSComm Click on the tab Basic Set tings Basic settings Inputs Outputs TCP transparent Access Control Autodial 6 3 1 Automatic login at restart The INSYS GPRS 5 0 serial can store the SIM card PIN inter AT PIN lt pin gt nally 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
56. message has the following setup Device ID 4 byte 2x8 bit for the digital inputs 2 byte 4 X 16 bitfor 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 ac knowledge is sent 64 Mai 06 INSYS GPRS 5 0 serial Information Regarding GPRS Mai 06 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 application are packed into a TCP IP message and sent to the remote terminal PUSH the TCP IP stack of the remote terminal e g Windows must acknowledge each received TCP IP message With GPRS all data accumulated by the user from the IP level incoming and outgoing are calculated 8 8 2 1 Transmission of user data without reference data acknowledge of the remote terminal Application GPRS Modem control centre reference data 4 15 TCP IP PUSH 40 EN 0 reference data TCP IP ACK 40 Total 95 byte 65 Information Regarding GPRS INSYS GPRS 5 0 serial 8 8 2 2 Transmission of user data with reference data acknowledge of the remote terminal Application I GPRS Modem control centre reference data 15 TCP IP PUSH 40 ER 0 reference data
57. nection mobile A call at data phone terminated CSD call number required SMS Y v v v Voice connection Y Y Y call at voice phone number required 8 1 2 GPRS When using data services via GPRS providers offer various contract options especially regarding the pricing basic price basic data volume billing unit Please contact your provider for further information In general GPRS providers bill every time a connection is terminated and daily at mid night the provider will terminate the connection at this time and all accumulated data are rounded to the billing unit We therefore recommend selecting a rate which offers the smallest possible billing unit Many GSM GPRS providers offer so called M2M rates which have an exact 1 kb billing matrix 58 Mai 06 INSYS GPRS 5 0 serial Information Regarding GPRS Mai 06 A The transmitted amounts of data not only consist of the sum of the application user data They are rather packed into TCP IP packets which also generate network loads and therefore add to the total costs It is also important to select parameters adjusted to the application to form TCP packets gt Maximum size the packet is sent when this maximum size is reached gt Maximum waiting time the current packet is sent when the time has expired see AT TCPAGG 8 2 Network Design The GPRS system is intended as additional service within the scope of the GSM system The GPRS d
58. ng for the switch from GPRS networks to the normal Internet via a NAT table Network Address Translation to manage the ad dress area limited by IPV4 Furthermore firewalls offer a security aspect so the GPRS device is not accessible by so called scanners because the IP address can not be accessed As GPRS is billed by the amount of data this prevents unauthorized data traffic This also means that the following functions may not be possible Pinging the GPRS device from outside Establishing TCP IP connections to the GPRS device from outside Sending UDP IP packets to the GPRS device from outside All connections channels must be opened starting with the GPRS device This means that the GPRS device or the application behind it can only react as CLIENT Exceptions to this restriction will be provided by the according provider if available Please also contact your provider to clarify if it is possible to use a VPN Virtual Private Network for possibly required server functionality 61 Information Regarding GPRS INSYS GPRS 5 0 serial 8 5 Data Rates The INSYS GPRS 5 0 serial has the following characteristics gt GPRS Multislot class 12 gt GPRS End device class B gt Support of coding scheme 1 to 4 PBCCH Support GPRS has several classes multislot classes which are relevant for the transmission speed The classes provide the maximum transmission speed for uplink and downlink The table below shows the numb
59. nternet access GPR over GPRS GPRS APN default PPP user password over GSM CSD internet t d1 de Access number 99 1 PAP tdi TCP Keep Alive timer Password tdi virtual COM Port supported C not supported lolx MICROELECTRONICS Read settings Send default values Synchronize RS232 comi 57600 lana settings read 15 Forsome network providers PAP authentication is required Note see also Chapter 10 GPRS Dial in Parameters File Interface Settings Terminal Language Sprache Overview Lo Info Help Basic settings Inputs Outputs transparent Access Control Autodial Internet access GPRS over GPRS GPRS APN default PPP user password over GSMICSD internet t d1 de 99x 14 Access number PPP authentication C none TCP PAP User name TCP Keep Alive timer virtual COM Port Password supported C not supported zii xi INSYS MICROELECTRONICS Send settings Read settings Send default values Synchronize 5232 57600 lani settings read Mai 06 19 Installation INSYS GPRS 5 0 serial 16 Sendthe values to the INSYS GPRS 5 0 serial terminate HSComm and restart the system 17 Establish a test connection Toestablish a test connection you need to switch to the terminal p
60. of mobiles Switch the cellular terminal or mobile off if instructed to do so by the guide lines posted in sensitive areas Medical equipment may be sensitive to RF energy The operation of cardiac pacemakers other implanted medical equipment and hearing aids can be affected by interference from cellular terminals or mobiles placed close to the device If in doubt about potential danger contact the physician or the manufacturer of the device to verify that the equipment is properly shielded Pacemaker patients are advised to keep their hand held mobile away from the pacemaker while it is on Switch off the cellular terminal or mobile before boarding an aircraft Make sure it can not be switched on inadvertently The operation of wireless appliances in an aircraft is forbidden to prevent interference with communications systems Failure to observe these instructions may lead to the suspension or denial of cellular services to the of fender legal action or both Do not operate the cellular terminal or mobile in the presence of flammable gases or fumes Switch off the cellular terminal when you are near petrol stations fuel depots chemical plants or where blasting operations are in progress Operation of any electrical equipment in potentially explosive atmospheres can constitute a safety hazard Your cellular terminal or mobile receives and transmits radio frequency energy while switched on Remember that interference can occur if it is used
61. oint must be selected Activate selective call acceptance Enter allowed phone number 1 Enter allowed phone number 2 Enter allowed phone number 3 Store possible connection destinations 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 Save settings Perform RESET accept all parameters AT CLIP 1 AT CLIPl lt nrl gt AT CLIP2 lt nr2 gt AT CLIP3 lt nr3 gt AT AUTOIP lt ip gt AT AUTOPORTIP lt port gt AT AUTOURL domain AT AUTOPORTURL lt port gt AT AUTOCSD lt rufnummer gt AT Callback lt 1 gt lt 2 gt lt 3 gt AT SAVE AT RESET 43 Functions INSYS GPRS 5 0 serial Example The service center has a normal modem connection with the number 0941 586920 A service mobile phone with the number 0171 2345678 exists Furthermore the service center has a fixed internet connection with the IP address 200 12 0 120 the TCP port 10000 was enabled for connections to the INSYS GPRS 5 0 serial A TCP transparent connection from the INSYS GPRS 5 0 serial to the service center must be established controlled by a call In addition the existing possibility to directly call from the service center for emergen cies GPRS failure performance problems should be maintained Only the number of the modem connection should be made available for this call For a call from the Clip n
62. re de scribed on the left side The according AT commands and the modem responses 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 Return CR AT commands can be entered in capital or small letters The command is evaluated after the modem received a Return 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 lt ip gt lt port gt Dialing the IP address lt ip gt lt port gt ATD192 168 0 1 1234 Dialing the IP address 192 168 0 1 and the IP port 1234 AT CALLBACK 0 2 0 The phone number that was stored with AT CLIP2 is assigned the action IP Callback AT COPS lt n gt lt format gt lt oper gt Select network provider and login AT COPS 0 Select network provider automatically and login AT COPS 4 2 26201 Select network provider Vodafone manually and login Mai 06 11 Installation INSYS GPRS 5 0 serial 4 Installation 4 1 Front Panel OOOOOOOOOO INSYS Q Power Qstatus z ORTX Osignal Reset C RS 232 10 Base T GPRS
63. rectly via the serial interface like for conventional modems The application can be constantly connected within the GPRS network while the ac counting takes place only for the transmitted amount of data 2 1 Function Overview gt Integrated TCP IP stack for modem compatible dialing of IP addresses or domain names with transparent transfer of data from and to the serial interface TCP transparent gt Dedicated line function leased line design as CSD or TCP IP possible intelligent re dialing time outs for TCP IP cost cutting gt Callback function for incoming calls callback as CSD or TCP transparent possi ble gt Access protection via phone number analysis CLIP for incoming CSD calls incom ing SMS and when starting a callback gt Password protection for remote configuration and configuration via SMS gt Storage of the SIM card PIN enables automatic login into the GSM network after reset restart gt Timer controlled logout and login into the GSM network to prevent undefined login states in the GSM network gt Standard AT command set according to GSM 07 05 and GSM 07 07 gt Extended AT command set INSYS AT command for additional functions gt Automatic processing of incoming SMS for configuration or connection setup also during existing connections gt Quadband GSM GPRS module 850 900 1800 1900 MHz gt Support for the virtual COM port driver from INSYS MICROELECTRONICS GmbH gt
64. rent SMS In the next window you can setup a new password or change or delete an existing password x old password new Password confirm The password is deleted if no new password is entered Mai 06 39 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 gt Setup new password Change password Delete password 6 1 2 Selective Call Answer AT PASSC lt oldPW gt AT PASSC lt newPW gt lt newPW gt AT PASSC oldPW newPW newPW If this function is activated only connections which originate from the released phone numbers 3 are accepted To use this function the caller himself has to activate the call ing line identification presentation CLIP The selective call acceptance applies to data and voice connections as well as incoming SMS commands Enter a phone number to activate the selective call acceptance in the HSComm Selective call answer Callback trigger Number 1 C Callback Number 2 CSD SMS access control only C Callback Number 3 CSD SMS access control only Callback AutoDial GSM CSL AutoDial IP addres AutoDial domain nam 40 only Mai 06 INSYS GPRS 5 0 serial Functions Alternatively the access control can be set changed or deleted using the terminal program Activating
65. rogram e g Tera Term gt As default the option CR LF Return Space must be preset Tera Term cones ur file Edit Setup Control Window Hem Terminal Font Keyboard Serial port TCP IP General Save setup Restore setup Load key map Tera Term Terminal setup 2 Terminal size Newline 80 x 24 Receive Term size win size ransmit FIT Auto window resize Help Terminal ID vri 00 Local echo Answerback Auto switch lt gt 20 Mai 06 INSYS GPRS 5 0 serial Installation The connection to the web server is established with ATD www insys tec de 80 CR After the Connect you need to manually enter the following GET lkb txt HTTP 1 1 lt CR LF gt When using Tera Term CR Host www insys tec de lt CR LF gt When using Tera Term CR lt CR LFE gt When using Tera Term CR Note Alternatively the files 10kb txt and 100kb txt may be retrieved CR Return LF Space line feed The words GET and http must be entered in capital letters A After the Connect the manual entry must be done very quickly For this reason INSYS MICROELECTRONICS GmbH recommends the following Before you establish the connections enter the following lines in the Windows editor ATD www insys tec de 80 GET lkb txt HTTP 1 1 Host www insys tec de Afterwards
66. rred network only Handshake no handshake C hardware RTS CTS echo iv available provider DTR drop action preferred ignore networl Y close connection E C online command mode i time scheduled logout login after Result code SMS service center number no result code C numeric result code T automatic SMS processing 6 result code in text form Send defaultvalues leave unknown SMS in SIM memon INKA n mer i auto answer Reset number of Rings before answering network Synchronize RS232 parameter Transmission protocol to Modem ISDN 2 comi 19200 The HSComm 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 restart re set the device or to set the factory settings default A The selected configuration of the parameters is only sent to the INSYS GPRS 5 0 serial after you click on the button Send values Menu File The current configuration can be saved as a file and re loaded at a later date 14 Mai 06 INSYS GPRS 5 0 serial Installation 4 5 Installation Instructions A Please observe our safety instructions 1 Have the SIM card and PIN number ready but do not insert the card yet 2 Mounting on DIN rail 3 Connecting the power supply a Connect the ground connection
67. s integrated in the 5 AT commands can be directly en tered at the menu item Terminal File Interface Settings rin Overview LogFile Info Help Alternatively we recommend the terminal program Tera Term by T T Teranishi The free software can be downloaded at http www vector co jp authors VA002416 teraterm html Each AT command starts with the letters AT and ends with a Carriage Return CR Capital and small letters will both be accepted but the leading characters must be either AT or at The command line is evaluated after the modem receives a Return com In the description a parameter with the letter n means that it can have various values For example lt gt where n can have the value 0 or 1 e g ATC1 DCD always For commands which expect a parameter but don t have a parameter the modem will automatically assume the parameter 0 For example the commands AT amp D and AT amp DO will have the same effect The commands are acknowledged with OK or ERROR A command that is being ed ited will be interrupted by any further incoming character Therefore the next command must wait for acknowledgement to avoid the deletion of the current command The standard AT commands can be entered locally via the serial interface if the device is in offline state In the online command mode only the commands ATH and ATO are available The extended INSYS AT commands can b
68. se gt 4 6 1 4 SMS configuration Note See Chapter 6 4 Automatic SMS Processing 4 6 2 Connection mode Depending on the connection type the data is transformed unal tered from and to the application CSD call GPRS call or processed by integrated TCP IP stacks of the controller TCP transparent 22 Mai 06 INSYS GPRS 5 0 serial Connection 5 Connection Connection See Target Bearer Trigger Chap transparent 4 1 2 TCP IP GPRS AT command modem emula GSM SMS tion Callback Leased Line CSD 4 3 Modem GSM AT command ISDN SMS GSM Callback Leased Line Incoming call GPRS direct via 5 4 TCP IP GPRS AT command PPP Voice Phone GSM AT command Incoming call 5 1 Logging into the GSM Network With the help of HSComm the INSYS GPRS 5 0 serial can be registered in the GSM net work Click on the tab Basic settings Inputs Outputs transparent Access Control Autodial tersee also Chapt 4 5 Installation Automatic login one time configuration Entering the PIN is only required for new devices or after the SIM card was switched active SIM card missing Tetwork provider X M Eosumsaassassasssounssaused delete PIN Note Per default the INSYS GPRS 5 0 serial will login to the strongest available GSM network during startup Mai 06 23 24 Connection INSYS GPRS 5 0 serial In regions
69. selective call acceptance AT CLIP 1 Deactivating selective call acceptance AT CLIP 0 Note The settings are only changed after the device has been reset Incoming calls of numbers which are not allowed are ATA immediately rejected to keep the line free They can also not be accepted manually The caller receives the busy signal BUSE For each incoming call the phone number is RING displayed as well FOCLIPS 49941586920 145 0 released number has to be configured in exactly AT CLIP1 the same format as for a call 49941586920 Note The transmitted format of the number depends on the provider e g the leading 49 be replaced by 0049 We urgently recom mend verifying the number by placing a test call It is possible to allow whole blocks of numbers The AT CLIP1 wildcard character replaces exactly any single digit 499415869 6 2 Establishing a Connection by Callback Using callback functions the INSYS GPRS 5 0 can be forced to automatically establish a data connection as soon as a callback is indicated Permitted phone numbers are stored and linked to a destination address IP address domain name or phone number in the configuration The connection setup can be set with a call using the HSComm Click on the tab Access Control Autodial Basic settings Inputs Outputs TCP transpar nt Access Control Autodial The callback function can be activatedwis theHSCor an
70. ta 1 5 sufficient there is enough reserve available The monthly costs would be 3 95 2 95 6 95 Euro With user data acknowledge 177 byte 15 min gt 708 byte 1h gt 16992 byte 24 h gt rounded to 17 kb day gt 510 kb month The contract M2M Connect with M2M Data 1 is sufficient there is enough reserve available The monthly costs would be 3 95 2 95 6 95 Euro 68 Mai 06 INSYS GPRS 5 0 serial Sending SMS as Fax or E mail 9 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 no guarantee 9 1 SMS as Fax Network provider Country Service center Phone number format Example SMS format 99 dialing code FR T Mobile D1 49 171 076 0000 990941586920 This is test phone number diali d D2 Vodafone P 49 172 227 0333 990941586920 This is test phone number 151 4 diali d E Plus E1 P 49 177 061 0000 1510941586920 Thisisa test phone number 6762 dialing code Fe T Mobile A 67620941586920 This is a test phone number Dialing code Swisscom 41 79 499 9000 0941586920 FAX This is a test phone number 3 Dialing code mE Swisscom 41 79 499 8123 0941586920 FAX This is a test phone number no guarantee 9 2 SMS as E Mail Phone Network provider Country Service center S
71. ter must be inserted If no phone number is entered after CN no phone number the response will automatically be sent to the sender 6 4 4 Access protection To protect against unauthorized configuration or attempts to estab lish a connection two protection mechanisms are available which are also used for incoming SMS Configuration password Note see also Chapt 6 1 1 Password Protection AT PASSC lt pw gt Selective call acceptance Note see also Chapt 6 1 2 Delete password AT CLIP 1 Depending on the settings SMS from unauthorized senders or with an invalid password are either gt Deleted immediately or AT SMSRX 1 Stored in the memory and not processed AT SMSRX 2 6 4 5 SMS storage locations The automatic processing of an incoming SMS takes place via an in dependent module internal interface and has usually no effect on the communication between the application and the GSM GPRS engine Only when the SMS memory is accessed especially reading and delet ing it can happen that the ucontroller accesses the SMS storage location at the same time In this case the application would receive ERROR as response The application should therefore execute the command once more if necessary 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 50 Mai 06 INSYS GPRS 5 0 serial Functions
72. ting time default 100 ms no character has been sent via the serial interface and data is already waiting in the send buffer A For a calculation example see Chapter 3 3 3 Calculation example 5 2 5 Termination Connections can be terminated as follows Manual termination using the ATH command in online command mode By DTR drop for the setting AT amp D2 If the remote terminal hangs up 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 amp D1 or by activating the reset input twice within 10 seconds Hang up terminate connection to the other party The connection was terminated 34 AT TCPAGG aqq time AT TCPAGG 100 1 Sec Pause lt 1 Sec Pause gt ATH OK Mai 06 INSYS GPRS 5 0 serial Connection 5 3 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 connec tion can be analogue modems ISDN adapter or GSM devices With the help of HSComm the INSYS GPRS 5 0 serial can automati cally accept the CSD call Click on the tab Basic Settings Basic settings Inputs Oulputs TCP transparent Access Control Autodial 5 3 1 Connection setup Dial the number to which a connection is to be set up always with dialing cod
73. umber 2 mobile phone a TCP transparent connection to the service center must be established On the tab Access control Autodial Basic settings Inputs Outputs TCP Access Control Autodial the selective call acceptance callback must be set in our example as follows Selective call answer Callback trigger Number 1 4947560061 CSD SMS access control only Callback AutoDial GSM CSD C AutoDial IP address C AutoDial domain nam Number 2 CSD SMS access control only C Callback AutoDial GSM CSD C AutoDial address C AutoDial domain nam Number 3 CSD SMS access control only C Callback AutoDial GSM CSD AutoDial IP address AutoDial domain nam 44 Mai 06 INSYS GPRS 5 0 serial Functions In a second step the IP target must be en tered GSMICSD number IP address Port Domain name E I Afterwards on the tab Basic settings Basic settings Inputsyputputs TCP transparent Access Control Autodial CSD connection the automatic call acceptance after 2 ring auto answer tones is required number of Rings before answering Mai 06 Functions INSYS GPRS 5 0 serial 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 49941586920 Enter allowed phone number 2 AT CLIP2 491712345678 Store destinat
74. ver data is no longer transmitted to the remote terminal The online command mode is also entered through DTR drop setting AT amp D1 or by activating the reset input twice within 10 seconds Hang up terminate connection to the other party The connection was terminated 5 3 4 Connection to analogue modems Transmission protocol to Modem ISDN o 600 bps V 32 Alternatively the settings can be entered or modified using the terminal program To call an analogue modem an analogue protocol must be set E g The protocol V 32 with a data rate of 9600 baud 5 3 5 Connection to ISDN TAs Transmission protocol to Modem ISDN 9 600 bps 110 M Alternatively the settings can be entered or modified using the terminal program To call an ISDN TA it is necessary to set the ISDN protocol V 110 While doing so it must be observed that the remote terminal has to work with the same protocol as well E g The protocol V 110 with a data rate of 9600 baud 36 lt 1 sec pause lt 1 sec pause gt ATH OK AT CBST lt n gt AT CBST 7 AT CBST lt n gt AT CBST 71 Mai 06 INSYS GPRS 5 0 serial Connection 5 4 Direct GPRS Connection via PPP When directly using the GPRS functionality of the GSM GPRS en gine the INSYS GPRS 5 0 serial will only make PPP raw data avail able after the dial up into the GPRS network has taken place In this case the application must perform the required protocol stacks

Download Pdf Manuals

image

Related Search

Related Contents

Lenmar PowerPort Wave 5000  DONNOS - Lasura para vallas nº 223  1 - Daitem  Samsung L310W Užívateľská príručka  Untitled  installation, operation and service manual titan scissors lift  Je reçois, dans le cadre de mon activité bénévole, le  7311-25-007 Title - Saskatoon Health Region  特 長  ipp-gb - Vollmer America  

Copyright © All rights reserved.
Failed to retrieve file