FC310x as master
FC3101 and FC3102
20
Version: 3.0
3.4.3
FC310x - Master Diagnostics
Diagnostic Inputs
The master possesses a variety of diagnostic variables that describe the state of the card and of the
Profibus. They can be linked in the PLC:
Fig. 15: Diagnostic variables of the PROFIBUS master
CdlInfo
:
CdlInfo.error
: Shows the number of slaves with which data exchange could not take place in the last cycle.
The BoxState of the slaves should only be checked if this value is not equal to 0.
CdlInfo.cycleCounter
: Is incremented at the end of each PROFIBUS cycle in order that this variable can
indicate whether the last cycle was completed before the task was started.
CdlInfo.actualCycleTime
: Shows the current cycle time in 4/25 µs. This variable is updated only when all
slaves are involved in the data exchange (also when CdlInfo.error is 0).
CdlInfo.actualModulo
: Indicates the current modulo. This variable is only of significance if the slaves are
prioritized (see the
Slave Prioritization/Multiple DP Cycles [
chapter)
Counter
: Used for the
DiagFlag
: Indicates whether the card's master diagnostic information has changed. It can then be read via
by the control program, after that the "DiagFlag" variable is reset.
GlobalState
: GlobalState[0] indicates the state of the FC310x, GlobalState[1-2] indicate global bus statuses,
while GlobalState[3] is reserved for extensions:
RESET (1): Card router not started (after start-up of the PC).
INIT (2): Router started but card not active on PROFIBUS.
STOP (3): Card active on PROFIBUS, but no cyclic data exchange.