Chapter 13 Structured Texts 13.2.9 Blank Statement Format Description If a statement is needed, but no action needs to be executed, a blank statement is used. Example The For loop below shows that no action is executed. Owing to the blank statement, the execution of the program is delayed. Users can adjust the time for which the execution of the program is delayed by adjusting the number of times the loop body is executed. 13.2.10 RETURN Statement Format Description A RETRUN statement is used in a function block in a structured text. It ends the program in the function block.
Example The programming language used to create the program in the function block FB0 is a structured text. After the upper part of the program is executed, the state of X0.0 will be judged. If X0.0 is ON, the execution will leave the current program. If X0.0 is OFF, the whole program in the function block will be executed. 13-25