6. WRITING COMMAND EXAMPLES
In this chapter, some writing command examples are described.
These tables refer to a master-slave communication in MODBUS RTU.
Values contained in Command, Query and Response messages are in hex format.
WIRING MODE SETUP
Command example: 0110203C000204000000032E29
Example Byte Description
01
-
Slave address
10
-
Function code
20
High
Starting register
3C
Low
00
High
2 words to be written
02
Low
04
-
4 data bytes
00
High
00
Low
Set 1 phase wiring mode
00
High
03
Low
2E
High
CRC
29
Low
Response example: 0110203C0002048A
Example Byte Description
01
-
Slave address
10
-
Function code
20
High
Starting register
3C
Low
00
High
2 written words
02
Low
04
High
CRC
8A
Low
DATE&TIME SETUP
Command example: 0110204A000204522E5FD43FA7
Example Byte Description
01
-
Slave address
10
-
Function code
20
High
Starting register
4A
Low
00
High
2 words to be written
02
Low
04
-
4 data bytes
52
High
2E
Low
Set 9
5F
High
D4
Low
3F
High
CRC
A7
Low
64
September 2013, 23:55:00
th
MODBUS RTU/ASCII