3 Functional Mechanisms of this Application
3.1 Program overview
Call of SMS_Meld in OB1
The following figure and table show the call interface of the core user block FB
"SMS_Meld" in OB1.
Figure 3-2
Table 3-1
Symbol
Message_No
Send_msg
Value
Init_SMS
answer_flag
Order_No
NewOrder
Timer_Pol
The FB "SMS_Meld" function block is called cyclically in OB1 and then internally
calls the "SMS_sr" function block.
18
Data
type
INT
Contains the number of the SMS message to be generat-
ed
BOOL
Send trigger command
INT
Optional coefficient
BOOL
Initialization trigger command
BOOL
sets telephonnumber to the one last SMS was received
from
INT
Output order number
BOOL
Set to TRUE when a new SMS message is received.
TIME
Once the timer has elapsed, polling of the received SMS
messages starts.
Sending and Receiving SMS Messages with MD720-3
Explanation
V 2.1, ID Number: 25545680