3D sensor
64
Functionality of asynchronous message bit
If the message contain asynchronous data (frame results, system errors, etc.), the asynchronous
message bit must be set to 1.
Bits for asynchronous message identifier
If the message contains asynchronous data, the identifier represents the asynchronous message type:
●
The ticket number for asynchronous results is 0
●
The ticket number for asynchronous error codes is 1
●
The reserved ticket numbers for asynchronous messages are in the range 0-99
Message counter
For each command response sent in the input frame the message counter is increased. The counter
starts with value 1. If the maximum counter is reached, it starts with 1 again.
Get last error
This command retrieves the current command and system error. The content of the mandatory data
section sent in the input frame is:
●
Bytes 0-3 : command error code, 32 bit unsigned integer
●
Bytes 4-7: system error code, 32 bit unsigned integer
Get connection ID
This command retrieves the connection ID of the current Profinet connection. The response sent in the
input frame contains 16 Bytes of the AR UUID.
Get statistics
This command retrieves the current statistics. The content of the mandatory data section sent in the input
frame is:
●
Bytes 0-3: total readings since application start
●
Bytes 4-7: passed readings
●
Bytes 8-11: failed readings
All values are 32 bit unsigned integers.
Activate application
This command activates the application defined by the bytes 6 and 7 of the output frame data section.
The bytes 2-5 have to be set to 0. An error is risen if bytes 2-5 are not set to 0.
The data content of the input frame is set to 0, after receiving the "Activate application" command.
Get application list
This command retrieves the current configuration list. The content of the response sent in the input frame
mandatory data section is:
●
Byte 0-3: total number of saved applications, 32 bit unsigned integer
●
Bytes 4-7: number of active application, 32 bit unsigned integer
●
Bytes 8-n: always a 32 bit unsigned integer for an application number in use