User Manual MCx-xxxAS-1.05
Page 12 of 18
www.hanbayinc.com | 1 800 315 4461
Rev.2021.8 [email protected]
The meaning of the value in the “
StatusRegister
” is described below. Only Bits 0-4 are associated with a
physical meaning.
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bits 5 to 15
Discrete input 1
Discrete input 2
Discrete input 3
Discrete input 4
Discrete input 5
Discrete input 6 to 16
Opened
Closed
Stalled opening
Stalled closed
Signal lost
Reserved
This bit will be
‘1’ if the actuator
is in the
completely open
position.
This bit will be
‘1’ if the actuator
is in the
completely
closed position.
This bit will be
‘1’ if the actuator
gets stalled
while moving in
the opening
direction.
This bit will be
‘1’ if the actuator
gets stalled
while moving in
the closing
direction.
This bit will be
‘1’ if the input
signal falls
below 2.80 mA
or 0.700 V.
-
To read the value from the “
StatusRegister
” register:
Register name
Address
Max Min
Default Actuator
address
Function
code
Register
address
Qty of
registers
CRC
StatusRegister
0x0015
N/A N/A N/A
Example:
Read the status register in actuator
number 32
0x20
0x04
0x0015
0x0001
0x----
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Alternatively
, the
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 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 3
To read the discrete input 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