23
4 Modbus protocol description
4.6.5 Write n words
instruction
Response
Example Writing the word "Test" (ASCII coding: 0x54 0x65 0x73 0x74 0x00) to address
0x148A ff to ensure that this text is entered in the event list of group 1:
Instruction:
Response:
Slave
Address
Fun-
ction
0x10
Address
first
word
Number
of
words
Number
of
words
Number
of
value(s)
Check
sum
CRC16
1 byte 1 byte 2 byte 2 byte 1 byte x byte 2 byte
Slave
address
Function
0x10
Address
first word
Number of
words
Checksum
CRC16
1 byte 1 byte 2 byte 2 byte 2 byte
01 10 148A 0003 06 54 65 73 74 00 00 9BFA
01 10 148A 0003 A412