α
2
Simple Application Controllers
Function Blocks 6
6 - 59
6.28 GSM SMS Block
The function block is used for communication between the
α
2 Series Controller connected to a
GSM modem and a mobile telephone or personal computer via SMS (Short Message Service).
Table 6.28: GMS Function Block
Function
Set Item
Description
I
Input pin for GSM/SMS function block operation
FB
Refer to the Communication Manual for detailed explanations
concerning the GSM functionality of the
α
2 Series controllers.
1) Detects the high status of an input and subsequently sends the
SMS (Short Message Service) to the predefined user destination.
2) The SMS message will continue to send regardless of the output
switching to a low state.
3) The incoming high input will be ignored:
a) During a SMS transmission
b) During the waiting period.
4) Communication failure (e.g. busy line) will tell the SMS function
block to retry on three occasions in a period of two minutes.
5) After the third retry the output status will switch to ON and an error
message generated through the word pin of the function block.
6) The user may experience incorrect validity period timings. Please
check with your Service Provider.
7) If both the Mobile (SMSC1) and Gateway (SMSC2) numbers are
entered the
α
2
controller will automatically choose the correct path
number for the SMS in conjunction with the destination chosen. The
destination being either to a mobile phone or an email address.
Output
1) The output status will set ON:
a) In succeeding in sending a SMS message
b) In failing to send a SMS message after three retries.
2) If more than one SMS function block exists on the program, a FIFO
(First In First Out) sequence is performed.
3) The following items are available for other function blocks:
a) Current Status
0 0
0
M
S
O
I
S
P