
Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17 173
12 Diagnostics
12.4 Error counters of the EtherCAT slaves
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
12.4.2 Error counter reset from the application
The L_ETC_ReadErrCnt (FB) ( 145) function block enables the PLC application to access the error
counters by reading.
The
L_ETC_ResetErrCnt (FB) ( 146) function block resets the error counters to the value 0.
Example
Once per minute the PLC reads the error counters and evaluates the contents. If it recognises an
error counter value of 250, the application will reset the error counters. Depending on the EMC load
of the network environment, approx. 1 to 2 frame errors per day in the fieldbus are normal. The error
counters should not reach the value of 255.
Komentáře k této Příručce