8-9
Chapter 8. Modbus COMMUNICATION FUNCTION
Write command (10H)
Send Message
This is a command capable of writing the contents of continuous data addresses
from a specified write start data address with a single message. The following is an
example of send message while writing data:
(Example) Writing 01A0H and 0E53H in the continuous data addresses
consisting of 2 words following 1501W (05DDH).
Modbus ASCII
(2)(1) (3) (4) (5) (6)
(7)
(8)
(9)
(10)
3AH
:
30H
0
31H
1
31H
1
30H
0
30H
0
35H
5
44H
D
44H
D
30H
0
30H
0
30H
0
32H
2
30H
0
34H
4
30H
0
31H
1
30H
0
30H
0
45H
E
35H
5
33H
3
30H
0
35H
5
0DH
CR
41H
A
0AH
LF
(1) Start of message
(2) Station address
(3) Write command 10H
(4) Start data address
(5) Number of write data
(6) Number of write data X 2
(7) Write data 1
(8) Write data 2
(9) Checksum
(10) Delimiter
Modbus RTU
(3)
(4)
01H
(1)
10H
(2)
05H DDH 00H 02H 04H
(5)
01H A0H 0EH 53H 45H B9H
(6)
(7) (8)
(1) Station address
(2) Write command 10H
(3) Start data address
(4) Number of write data
(5) Number of write data X 2
(6) Write data 1
(7) Write data 2
(8) Checksum