Festo Кабели и принадлежности User Manual
Page 70
5. Data structure
5−12
Festo P.BE−SPC200−COM−CANDN−EN en 0511a
Composition of the Response Message
The SPC200 replies as follows:
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
MC_B
MC_A
SYNC_OB
SYNC_OA
READY
1
2
Fault code (see section 6.5)
3
Response Axis Number R−AN
Response type RT
4
Response Data 1 (or extended fault code, see section 6.5)
5 ... 7
Response Data 2 ... 4
The values in the bytes mean:
Byte
Function
Contents of actual position
Contents of FB output
RT = 1
RT = 2
RT = 3
RT = 4
Byte 0
Status byte
See system manual for the SPC200
Byte 1
(Diverse)
Byte 2
Fault code
If there is no fault = 0.
With fault code > 0: see fault treatment in section 6.5.
Byte 3
RMT
Copy of Command Message byte 3
Byte 4
Response Data 1
(LW, LB)
Actual position
in signed 32"
*)
Actual position
in float 32"
*)
FB output
Q10.0...Q10.7
*)
FB output
Q12.0...Q12.7
*)
Byte 5
Response Data 2
(LW, HB)
Actual position
in signed 32"
Actual position
in float 32"
FB output
Q10.8...Q10.15
FB output
Q12.8...Q12.15
Byte 6
Response Data 3
(LW, LB)
Actual position
in signed 32"
Actual position
in float 32"
FB output
Q11.0...Q11.7
FB output
Q13.0...Q13.7
Byte 7
Response Data 4
(HW, HB)
Actual position
in signed 32"
Actual position
in float 32"
FB output
Q11.8...Q11.15
FB output
Q13.8...Q13.15
*)
Or extended fault code, see section6.5.