Page 46
Measure
optoCONTROL 2600
6.6.3.6 Change Edges (Segment and Multi-segment Programs)
Name
Switch EDGE
Description: If a Segment or a Multi-segment program is active on the sen-
sor,then the edges to be measured are refreshed.
After Power OFF the data last transmitted is lost.
i
Legal values for segment numbers 0 ... 80.
Command:
Byte 1 Byte 2 Byte 3 Byte 4 hex Remark
„+“ „+“ „+“ 0x0d 0x0D2B2B2B
„0“ „D“ „C“ „1“ 0x3143444F
0x24 0x20 0x04 0x00 0x00042024 Command, follow-
ing length
(32 bit words)
0x01 0x03 0x00 0x00 0x00000301 Front edge
Segment 1: 1
Segment 2: 3
0x07 0x05 0x00 0x00 0x00000507 Rear edge
Segment 1: 7
Segment 2: 5
0x02 0x04 0x00 0x00 0x00000402 Front edge
Segment 3: 2
Segment 4: 4
0x08 0x06 0x00 0x00 0x00000608 Rear edge
Segment 3: 8
Segment 4: 6
Response:
Byte 1 Byte 2 Byte 3 Byte 4 hex Remark
„0“ „D“ „C“ „1“ 0x3143444F
0x24 0xA0 0x03 0x00 0x0003A024 Without error
0x00 0x00 0x00 0x00 0x00000000 Error code
6.6.3.7 Read out min/max Values
Name
RD MINMAX
Description: After the command response the min/max values are transmitted
in the range 0...65519.
Command:
Byte 1 Byte 2 Byte 3 Byte 4 hex
„+“ „+“ „+“ 0x0D 0x0D2B2B2B
„0“ „D“ „C“ „1“ 0x3143444F
0x33 0x20 0x00 0x00 0x00002033
Response:
Byte 1 Byte 2 Byte 3 Byte 4 hex Remark
„0“ „D“ „C“ „1“ 0x3143444F
0x33 0xA0 0x04 0x00 0x0004A033 Without error
0x33 0xE0 0x03 0x00 0x0003E033 Error + 4 bytes
error code
Min [0...65519]: Binär - 0x00008B3E
Max [0...65519]: Binär - 0x00008B4B
Min/Max[mm] Min/Max[0...65519] * 40.824 / 65519 - 0.4204872