
SmartRunner Matcher*
Operation
2
018-
01
41
6
Operation
The light section sensor is factory pre-configured to a specific application. As a result, it does
not deliver raw data that needs to be evaluated first, but switching signals that are simple to
process. The sensor only needs to be mounted, connected, and parameterized using teach-in.
The sensor has 4 different operating modes, which can be activated for settings, presentation,
or normal operation.
The following provides more detailed information about the operating modes.
6.1
Configuration Mode
Configuration protocol in configuration mode
To adjust the sensor, it must be in configuration mode.
The command to put the sensor in this mode is 0xA8 0x57. After successfully changing mode,
the sensor responds with an Acknowledge (0x81 0xAC 0x00 0x2D). After an error when
converting the configuration, the sensor responds with a No Acknowledge (0x81 0x53 0xXX
0xYY, where XX = error code and YY = checksum). To check whether the sensor is in
configuration mode, the command Is_In_Config_Mode (0x00 0xFE 0xFE) can be sent. If the
sensor is in configuration mode, it responds with an Acknowledge. Otherwise there is no
response.
Error codes with "No Acknowledge":
0x00 = everything OK
0x01 = checksum incorrect
0x04 = parameter has a different length than that transferred
0x05 = internal error
0x06 = parameter index is unknown
0x07 = read/write access, although not allowed
0x09 = parameter value range is violated
0x0B = other error
0x0E = configuration command too long/short
In this mode, messages are sent according to the extended protocol:
Byte/bit 7
6
5
4
3
2
1
0
1
R/W
Length6 Length5 Length4 Length3 Length2 Length1 Length0
2
Index7
Index6
Index5
Index4
Index3
Index2
Index1
Index0
3
Data 1.7 Data 1.6 Data 1.5 Data 1.4 Data 1.3 Data 1.2 Data 1.1 Data 1.0
...
...
...
...
...
...
...
...
...
n
Data (n-
2).7
Data (n-
2).6
Data (n-
2).5
Data (n-
2).4
Data (n-
2).3
Data (n-
2).2
Data (n-
2).1
Data (n-
2).0
n+1
xor
B1.7...B(
n).7
xor
B1.6...B(
n).6
xor
B1.5...B(
n).5
xor
B1.4...B(
n).4
xor
B1.3...B(
n).3
xor
B1.2...B(
n).2
xor
B1.1...B(
n).1
xor
B1.0...B(
n).0
Table 6.1
R/W:
0: write
1: read/command
Length: row data length (Data1 ... Data(n-2) )