Error diagnosis
After a scan procedure is completed, an exit code is available on the tab FB00:02 "Status". If the exit code is 3, an error has occurred. Evaluate the tab FB00:03 "Response" using the following table:
Response  | Meaning  | Comment  | 
|---|---|---|
xx 00 01 00 00 00  | Invalidstartupstate  | The axis is enabled. A scan process is only possible if the axis is not enabled.  | 
xx 00 02 00 00 00  | Timeout  | Timeout during the scan process.  | 
xx 00 03 00 00 00  | Driveerror  | An error has occurred. Check the Diag History.  | 
xx 00 04 00 00 00  | Invalid EtherCAT state  | The terminal is not in EtherCAT status OP.  | 
An error does not need to be acknowledged. If a scan was aborted with an error message, you can simply start a new scan.