YASKAWA MP920 User Manual page 269

Machine controller
Table of Contents

Advertisement

Input Register Read
Command
7
0
Slave address
Function code: 04H
(H)
Start No.
(L)
(H)
No. of registers
(L)
(H)
CRC-16
(L)
Response
7
0
Slave address
Function code: 04H
No. of data items
(H)
Contents of first
input register
(L)
(H)
Contents of next
input register
(L)
(H)
Contents of next
input register
(L)
(H)
CRC-16
(L)
Single Coil Status Change
Command
7
0
Slave address
Function code: 05H
(H)
Coil No.
(L)
(H)
Specified status
(L)
(H)
CRC-16
(L)
Response
7
0
Slave address
Function code: 05H
(H)
Coil No.
(L)
(H)
Specified status
(L)
(H)
CRC-16
(L)
B-21
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
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
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
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
B.2 MEMOBUS Messages
B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents