Communication manual TOHO ELECTRONICS INC.
DWG.No. 4B-6829-A
- 14 -
5.1.2.
Structure of Response Message (Data Transmission from This Product to Upper Computer)
5.1.2.1.
Response Message for Read Request Message
a) Slave Address
01H
b) Function Code
03H
f) Number of Bytes
04H
Number of Registers x 2
g)
Data for the first register
(Lower word)
Upper
00H
③
Data
structure is ①②③④H.
(① represents 1 byte)
Lower
64H
④
Data for the first register
(Upper word)
Upper
00H
①
Lower
00H
②
e) CRC-16
Lower
BBH
Upper
ECH
5.1.2.2.
Response Message for Write/Save Request Message
a) Slave Address
01H
b) Function Code
10H
c) Register Address
Upper
01H
First register address
Lower
00H
d) Number of Registers
Upper
00H
2 (fixed)
Lower
02H
e) CRC-16
Lower
40H
Upper
34H
5.1.2.3.
Response Message for the Error
a) Slave Address
01H
b) Function Code
83H
← In case of error, the value that is consist
of function code of request message
+ 80H will be set.
h) Error Number
03H
e) CRC-16
Lower
01H
Upper
31H