Siemens SIMATIC NET MODEM MD720 System Manual

Siemens SIMATIC NET MODEM MD720 System Manual

Gprs/gsm modem

Advertisement

Quick Links

SIMATIC NET
GPRS/GSM-Modem
MODEM MD720
System manual
DRAFT
Release 07/2013
Preface, Contents
Introduction
Inserting the SIM card
Connecting the device and
switching on the device
MODEM MD720 in Terminal
Mode
MODEM MD720 in OPC Mode
Service function
Technical Data
Glossary
1
2
3
4
5
6
7

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC NET MODEM MD720

  • Page 1 Preface, Contents SIMATIC NET GPRS/GSM-Modem Introduction MODEM MD720 Inserting the SIM card System manual Connecting the device and DRAFT switching on the device MODEM MD720 in Terminal Mode MODEM MD720 in OPC Mode Service function Technical Data Glossary Release 07/2013...
  • Page 2 Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
  • Page 3 General The product MODEM MD720 complies with European standard EN60950-1 Safety of Information Technology Equipment. Read the installation instructions carefully before using the device. Keep the device away from children, especially small children. The device must not be installed or operated outdoors or at damp locations. Do not operate the device if the connecting leads or the device itself are damaged.
  • Page 4 Radio device Warning Never use the device in places where the operation of radio devices is prohibited. The device contains a radio transmitter which could in certain circumstances impair the functionality of electronic medical devices such as hearing aids or pacemakers. You can obtain advice from your physician or the manufacturer of such devices.
  • Page 5 FCC Part 15.19 This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: 1. this device may not cause harmful interference, and 2. this device must accept any interference received, including interference that may cause undesired operation.
  • Page 6 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. Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 7: Preface

     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...
  • Page 8 Preface Do you still have questions relating to the use of the products described in the manual? If so, then please talk to your local Siemens contact. You will find the addresses in the following sources:  On the Internet at: http://www.siemens.com/automation/partner ...
  • Page 9: Table Of Contents

    Contents Preface ............................7 Introduction ........................11 Inserting the SIM card ....................13 Connecting the device and switching on the device ..........14 MODEM MD720 in Terminal Mode ................19 Terminal mode activation................... 19 Operating requirements in Terminal Mode: GPRS subscriber contract .... 20 Functions of the LEDs in Terminal Mode ............
  • Page 10 Contents Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 11: Introduction

    1 Introduction The MODEM MD720 has two different operation modes:  Terminal Mode  OPC Mode The functional range and the functionality of the device are different in both modes. The change between OPC Mode and Terminal Mode (refer to page 19 or page 54) forces a restart of the device.
  • Page 12 Introduction OPC-Modus The MODEM MD720 transmits data over via a GSM radio network (Global System for Mobile Communication).  using GPRS (General Packet Radio Service) between S7-200 devices and an OPC server SINAUT MICRO SC,  using SMS from a S7-200-device to any remote station, which can receive SMS.
  • Page 13: Inserting The Sim Card

    2 Inserting the SIM card Notice  The device must be switched off when you insert or change the SIM card.  A plug-in SIM card (ID-000) is used. Changing the SIM card If you change the SIM card, please do not forget to update also the PIN number in your application.
  • Page 14: Connecting The Device And Switching On The Device

    3 Connecting the device and switching on the device Connectors and LEDs Connector for supply voltage DC 24 V Interface X1 (RS232) for the application or a service PC SET button LEDs: S (Status), Q (Quality), C (Connect) Antenna connector 6, 9 Fixation for top rail mounting SIM card holder tray...
  • Page 15 Connecting the device and switching on the device Antenna The antenna connector – SMA socket - is situated on the upper part of the front. Impedance: approx. 50 Ohm Caution Please use only antennas of the MODEM MD720 accessory program. Other antennas may disturb the product characteristics and may even cause defects.
  • Page 16 Connecting the device and switching on the device For configuration and service: Connect the service PC via its serial interface (COM port). To connect, use a RS- 232 cable. Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 17 Connecting the device and switching on the device The SET button By pushing the SET button for a certain period of time, you can configure the device or activate different service modes. Pushing the SET button LED Status Function  The LED „S“...
  • Page 18 Connecting the device and switching on the device Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 19: Modem Md720 In Terminal Mode

    4 MODEM MD720 in Terminal Mode In the Terminal Mode the MODEM MD720 operates like a GSM modem, which is controlled by AT commands. Supported are  incoming and outgoing GSM data connections with 9600 bps with modems being connected to the GSM network, the ISDN or the analogue telephone network, ...
  • Page 20: Operating Requirements In Terminal Mode: Gprs Subscriber Contract

    MODEM MD720 in Terminal Mode Operating requirements in Terminal Mode: GPRS subscriber contract To use the MODEM MD720 in Terminal Mode it is required:  SIM card of a GSM network operator including CSD data service 9600 Bit/s and an extra telephone number for data calls, ...
  • Page 21: Terminal Mode Operation

    MODEM MD720 in Terminal Mode Terminal mode operation To operate the device the PIN (PIN = Personnel Identification Number) of the inserted SIM card must be known. In the Terminal Mode the PIN is not stored in the MODEM MD720. The PIN must be set again every time the device is turned- ●...
  • Page 22: Entering At Commands

    MODEM MD720 in Terminal Mode Entering AT commands The MODEM MD720 is controlled by AT commands, which are entered either by the connected application or manually by terminal program. Working with a terminal program To be able to control the device directly via AT commands, use a terminal program, e.g.
  • Page 23 MODEM MD720 in Terminal Mode The LED S (status) blinks fast If the modem blinks fast (4 times each second), either the SIM card was not detected correctly or the SIM card is PUK-blocked, because a wrong PIN has been entered too often.
  • Page 24: Use At Commands

    MODEM MD720 in Terminal Mode Use AT commands Syntax The AT command language is a standard for controlling modems. It is line- orientated. Each command line begins with AT (for ATtention), followed by the actual command, and ends with (Enter key). ATD444444¬...
  • Page 25 MODEM MD720 in Terminal Mode Enter the PIN Command: at+cpin="0000“ Response: OK Network-Status request Command: at+creg? Response: +CREG: 0,1 Firmware 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...
  • Page 26: Supported At Commands In Terminal Mode

    MODEM MD720 in Terminal Mode Supported AT commands in Terminal Mode All AT commands being not listed below will be answered with OK by the device, but the command will not be executed. Switch from data mode to command mode Execute command Command: Response:...
  • Page 27 MODEM MD720 in Terminal Mode Mobile originated Call to dial a number Executive command Command: ATD[<n>] Response: The connection cannot be established: NO DIALTONE BUSY NO CARRIER NO ANSWER Data connection successfully connected: CONNECT[<text>] <n>: Parameter: String of dialing digits and optionally V.25ter modifiers (dialing digits): 0-9, * , #, +, A, B, C Notice: Local Echo On/Off Executive command...
  • Page 28 MODEM MD720 in Terminal Mode Request identification information Read command ATI[<value>] Command: Response: <text> (depends on <value>) Parameter: <value>: none: Product name and Firmware Version Product name and Firmware Version Product name, Interface, Mode Product name and Firmware Version Notice: <text>...
  • Page 29 MODEM MD720 in Terminal Mode ATS0 Configures Automatic answering Executive command ATS0=<n> Command: Response: Parameter: <n>: automatic answering deactivated <Default> 1-255: number of rings before automatically answering Notice: GSM networks usually generate only 8-12 RING. If S0 is set to a higher value, calls are eventually not being answered.
  • Page 30 MODEM MD720 in Terminal Mode AT\Q Hardware Flow Control on/off Executive command Command: AT\Q<n> Response Parameter: <n>: Hardware Flow Control (RTS/CTS) off Hardware Flow Control (RTS/CTS) on Notice: Set CONNECT result code Format und Call monitoring Executive command ATX[<value>] Command: Response: Parameter: <value>:...
  • Page 31 MODEM MD720 in Terminal Mode AT&D Set circuit Data Terminal Ready (DTR) function mode Executive command Command: AT&D[<value>] Response: Parameter: <value>: Device ignores status on DTR. <Default> ON->OFF on DTR: Disconnect call, change to command mode. During state DTR = OFF is auto-answer off. Notice: AT&F Restore manufactory configuration...
  • Page 32 MODEM MD720 in Terminal Mode AT+CCLK Clock Test +CCLK=? Command: Response: Read command +CCLK? Command: Response: +CCLK: <time> Executive command AT+CCLK=<time> Command: Response: +CME ERROR: <err> Parameter: <time>: String variable; the format is "yy/MM/dd,hh:mm:sszz", with Year Month Minute Second Time zone, gives the difference between the local time and GMT, given in quarters of an hour;...
  • Page 33 MODEM MD720 in Terminal Mode AT+CRLP Radio link protocol Test Command: +CRLP=? Response: +CRLP: (list of supported <iws>s),(list of supported <mws>s), (list of supported <T1>s),(list of supported <N2>s),<ver1> ,(list of supported <T4>s) Read command Command: +CRLP? Response: +CRLP: <iws>,<mws>,<T1>,<N2>,<ver1>,<T4> Executive command Command: AT+CRLP=<iws>[,<mws>[,<T1>[,<N2>[,<ver>[,<T4>]]]]] Response:...
  • Page 34 MODEM MD720 in Terminal Mode AT+CPIN Enter PIN Test Command: AT+CPIN=? Response: Read command Command: AT+CPIN? Response: +CPIN: <code> Executive command Command: AT+CPIN=<pin> [,<newpin>] Response: Parameter: <code>: Values reserved by this device: READY Device is not pending for any password SIM PIN Device is waiting SIM PIN to be given SIM PUK...
  • Page 35 MODEM MD720 in Terminal Mode AT+CSQ Check Signal Quality Test Command: AT+CSQ=? Response: +CSQ: (list of supported <rssi>s),(list of supported <ber>s) Response: AT+CSQ Command: Response: +CSQ: <rssi>,<ber> Parameter: <rssi>: -113 dBm or less -111 dBm 2...30 -109... -53 dBm -51 dBm or greater not known or not detectable <ber>: 0...7...
  • Page 36 MODEM MD720 in Terminal Mode AT+CGDCONT Define PDP context Test Command: AT+CGDCONT=? Response: +CGDCONT: (Range of supported <cid>s), <PDP_type>,,,(List of supported <d_comp>s), (List of supported <h_comp>s) Read command AT+CGDCONT? Command: Response: If +CGDCONT is set: +CGDCONT: <cid>, <PDP_type>, <APN>,<PDP_addr>, <d_comp>, <h_comp> If +CGDCONT is not set: Executive command +CGDCONT=<cid>...
  • Page 37 MODEM MD720 in Terminal Mode AT+CGATT GPRS Attach or Detach Test AT+CGATT=? Command: Response: +CGATT: (list of supported <state>s) Read command AT+CGATT? Command: Response: +CGATT: <state> Executive command +CGATT=<state> Command: Response: Parameter: <state>: Indicates the state of GPRS attachment detached attached Notice: AT+CIMI...
  • Page 38 MODEM MD720 in Terminal Mode AT+CPAS Phone activity status Test Command: AT+CPAS=? Response: +CPAS: (list of supported <pas>s) Read command AT+CPAS Command: Response: +CPAS: <pas> Parameter: <pas>: ready (device allows commands from application) unavailable (device does not allow commands from application) unknown (device is not guaranteed to respond to instructions) ringing (device is ready for commands from application, but the ringer is active) call in progress (device is ready for commands from application, but a call is in...
  • Page 39 MODEM MD720 in Terminal Mode AT+CPMS Preferred Message Storage Test Command: AT+CPMS=? +CPMS: (list of supported <mem1>s),(list of supported <mem2>s),(list of supported Response: <mem3>s), Read command Command: AT+CPMS? Response: +CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>, <used3>,<total3> Executive command AT+CPMS= <mem1>,<mem2>,<mem3> Command: Response: +CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3> Parameter: The executive command selects the SMS storage <mem<x>>, being used to read, write, etc.
  • Page 40 MODEM MD720 in Terminal Mode AT+CNUM Subscriber number Test Command: AT+CNUM=? Response: Executive command Command: AT+CNUM Response: +CNUM: [<alpha1>],<number1>,<type1>[,<speed>,<service>[,<itc>]] [<CR><LF>+CNUM: [<alpha2>],<number2>,<type2>[,<speed>,<service> [,<itc>]] [...]] Parameter: <alpha>: optional alphanumeric string associated with <number>; used character set should be the one selected with command Select TE Character Set +CSCS <number>: string type phone number of format specified by <type>...
  • Page 41 MODEM MD720 in Terminal Mode AT+CBST Select bearer service type Read command AT+CBST=? Command: Response: +CBST: (list of supported <speed>s),(list of supported <name>s),(list of sup- ported <ce>s) Executive command Command: AT+CBST=[<speed> [,<name>[,<ce>]]] Response: Parameter: <speed>: 2400 bps (V.22bis) 4800 bps (V.32) 9600 bps (V.32) 2400 bps (V.110 or X.31 flag stuffing) 4800 bps (V.110 or X.31 flag stuffing)
  • Page 42 MODEM MD720 in Terminal Mode AT+CMGF Select SMS message format Test AT+CMGF=? Command: Response: +CMGF: (list of supported <mode>s) Read command Command: AT+CMGF? Response: +CMGF: <mode> Executive command Command: AT+CMGF=[<mode>] Response: Parameter: <mode>: PDU mode Text mode Notice: Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 43 MODEM MD720 in Terminal Mode AT+ CMGL List SMS messages from preferred storage Test Command: AT+CMGL=? Response: +CMGL: (list of supported <stat>s) Executive command Command: AT+CMGL[=<stat>] Response: In text mode (+CMGF=1) and successfully executed command and SMS-SUBMITs and/or SMS-DELIVERs: If <stat> = "REC READ" or "REC UNREAD" +CMGL: <index>,<stat>,<oa/da>,<scts>,<length>...
  • Page 44 MODEM MD720 in Terminal Mode Parameter: <index> integer type; value in the range of location numbers supported by the associated memory <stat> integer type (default 0: "REC UNREAD"); indicates the status of message in memory; defined values: 0 "REC UNREAD" received unread message (i.e. new message) 1 "REC READ"...
  • Page 45 MODEM MD720 in Terminal Mode AT+CMGS Sending SMS Test AT+CMGS=? Command: Response: Executive command In text modus (+CMGF=1): Command: +CMGS=<da>,<toda><CR> > text is entered<ctrl-Z/ESC> In PDU mode (+CMGF=0): AT+CMGS=<length><CR> enter PDU <ctrl-Z/ESC> In text mode (+CMGF=1) and successful sending: Response: +CMGS: 0 If sending fails: +CMS ERROR: <err>...
  • Page 46 MODEM MD720 in Terminal Mode AT+CNMI New SMS message indication Test Command: AT+CNMI=? Response: +CNMI: (list of supported <mode>s), (list of supported <mt>s), (list of supported <bm>s), (list of supported <ds>s), (list of supported <bfr>s) 2. Read command AT+CNMI? Command: Response: +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>,OK Executive command...
  • Page 47 MODEM MD720 in Terminal Mode AT+CREG Network registration Test AT+CREG=? Command: +CREG: (list of supported <n>s) Response: Read command AT+CREG? Command: +CREG: <n>,<stat>[,<lac>,<ci>] Response: Executive command AT+CREG=<n>,<stat> Command: Response: Parameter: <n>: disable network registration unsolicited result code enable network registration unsolicited result code +CREG: <stat> enable network registration and location information unsolicited result code +CREG: <stat>[,<lac>,<ci>] <stat>:...
  • Page 48 MODEM MD720 in Terminal Mode AT+CSCA SMS service center address Test Command: AT+CSCA=? Response: Read command Command: AT+CSCA? Response: +CSCA: <sca>,<tosca> Executive command AT+CSCA=<sca>[,<tosca>] Command: Response: Parameter: <sca> “Phone number SMS-ServiceCenters” <tosca> 129, 145 Notice: Executive command updates the SMSC address, through which mobile originated SMS are transmitted.
  • Page 49 MODEM MD720 in Terminal Mode AT+CSMP Set SMS text mode parameters Test Command: AT+CSMP=? Response: +CSMP: (list of <fo>),(list of <vp>),(list of <pid>),(list of <dcs>) Read command Command: AT+CSMP? Response: +CSMP: <fo>,<vp>,<pid>,<dcs> Executive command Command: AT+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]] Response: Parameter: <fo> <vp> Determines the period of time the SMS will be stored in the SMS Service Center: 0 to 143: (<vp>...
  • Page 50 MODEM MD720 in Terminal Mode AT+CRC Set Cellular Result Codes for incoming call indication Test Command: AT+CRC=? Response: +CRC: (list of supported <mode>) Read command AT+CRC? Command: Response: +CRC:<mode> Executive command Command: AT+CRC=[<mode>] Response: <mode>: Parameter: disable extended format enable extended format Notice: When enabled, an incoming call is indicated with +CRING: <type>...
  • Page 51 MODEM MD720 in Terminal Mode AT+KHNDVR Selecting mobile / stationary operation Read command Command: + KHNDVR? Response: + KHNDVR <stat> Executive command Command: + KHNDVR<stat> Response: Parameter: <stat>: Setting for data calls (CSD 9600 Bit/s) in mobile operation 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.
  • Page 52 MODEM MD720 in Terminal Mode Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 53: Modem Md720 In Opc Mode

    5 MODEM MD720 in OPC Mode GPRS modem In the OPC Mode the MODEM MD720 is configured by program building blocks of the connected S7-200 PLC. The MODEM MD720 establishes autonomous the radio data connection via GPRS between the connected S7-200 device and the OPC server SINAUT MICRO SC.
  • Page 54: Opc Mode Activation

    MODEM MD720 in OPC Mode OPC Mode activation Terminal mode is factory default setting The MODEM MD720 supports two fundamental operating modes: ● Terminal mode ● OPC Mode. The MODEM MD720 will be delivered by the factory with activated Terminal Mode. Automatic activation by the PLC Operating the MODEM MD720 in OPC Mode combined with S7-200 devices, the OPC Mode will be activated by the program building blocks automatically during...
  • Page 55: Functions Of The Leds In Opc Mode

    MODEM MD720 in OPC Mode Functions of the LEDs in OPC Mode The device is equipped with 3 LEDs which indicate the status: S (Status) Q (Quality) C (Connect) Status Meaning S, Q, C Fast lighting in sequence Boot procedure combined Synchronous slow blinking Service mode...
  • Page 56: Pin In Opc-Mode

    MODEM MD720 in OPC Mode PIN in OPC-Mode Enter the PIN If the LED “S” blinks slowly (1 time per second), the MODEM MD720 waits for a PIN entry. In OPC-Mode the PIN is sent by the connected PLC to the MODEM MD720. Therefore you need to enter the PIN in the data module of your SPS program with reference to the program module WDC_INIT (See System manual SINAUT MICRO SC).
  • Page 57 MODEM MD720 in OPC Mode 1. Please make sure, that the correct PIN is entered into the PLC program module. 2. Push the SET button until the factory default settings has been loaded (Attention, all settings will be reset) Enter the following AT commands: AT^PARSTART AT^PARCSE AT^PAREND...
  • Page 58: Log In To Sinaut Micro Sc

    MODEM MD720 in OPC Mode Log in to SINAUT MICRO SC After the SINAUT MG720-3 is switched on and configured by the control or after a connection is broken off the MODEM MD720 starts at once to connect itself with the OPC Server SIANAUT MICRO SC, if the MODEM MD720 is in OPC mode.
  • Page 59: Service Functions

    6 Service functions 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.
  • Page 60 Service functions Deactivates the AT configuration and forces a restart of the MODEM MD720. The device restarts in the selected new operating mode. Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 61: Getting The Current Settings And Values

    Service functions Getting the current settings and values Connect your PC to the interface X1 and start a terminal software, e.g. HyperTerminal. Select the used COM interface of the PC and configure the character format and the baudrate to the same settings as the X1 interface of the MODEM MD720.
  • Page 62: Load Factory Defaults

    Service functions 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. Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 63: Technical Data

    7 Technical Data Interface X1 Function GPRS connections to SINAUT MICRO SC GSM data calls (CSD 9.600 bps) MTC SMS sending Standard RS232 (V.24 / V.28), plug: D-SUB 9 pins Default speed 9600 bps Control AT commands Air interface GSM module GPRS / CSD / Quad band GPRS Up to 2 uplinks / up to 4 downlinks (max.
  • Page 64 Technical Data Supply current / no In 90mA at 12V connection or In 50mA at 24V connection to In 40mA at 30V SINAUT MICRO SC without data exchange Temperature range Operation: –20°C up to +60°C Ambient –25°C up to +85°C conditions Storage: Humidity...
  • Page 65 Technical Data Modem cable for Service Interface to Modem to PC DSUB DSUB 9-pin 9-pin connector plug The line RI is an option. Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 66 Technical Data Fehler! Verweisquelle konnte nicht gefunden werden.
  • Page 67: Glossary

    Glossary Global standard for wireless telephony, data and fax transmission and transmission of text messages (SMS). GSM based networks are Global System for available in a lot of countries world-wide, with high coverage in Europe, Mobile China, Latin America as well as in regions of the USA, Africa and Communication Russia.

Table of Contents