Difference between revisions of "SMS"
| Line 10: | Line 10: | ||
| colspan="5" |[[Libraries for IEC 61131-3|Asynchronous interface]] | | colspan="5" |[[Libraries for IEC 61131-3|Asynchronous interface]] | ||
|- | |- | ||
| − | | | + | |out |
| − | | | + | |VALID |
| − | | | + | |bool |
| | | | ||
| − | | | + | |indicates success operation and valid output |
|- | |- | ||
| − | | | + | |out |
| − | | | + | |FROM |
|int | |int | ||
| | | | ||
| − | | | + | |source phone number |
|- | |- | ||
|out | |out | ||
Revision as of 09:21, 15 April 2020
Contents
Description:
SMS_TX/SMS_RX blocks are used for communication between the program and the user through the GSM network. It use SMS messages to transmit and receive information.
SMS_RX
Receive SMS messages.
| Asynchronous interface | ||||
| out | VALID | bool | indicates success operation and valid output | |
| out | FROM | int | source phone number | |
| out | Q | bool | status | |
SMS_Tx
Sends SMS messages.
| Asynchronous interface | ||||
| in | IP_ADDR | string | ip address | |
| in | TMO_S | int | timeout in seconds | |
| out | Q | bool | status | |
Block behavior:
