Chapter 18 Testing and Debugging Tools 18.3.3 Continuous Execution If on the toolbar is clicked, the execution of the program will stop at a breakpoint. If users click again, the execution of the program will continue, and will stop at the next breakpoint. If there are no breakpoints, the program will be scanned repeatedly after is clicked. 18.3.4 Single-Step Execution After or on the toolbar is clicked, the part of the program selected will be executed. If a function block is selected, the function block will be executed after is clicked, and the first step in the function block will be executed after is clicked.
However, if the function block selected is protected with a password, or the state of the En pin of the function block selected is OFF, the first step in the function block will not be executed whether or is clicked. Besides, if users want to perform single-step execution in a structured text, they must add breakpoints to the structured text. If users want to perform single-step execution in the POUs following a sequential function chart, they must add breakpoints to the POUs. The different between and is shown below. 18-29