Nematron Pointe Controller User Manual

Page 159

Advertising
background image

Pointe Controller User Guide

Chapter 5: Developing Controller Programs

157

Condition Block Example

This decision block determines if Input_1 is ON or OFF. If Input_1 is ON, program
flow continues through the Flowline labeled Then. If Input_1 is OFF, flow
continues through the flowline labeled Else.

The LineLabels property specifies a Then label for the flowline followed
from a true or on condition and an Else label for the flowline followed
from a false or off condition.

The Switch T/F Paths property is No, meaning the default true/false path is
taken. A selection of Yes switches the true/false path of the flow.

The Timeout Value property is not selected. When you select a tag, the
value adds a wait period to the block. Program flow does not follow the
Else line, even if the condition is false, until the Timeout expires and the
condition still evaluates to false. Any time the condition evaluates to True,
regardless of the Timeout, program flow follows the Then line.

The Units property is associated with the Timeout Value. If you specify a
Timeout Value, you can select the units for counting time in milliseconds,
seconds, or minutes.

The Condition Type property is selected as an Expression, and the next
property defines the block’s tested expression. In this condition, the tag,
Input_1, can be ON or OFF.

Advertising