![Toho Electronics TTX-800 Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/toho-electronics/ttx-800/ttx-800_operation-manual_1124823013.webp)
- 13 -
3.4
Explanation of MODBUS ASCII Communication
3.4.1
Structure of MODBUS ASCII Request Message (Data Transmission from the Upper Computer to This Product)
■
See
3.4.3Explanation of MODBUS ASCII Codes
for codes a) to j).
3.4.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)
※
Except for communication monitor
register address
Lower
‘
0
’
,
’
2
’
f) LRC
‘
F
’
,
’
A
’
g) End Code
CR,LF
3.4.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
’
,
’
0
’
④
Data for the First Register
(Upper Word)
Upper
‘
0
’
,
’
0
’
①
Lower
‘
0
’
,
’
0
’
②
f) LRC
‘
E
’
,
’
8
’
g) End Code
CR,LF
3.4.1.3
Structure of Save Request Message
a) Start Code
‘
:
’
b) Slave Address
‘
0
’
,
’
1
’
c) Function Code
‘
1
’
,
’
0
’
d) Register Address
Upper
‘
0
’
,
’
9
’
First register address
Lower
‘
0
’
,
’
C
’
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 saving the 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