background image

 

Fehler! Verweisquelle konnte nicht gefunden werden.

 

59

 

 

6 Service functions 

 

6.1 

Switching between Terminal mode and OPC Mode 

The MODEM  MD720 is delivered by the factory with activated Terminal Mode. 

Operated in combination with a S7-200 the OPC Mode of the MODEM  MD720 will 
be activated by program building blocks of the connected S7-200 PLC during the 
initialization. 

 

Manual switching 

There are the following two methods to switch the MODEM  MD720 manually from 
the Terminal Mode into the OPC Mode and vice versa. 

Change the operating mode by AT commands. Enter therefore the following 
commands: 

 

+++ 

 

Activates the AT command interface and interrupts the data transfer. 

 

 

AT^PARSTART<CR> 

 

Activates the AT configuration  

 

  

AT^PARSET=”TERMINAL”,”MODE”,”SUPERVISED” <CR> 

 

Selects the Terminal Mode, or 

 

 

AT^PARSET=”TERMINAL”,”MODE”,”

 

DISABLE

 

”<CR> 

 

Selects the OPC Mode.  

 

 

AT^PAREND<CR> 

Summary of Contents for SIMATIC NET MODEM MD720

Page 1: ...tem manual DRAFT Preface Contents Introduction 1 Inserting the SIM card 2 Connecting the device and switching on the device 3 MODEM MD720 in Terminal Mode 4 MODEM MD720 in OPC Mode 5 Service function 6 Technical Data 7 Glossary Release 07 2013 ...

Page 2: ... this documentation Commissioning and operation of a device system may only be performed by qualified personnel Within the context of the safety notes in this documentation qualified persons are defined as persons who are authorized to commission ground and label devices systems and circuits in accordance with established safety practices and standards Prescribed Usage Note the following Warning T...

Page 3: ...ator make sure that an all pole circuit breaker main battery switch with sufficient selectivity and a fuse with sufficient selectivity e g 32 V 3A are provided between the device and the battery or accumulator Please pay regard to section 7 Technical Data of the system manual as well as the installation and utilization regulations of the respective manufacturers of the power supply the battery or ...

Page 4: ...a regulations FCC Part 15 This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the i...

Page 5: ... the antenna as well as servicing is to be performed by qualified technical personnel only When servicing the antenna or working at distances closer than those listed below ensure the transmitter has been disabled RF Exposure mobile Caution Typically the antenna connected to the transmitter is an omni directional antenna with 0dB gain Using this antenna the total composite power in PCS mode is sma...

Page 6: ...funden werden Caution Please note that data packets exchanged for setting up connections reconnecting connect attempts e g Server switched off wrong destination address etc as well as keeping the connection alive are also subject to charge ...

Page 7: ...2 Fax 49 0 180 5050 223 You will find further information on our Technical Support on the Web at http www siemens com automation service Service Support on the Internet In addition to our documentation services you can also make use of all our knowledge on the Internet http www siemens com automation service support Here you will find Up to date product information Updates FAQs Frequently Asked Qu...

Page 8: ... for SIMATIC NET products In the catalog CA 01 In the catalog IK PI specifically for SIMATIC NET products SIMATIC training center To familiarize you with the systems and products we offer a range of courses Please contact your regional training center or the central training center in D 90327 Nuernberg Phone 49 911 895 3200 http www sitrain com SIMATIC NET training center For courses specifically ...

Page 9: ...minal Mode 20 4 4 Terminal mode operation 21 4 5 Entering AT commands 22 4 6 Use AT commands 24 4 7 Supported AT commands in Terminal Mode 26 5 MODEM MD720 in OPC Mode 53 5 1 OPC Mode activation 54 5 2 Operating requirements in OPC Mode GPRS subscriber contract 54 5 3 Functions of the LEDs in OPC Mode 55 5 4 PIN in OPC Mode 56 5 5 Log in to SINAUT MICRO SC 58 6 Service functions 59 6 1 Switching b...

Page 10: ...Contents 10 Fehler Verweisquelle konnte nicht gefunden werden ...

Page 11: ...d Terminal Mode refer to page 19 or page 54 forces a restart of the device Terminal mode The MODEM MD720 establishes radio data connections via a GSM network Global System for Mobile Communication using modem connections via CSD Circuit Switched Data by sending SMS Short Message Service Notice You will find further information about the Terminal Mode and its use in combination with TIM devices of ...

Page 12: ...ices and an OPC server SINAUT MICRO SC using SMS from a S7 200 device to any remote station which can receive SMS Therefore the MODEM MD720 will be configured by program building blocks of the connected PLC The MODEM MD720 establishes autonomous the radio data connection via GPRS between a S7 200 device and the OPC server SINAUT MICRO SC Notice You will find information about the OPC Mode in the s...

Page 13: ...IM card If you change the SIM card please do not forget to update also the PIN number in your application If you use a lot of SIM cards it can be helpful to set all PINs to the same PIN number You can do this i e by using a mobile phone Please observe the security requirements of your organization To insert the SIM card proceed as follows 1 Make sure that the device is disconnected from the supply...

Page 14: ... on the device 3 Connectors and LEDs 1 Connector for supply voltage DC 24 V 2 Interface X1 RS232 for the application or a service PC 3 SET button 4 LEDs S Status Q Quality C Connect 5 Antenna connector 6 9 Fixation for top rail mounting 7 SIM card holder tray 8 Button to access the SIM card ...

Page 15: ...efunden werden Both screw terminals on the right 0V are internally connected Switching on The devices switch on as soon as the operating voltage is supplied Functions of the LEDs The MODEM MD720 has three LEDs which are used to indicate the device status The function of the LEDs is different in terminal and OPC Mode You will find the explanation of the function in Terminal Mode in chapter 4 3 Func...

Page 16: ...g the device and switching on the device 16 Fehler Verweisquelle konnte nicht gefunden werden For configuration and service Connect the service PC via its serial interface COM port To connect use a RS 232 cable ...

Page 17: ...ation for less than 2 seconds The LED S Status begins to light Dump of current settings and values issued via the RS232 interface during operation for 2 4 seconds The LED Q Quality begins to light Service mode to download a new firmware during operation for more than 4 seconds Die LED C Connect begins to light Load factory settings Top hat rail mounting The MODEM MD720 is suitable for top hat rail...

Page 18: ...Connecting the device and switching on the device 18 Fehler Verweisquelle konnte nicht gefunden werden ...

Page 19: ...gue telephone network sending of SMS Short Message Service 4 1 Terminal mode activation Terminal mode is the factory default setting The MODEM MD720 supports two fundamental operation modes Terminal Mode OPC Mode The MODEM MD720 is delivered by the factory with activated Terminal Mode Switching from OPC Mode into the Terminal Mode If it is necessary to switch a manually the MODEM MD720 from OPC Mo...

Page 20: ...tus S Status Q Quality C Connect LED Status Meaning S Q C combined Fast lighting in sequence Boot procedure Synchronous slow blinking Service mode Slow lighting in sequence Update Synchronous fast blinking Error S Status Blinks slowly Device waiting for PIN input Blinks fast PIN error SIM error Q Quality Blinks slowly Booking into GSM network 1x intermittent blinking Field strength not sufficient ...

Page 21: ... computer will control the MODEM MD720 So wits the commands to establish or to disconnect a data connection via the GSM network are given by the application to the device For this purpose the application and the device communicates using AT commands like other types of modems The sending of SMS is handled in the same way Direct control using AT command You can also enter manually AT commands to co...

Page 22: ...evice is connected Speed 19200 Bit s Data bits 8 Parity No Stop bits 1 Duplex Full PIN in Terminal Mode Enter the PIN If the LED S blinks slowly 1 time each second the MODEM MD720 waits for a PIN entry In Terminal Mode the PIN need to be entered using the AT command AT CPIN Example Command at cpin 0000 Input incl Response OK The number of permitted trial to enter the PIN is limited by the SIM card...

