Siemens MD720-3 Manual

Siemens MD720-3 Manual

Sending and receiving of text messages via serial cps/cms and gprs/gsm modem
Hide thumbs Also See for MD720-3:

Advertisement

Quick Links

Library Description 12/2013
Sending and Receiving of
Text Messages via serial
CPs/CMs and GPRS/GSM
Modem MD720-3
CP340, CP341, CP441-2, 1SI, CM PtP, SINAUT MD720-3, STEP 7 V13
http://support.automation.siemens.com/WW/view/en/25545680

Advertisement

Table of Contents
loading

Summary of Contents for Siemens MD720-3

  • Page 1 Library Description 12/2013 Sending and Receiving of Text Messages via serial CPs/CMs and GPRS/GSM Modem MD720-3 CP340, CP341, CP441-2, 1SI, CM PtP, SINAUT MD720-3, STEP 7 V13 http://support.automation.siemens.com/WW/view/en/25545680...
  • Page 2: Warranty And Liability

    Application Examples at any time without prior notice. If there are any deviations between the recommendations provided in these Application Examples and other Siemens publications – e.g. Catalogs – the contents of the other documents have priority.
  • Page 3 FB SMS_sr_1SI and FBs SMS_sr_CP_xxx ........12 Function charts ................... 14 STATUS output of the function blocks ..........15 Registration process of the modem MD720-3........17 How to Work with the Library ................. 18 Preparation ..................18 Integrating the library into STEP 7 V13 ..........20 Integrating the library blocks into the STEP 7 V13 project ....
  • Page 4: Library Overview

    Library Overview This library enables you to send any messages (e.g., messages regarding the plant status) by SMS using the MD720-3 GSM modem to a GSM-capable mobile terminal and receive messages from this terminal. This document contains the description of the library available for download.
  • Page 5: Hardware And Software Requirements

    Order number Note CPU 1516-3 PN/DP 6ES7516-3AN00-0AB0 Alternatively, you can also employ a different S7-1500 CPU. CM PtP RS232 HF 6ES7541-1AD00-0AB0 alternative: alternative: CM PtP RS232 BA 6ES7540-1AD00-0AA0 Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 6 PN STANDARD head-end (PROFIBUS, for example). PM-E DC24V 6ES7138-4CA01-0AA0 ET 200S 1SI 3964/ASCII 6ES7138-4DF01-0AB0 ET 200S, TERM. MOD. 6ES7193-4CB20-0AA0 TM-E15S24-01 ET 200S, TERM.-MOD. 6ES7193-4CD20-0AA0 TM-P15S23-A0 Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 7 Do not send an SMS message containing the key word ‘ERROR’ or ‘OK’, CAUTION since MD720-3 evaluates these words when a faulty behavior occurs during sending the message from MD720-3 to the communication module. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0,...
  • Page 8 The following table shows the average times measured for initializing the modem and sending an SMS message. Table 1-10 Command Average time INIT 25 s SEND SMS MESSAGE 10 s Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 9: Block List

    Used send/receive system function SMS_sr_1SI ET 200S 1SI S_SEND, S_RCV SMS_sr_CM_PtP CM PtP Send_P2P, Receive_P2P SMS_sr_CP_340 CP340 P_SEND, P_RCV SMS_sr_CP_341 CP341 P_SND_RK, P_RCV_RK SMS_sr_CP_441 CP441-2 BSEND / BRCV string_to_DT Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 10 Permissible value: Max. 24 characters List (e.g. for Germany, see \ INIT BOOL Activates the initialization process Reacts only to a positive edge Deletes all SMS messages stored in the modem. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 11 The user must make sure to back up this data immediately after setting this bit. TRUE for only one cycle. POLLING BOOL Indicates that receive buffer polling of the modem is active. BOOL Release output. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 12 Permissible value: Max. 24 characters List (e.g. for Germany, see \ INIT BOOL Activates the initialization process Reacts only to a positive edge Deletes all SMS messages stored in the modem. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 13 The user must make sure to back up this data immediately after setting this bit. TRUE for only one cycle. POLLING BOOL Indicates that receive buffer polling of the modem is active. BOOL Release output. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 14: Function Charts

    1 min the modem, the timer starts TIMER_POL running Reaction block The duration depends on the number of received POLLING messages approx. Reaction block 20sec BUSY Reaction block SMS_NDR Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 15 16#8104 The SMS indicators could not be Restart initialization transferred. 16#8105 The storage duration of the SMS Restart initialization message could not be transferred to the modem. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 16 If the support does not lead to the desired result, it may be useful to load the MD720-3 factory settings. To do so, use a paper clip. Press the SET button until the “C” LED lights up and then remove the paper clip.
  • Page 17 The modem has to be in command phase for SMS operation (accepts AT Note commands). If this is not the case (e.g. due to modem in GPRS operation), the modem has to be reset to factory settings first. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 18 Open your existing STEP 7 V13 project. Configure the used communication module to the assigned parameters. “Device configuration> Device view> Double-click on CM PtP RS232> Properties> RS-232 interface” Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 19 Table of contents Setting the baud rate of the MD720-3 Communication module and MD720-3 must use the same baud rate. The baud rate on the MD720-3 is changed using a terminal program. Table 3-2 Step Procedure Connect a PC to the serial interface of the MD720-3.
  • Page 20 In the “Global Libraries” palette, click on “Open global library” in the toolbar or select “Global libraries > open library...” in the “Options” menu. The "Open global library" dialog box opens. Select the global SMS_MD720-3_Library_V13.al12. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 21 Compile the hardware and software of the S7 station: In the Project tree, right- click on the device and select the “Compile > Hardware and software (only changes)” menu. Download the new project to your controller. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 22 Delete all blocks of the old library in the “Program blocks” folder of your STEP 7 project. Do not delete the function block call in OB1. Chapter 3.3 Insert the elements of the new library as described in , steps 1 to step Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 23 DBs. Once you have inserted the updated blocks into your STEP 7 project, compile the software and save the project. The library update is now complete. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...
  • Page 24 S7-1500 Automation System http://support.automation.siemens.com/WW/view/en/59191792 \21\ List of short message service http://www.telespiegel.de/html/sms-kurzmitteilungszentralen.html centers History Table 5-1 Version Date Modifications V1.0 09/2013 First version of the library description for STEP 7 V13. Sending and Receiving SMS Messages with MD720-3 Entry ID: 25545680, V1.0, 12/2013...

This manual is also suitable for:

Cp340Cp341Cp441-21siCm ptpSinaut md720-3 ... Show all

Table of Contents