Appendix B 218IF Messages
B.2.2 MEMOBUS RTU Mode
B-24
Holding Register Write
Error Response
If there is an error in the command message contents, the Slave will return an error response
message without executing any instruction.
Slave address
Function code: 10H
No. of registers
Contents of first
holding register
Contents of next
input register
Contents of next
input register
No. of data items
(L)
(H)
CRC-16
(L)
(H)
(L)
(H)
(L)
(H)
(L)
(H)
Start No.
(L)
(H)
The function code is 10H when the holding register
is written.
Set the leading address of the holding registers to
be written.
Set the number of holding registers to be written.
Set the byte length of the data to be written.
Set the contents of the holding register to be written.
Error check
Command
70
Slave address
Function code: 10H
No. of registers
(L)
(H)
CRC-16
(L)
(H)
Start No.
(L)
(H)
The function code is 10H when holding registers are written.
The leading address of the holding registers is returned.
The number of written holding registers is returned.
Error check
Response
70
Slave address
Function code + 80H
Error codes
1: Function code error
2: Coil, input relay, or register numbering error
3: Error in the number of coils, input relays, or registers
70
Error codes
CRC-16