Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The SICK LMS1xx protocol handler allows the communication to the SICK laserscanner LMS1xx to receiver the status and the distance measurements of these sensors. The SICK protocol handler can only be used in conjunction with the SICK data handler.

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:

NameTypeDescription
TimestampLongThe time of measurement in UTC
VersionStringThe version of the laser scanenrscanner
DeviceStringThe device ID
SerialStringThe factory serial number
StatusIntegerThe status of the LMSscanner
MessageCountIntegerThe message counter starting at the first measured value message. When the upper limit is reached, the counter starts again at 0.
ScanCountIntegerThe 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.
PowerUpDurationLongThe time since the LMS scanner was switched on.
TransmissionDurationLongThe time since the transfer of the meaasured measured values
InputStatusBooleanThe state of the digital inputs
OutputStatusBooleanThe state of the digital outputs
ScanningFrequencyLongThe scanning frequency
MeasurementFrequencyLongThe frequency between two separate measurements
Dist1

List<SpatialPolarCoordinate>

The measured distance values
Rssi1List<Double>The measured remission
Dist2

List<SpatialPolarCoordinate>

The measured distance values
Rssi2List<Double>The measured remission

Example

PQL

Eclipse
Code Block
theme
languagejavascriptjs
titleSICK LMS1xx Protocol Handler
linenumberstrue
input = ACCESS({source='lms1', wrapper='GenericPush',
transport='TCPClient',protocol='SICK',
  dataHandler='SICK',options=[['host','192.168.1.20'],['port','2111']],
  schema=[
    ['dist1','SpatialPolarCoordinate']
  ]
})

CQL

theme
Code Block
Eclipselanguagesql
titleSICK LMS1xx Protocol Handler
linenumberstrue
CREATE STREAM lms1 (dist1 SpatialPolarCoordinate)   
    WRAPPER 'GenericPush'
    PROTOCOL 'SICK'
    TRANSPORT 'File'
    DATAHANDLER 'Tuple'
    OPTIONS ( 'host' '192.168.1.20', 'port' '2111' )