Download DS800 Development Suite Software

Transcript
SFC Breakpoints
While in Debug mode, you can place SFC breakpoints on SFC steps or transitions. When a
breakpoint is encountered, the resource is set to the BREAK state. This mode is equivalent to
the cycle-to-cycle mode. Then to overpass the breakpoint, you can choose either to execute one
cycle or switch real-time mode. When a resource is in the BREAK state and step-by-step
debugging is activated for ST, IL, or LD POUs within the resource, you can also step to the
first line of the first POU of the resource for which debug information is generated.
Note: You can only set breakpoints for resources producing TIC code; you cannot set
breakpoints for resources producing C source code. Furthermore, you cannot set or remove
SFC breakpoints while a resource is in the STEPPING state.
Four types of SFC breakpoints are available:
Breakpoint on Step Activation
Breakpoint on Step Deactivation
Breakpoint on Transition
Transition Clearing Forcing
To set a breakpoint command on a step or transition
You can set breakpoint commands from the Breakpoints toolbar or from the contextual menu.
"
Right-click on the step or transition, then from the contextual menu choose the desired
breakpoint command.
Once the breakpoint is reached, you can execute one cycle or switch real-time mode to continue
the execution.
To remove breakpoints from steps
You can remove breakpoints from the Breakpoints toolbar or from the contextual menu.
DS800 Development Suite 2.1 - Workbench
311