Runtime Mode; Communication Via The Rs-485 Interface - Pepperl+Fuchs SmartRunner Matcher Manual

Light section sensor for highprecision profile comparison
Table of Contents

Advertisement

SmartRunner Matcher*
Operation
6.4

Runtime Mode

The Runtime mode is the main mode in which the measuring process operates as configured
in the operating software.
6.4.1

Communication via the RS-485 Interface

The control panel 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 control panel sends to the reader and
response telegrams that the reader sends to the control panel. Each byte of a request or
response telegram consists of 9 bits (8 data bits + 1 parity bit).
Parity Bit
A bit assigned to a binary string used to detect errors. It is added in such a way that the sum
modulo 2 of all bits that are regarded as binary digits in the string, including the parity bit, is
either 0 or 1 depending on the requirement; additional bit that is added to each string or each
byte for control purposes so that the sum of all bits containing binary 1 in the characters or
bytes including control bit results in an odd or even value.
Request Telegram
A request telegram always consists of 2 bytes. The 2nd byte corresponds to the 1st byte;
however, the 8 data bits of the 1st byte are inverted.
Structure of a Request Telegram
Byte 1
Byte 2
Meaning of bits:
R/W: 0 = response, 1 = request
Meaning of Bits
7
6
R/W R.4
0
x
1
x
1
x
1
x
1
x
1
x
1
0
1
0
1
0
1
0
1
0
1
1
1
1
50
Bit 7
Bit 6
Bit 5
R/W
Req. bit
Req. bit
4
3
~R/W
~Req. bit
~Req. bit
4
3
5
4
3
2
R.3
R.2
R.1
R.0
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
1
0
1
0
0
1
0
1
0
0
1
0
1
0
1
1
0
0
1
0
0
Bit 4
Bit 3
Req. bit
Req. bit
Req. bit
2
1
~Req. bit
~Req. bit
~Req. bit
2
1
1
0
<- Bit
A.1
A.0
Value
Function
x
x
Answer
x
x
Request
0
0
Read head address 0
0
1
Read head address 1
1
0
Read head address 2
1
1
Reader address 3
x
x
0x80
Status (is alive)
x
x
0x84
Result data
x
x
0x90
Teach result
x
x
0xA8
Enable Configuration Mode
x
x
0x94
Enable Teach Mode
x
x
0xD8
Generate a software trigger
x
x
0xD0
Choose Profile
Bit 2
Bit 1
Bit 0
A1
A0
0
~A1
~A0
0
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartRunner Matcher and is the answer not in the manual?

Table of Contents