Sub-Fc 68 (0X44): Read Ir-Relay-States - 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.4.19 Sub-FC 68 (0x44): Read IR-relay-states

Read 10 relays' states corresponding to IR command numbers.
‧Request
Byte order
Description
00
Address
01
FC
02
Sub-FC
03
IR
command
number
04
Reserved
‧Response
Byte order
Description
00
Address
01
FC
02
Sub-FC
03
IR
command
number
04
Relay status
byte0
05
Relay status
byte1
06~07
reserved
Note:
1. For "Relay status 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)
IR-310-RM, IR Controlled 10-ch High Power Relay Module (Ver. 1.1, Jul/02/2013) 52
Size
Value
1 Byte
1 ~ 247
1 Byte
0x64
1 Byte
0x44
1 Byte
0 ~ 63 (0x00 ~ 0x3F) for custom.
192 ~ 223 (0xC0 ~ 0xDF) for built-in.
1 Byte
0x00
Size
Value
1 Byte
1 ~ 247
1 Byte
0x64
1 Byte
0x44
1 Byte
0 ~ 63 (0x00 ~ 0x3F) for custom.
192 ~ 223 (0xC0 ~ 0xDF) for built-in.
1 Byte
0x00~0xFF. Bit 0 ~ Bit 7 => RL0 ~ RL7
1 Byte
0x00~0x03. Bit 0 & Bit 1 => RL8 & RL9
2 Bytes
0x00, 0x00

Advertisement

Table of Contents
loading

Table of Contents