IR-310-RM,
IR Controlled 10-ch High Power Relay Module
(Ver. 1.1, Jul/02/2013) 47
5.4.14 Sub-FC 40 (0x28): Set the preset power-on values
‧
Request
Byte order Description
Size
Value
00
Address
1 Byte
1 ~ 247
01
FC
1 Byte
0x64
02
Sub-FC
1 Byte
0x28
03
Power-on
value byte0
1 Byte
0x00~0xFF. Bit 0 ~ bit 7 => RL0 ~ RL7
Bit# = 1 / 0 means RL# ON / OFF.
04
Power-on
value byte1
1 Byte
0x00~0x03. Bit 0 & bit 1 => RL8 & RL9
Bit# = 1 / 0 means RL# ON / OFF.
05
Reserved
1 Byte
0x00
06
Reserved
1 Byte
0x00
07
Sequential
action
1 Byte
0=>stop, 1=>forward
‧
Response
Byte order Description
Size
Value
00
Address
1 Byte
1 ~ 247
01
FC
1 Byte
0x64
02
Sub-FC
1 Byte
0x28
03
Setting result 1 Byte
0x00 => OK, 0xFF=>Error.
Note:
1. For “Power
-
on value byte0 and byte1”,
byte0 represents the state of RL0~RL7 and
the least two bits of byte 1 are the state of RL8 and RL9.
The binary representation of the byte1 and byte 0 is 0000 00## #### #### where the
least significant bit# (the rightest) is RL0 and the most significant bit# is RL9.
Bit# = 1 => Relay# is ON (at NO contact)
Bit# = 0 => Relay# is OFF (at NC contact)
2.
Sequential action” is
only effective in sequential mode.
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru