Fc510x diagnostics – BECKHOFF FC5101 User Manual
Page 66

Eiserstraße 5 / D-33415 Verl / Telefon 05246/963-0 / Telefax 05246/963-149
66
FC510x Diagnostics
The FC510x CANopen fieldbus card makes extensive diagnostic facilities available for the input variables.
cycleCounter
Is incremented after each firmware cycle. The PLC task can use this to establish whether new input data is
being handled - if the cycleCounter has not been incremented since the last time the PLC task was called, the
task time is too short.
error
The number of nodes whose state is not zero.
actualCycleTime
Current cycle time of the card firmware in 4/25 µs. Depends on the quantity of data and the bus loading.
DiagFlag
Is set to 1 if new diagnostic data (such as emergency) has been placed in the card's memory.
GlobalState
Reserved for internal evaluations.
LastAdsError
Last ADS error to have occurred. See also ADS Error Codes.
CycleFailedCounter
This counter is incremented if it was not possible to complete the card's firmware cycle before the highest prior-
ity linked task accessed the DPRAM again. In this case, the task does not receive any new input data, nor are
new synchronous PDOs issued in the previous cycle. Because the CycleFailedCounter is not incremented until
after the corresponding task start, it cannot be used for diagnosis within that task. It is recommended that the
cycleCounter be used here, as it is not incremented in these cases.
Busload
Indicates the current bus loading in %.