Specifications

5.2 Structured Ladder/FBD
5.2.2 Ladder symbols in structured ladder/FBD language
5-15
5
WRITING
PROGRAMS
Table 5.2.2-1 Ladder symbols in the structured ladder/FBD language (2/2)
The performance of return differs depending on the programs, functions, and
function blocks being used.
When used in the programs
End the execution of POUs
When used in the functions
End the functions. Also, return to the next step of the instruction which called
the functions.
When used in the function blocks
The performance differs depending on whether "Use Macrocode" is checked or
not on the Property
screen.
When it is checked, end the execution of POUs.
When it is not checked, end the function blocks. Also, return to the next step of
the instruction which called the functions.
Element Network element Description
Jump
Pointer branch instruction
Unconditionally executes the program at the specified pointer number
in the same POUs.
Return Indicates the end of a subroutine program.
Function Executes a function.
Function block Executes a function block.
Function argument input Inputs an argument to a function or function block.
Function return value output Outputs the return value from a function or function block.
Function inverted argument input Inverts and inputs an argument to a function or function block.
Function inverted return value
output
Inverts the return value from a function or function block and outputs it.