Page 68
Serial Interface RS422
optoNCDT 1700
8.5.3 Reading out the Sensor Settings
Name: Get_Settings
Description: Supplies the current sensor settings
These are as follows:
Average: Integer in hex form of the exponents as the base
2 of the average number for the moving and recursive
veraging types. For Median:
0 = 3
2 = 5
5 = 7
7 = 9
Upper limit: Integer in hex form (count value)
Lower limit: Integer in hex form (count value)
Upper hysteresis value: Integer in hex form (count value)
Lower hysteresis value: Integer in hex form (count value)
Master value: Integer in hex form (count value)
Master and mid-point value set (M):
0 = Not mastered in switch mode, mid-point value not set in
error mode
1 = Mastered in switch mode, mid-point value not set in
error mode
2 = Not mastered in switch mode, mid-point value set in
error mode
3 = Mastered in switch mode, mid-point value set in error
mode
Flag for hold last value:
0 = Do not keep last measurement value
1 = Keep last measurement value
Assignment of the limits to the error outputs
1 = upper limit > F1, lower limit > F2
0 = upper limit > F2, lower limit > F1
Synchron mode
1
:
0 = Master synch off
1 = Mast synch on
2 = Slave
3 = Master synch
alternating
Average type:
0 = Recursive
1 = Moving
2 = Median
Baud rate:
0 = 115.200 Baud
1 = 57.600 Baud
2 = 19.200 Baud
3 = 9.600 Baud
ASCII output
0 = Binary format
1 = ASCII format
Laser status
0 = Laser off
1 = Laser on
Trigger mode
1
:
0 = Edge LH
1 = Edge HL
2 = Level high
3 = Level low
Output type:
0 = Current
1 = Voltage
2 = digital
Measurement
speed:
0 = 1
1 = 1/2
2 = 1/4
3 = 1/8
Operation mode:
0 = Sync. error
1 = Sync. switch
2 = Trigger error
3 = Trigger switch
1) Depends on
operation mode
settings (synchro-
nization or trigger).