Reference | I/O Devices error : Shows the number of slaves whose BoxState is not equal to zero. The BoxState of the slaves must only be checked if this value is not 0. actualCycleTime : Shows the actual cycle time in 4/25 µs. This variable is only updated when all slaves are involved in the data exchange (and when error is 0). DiagFlag : Shows whether the diagnostics information on the card has changed. This can be read off using ADS-Read. To this end, specify the net ID of the FC510x, the port number 200, and the IndexGroup 0xF100. The IndexOffset and the length are then based on the diagnostic data. The BoxStates are also directly available as box variables. Offset 1–127:
BusStatus List, one byte for each station address from 1–127 which contains the station status (see BoxState for CANopen boxes) Global State: Various diagnostic and status displays for the FC510x. The byte in GlobalState(0) indicates the status of the card in relation to the TwinCAT system: the potential statuses are RUN, RESET, OFFLINE, and STOP. GlobalState(2) gives information on the state of the CAN controller: "CAN warning limit reached" and "Bus off" are displayed. "Warning limit reached" means that the send/receive error counter on the CAN controller has exceeded the value 96.
BusOff means that the CAN controller can no longer participate in bus communication due to too many CAN errors (Error frames). In this case, there is a serious physical error in the CAN network. (e.g. too few or too many termination resistors, at least one device with incorrect baud rate, short circuit, etc.) The "bus off" state can only be exited through a card reset. Details on further global state data, see comments in "Online" tab. LastAdsError : Shows the error code of the last ADS access error, e.g. if an attempt has been made to read the diagnostic data for a deactivated node. CycleFailedCounter:
Counts the number of firmware cycles which could not be completed before the associated task wanted to re-read/re-write the process image. If this counter is incremented, the task cycle time has been set too low for the actual network configuration. BusLoad: Shows the current bus load in %. The Bus Load [ } 389] is an important design criterion for CAN networks. The value shown is an average value over 100 ms. 11.2.4.2 Beckhoff FC510x Hardware Description | Beckhoff FC510x Hardware Description The FC510x is a CANopen [ } 380] Master card with one (FC5101) or two channels (FC5102) . The CAN transceivers are galvanically isolated.
CAN Terminating Resistor On the card there are CAN terminating resistors (120 Ohms). These can be activated with a jumper (up to hardware version 3) or with a switch (from hardware version 4) close to the CAN connectors. The Flash Disk Socket is currently not in use. TwinCAT 2 175 Version: 1.7