In online mode, the SFC editor provides views for monitoring (see below) and for writing and forcing the variables and expressions on the controller. Debugging functionality like for the other IEC languages (breakpoints, stepping, and so on) is not available in SFC. However, consider the following hints for debugging SFC:
For information on how to open objects in online mode, refer to the description of the user interface in online mode.
The editor window of an SFC object also includes the declaration editor in the upper part. For general information, refer to the chapter Declaration Editor in Online Mode . If you have declared implicit variables (SFC flags) via the SFC dialog box, they will be added here, but will not be viewed in the offline mode of the declaration editor.
Consider the sequence of processing of the elements of a Sequential Function Chart.
See the object properties or the SFC editor options and SFC defaults for settings concerning compilation or online display of the SFC elements and their attributes.
Consider the possible use of flags for watching and controlling the processing of an SFC.