The SENSOR function returns the status of a Laser or PointInBox sensor entity. The status of the sensor is returned as a value of either 0 or 1 (on=1, off=0).
Format
Arguments definition
Sensor entity |
The name or argument number of the sensor entity |
Available Sensors
Toolkit |
Senor |
Returned Value |
Professional |
Laser |
On = 1, Off = 0 |
PointInBox |
On = 1, Off = 0 |
Example
SENSOR (Sensor1)
SENSOR (1) <Argument: (1) Sensor1 >