You can debug your program step by step or continue to the next breakpoint. You have two options:
Debugging in PLC simulation mode with all PLC types that support the simulation.
Debugging with the PLC types FP2 and FP2SH (not recommended, danger for user and machinery).
The PLC must be in TEST mode for debugging.
In the simulation mode, the PLC is always assumed to be in the TEST mode.
For the PLC types FP2 and FP2SH toggling of the TEST mode can be done via the PLC’s initialize/test switch only in PROG mode.
A typical debug session consists of the following elements:
Setting the test flags (the PLC must be in PROG mode)
Activate/deactivate Enable breakpoints
Activate/deactivate Enable outputs (not available for simulation)
Activate/deactivate Step mode on startup
Insert/remove breakpoint(the PLC must be in PROG mode)
Using explicitly programmed breakpoints
Proceeding debugging from the current position
Download changes during run mode or online edit is not possible during debugging.
Monitoring of debugging state
The current debug state of the PLC is shown in the status bar or in the PLC status dialog.
Get detailed information via the following system variables for debugging from
:sys_bIsPlcInTestMode
sys_bIsBreaksEnabled
sys_bIsOutputsEnabled
sys_bIsBreakActive
sys_bIsStepModeActive
sys_uiBreakStep or sys_udiBreakStep for the FP7