HANBAY Inc
User Manual RCx-xxxAS-1.05
Page 12 of 15
www.hanbayinc.com
Rev.2018.1
1 800 315 4461
Alternative method to read the “
S
tatusRegister”
Bits in “StatusRegister” can be read independently by using function code 2.
In the PDU Discrete Inputs are
addressed starting at zero. Therefore Discrete Inputs numbered 1-5 are addressed as 0-4.
Example 1:
To read all of the discrete inputs in actuator number 33, the master needs to send
Actuator
address
Function
code
Input
address
Qty of
inputs
CRC
0x21
0x02
0x0000
0x0005
0x----
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Example 2:
To read the discrete inputs 1 and 2 (Opened and Closed) in actuator number 33, the master needs to
send
Actuator
address
Function
code
Input
address
Qty of
inputs
CRC
0x21
0x02
0x0000
0x0002
0x----
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Example 2:
To read the discrete inputs 4 (Stalled closed) in actuator number 33, the master needs to send
Actuator
address
Function
code
Input
address
Qty of
inputs
CRC
0x21
0x02
0x0003
0x0001
0x----
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Register name
Address
Max
Min
Default
Actuator
address
Function
code
CRC
N/A
0x0064
N/A
N/A
N/A
Example:
Re-zero actuator number 1
0x01
0x64
0x----
1 byte
1 byte
2 bytes
Register name
Address
Max
Min
Default
Actuator
address
Function
code
CRC
N/A
0x0065
N/A
N/A
N/A
Example:
Close the valve on actuator number 1
0x01
0x65
0x----
1 byte
1 byte
2 bytes
Register name
Address
Max
Min
Default
Actuator
address
Function
code
CRC
N/A
0x0066
N/A
N/A
N/A
Example:
Open the valve on actuator number 1
0x01
0x66
0x----
1 byte
1 byte
2 bytes