Description of System Bits %S9 to %S13
Original instructions
Detailed Description
Description of system bits %S9 to %S13:
Bit
Symbol
%S9
OUTDIS
Function
Outputs set to the fallback position on all buses
Initial State
0
Platforms
M340: Yes M580: Yes M580 Safety: Yes Quantum: No Momentum: No Premium: Yes Atrium: Yes
Normally at 0, this bit is set to 1 by the program or the terminal:
  • set to 1: sets the bit to 0 or maintains the current value depending on the chosen configuration (X bus, Fipio, AS-i, etc.).
  • set to 0: outputs are updated normally.
NOTE: The system bit acts directly on the physical outputs and not on the image bits of the outputs.
On Modicon M340:
  • Inputs/outputs distributed via CANopen bus are not affected by the %S9 bit.
  • Ethernet I/O scanner and Global Data are affected by the %S9 bit.
  • After an operating mode, outputs are in security mode state equal to 0 while the bit is set.
On Modicon M580: Only local inputs/outputs are affected by the %S9 bit. On Modicon M580 Safety: This bit has no influence on safety output modules. On Modicon Premium: If the configuration contains a TSX ESY 007 module, %S9 set to 1 will force to 0 all the outputs managed by the TSX ESY 007 module.
%S10
IOERR
Function
Global I/O detected error
Initial State
1
Platforms
M340: Yes M580: Yes M580 Safety: Yes Quantum: Yes Momentum: Yes Premium: Yes Atrium: Yes
Normally at 1, this bit is set to 0 when an error on an in-rack module or device on a network is detected (e.g. non-compliant configuration, exchange fault, hardware fault, etc.). The %S10 bit is reset to 1 by the system when all the detected errors have disappeared.
NOTE: On M580 safety, not all possible detected errors relating to safety I/O modules are reported on bit %S10
NOTE: Detected network communication errors with remote devices are not reported on bit %S10.
CAUTION
UNEXPECTED APPLICATION BEHAVIOR - SPECIFIC VARIABLE BEHAVIOR
Manage detected network communication errors with remote devices with a method specific to each type of communication modules (NOM, NOE, NWM, CRA, CRP) or motion modules (MMS):
  • communication function blocks status (if they are used)
  • communication modules status (if they exist)
Failure to follow these instructions can result in injury or equipment damage.
Bit
Symbol
%S11
WDG
Function
Watchdog overflow
Initial State
0
Platforms
M340: Yes M580: Yes M580 Safety: Yes Quantum: Yes Momentum: Yes Premium: Yes Atrium: Yes
Normally at 0, this is set to 1 by the system as soon as the task execution time becomes greater than the maximum execution time (i.e. the watchdog) declared in the task properties.
NOTE: On M580 Safety, this bit takes into account an overrun on SAFE task.
%S12
PLCRUNNING
Function
PLC in RUN
Initial State
0
Platforms
M340: Yes M580: Yes M580 Safety: Yes Quantum: Yes Momentum: Yes Premium: Yes Atrium: Yes
This bit is set to 1 by the system when the PLC is in RUN.
It is set to 0 by the system as soon as the PLC is no longer in RUN (STOP, INIT, etc.).
%S13
1RSTSCANRUN
Function
First cycle after switching to RUN
Initial State
Platforms
M340: Yes M580: Yes M580 Safety: Yes Quantum: Yes Momentum: Yes Premium: Yes Atrium: Yes
Switching the PLC from STOP mode to RUN mode (including after a cold start with automatic start in run) is indicated by setting system bit %S13 to 1. This bit is reset to 0 at the end of the first cycle of the MAST task in RUN mode.