The variables and methods are addressed using their indexes. For certain sensors, they
c
an also be addressed using their names. The sensor always responds in the mode of
the invocation.
The device only supports the invocation via index.
7.2.4.1 Reading variables from the SICK sensor
Table 10: Read variables
Index Cmd = R Mode = I Data = (UInt)
Table 11: Sensor response
Index Cmd = R Mode = A Data = (UInt)(value)
7.2.4.2 Writing variables in the SICK sensor
Table 12: Write variable
Index Cmd = W Mode = I Data = (UInt)(new value)
Table 13: Sensor response
Index Cmd = W Mode = A Data = (UInt)
7.2.4.3 Calling up methods
A method is a program in a SICK sensor that the parameters are transmitted to and
t
hat can be started.
Table 14: Calling up methods
Index Cmd = M Mode = I Data = (UInt)(parameter)
Table 15: Sensor response
Index Cmd = M Mode = A Data = (UInt)
Table 16: Second sensor response after ending the method
Index Cmd = A Mode = A Data = (UInt)[(return value)]
When the session is ended or expires, the sensor cancels the methods.
7.2.4.4 Calling up the event
A event is a status change in a SICK sensor that can be queried or can serve as a trig‐
g
er for a message that the SICK sensor sends to the registered client.
Table 17: Calling up the event
Index Cmd = E Mode = I Data = (UInt)[(status)]
The response will follow depending on the query:
•
If t
he query does not receive a status, the SICK sensor immediately answers with
the current status of the event.
Table 18: The sensor response for queries without status
Index Cmd = E Mode = A Data = (UInt)(status)
•
If t
he query contains a status, the SICK sensor registers an event: the SICK sensor
only sends the response when the specified status has been reached.
Table 19: The sensor response in the case of a request with status
Index Cmd = E Mode = A Data = (UInt)[(data)]
When the session is ended or expires, the sensors cancels a registered event.
7 ANNEX
34
T E C H N I C A L I N F O R M A T I O N | microScan3, outdoorScan3 8022708/2019-04-15 | SICK
Subject to change without notice