respon
structu
se
re
byte
messag
e
exampl
e
Remark: in host request, the relay action value "0xFF00" indicates the relay is closed,
while "0x0000" indicates the relay is cut off. If you want to perform remotely control,
please make sure the relay is working in "remote control" mode.
12.1.7 Remotely-controlled multi-relay output(function
code 0x0F)
frame
struct
ure
host
reque
st
byte
data
SAM3001 Manual de usuario V5
ss
n code
code
1 byte
1 byte
0x01
0x05
addr
functi
ess
on
code
code
1
1
byte
byte
0x0F
1~
-95-
initial
relay
address
2 bytes
0x00
0x00
data code
initia
l
numbe
relay
r
of
addr
relay
ess
2
2 bytes
bytes
0x0001
0x00
~
chec
relay action
k
value
code
2
2 bytes
bytes
0x8C
0xFF 0x00
0x3A
rela
num
y
ber
acti
of
on
data
valu
byte
e
1
1
byt
byte
e
0x01
CRC
che
ck
cod
e
2
byte
s
CRC