2 error counter reset from the application, Error counter reset from the application, Control technology | ethercat communication manual – Lenze EtherCAT control technology User Manual

Page 144

Advertising
background image

Control technology | EtherCAT communication manual

Diagnostics

Error counters of the EtherCAT slaves

144

L

DMS 3.1 EN 01/2011 TD17

11.5.2

Error counter reset from the application

The

L_ECAT_ReadErrCnt (FB)

( 116)

function block enables the PLC application to access

the telegram failure error counter by reading.
The

L_ECAT_ResetErrCnt (FB)

( 117)

function block resets the error counters to the initial

value 0.

Example
Once per minute the PLC reads the error counters and evaluates the contents. If it

recognises a 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 bus are normal. The error counters should not reach the value of 255.

Advertising