3D sensor
58
Reset of error bit
The error bit will be resetted to 0, if
●
the error code caused by an command is retrieved from the client
●
a system error is not present anymore.
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.
Message counter
For each message sent via the producing assembly, the message counter is increased. The counter
starts with the value 1. If the maximum counter is reached, it starts with 1 again.
Get last error
This command is used to reset the error bit.
Get connection ID
This command retrieves the connection ID of the current Ethernet/IP connection. The content of the
producing assembly mandatory data section is:
●
Bytes 0-3: connection ID, 32 bit unsigned integer
Get statistics
This command retrieves the current statistics. The content of the producing assembly mandatory data
section 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 consuming assembly 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 processing assembly is set to 0.