Module register address description
1.10001~1008:
Digital input register address (1x) uses the 02 function code 0000H~0007H
2.00001~00004:
Relay output register address (0x) uses 01 and 15 function code 0000H~0003H
3.40161~40164:
Module parameter register address (4x) uses 03 and 06 function code 00A0H~00A3H
4.40001~4008:
Counter value register address (4x) uses 03 and 16 function code 0000H~0007H
5.40033~40040:
Counter mode register address (4x) uses 03 and 16 function code 0020H~0027H
MODBUS-RTU Example of communication format
The following values are 16 HEX
1. Read the value of the 8 channel digital input
Host sending
:01 02 00 00 00 08 78 0F
01 (ID) 02 (Function code)
00 00 (Start address) 00 08 (Register number)
78 0F (CRC code)
Module return
:01 02 02 00 00 B9 B8
01 (ID) 02 (Function code)
02 (Number of bytes) B9 B8 (CRC Code)
00 00 ("0" is no digital input,high 4 bits ineffective and low 12 bit effective)
2. Write the output value of the 4 channel
Host sending
:01 0F 00 00 00 04 01 03 7E 97
01 (ID) 0F (Function code) 00 00 (Start address)
00 04 (Register number) 01 (Number of bytes)
03 (the value of the write, 03 for RO0-RO1 output 1, RO2-RO3 output 0)
7E 97 (CRC Code)
Module return
:01 0F 00 00 00 04 54 08
01 (ID) 0F (Function code) 00 00 (Start address) 00 04 (Register number)
54 08 (CRC Code)
3. Read the counter value of the 8 channel digital input
Host sending
: 01 03 00 00 00 08 45 CF
01 (ID) 03 (Function code) 00 00 (Start address)
00 08 (Register number) 45 CF (CRC Code)
Module return
:01 03 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6C F4
01(ID) 03(Function code) 18(Number of bytes) 6C F4 (CRC CRC Code)
8 groups 0000(8 channel counter values)
Contact: Ms Liao(Sales) / Email: liao.yanping@st-inno.com
phones: 155-5805-0803
Tel: 400-1011-310
Email: liuchangshandx@126.com (Technical support)
Add: room 401, building D, No. 16, Xiang Mao Road, Hangzhou, Zhejiang, Gongshu District