|
EXAMPLE 1 |
||
|
Any data string received on the local COM port from an external device is automatically forwarded as an outgoing SMS message. Conversely, the content of all incoming SMS messages received from users belonging to a specific authorized group is redirected and printed directly to the COM port. This setup allows for seamless remote communication with legacy hardware or industrial machinery connected to Avior via simple SMS messaging. |
||
|
|
|
COM INCOMING STRING FROM CLOSED CONSOLE |
|
|
$D15>080000 CURRENT TIME > 080000 |
|
|
|
$D15<180000 CURRENT TIME < 180000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AT+SMS=+391234,"$D19" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger event is receiving a text string from the console. The first condition is that the current time is after 08:00:00. The second condition is that the current time is earlier than 18:00:00. The first action contains the command that sends an SMS message to the number +391234 using the string received from the console as text. |
||
|
|
|
SME SMS FROM USER |
|
|
$N25=admin LAST SMS SENDER GROUP = admin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AT#COM=$N24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger event is the receipt of an SMS from an active user. The first condition is that the last SMS received comes from a user belonging to the admin group The first action contains the command that sends to the COM port the content of parameter N24 which is the text of the last SMS received. |
||
