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
Return example
To insert a return (RET)
  1. In
    Toolbox
    , do one of the following to locate the return:
    • In
      Search
      , enter
      RET
      .
    • In
      Toolbox
      , from the category list, select
      Common
      , and then locate
      RET
      .
  2. Drag the RET to a valid location.
    A green dot indicating the valid dropping location indicates a valid dropping location.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal