Debugging and troubleshooting
10.2 Displaying program status
S7-200 SMART
568
System Manual, V2.3, 07/2017, A5E03822230-AF
10.2
Displaying program status
10.2.1
Displaying status in the program editor
To display current data values and I/O status in the program editor, click the Program Status
ON/OFF button from either the program editor toolbar or from the Debug menu ribbon
strip
.
Status data collection begins and shows the results of all logic operations during the
execution of the program. You can also pause and resume program status collection with the
Pause Status ON/OFF button from either the program editor toolbar or from the Debug
menu ribbon strip
.
A status chart (Page 572) displays values at the end of scan.
Execution status coloring
●
The power rail (LAD) is colored when the program is being scanned.
●
Power flow or logic flow in the diagrams is indicated by coloring.
●
Contacts and coils (LAD) that have power or are logically true are colored blue.
You can assign your own color choice from the Options settings of the Tool menu ribbon
strip and selecting the Colors tab.
●
Box instructions – The box instructions are colored when the instruction has power and
the instruction successfully executes without an error.
●
Green timers and counters indicate that the Timer or Counter has valid data.
●
Red indicates an instruction executed with an error.
●
Jump and Label instructions display in the powerflow color when active. If not active, they
display in gray.
●
Gray color (default assignment) indicates no power flow - the instruction not scanned
(jumped over or not called), or the PLC is in STOP mode.
●
Blue color for Boolean Powerflow bits (FBD only).
●
LAD, FBD, and STL program editors display the value of operands and indicate
powerflow as each instruction executes during the execute program phase of a scan
cycle. Execution status can display intermediate data values that may be overwritten by
executing subsequent program instructions. All displayed PLC data values are collected
from a single program scan cycle.