Making a ladder diagram a reusable sub-ladder, 7 making a ladder diagram a reusable sub-ladder – Nematron Pointe Controller User Manual
Page 172
Chapter 5: Developing Controller Programs
Pointe Controller User Guide
170
5.8.7 Making a Ladder Diagram a reusable Sub-Ladder
Create Sub-Ladders to reuse common Ladder Diagram programming. This reuse
speeds development and testing, since you only create and debug a chart once.
To convert an existing Ladder Diagram into a reusable Sub-Ladder:
1. Select and open the desired Ladder Diagram from the
Project Workspace
pane
.
2. Right-click anywhere in the ladder and choose Edit Program Properties
from the pop-up menu. The Program Properties window will appear.
3. Click the Sub-Ladder checkbox.
4. Click OK to save your changes and close the window.
The program is now a reusable Sub-Ladder and can be called from another
Ladder Diagram using the
CALL
and
RETN
blocks.
NOTE: Unlike Subcharts, Sub-Ladders cannot receive any local variables.