
D
D
e
e
t
t
a
a
i
i
l
l
e
e
d
d
e
e
x
x
p
p
l
l
a
a
n
n
a
a
t
t
i
i
o
o
n
n
S
S
M
M
S
S
r
r
e
e
a
a
d
d
/
/
w
w
r
r
i
i
t
t
e
e
SMS control function provides reading and writing PLC variables with commands sent by SMS.
Read commands are given in following format: <variable>=?
Write commands are given in following format: <variable>=<value>
Command line may contain multiple commands, separated by spaces. Mix of reading and writing is supported.
If reading succeeds, read value is returned. If writing succeeds, read value and 'OK' is returned, but only when
ControlAck in SMS group is 1. If reading/writing fails, for any reason (wrong variable name or other error),
ERR is returned.
Module perform writes first, then follow reads. Result is always actual CyBro value obtained by reading.
Read variable:
send:
a=?
receive ok:
a=5
receive err:
a=ERR
Write variable:
send:
a=5
receive ok:
a=5 OK
receive err:
a=ERR
Multiple reads and writes:
send:
a=? b=22 c=? d=35
receive:
a=11 b=22 OK c=ERR d=30 OK
In this example, variable c doesn't exist and variable d is limited to 30 by PLC program.
If SMS functionality is not working, check your SIM card, it's possible that card is data-only.
A
A
l
l
a
a
r
r
m
m
f
f
u
u
n
n
c
c
t
t
i
i
o
o
n
n
When triger variable is set to 1, related SMS will be sent. After getting request, module will automatically write
0 to trigger variable.
Triggers, messages and phone numbers are located in separate groups:
[SMSAlarmTrigger]
1024
1025
[SMSAlarmText]
The quick brown fox jumps over lazy dog.
The slow yellow dog jumps over tired fox.
[OutgoingPhones]
+491112345678
+491112345678
Comentários a estes Manuais