3 Commissioning
3.5 Power off/Inter r upt ion of the power s upply
Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com 61
Breakpoint/Single step mode
Breakpoints can be set within the application program. If an instruction has a
breakpoint attached, then the program will halt at this point. The following
instructions can be executed in single-step mode. Task monitoring is deacti-
vated.
Single cycle mode
In single-cycle operation, one program cycle is performed in real time. The
outputs are enabled during the cycle. At the end of the cycle, the output
images are cancelled and the outputs are switched off. Task monitoring is
active. Task monitoring is active.
3.5.2 Forcing
All user program tags can be initialized with default values. A local output is
only forced if the corresponding variable is assigned by default and the cen-
tral processing unit is in the RUN state.
Flag Display
The inputs/outputs are to be referenced in order to visualize the states of the
configured inputs/outputs in an interval controlled task in the PLC configura-
tor. The following syntax is sufficient in the ST programming language in
order to be able to display individual I/O bits.
Example:
In the instruction list (IL):
ATTENTION
Any outputs already set when the program reaches the break-
point remain set!
%IB0; (referencing of inputs I0.0 - I0.7)
%QB0; referencing of outputs Q0.0 - Q0.7)
LD %IB0
ST Default byte
LD Default byte
ST %QB0