Fc510X Diagnostics - Beckhoff FC5101 Documentation

Pci cards for canopen
Table of Contents

Advertisement

Error handling and diagnostics
6.3

FC510x Diagnostics

The FC510x CANopen fieldbus card makes extensive diagnostic facilities available for the input variables.
Fig. 49: FC510x - diagnostic inputs
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 [} 67].
CycleFailedCounter
This counter is incremented if it was not possible to complete the card's firmware cycle before the highest
priority 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 diagnostics 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 %.
FC5101 and FC5102
Version: 2.0
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fc5102

Table of Contents