![Cybrotech GSM-SA Скачать руководство пользователя страница 4](http://html1.mh-extra.com/html/cybrotech/gsm-sa/gsm-sa_user-manual_2703889004.webp)
3
C
C
o
o
m
m
m
m
a
a
n
n
d
d
s
s
Send command using SMS message (standard text, not multimedia or e-mail). Module will send a reply soon.
Multiple commands are separated by space.
R
R
e
e
a
a
d
d
i
i
n
n
p
p
u
u
t
t
s
s
b
b
y
y
m
m
e
e
s
s
s
s
a
a
g
g
e
e
ix0
,
ix1
,
ix2
,
ix3
- binary inputs, 0-open, 1-closed
iw0
,
iw1
,
iw2
,
iw3
- analog inputs, for 0..10V readout is 0..1023
send:
ix0=? ix1=? iw2=? iw3=?
reply:
ix0=0 ix1=1 iw2=430 iw3=600
Example:
Binary and analog inputs share same terminal. Iw0 is open (ix0=0), iw1 is closed (ix1=1). Iw2 voltage is 4.2V,
so readout is 4.2V ÷ 10V × 1023 = 430. Iw3 is open, pull-up drives it to approximately 6V ÷ 10V × 1023
≈
600.
Commands are not case-sensitive, both small and capital letters may be used.
A
A
c
c
t
t
i
i
v
v
a
a
t
t
e
e
r
r
e
e
l
l
a
a
y
y
b
b
y
y
m
m
e
e
s
s
s
s
a
a
g
g
e
e
qx0
,
qx1
- relay outputs, 0-off, 1-on
send:
qx0=1
reply:
qx0=1 ok
message received
qx0
Relay 0 is now on.
qx0b
,
qx1b
- controls external bistable relay, 0-off, 1-on, depending on feedback contact connected to ix0/ix1
send:
qx0b=1
reply:
qx0b=1 ok
0.5 seconds
message received
message received
qx0
bistable
Relay 0 is connected to bistable coil, input ix0 to bistable auxilary (feedback) contact. Bistable relay toggles
when coil is energized. Suitable relay is Schrack LQ612230.
If bistable is off (ix0=0), qx0b=1 will make a pulse on qx0 to turn it on. If bistable is already on (ix0=1), nothing
will happen. Likewise, if bistable is on, qx0b=0 will pulse qx0 to turn it off, and output nothing if it is already off.
Reply message returns the actual state of ix0 input, therefore actual state of bistable. Pulse length is 500ms,
not related to "pulse" setting.