PGV...-F200/-F200A...-R4-V19
Operation and communication
2
019-
03
37
5
Operation and communication
5.1
Communication via the RS-485 Interface
The controller and read head communicate via the RS-485 interface during operation. Make
sure that the basic communication settings have been made on the read head, such as setting
the read head address and baud rate.
A distinction is made between request telegrams that the controller sends to the read head and
response telegrams that the read head sends to the controller. Each byte of a request or
response telegram consists of 9 bits (8 data bits + 1 parity bit).
5.1.1
Request Telegram
A request telegram always consists of 2 bytes. The second byte corresponds to the first byte,
but with the 8 data bits of the first byte inverted.
Structure of a Request Telegram
Meaning of Bits
Byte/bit Bit 8
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Function
Byte 1
Parity 1
1
1.R/W: 0 = response, 1 = request
Req.
bit 4
Req.
bit 3
Req.
bit 2
Req.
bit 1
Req.
bit 0
A1
A0
Request
Byte 2
Parity 0
~Req.
bit 4
~Req.
bit 3
~Req.
bit 2
~Req.
bit 1
~Req.
bit 0
~A1
~A0
Checksum
PAR
R/W
Req.
bit 4
Req.
bit 3
Req.
bit 2
Req.
bit 1
Req.
bit 0 A1
A0
Function
Parity
1
x
x
x
x
x
0
0
Read head address 0
Parity
1
x
x
x
x
x
0
1
Read head address 1
Parity
1
x
x
x
x
x
1
0
Read head address 2
Parity
1
x
x
x
x
x
1
1
Read head address 3
Parity
1
1
0
0
1
0
x
x
Position inquiry
See chapter 5.1.2
Parity
1
0
0
0
LL
RL
x
x
Selection of direction
See chapter 5.1.3
Parity
1
1
0
R=0 G=0 B=1 x
x
Choice of color blue
See chapter 5.1.4
Parity
1
0
0
R=0 G=1 B=0 x
x
Choice of color green
See chapter 5.1.4
Parity
1
0
0
R=1 G=0 B=0 x
x
Choice of color red
See chapter 5.1.4