Scenario: "Receiving A Remote Query Of A Value; Diagram For The "Receiving A Remote Query Of A Value" Scenario - 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

3 Functional Mechanisms of this Application

3.5 Scenario: "Receiving a remote query of a value"

3.5
Scenario: "Receiving a remote query of a value"
Using the FB "SMS_Meld" block, SMS messages for querying a value (e.g., the
analog value of a temperature) can be interpreted. An automatic feedback mes-
sage is sent with the aid of the FC "SMS_MNG" function.
NOTE
For sending SMS to the modem it is recommended to use only alphabetic char-
acters and figures. This is in order to avoid display and recognition errors of the
STEP 7 application program.
3.5.1

Diagram for the "Receiving a remote query of a value" scenario

The diagrammatic representation below shows how FC "SMS_MNG" sends an
answer to a query of a value back to the sender.
Figure 3-14
Sending the
query
1
1
SMS_sr_CPxx
'?Temp1'
Send/receive
SMS message
6
6
Table 3-2
No.
1.
2.
3.
4.
5.
6.
26
received
Assignment: message text to order number
text
See figure 3-11
Assignment: message number to message text
See figure 3-3
Assignment: message number to message text
See figure 3-3
A query is sent to the controller.
The received text is evaluated and assigned to an order number.
With the aid of FC 50, the order number is assigned to a message number.
Message text is generated from this message number, recipient number is
extracted from received SMS.
The coefficient is attached to the message text.
The feedback message is generated and sent to the user.
2
2
4
4
+
Coefficient
assignment
See figure 3-8
Description
Sending and Receiving SMS Messages with MD720-3
V 2.1, ID Number: 25545680
Order_No
3
3
FC 50
Individual
assignment
order Message_No
e. g.:
Order_No=7
Message_No=5
5
5
Input_2
Value Temp_1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic 400Sinaut md 720-3Simatic et 200s

Table of Contents