NE <>

PLCopen motion icon

Operator - Test if the first input is not equal to the second input.

Inputs

Input

Data Type

Range

Unit

Default

Description

IN1

ANY

 

 

 

First input.

IN2

ANY

 

 

 

Second input.

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

 

 

TRUE if IN1 is not equal to IN2.

Remarks

FBD Language Example

NeFbd.gif (1232 octets)

FFLD Language Example

NeLd.gif (1441 octets)

IL Language Example

Op1: FFLD  IN1
     NE  IN2
     ST  Q    (* Q is true if IN1 is not equal to IN2 *)

ST Language Example

Q := IN1 <> IN2;

See Also