At a Glance
For a DFB section programmed in:
Step Into, Step Out and Step Over
Step by step functions are used in the same way for a section belonging to a DFB as for a conventional section.
NOTE: a DFB section may contain a sub-routine (SR).
For a DFB section programmed in:
DFB with Several Sections
A DFB may be made up of several sections.
The Step Out command can be used to move onto the instance following the DFB, and when applied to the last section allows you to exit the instance.
When you want to quit a DFB instance perform as many Step Out commands as there are sections. Program execution will go to the first element after the DFB instance call.
Rule
In step by step mode the task manager will not detect a watchdog overflow for the task containing the DFB instance. It will, however, detect infinite loops.