Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 144

Advertising
background image

6Ć12

6.4.1

Input Parameters for the Logical Exclusive OR Instruction

This table lists the inputs for the XOR instruction and the variable type and data

type/range that each input supports.

Parameter

Description

Variable Type

Data Type/Range

EN

When this input is true, the instruction executes. When this

input is false, the instruction is not executed and ENO is

false.

Connect a Boolean input or output.

In1
In2

Enter two variables or constants on which you want to

perform the logical XOR.
Note: Any constants entered are displayed in hexadecimal.

D simple
D constant
D element of an array

integer (0ĆFFFF)

double integer

(0ĆFFFFFFFF)

6.4.2

Output Parameters for the Logical Exclusive OR Instruction

This table lists the outputs for the XOR instruction and the variable type and data

type/range that each output supports.

Parameter

Description

Variable Type

Data Type/Range

ENO

Use this output as the input to another instruction for easiĆ

ly chaining multiple instructions. This output follows the

state of EN unless an error occurs.

Connect a contact, coil, or Boolean input to

another instruction.

Out

This output contains the result of the XOR operation on

In1 and In2.

D simple
D element of an array

integer (0ĆFFFF)

double integer

(0ĆFFFFFFFF)

Advertising