Return to main diagram (retn), C.8.2 return to main diagram (retn) – Nematron Pointe Controller User Manual

Page 428

Advertising
background image

Appendix C: Ladder Diagram Block Reference

Pointe Controller User Guide

426

All valid Sub-Ladders in the current project will be listed in the dialog. A selection
may be made from the list or entered directly into the LD Name field.

The OK button will be enabled when a valid selection has been made or entered.
Click it to save your selection and close the dialog.

C.8.2 Return to main diagram (RETN)

When used in a Sub-Ladder, this block stops execution of the Sub-Ladder and
returns to the Ladder Diagram which

called

it. Use of this block is required only if

the logic flow of your program requires an early return from the Sub-Ladder (i.e.,
the Sub-Ladder must be aborted before its normal end). Use of the block is
optional in the last rung of a Sub-Ladder.

Select the

tool (from the

Flow Control Blocks

toolbar) and click on a ladder

rung to insert the following block:

This block cannot be configured.

NOTE: This block can only be used in

a properly defined Sub-Ladder

. If a Return

block is inserted in a regular Ladder Diagram, it will be detected and reported
when the diagram’s

integrity is checked

.

Functional Description

This block does not pass the rung state in any situation. When the input state
from the left becomes on, execution of the Sub-Ladder is immediately stopped
and returned to the Ladder Diagram which originally called the Sub-Ladder.

Configuration Reference

The are no configurable parameters for this block.

Advertising