User Manual MCx-xxxAS-1.05
Page 6 of 18
www.hanbayinc.com | 1 800 315 4461
Rev.2021.8 [email protected]
Modbus Protocol
Actuator parameters can be set by using the MODBUS (RTU) protocol.
Standard supported function codes:
02 (0x02) Read Discrete Inputs
03 (0x03) Read Holding Registers.
04 (0x04) Read Input Registers.
06 (0x06) Write Single Register.
Hanbay function codes: (see p.13 for examples)
100 (0x64) Re-zero the actuator.
101 (0x65) Close the valve.
102 (0x66) Open the valve.
If you try to use any other function code, the actuator will answer with the exception code
0x01
indicating that the attempted function code is not supported.
Actuator memory map:
Address (DEC)
Address (HEX)
Offset
Register Name
Type
0
0x0000
4001
MaximumSpeed
Holding registers.
READ
and
WRITE
1
0x0001
4002
MaximumPower
2
0x0002
4003
NumberOfTurns
3
0x0003
4004
TargetFromRS485Flag
4
0x0004
4005
InputRangeLow
5
0x0005
4006
InputRangeHigh
6
0x0006
4007
OutputRangeLow
7
0x0007
4008
OutputRangeHigh
8
0x0008
4009
TargetPosition
9
0x0009
4010
SignalLostPosition
10
0x000A
4011
Reserved
11
0x000B
4012
Reserved
12
0x000C
4013
Reserved
13
0x000D
4014
Reserved
14
0x000E
4015
Reserved
15
0x000F
4016
Reserved
16
0x0010
4017
Reserved
17
0x0011
4018
Reserved
18
0x0012
4019
Reserved
19
0x0013
4020
Reserved
20
0x0014
4021
CurrentPosition
Input registers.
READ
only
21
0x0015
4022
StatusRegister
IMPORTANT: All the values sent to t
he actuator are “HEX” values