Input register read single coil status change – Yaskawa MP920 Communications Module User Manual
Page 270

B.2 MEMOBUS Messages
B-21
B
Input Register Read
Single Coil Status Change
Slave address
Function code: 04H
No. of registers
(L)
(H)
CRC-16
(L)
(H)
Start No.
(L)
(H)
The function code is 04H when the input register contents
are read.
Set the leading address of the input registers to be read.
Set the number of input registers to be read.
Error check
Command
7
0
Slave address
Function code: 04H
No. of data items
Contents of first
input register
(L)
(H)
Contents of next
input register
(L)
(H)
Contents of next
input register
(L)
(H)
CRC-16
(L)
(H)
The function code is 04H when the input register
contents are read.
The byte length of the read data is returned.
The read data contents are returned.
Error check
Response
7
0
Slave address
Function code: 05H
Specified status
(L)
(H)
CRC-16
(L)
(H)
Coil No.
(L)
(H)
The function code is 05H when the status of a single coil
is changed.
Set the address of the coil to be changed.
The status to be changed is returned.
Error check
Command
7
0
Slave address
Function code: 05H
Specified status
(L)
(H)
CRC-16
(L)
(H)
Coil No.
(L)
(H)
The function code is 05H when the status of a single coil
is changed.
The address of the changed coil is returned.
The changed status is returned.
Error check
Response
7
0