Scenario: "Receiving And Evaluating Sms Orders; Diagram For The "Evaluating Sms Orders" 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.4 Scenario: "Receiving and evaluating SMS orders"

3.4
Scenario: "Receiving and evaluating SMS orders"
The FB "SMS_Meld" function block checks all incoming SMS messages for spe-
cial "keywords". When checking the received text with the keyword is positive, the
respective order number will be output on the "Order-No" parameter.
The receive buffer of the GSM modem is checked at regular intervals. The time
value is defined by the value of the Timer_Polling parameter (in this configuration:
1 minute). After receiving a new message, the information contained in the mes-
sage is stored in the receive data area.
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.4.1

Diagram for the "Evaluating SMS orders" scenario

The diagrammatic representation below shows how FB "SMS_Meld" receives and
evaluates an incoming SMS message. The keywords are stored in the Order array.
Figure 3-11
SMS msg
e.g.
"On_M50.1"
24
SMS_sr_CPxx
Received
text
Send/receive
SMS message
Order_No:
Allocation: Message text to order number
1
2
Order_No:
1
Sending and Receiving SMS Messages with MD720-3
V 2.1, ID Number: 25545680
3
4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic 400Sinaut md 720-3Simatic et 200s

Table of Contents