Nematron Pointe Controller User Manual

Page 157

Advertising
background image

Pointe Controller User Guide

Chapter 5: Developing Controller Programs

155

PROPERTY

WHAT YOU ENTER

Run Criteria

(Program only)

Presents Build Condition dialog to specify a condition that must be
true for the program chart to execute. Run criteria are always
evaluated on start of execution at the beginning of a chart. You
can also elect to evaluate run criteria each time a chart returns
from a yield (for example, inside a loop or wait operation) by
selecting the option in the Flowchart Preferences dialog box.

Arguments

(Subchart only)

By Value (default): A tag’s value is passed to the subchart; as such,
the tag cannot be modified within the subchart. Literal constants,
i.e., numbers, may be passed by value.

By Reference: A reference to the tag is passed to the subchart.
Since the tag’s reference provides direct access to the
PointeControl database, the tag’s value can be referenced or
modified within the subchart through the tag reference. A string
may also be passed by reference.

Local Vars

(Subchart only)

The number of chart-specific local variables. A listing of the
defined chart-specific outputs appears below this property.

NOTE: A loop (Repeat/Until or While/Do) that is set to YIELD will allow the rest of
the charts in the project’s Chart List to scan while the loop is running. If the loop
is not set to YIELD, then it will continuously check its run condition without
interruption, effectively putting all other charts on hold. For more information,
see “Repeat/Until Loop” on page 158 and “While/Do Loop” on page 159.

Return/Exit Block Properties:

PROPERTY

WHAT YOU ENTER

Caption

User label for the block.

Terminate Type

Return OR Exit

For program charts, Return restarts the chart from the Start block;
for subcharts, Return directs program flow to the calling chart.

Exit directs program flow out of a loop and continues execution at
the block immediately following the loop.

Advertising