beautypg.com

Not equal to (ne), C.4.4 not equal to (ne) – Nematron Pointe Controller User Manual

Page 387

background image

Pointe Controller User Guide

Appendix C: Ladder Diagram Block Reference

385

C.4.4 Not Equal to (NE)

When used in a Ladder Diagram, the NE block checks to see if one input is not
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 not equal to IN2, then “true is placed in Q. If IN1 is not not 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.

Configuration Reference

The parameters of this block are described in the following table:

Param

Name

Config

Var Type

Description

EN

Enable

no

-

The state of the rung (off/on)
received from the left.

Q

Output

no

-

The result — false or true — of
comparing the two input values.
The result becomes the state of the
rung (off/on) passed to the right.