Less than or equal to (le), C.4.5 less than or equal to (le) – Nematron Pointe Controller User Manual

Page 388

Advertising
background image

Appendix C: Ladder Diagram Block Reference

Pointe Controller User Guide

386

Param

Name

Config

Var Type

Description

IN1

Input
Value 1

req

any Input

any Output

any Memory

T_DONE

T_VALUE

T_PREVAL

The first input value. The function
checks to see if this value is not
equal to the second input value.

IN2

Input
Value 2

req

any Input

any Output

any Memory

T_DONE

T_VALUE

T_PREVAL

Numeric

The second input value.

C.4.5 Less than or Equal to (LE)

When used in a Ladder Diagram, the LE block checks to see if one input is less
than or equal to another and uses the result — false or true — to set the output
rung state.

Select the

tool (from the

Comparison Blocks

toolbar) and click on a ladder

rung to insert the following block:

Once the block is inserted, you can double-click on it to

configure

it.

Functional Description

When EN becomes on, the block function is executed: the Input Value 1 (IN1) is
compared with the Input Value 2 (IN2) and the result is placed in the Output (Q).

If IN1 is less than or equal to IN2, then “true is placed in Q. If IN1 is not less than
or equal to IN2, then “false is placed in Q.

The result placed in Q determines the state of the rung passed to the right: a
“true result turns the rung on and a “false result turns the rung off.

The block function is executed every time the ladder is

scanned

, so long as EN

remains on. If EN becomes off, then Q is immediately turned off regardless of the
values of IN1 and IN2.

Advertising