Write Multiple Coils - ICP DAS USA IR-310-RM User Manual

Ir controlled 10-ch high power relay module
Table of Contents

Advertisement

ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ
+7(495)109-02-08 sales@bbrc.ru www.bbrc.ru
5.3 FC15 (0x0F) Write Multiple Coils
For multiple relays control.
‧Request
Byte order
Item
00
Address
01
Function code
02 ~ 03
Starting channel
number
04 ~ 05
Output channel
number
06
Byte count
07
Output value
‧Response
Byte order
Item
00
Address
01
Function code
02 ~ 03
Starting channel
number
04~05
Input channel
number
Example:
Command the RL1 and RL8 change to ON.
Request (hex): 01 05 00 08 FF 00 0D F8 ("0D F8" is CRC16)
Response (hex): 01 05 00 08 FF 00 0D F8 ("0D F8" is CRC16)
IR-310-RM, IR Controlled 10-ch High Power Relay Module (Ver. 1.1, Jul/02/2013) 32
Size
Value
1 Byte
1 ~ 247
1 Byte
0x0F
2 Bytes
0x0000 ~ 0x0009 for relay status.
2 Bytes
0x0000 ~ 0x000A
1 Bytes
1 or 2
1 Bytes
A bit corresponding to a channel.
Bit value 1 => ON; Bit value 0 => OFF.
Size
Value
1 Byte
1 ~ 247
1 Byte
0x0F
2 Bytes
The same as byte 02~03 of the request.
2 Bytes
The same as byte 04~05 of the request.

Advertisement

Table of Contents
loading

Table of Contents