Page 47
Serial Interface RS422
optoNCDT 22xx
Format, Example:
31
24 23
16 15
8 7
0
hex
Contents
“+“
“+“
“+“
0x0d (“CR“)
0x2B2B2B0D
Start word
“I“
“L“
“D“
“1“
0x494C4431
Identifier ID (“ILD1“)
0x20
0x75
0x00
0x03
0x20750003
Command (0x2075)
2 top bits = 0
Package length = 3
0x00
0x00
0x00
0x0A
0x0000000A
Data word 1 (X = 0xA)
Information command
Instruc-
Fig. 27
tion set of the
controller
0x20490002
INFO
Shows sensor data
Zero command
0x20660002
ZERO
Sets offset like the „Zero/Reset“-key
Avg command
0x20700002
AVG 0
Sets Average 0 = 0
0x20710002
AVG 1
Sets Average 1 = 0
0x20720002
AVG 2
Sets Average 2 = 32
0x20730002
AVG 3
Sets Average 3 = 128
0x20750003
AVG n
Average n = log
2
(N)
AVG method
0x207D0003
AVGTYP
Changes averaging method
Reset and boot command
0x20F00002
RESET
Reset and boot again
Start command
0x20770002
START
Output of data is on
Stop command
0x20760002
STOP
Output of data is stopped
Read sensor settings
0x204A0002
Get_Setings
Supplies sensor settings
Laser OFF
0x20860002
LASER_OFF
Switches the laser of
Laser ON
0x20870002
LASER_ON
Switches the laser on
Lock keys
0x2060003
SET_TASTENSPERRE
Locks the keys at the controller