SmartRunner Detector
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
Byte 1 Parity
Byte 2 Parity
Meaning of bits:
R/W: 0 = response, 1 = request
Meaning of Bits
8
7
PAR
R/W
Parity
0
Parity
1
Parity
1
Parity
1
Parity
1
Parity
1
Parity
1
Parity
1
Parity
1
Parity
1
Parity
1
24
Bit 7
Bit 6
Bit 5
R/W
Req. bit
Req. bit
4
3
~R/W
~Req.
~Req.
bit 4
bit 3
6
5
4
3
R.4
R.3
R.2
R.1
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
1
1
0
1
1
Bit 4
Bit 3
Bit 2
Req. bit
Req. bit
Req. bit
2
1
0
~Req.
~Req.
~Req.
bit 2
bit 1
bit 0
2
1
0
R.0
A.1
A.0
x
x
x
x
x
x
x
0
0
x
0
1
x
1
0
x
1
1
0
x
x
1
x
x
1
x
x
0
x
x
0
x
x
Bit 1
Bit 0
A1
A0
~A1
~A0
<- Bit
Value
Function
Answer
Request
Read head
addr. 0
Read head
addr. 1
Read head
addr. 2
Read head
addr. 3
0x80
Status (is
alive)
0x84
Result data
0x94
Teach
0xA8
Enable
Configuration
Mode
0xD8
Generate a
software
trigger
Need help?
Do you have a question about the SmartRunner Detector and is the answer not in the manual?