Scenario: "Receiving A Remote Query Of A Value - Siemens SIMATIC S7-300 Manual

Sending and receiving sms messages via serial cps and the md720-3 gprs/gsm modem
Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

2 Solution
2.2 Description of the core functionality
2.2.4

Scenario: "Receiving a remote query of a value"

Figure 2-5
Remote query via SMS
Send
query
'?Temp1'
In this scenario, the user wants to query a specific value from the controller. To do
so, he/she sends a specific command string to the controller by SMS.
The controller replies with the aid of the FB "SMS_Meld" user block and the FC
"SMS_MNG" user function.
FB "SMS_Meld" interprets the receive text of the SMS message and assigns an
Order_No to the command string. This number is transferred to FC "SMS_MNG",
which transfers the desired value and the appropriate Message_No back to the FB
"SMS_Meld" block.
An SMS message is then sent back to the user.
Advantages of these solutions
The solutions presented here offer you the following advantages:
The code of the FB "SMS_Meld" block can be used as a basis and adjusted
to your individual signaling or command scenarios (for example, any SMS re-
cipients, any text messages, any command strings, etc.).
The FB "SMS_sr_CPxxx" SMS block for sending and receiving SMS mes-
sages used in the solutions is available in a separate library for each serial
communications processor (CP 340, CP 341, CP 441-2, ET 200S 1SI).
The SMS block from the library can be used for your own solutions even with-
out the FB "SMS_Meld" block. For more information, please refer to the library
description for this block (see Internet link \1\).
12
SMS Interpreter
SMS
SMS_Meld
msg
SMS
msg
Orders
Send feedback
message
"?Temp1"
"OffM4.1"
....
....
Order_No
Sending and Receiving SMS Messages with MD720-3
V 2.1, ID Number: 25545680
FC50 "SMS_MNG"
Message_No:5
Value: 125 celsius

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic 400Sinaut md 720-3Simatic et 200s

Table of Contents