Page 23: ...he PUK and then a PIN You can use a common mobile phone to do this Before you enter again the SIM card into the MODEM MD720 please investigate why the SIM card has been PUK blocked Which PIN have you entered or which PIN has your application sent to the MODEM MD720 Changing the SIM card If you change the SIM card please do not forget to update also the PIN number in your application If you use a l...

Page 24: ... Command phase Transparent phase The device accepts AT commands only when it is in Command Phase It is in Command Phase when there is no active connection when the sequence Pause has been entered during a connection The device does not accept AT commands when it is in Transparent Phase It is in Transparent Phase when there is an active connection when the device has been switched to Command Mode d...

Page 25: ...irmware Version request Command ati3 Response SIE3171 MODEM MD720 V 1 7 00 19 05 2006 CSD call outgoing Command atd0123456789 Response CONNECT CSD call incoming Response RING Command ata Response CONNECT Sending SMS Command at cmgf 1 Response OK Command at cmgs phonenumber 145 Command Text of the SMS max 160 characters End and sending with Strg Z Response CMGS 251 value is an example OK ...

Page 26: ... mode This allows to enter AT commands while maintaining the data connection to the remote device Parameter Notice To return to data mode use the ATO command Line does not need to end with terminating character i e CR LF A Repeat previous command line Executive command Command A Response Depend on the previous command Parameter Notice Line does not need to end with terminating character i e CR LF ...

Page 27: ...ly V 25ter modifiers dialing digits 0 9 A B C Notice ATE Local Echo On Off Executive command Command ATE value Response OK Parameter value 0 Local Echo off 1 Local Echo on Default Notice This setting determines whether or not the device echoes characters received from application during command state ATH Disconnect existing connection Executive command Command ATH Response OK Parameter Notice On t...

Page 28: ...turns to data mode from command mode CONNECT text If connection is not successfully resumed NO CARRIER Parameter n 0 switch from command mode to data mode Notice ATO corresponds to the escape sequence ATQ Set result code presentation mode Executive command Command ATQ n Response OK if n 0 Nothing if n 1 Parameter n 0 result codes transmitted by the device Default 1 no result code transmitted by th...

Page 29: ...ion text CR LF Result Code short format numeric code CR 1 Information CR LF text CR LF Result Code long format CR LF verbose code CR Default Notice This parameter setting determines the contents of the header and trailer transmitted with result codes and information responses Result codes numeric or verbose OK 0 Command executed no error Restart executed CONNECT 1 Connection established RING 2 Rin...

Page 30: ...returned dial tone and busy detection are both disabled Default 1 CONNECT text result code only returned dial tone and busy detection are both disabled 2 same as 1 3 same as 1 4 same as 1 Notice The term tone is used in analogue telephone networks The status No dialtone will usually not appear as soon as the device is booked into a GSM network A Busy message will be transmitted AT C AT C Set circu...

Page 31: ... AT D AT Q and ATS0 AT W Save stored profile Executive command Command AT W n Response OK Parameter n None Saving in Profile 0 0 Saving in Profile 0 Notice This command saves the current configuration in a non volatile memory of the commands ATE ATQ ATV ATX AT C AT D AT Q and ATS0 The configuration can be reloaded with ATZ Before the first saving the profile is the same as the default configuratio...

Page 32: ... command Command AT CCLK time Response OK CME ERROR err Parameter time String variable the format is yy MM dd hh mm ss zz with yy Year MM Month dd Day mm Minute ss Second zz Time zone gives the difference between the local time and GMT given in quarters of an hour the range of values is 47 48 Example 6th of may 1994 22 10 00 GMT 2 hours corresponds to 94 05 06 22 10 00 08 Notice ...

Page 33: ...RLP Response CRLP iws mws T1 N2 ver1 T4 Executive command Command AT CRLP iws mws T1 N2 ver T4 Response OK Parameter ver RLP version number as Integer variable Version number 0 indicates RLP version indication not available iws Window size IWF to MS mws Window size MS to IWF T1 Acknowledge timer T1 N2 Retransmission attempts N2 T4 Re sequencing period T4 as Integer variable Notice Default values a...

