Communication with WCS Read Heads
2
0
2
0
-0
3
27
Description of the protocol data
Byte 1
A1, A0
Address bits of the read head. Addresses 0 ... 3, binary
coding
OVL
0
The read head is located in the readable area of the
code rail
1
The read head is located on WCS3 code rail extender
(overlapping area of the code rail segments)
VAL
0:
Position valid
1
Position invalid; code rail area is not unique after the
supply voltage has been connected
DB
0
By default, the diagnostic bit is not set
1
Diagnostic bit, read head dirty
OUT ALL
0
Read head in code rail
1
Read head completely outside of the code rail
OUT
0
Read head in code rail
1
Read head partially outside the code rail. No valid posi-
tion available
ERR
0
No error
1
Error message (possible errors in XP00 ... XP01 binary
coding)
Byte 2 ... 4
XP00 ... XP19
Current position value, binary coding
Byte 5
1
1. For data protocol with velocity output
SP0 ... SP6
Current speed in 0.1 m/s, binary coding
Example:
•
1: Speed = 0.1 m/s
•
37: Speed = 3.7 m/s
•
112: Speed = 11.2 m/s
SST
0
Speed valid
1
Current speed unknown. Last valid speed in
SP0 ... SP6 saved
Byte 5/6
Exclusive or link, byte 1 ... Byte 4/5