Insert a return (RET)
Returns are outputs that represent a conditional end of a ladder diagram (LD) program. Connections cannot be placed to the right of a return element.
- When the left connection line has the TRUE Boolean state, the diagram ends without executing the instructions on the next lines of the diagram.
- When the LD diagram is a function, its name is associated with an output coil to set the return value (returned to the calling diagram).
Return example

To insert a return (RET)
- InToolbox, do one of the following to locate the return:
- InSearch, enterRET.
- InToolbox, from the category list, selectCommon, and then locateRET.
- Drag the RET to a valid location.
indicates a valid dropping location.
Provide Feedback