The LMS1xx protocol handler allows the communication to the SICK laserscanner LMS1xx to receiver the status and the distance measurements of these sensors.
Options
byteorder:
The byte order for the communication (optional)username:
The username for the administration of the laser scanner(optional)password:
The password for the administration of the laser scanner (optional)
Schema
The output of the protocol handler provides the following attributes that can be used through the schema of the access operator:
Name | Type | Description |
---|---|---|
Timestamp | Long | The time of measurement in UTC |
Version | String | The version of the laser scanner |
Device | String | The device ID |
Serial | String | The factory serial number |
Status | Integer | The status of the scanner |
MessageCount | Integer | The message counter starting at the first measured value message. When the upper limit is reached, the counter starts again at 0. |
ScanCount | Integer | The scan counter starting with the first scan after confirmation of the measured value message. When the upper limit is reached, the counter starts again at 0. |
PowerUpDuration | Long | The time since the scanner was switched on. |
TransmissionDuration | Long | The time since the transfer of the measured values |
InputStatus | Boolean | The state of the digital inputs |
OutputStatus | Boolean | The state of the digital outputs |
ScanningFrequency | Long | The scanning frequency |
MeasurementFrequency | Long | The frequency between two separate measurements |
Dist1 | List<SpatialPolarCoordinate> | The measured distance values |
Rssi1 | List<Double> | The measured remission |
Dist2 | List<SpatialPolarCoordinate> | The measured distance values |
Rssi2 | List<Double> | The measured remission |
Example
PQL
LMS1xx Protocol Handler
input = ACCESS({source='lms1', wrapper='GenericPush', transport='TCPClient',protocol='SICK', dataHandler='SICK',options=[['host','192.168.1.20'],['port','2111']], schema=[ ['dist1','SpatialPolarCoordinate'] ] })
CQL
LMS1xx Protocol Handler
CREATE STREAM lms1 (dist1 SpatialPolarCoordinate) WRAPPER 'GenericPush' PROTOCOL 'SICK' TRANSPORT 'File' DATAHANDLER 'Tuple' OPTIONS ( 'host' '192.168.1.20', 'port' '2111' )