Function code
Starting Address
Quantity of Registers
Request OK
Function code
Starting Address
Quantity of Registers
Response not OK
Error code
Exception code
Table 28. Read Input Signal
Example1) Reading the parameter value of Drive Status Output 1(Address: 0x2121)
Request
Starting
Node
Function
Address
ID
0x01
0x04
Request OK
Node
Function
ID
Count
0x01
0x04
- Drive Status Output 1(Address: 0x2121) is 0b10010011001(0x0499): BRAKE, ZSPD,
INPOS1, INSPD, INPOS2 contact is output as high(Status 1).
Response not OK
Node ID
Error Code
0x01
0x84
Table 29. Example of Reading Drive Status
C. Write Single Register (0x06)
Write values in single register (16bit data).
Request
Function code
Starting Address
Quantity of Registers
Request OK
Function code
Starting Address
Quantity of Registers
Response not OK
Error code
Parker Hannifin
1Byte
2Byte
2 Bytes
1Byte
1Byte
N* x 2 Bytes
1Byte
1Byte
Starting
Address
Register Hi.
Hi
Lo
0x21
0x21
Byte
Register
Value Hi
0x02
0x04
Exception Code
0x01 ~ 0x06
1Byte
2Bytes
2Bytes
2Bytes
2Bytes
Quantity of
Quantity of
Register Lo
0x00
0x01
Register
CRC Hi
Value Lo
0x99
0x7B
CRC Hi
CRC Lo
-
-
0x0000 to 0xFFFF
0x0000 to 0xFFFF
1Byte
1Byte
0x04
0x0000 to 0xFFFF
0x0000 to 0x007D
0x04
2 x N*
*N = Quantity of Input Registers
0x84
0x01 ~ 0x06
CRC Hi
CRC Lo
0x6B
0xFC
CRC
Lo
0x9A
0x06
0x06
0x0000 to 0xFFFF
0x0000 to 0xFFFF
0x86
P series User Guide
68