2
0
1
7
-0
4
24
Operation
5
Operation
5.1
Communication via the RS-485 Interface
The controller and reader communicate via the RS-485 interface during operation. Make sure
that the basic communication settings have been made on the reader, such as setting the
reader address and baud rate.
A distinction is made between request telegrams that the controller sends to the reader and
response telegrams that the reader 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,
however the 8 data bits of the first byte are inverted.
Structure of a Request Telegram
Meaning of bits:
R/W: 0 = response, 1 = request
Meaning of Bits
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Byte 1 Parity
R/W
Req. bit
4
Req. bit
3
Req. bit
2
Req. bit
1
Req. bit
0
A1
A0
Byte 2 Parity
~R/W
~Req.
bit 4
~Req.
bit 3
~Req.
bit 2
~Req.
bit 1
~Req.
bit 0
~A1
~A0
8
7
6
5
4
3
2
1
0
<- Bit
PAR
R/W
R.4
R.3
R.2
R.1
R.0
A.1
A.0
Value
Function
Parity
0
x
x
x
x
x
x
x
Answer
Parity
1
x
x
x
x
x
x
x
Request
Parity
1
x
x
x
x
x
0
0
Read head
addr. 0
Parity
1
x
x
x
x
x
0
1
Read head
addr. 1
Parity
1
x
x
x
x
x
1
0
Read head
addr. 2
Parity
1
x
x
x
x
x
1
1
Read head
addr. 3
Parity
1
0
0
0
0
0
x
x
0x80
Status (is
alive)
Parity
1
0
0
0
0
1
x
x
0x84
Result data
Parity
1
0
0
1
0
1
x
x
0x94
Teach
Parity
1
0
1
0
1
0
x
x
0xA8
Enable
Configuration
Mode
Parity
1
1
0
1
1
0
x
x
0xD8
Generate a
software
trigger