Sensor de visión 3D
Reply to an implemented command with error in data section
If the content of the data section is not suitable to the command, the message is handled as an error. The
input frame contains the following data:
● Error bit = 1
● Command bits = mirror of the command within the output frame
● Asynchronous message bit = 0
● Asynchronous message identifier = 0
● Message counter increased by 1
No error code is sent in the data section. The error code is polled with the "get last error"
command. Mandatory and non mandatory data in the response frame will be set to 0x0.
Reply to an implemented command that leads to an error
If the execution of the command leads to an error, the input frame contains the following data:
● Error bit = 1
● Command bits = mirror of the command within the output frame
● Asynchronous message bit = 0
● Asynchronous message identifier = 0
● Message counter increased by 1
No error code is sent in the data section. The error code is polled with the "get last error"
command. Mandatory and non mandatory data in the response frame will be set to 0x0.
Reply to a not implemented command
If a command bit with no functionality is received, it undergoes a transition from 0 -> 1 and the message is
handled as an error. The input frame contains the following data:
● Error bit = 1
● Command bits = mirror of the command within the output frame
● Asynchronous message bit = 0
● Asynchronous message identifier = 0
● Message counter increased by 1
No error code is sent in the data section. The error code is polled with the "get last error"
command. Mandatory and non mandatory data in the response frame will be set to 0x0.
Reset of error bit
The error bit will be resetted to 0, if
● the error code caused by an command is sent to the controller
● a system error is not present anymore
Queuing of error codes
The Profinet application is able to buffer one system error (the last one) and one command error (also the
last one). The buffered system error and PCIC command error will be cleared, after they are read by the
PLC with the "get last error" command.
82