Festo Кабели и принадлежности User Manual
Page 101
A. Technical appendix
A−13
Festo P.BE−SPC200−COM−CANDN−EN en 0511a
Read Position Register
Command Message, WRC = 16
d
/ 17
d
Byte
Function
Contents for signed 32 bit
Contents for float 32 bit
Byte 0
Control byte
LOAD = 1 (see section 5.2.3)
Byte 1
Subindex
Subindex 1...100
Z Position register 0...99
Byte 2
Command Message
type
X=16
d
, Y=48
d
, Z=80
d
, U=112
d
X=17
d
, Y=49
d
, Z=81
d
, U=113
d
Byte 3
Response Message
type
0 (no update permitted)
Byte 4
Cmd. Data 1
Not relevant
Byte 5
Cmd. Data 2
Byte 6
Cmd. Data 3
Byte 7
Cmd. Data 4
Response Message
Byte
Function
Contents for signed 32 bit
Contents for float 32 bit
Byte 0
Status byte
LOAD COMPLETED = 1 (see section 5.2.3)
Byte 1
*)
Byte 2
Fault code
See fault treatment in section 6.5
Byte 3
RMT
Copy from byte 2 of the Command Message
Byte 4
Resp. Data 1
Position value
9999990
9999990 Ģm
**)
Position value
9999 990
9999 990 mm
**)
Byte 5
Resp. Data 2
−9999990 ... +9999990 Ģm
**)
−9999.990Ă...Ă+9999.990Ămm
**)
Byte 6
Resp. Data 3
Byte 7
Resp. Data 4
*)
Not relevant
**
) In the event of a fault: extended fault code (see section 6.5)