Page 34: ...to be given this code is recommended to be returned only when the last executed command resulted in PIN2 authentication failure i e CME ERROR 17 if PIN2 is not entered right after the failure it is recommended that ME does not block its operation SIM PUK2 Device is waiting SIM PUK2 to be given this code is recommended to be returned only when the last executed command resulted in PUK2 authenticati...

Page 35: ...m or less 1 111 dBm 2 30 109 53 dBm 31 51 dBm or greater 99 not known or not detectable ber 0 7 as RXQUAL values in the table in GSM 05 08 20 subclause 8 2 4 99 not known or not detectable Notice The read command AT CSQ returns an error AT CGSN Request product serial number identification IMEI identical to GSN Test Command AT CGSN Response OK Read command Command AT CGSN Response sn identification...

Page 36: ... the PDP As only IP is currently supported it shall be an IP address If the value is null 0 0 0 0 or 0 then a value may be provided by the TE during the PDP startup procedure or failing that a dynamic address will be requested The read form of the command will continue to return the null string even if an address has been allocated during the PDP startup procedure The allocated address may be read...

Page 37: ... s Read command Command AT CGATT Response CGATT state Executive command Command CGATT state Response OK Parameter state Indicates the state of GPRS attachment 0 detached 1 attached Notice AT CIMI Request international subscriber identity Test Command AT CIMI Response OK Read command Command AT CIMI Response IMSI International Mobile Subscriber Identify OK Parameter Notice ...

Page 38: ...d AT CPAS Response CPAS pas OK Parameter pas 0 ready device allows commands from application 1 unavailable device does not allow commands from application 2 unknown device is not guaranteed to respond to instructions 3 ringing device is ready for commands from application but the ringer is active 4 call in progress device is ready for commands from application but a call is in progress Notice ...

Page 39: ...e storage on SIM card ME Message storage on device MT Sum of message storage on SIM card and device mem2 Memory to be used for writing and sending of messages SM Message storage on SIM card ME Message storage on device MT Sum of message storage on SIM card and device mem3 Memory to be used for storage of received messages if the routing to the connected application is not possible Refer to command...

Page 40: ...tring type phone number of format specified by type type type of address octet in integer format refer GSM 04 08 8 subclause 10 5 4 7 speed service service related to the phone number 0 asynchronous modem 1 synchronous modem 2 PAD Access asynchronous 3 Packet Access synchronous 4 voice 5 fax also all other values below 128 are reserved by the present document itc information transfer capability 0 ...

Page 41: ...110 or X 31 flag stuffing 71 9600 bps V 110 or X 31 flag stuffing name 0 data circuit asynchronous UDI or 3 1 kHz modem 1 Not supported ce 0 transparent 1 non transparent Notice Set command selects the bearer service name with data rate speed and the connection element ce to be used when data calls are originated AT CMGD Delete a SMS Test Command AT CMGD Response CMS ERROR err Read command Command...

Page 42: ...cht gefunden werden AT CMGF Select SMS message format Test Command AT CMGF Response CMGF list of supported mode s OK Read command Command AT CMGF Response CMGF mode OK Executive command Command AT CMGF mode Response OK Parameter mode 0 PDU mode 1 Text mode Notice ...

Page 43: ...y executed command and SMS SUBMITs and or SMS DELIVERs If stat REC READ or REC UNREAD CMGL index stat oa da scts length CR LF data CR LF CMGL index stat oa da scts length CR LF data CR LF If stat STO UNSENT or STO SENT CMGL index stat oa da length CR LF data CR LF CMGL index stat oa da length CR LF data CR LF In other cases CMS ERROR err In PDU mode CMGF 0 and successfully executed command CMGL in...

Page 44: ...value indicating the length in characters of the message body data data GSM 03 40 TP User Data in text mode responses Notice The execute command indicates the state stat of the preferred SMS storage mem1 AT CMGR Read SMS message Test Command AT CMGR Response OK Executive command Command AT CMGR index Response In text mode CMGF 1 If command is executed successfully and SMS DELIVER CMGR stat oa scts...

Page 45: ...the text mode CMGF 1 the length of the message body data or cdata in characters or in PDU mode CMGF 0 the length of the actual TP data unit in octets i e the RP layer SMSC address octets are not counted in the length Notice The device shall send a four character sequence CR LF greater_than space IRA 13 10 62 32 after command line is terminated with CR after that PDU can be given from application t...

Page 46: ... received message unsolicited result codes when the link between the device and the connected application is reserved Otherwise forward them directly to the connected application 2 Buffer unsolicited result codes in the device when the link between the device and the connected application is reserved e g in on line data mode and flush them to the connected application after reservation Otherwise f...

Page 47: ... unsolicited result code CREG stat lac ci stat 0 not registered ME is not currently searching a new operator to register to 1 registered home network 2 not registered but ME is currently searching a new operator to register to 3 registration denied 4 unknown 5 registered roaming lac string type two byte location area code in hexadecimal format e g 00C3 equals 195 in decimal ci string type two byte...

Page 48: ... Executive command Command AT CSCA sca tosca Response OK Parameter sca Phone number SMS ServiceCenters tosca 129 145 Notice Executive command updates the SMSC address through which mobile originated SMS are transmitted In text mode settings are used by send and write commands In PDU mode setting is used by the same commands but only when the length of the SMSC address coded into pdu parameter equa...

Page 49: ...nse OK Parameter fo 17 vp Determines the period of time the SMS will be stored in the SMS Service Center 0 to 143 vp 1 5 minutes e g 5 minutes interval up to 12 hours 144 to 167 12 hours vp 143 x 30 minutes 168 to 196 vp 166 x 1 day 197 to 255 vp 192 x 1 week pid 0 dcs 0 Notice Until firmware version 1 6 inclusive only the vp values 71 167 173 and 255 have been supported In the composite AT comman...

Page 50: ...ode Response OK Parameter mode 0 disable extended format 1 enable extended format Notice When enabled an incoming call is indicated with CRING type with type FAX or VOICE AT IPR Set fixed local rate Test Command AT IPR Response IPR list of supported auto detectable rate s list of supported fixed only rate s Read command Command AT IPR Response IPR rate OK Executive command Command AT IPR rate Resp...

Page 51: ...n 1 Setting for data calls CSD 9600 Bit s in stationary operation Notice The command has no impact to GPRS connections or the sending of SMS In mobile operation stat must be set to zero Composed AT commands The initialization strings below are accepted by the MODEM MD720 The reaction to the separate commands correspondingly TIM device ATE0S0 1 D2 CBST 71 0 1 CRC 1 W IPR 19200 S7 2xx device ATE0S0 ...

Page 52: ...MODEM MD720 in Terminal Mode 52 Fehler Verweisquelle konnte nicht gefunden werden ...

Page 53: ...C server SINAUT MICRO SC SMS Adapter In addition also in OPC Mode the connected S7 200 device can send messages by SMS directly to other subscribers of the SMS service or through gateways to fax machines To send a SMS the GPRS connection to the OPC server SINAUT MICRO SC will be interrupted GSM Modem Also the MODEM MD720 in OPC Mode can answer service data calls from analog modems ISDN modems or G...

Page 54: ...Mode will be activated by the program building blocks automatically during the initialization Manual activation If in exceptional cases a manual activation of the OPC Mode is necessary you will find instructions in chapter 6 1 Switching between Terminal mode and OPC Mode 5 2 Operating requirements in OPC Mode GPRS subscriber contract To use the MODEM MD720 in OPC Mode it is required SIM card of a ...

Page 55: ... Blinks slowly Device waiting for PIN input Blinks fast PIN error SIM error OFF No GPRS attach ON GPRS attach Q Quality Blinks slowly Booking into GSM network 1x intermittent blinking Field strength not sufficient 2x intermittent blinking Field strength sufficient 3x intermittent blinking Field strength medium ON permanently Field strength high OFF Waiting for PIN input C Connect OFF No connection...

Page 56: ...efer to chapter 2 Inserting the SIM card 2 Please check if the SIM card is PUK blocked Insert the SIM card into a common mobile phone The mobile phone will display if the SIM card is PUK blocked If the SIM card is PUK blocked please enter the PUK and then a PIN You can use a common mobile phone to do this 3 Before you enter again the SIM card into the MODEM MD720 please investigate why the SIM car...

Page 57: ... will perform a restart and is ready of operation again Changing the SIM card If you change the SIM card please do not forget to update also the PIN number in your application If you use a lot of SIM cards it can be helpful to set all PINs to the same PIN number You can do this i e by using a mobile phone Please observe the security requirements of your organization PIN less SIM cards The device o...

Page 58: ...If the trial of the MODEM MD720 to connect with the OPC Server SIANAUT MICRO SC does not succeed it will start another trial according to the following scheme After switching on 3 trials in succession After about 2 minutes of waiting 3 trials in succession After about 4 minutes of waiting 3 trials in succession After about 6 minutes of waiting 3 trials in succession After about 10 minutes of waiti...

Page 59: ...connected S7 200 PLC during the initialization Manual switching There are the following two methods to switch the MODEM MD720 manually from the Terminal Mode into the OPC Mode and vice versa Change the operating mode by AT commands Enter therefore the following commands Activates the AT command interface and interrupts the data transfer AT PARSTART CR Activates the AT configuration AT PARSET TERMI...

Page 60: ...Service functions 60 Fehler Verweisquelle konnte nicht gefunden werden Deactivates the AT configuration and forces a restart of the MODEM MD720 The device restarts in the selected new operating mode ...

Page 61: ...ed IP address OPC Mode Remote Host 217 6 61 22 IP address of the OPC servers OPC Mode Destination Port 20030 Port address of the OPC server OPC Mode Source Port 26863 Own port address OPC Mode Remote Host2 Reserved Destination Port2 26862 Reserved Source Port2 RANDOM Reserved Server Mode TSC Reserved Server Line LL Reserved Server Username st User name at the OPC server OPC Mode Server Username2 G...

Page 62: ...erweisquelle konnte nicht gefunden werden 6 3 Load factory defaults By pushing the SET button for more than 4 seconds till the LED C begins to light up the configuration of the MODEM MD720 will be reset to factory default settings ...

Page 63: ... downlinks max 5 Slots Transmit power GSM 850 MHz max 2W GSM 900 MHz max 2W DCS 1800 MHz max 1W PCS 1900 MHz max 1W Antenna connector SMA 50 Ohm Power supply power consumption typ 5 5W Supply voltage 12 30 VDC 24 VDC nominal Supply current Established GPRS connection with data exchange 1000 200 400 600 800 1200 1400 mA ms 10 20 30 40 50 70 60 80 90 100 IBurst at 12V 1000 200 400 600 800 1200 1400 ...

Page 64: ...il housing Material Synthetic material Protection category IP30 Dimensions 30 x 100 x 90 mm Weight Approx 150g Approvals CE Yes R TTE EN 301 511 EN 301 489 1 7 EMV ESD EN 55024 EN 55022 Class B EN 61131 2 ATEX III 3 G EEx nA II T4 Ta 20 C 60 C FM CLI DIV2 GP A B C D T4 Ta 20 C 60 C CLI Zone 2 IIC T4 Ta 20 C 60 C UL E301826 Interface X1 Signals Signal direction DTE SUB D9 socket Pin assignment RS23...

Page 65: ...Technical Data Fehler Verweisquelle konnte nicht gefunden werden 65 Modem cable for Service Interface The line RI is an option to Modem DSUB 9 pin connector to PC DSUB 9 pin plug ...

Page 66: ...Technical Data 66 Fehler Verweisquelle konnte nicht gefunden werden ...

Page 67: ...connections are supported GPRS General Packet Radio Service GSM service for IP based data transmission Over GPRS network connections are established either to the internet or to private networks Data are transmitted using the internet protocols TCP IP or UDP IP OPC OPC covers a series of specification for data exchange in automation technologies between control devices sensors etc and control syst...

Reviews: