Table 26. Example Of Reading Single Parameter; Table 27. Example Of Reading Multiple Parameters - Parker P Series User Manual

New servo system
Hide thumbs Also See for P Series:
Table of Contents

Advertisement

 Request OK
Node
Function
ID
0x01
0x03
- The current speed value is 0(or 0x0000).
 Response not OK
Node ID
Error Code
0x01
0x83

Table 26. Example of Reading Single Parameter

Example 2) Reading multiple parameters (motor ID(Address: 0x2000), Encoder
Type(Address: 0x2001), number of encoder pulses per rotation (Address:
0x2002~0x2003))
 Request
Starting
Node
Function
Address
ID
Hi
0x01
0x03
0x20
 Request OK
Node
Byte
Function
ID
Count
0x01
0x03
0x08
Register
Register
Value
CRC Hi
Value Hi
Lo
0x00
0x08
- motor ID (Address: 0x2000) value reads 13(or 0x000D), and Encoder type (Address:
0x2001) value reads 2(or 0x0002). Number of encoder pulses per rotation (Address:
0x2002~0x2003) is a 32bit data, so the data must be swapped once read. Thus, the
currently displayed value 524288 (or 0x00080000).
 Response not OK
Node ID
Error Code
0x01
0x83

Table 27. Example of Reading Multiple Parameters

B. Read Input Register (0x04)
Read binary values of single register (16bit data) and continuous register (16bit data
unit).
 Request
Parker Hannifin
Register
Byte Count
Value Hi
0x02
0x00
Exception
Code
0x01 ~ 0x06
Starting
Quantity of
Address
Register Hi.
Lo
0x00
Register
Register
Value Hi
Value Lo
0x00
0x0D
CRC Lo
0x31
0X11
Exception Code
0x01 ~ 0x06
Register
Value Lo
0x00
CRC Hi
CRC Lo
-
-
Quantity of
Register Lo
0x00
0x04
Register
Register
Value Hi
Value Lo
0x00
0x02
CRC Hi
CRC Lo
-
-
P series User Guide
CRC Hi
CRC Lo
0xB8
0x44
CRC Hi
CRC Lo
0x4F
0XC9
Register
Register
Value Hi
Value Lo
0x00
0x00
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents