Page 18
Appendix | ASCII Communication with Sensor
IF2008 ETH
A 2.2.4.4 Restarting IF2008/ETH
RESET
Restarts the IF2008/ETH.
A 2.3 Sensor
A 2.3.1 Settings
A 2.3.1.1 Sensor Channel Baudrate
BAUDRATEn <Baudrate>
n = 1 ... 8 for the sensor channels 1 to 8.
Setting the interface baud rate on the IF2008/ETH for the respective sensor channel.
The baud rate can be freely adjusted from 9600 bauds to 8 Mbaud. The IF2008/ETH
internally selects the next possible baud rate which is supported.
A 2.3.1.2 Sensor Laser Outputs
LASERPOWn OFF|ON
n = 1 ... 8 for the sensor channels 1 to 8.
Switches the connection for laser activation (pin 8)
-
OFF: Laser is off
-
ON: Laser is on
A 2.3.1.3 Trigger Outputs
TRIGGEROUTPUTn LOW|HIGH|TIMER1|TIMER2|TIMER3|INPUT1|INPUT2|INPUT
3|INPUT4
n = 1 ... 8 for the sensor channels 1 to 8.
Selects the source for the trigger outputs on the sensor channels (pins 1+2 or pin 9).
-
LOW, HIGH: Output has this fixed state
-
TIMER1 ... 3: A timer switches the output
-
INPUT1 ... 4: Output has the state of a digital input
A 2.3.2 Functions
A 2.3.2.1 Sensor Error Inputs
SENSORERROR
Returns the bit-coded state of the error line (pin 10) of all sensor channels (bit 0 = error
state of sensor 1, bit 1 = error state of sensor 2, ...) as a decimal value.
The return value can be between 0 (no sensor reports an error) and 255 (all sensors
report an error).
A 2.3.2.2 Tunneling Sensor Commands
TUNNELn
“
...
“
n = 1 ... 8 for the sensor channels 1 to 8.
Returns the command in quotation marks to the respective sensor channel. The reply is
returned from the data socket.
A quotation mark in the command must be quoted with a backlash, i.e. “ -> \“. The same
applies for a backlash itself, i.e. \ -> \\.
Carriage return can be quoted with \r and line feed with \n. Arbitrary binary sequences
are entered with \xhh (hh is a hexadecimal code).
i
Sensors with ASCII protocol (e.g. ILD2300) must contain the final \r\n within the
quotation marks.
Содержание IF2008 ETH
Страница 23: ......