2 Solution
2.2 Description of the core functionality
2.2
Description of the core functionality
In this example, the required scenarios are implemented with a user block pro-
grammed in SCL (FB "SMS_Meld") and with the aid of a universal SMS library
block (FB "SMS_sr_CPxxx").
2.2.1
Scenario: "Generating and sending an SMS message"
Figure 2-2
Generating an SMS message and sending it to configurable recipients
Event in
the process
When the S7 CPU (e.g., via I/O sensors) detects an event in the process, this
event will be assigned an individually defined message number. In the FB
"SMS_Meld" user block, a text and a recipient are assigned to the message num-
ber. The FB "SMS_Meld" block coordinates the sending to this recipient.
10
SMS Generator
SMS_Meld
Message_No
Texts
"Message 1"
"Message 2"
....
....
Sending and Receiving SMS Messages with MD720-3
SMS
msg
Tel. no.
"49155123x"
"49175345y"
....
....
V 2.1, ID Number: 25545680
Recipients