Bus Node Diagnostics
The CANopen fieldbus card FC510x has a comprehensive range of diagnostic options for connected network nodes.
For each CANopen fieldbus node there is a node state input variable, which signals the status of the current slave during the runtime and can be linked, for example with the PLC.
Node State (Box-State)
DiagFlag
Shows whether the box diagnostic information has changed.
Reading the Diagnostic Data via ADS
CANopen emergencies and other diagnostic data can be read out via ADS read (new data present as soon as you see the DiagFlag). You need to enter the FC510x ADS Net-ID. Further ADS parameters:
Port: 200
IndexGroup: Lo-Word = 0xF180, Hi-Word = Node-Number.
IndexOffset: See below
Length: See below
If more than 26 bytes of diagnostic data have been read out the emergency memory is reset. The DiagFlag is reset as soon as at least 108 bytes have been read starting from offset 0. Alternatively, the flag is reset after each read access, if IndexGroup 0xF181 (instead of 0xF180) is used for reading.
The diagnostic data have the following definitions: