Not (not), C.5.4 not (not) – Nematron Pointe Controller User Manual

Page 396

Advertising
background image

Appendix C: Ladder Diagram Block Reference

Pointe Controller User Guide

394

Param

Name

Config

Var Type

Description

EN

Enable

no

-

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

ENO

Enable
Out

no

-

The state of the rung (off/on)
passed to the right.

IN1

Input
Value 1

req

any integer*

T_DONE

T_VALUE

T_PREVAL

The first input value.

IN2

Input
Value 2

req

any integer*

T_DONE

T_VALUE

T_PREVAL

Numeric

The second input value.

OUT

Output
Value

req

any integer*

The result of a bit-for-bit XOR
comparison between the input
values.

* Any Input, Output, or Memory tag except 32-bit Real (F). For more information, see “

Defining Input,

Output, Memory tags

” on page 114

.

NOTE: No restrictions are placed on the sizes of inputs or output variables. If the
inputs differ in size (for example, an 8-bit byte compared with a 16-bit word),
then the smaller input is bit-extended with zeros to match the size of the larger
input.

Furthermore, if the result is larger than the output variable (for example, a 16-bit
result to be placed in an 8-bit output variable), then the high-order bits of the
result are discarded and the low-order bits are placed in the output.

C.5.4 Not (NOT)

When used in a Ladder Diagram, the NOT block performs a bit-for-bit inversion
upon an input and sends the result to output.

Select the

tool (from the

Logical and Bit Shift 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.

Advertising