Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 18 -
5.2.
MODBUS ASCII
5.2.1.
Structure of Request Message (Data Transmission from Upper Computer to This Product)
5.2.1.1.
Structure of Read Request Message
a) Start Code
':'
b) Slave Address
'0','1'
c) Function Code
'0','3'
d) Register Address
Upper
'0','0'
First register address
Lower
'0','0'
e) Number of Registers
Upper
'0','0'
2 (fixed)
Lower
'0','2'
f) LRC
'F','A'
g) End Code
CR,LF
5.2.1.2.
Structure of Write Request Message
a) Start Code
':'
b) Slave Address
'0','1'
c) Function Code
'1','0'
d) Register Address
Upper
'0','1'
First register address
Lower
'0','0'
e) Number of Registers
Upper
'0','0'
2 (fixed)
Lower
'0','2'
h) Number of Bytes
'0','4'
Number of Registers x 2
i)
Data for the first register
(Lower word)
Upper
'0','0'
③
Data structure is ①②③④H.
(① represents 1 byte)
Lower
'0','D'
④
Data for the first register
(Upper word)
Upper
'0','0'
①
Lower
'0','0'
②
f) LRC
'D','B'
g) End Code
CR,LF
5.2.1.3.
Structure of Save Request Message
a) Start Code
':'
b) Slave Address
'0','1'
c) Function Code
'1','0'
d) Register Address
Upper
'2','0'
First register address
Lower
'0','E'
e) Number of Registers
Upper
'0','0'
2 (fixed)
Lower
'0','2'
h) Number of Bytes
'0','4'
Number of Registers x 2
i)
Data for the first register
(Lower word)
Upper
'0','0'
Data for the saving of setting is optional.
Lower
'0','0'
Data for the first register
(Upper word)
Upper
'0','0'
Lower
'0','0'
f) LRC
'B','B'
g) End Code
CR,LF