A.3 devicenet profiles: parameter commands, Devicenet profiles: parameter commands – Festo Кабели и принадлежности User Manual
Page 95
A. Technical appendix
A−7
Festo P.BE−SPC200−COM−CANDN−EN en 0511a
A.3
DeviceNet profiles: Parameter commands
Write Position Register
Command Message, WRC = 1
d
/ 2
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=1
d
, Y=33
d
, Z=65
d
, U=97
d
X=2
d
, Y=34
d
, Z=66
d
, U=98
d
Byte 3
Response Message type
0 (no update permitted)
Byte 4
Cmd. Data 1
Position value
9999990
9999990 Ģm
Position value
9999 990
9999 990 mm
Byte 5
Cmd. Data 2
−9999990 ... +9999990 Ģm
−9999.990 ... +9999.990 mm
When written the values are
d d
fi
f
Byte 6
Cmd. Data 3
rounded to two figures after
the decimal point.
Byte 7
Cmd. Data 4
the decimal point.
Response Message
Byte
Function
Contents
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
*)
or extended fault code (see section 6.5)
Byte 5
Resp. Data 2
*)
Byte 6
Resp. Data 3
*)
Byte 7
Resp. Data 4
*)
*)
Not relevant