6F3B0250

7. Instructions

FUN 099

<>

Not equal

Expression

Input -[ A <> B ]- Output

Function

When the input is ON, the data of A and the data of B are compared, and if A is not equal to B, the output is turned ON.

Execution condition

Input

 

 

Operation

Output

OFF

No execution

 

 

OFF

ON

Execution

A ¹ B

 

ON

 

 

A = B

 

OFF

Operand

 

Name

 

 

Device

 

 

 

 

 

 

Register

 

 

 

 

Constant

Index

 

 

X

Y

R

S

T.

C.

XW

YW

RW

SW

T

C

D

I

J

K

 

 

A

Compared

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

 

data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B

Reference data

 

 

 

 

 

 

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Ö

Example

When R00C is ON, the data of D0125 is compared with the constant data 0, and if the data of D0125 is not 0, R020 is turned ON.

If the data of D0125 is 10, the comparison result is true. Consequently, R020 is turned ON.

D0125

10

¹Constant

0

R020 is ON

If the data of D0125 is 0, the comparison result is false. Consequently, R020 is turned OFF.

D0125

0

=Constant

0

R020 is OFF

Note

·This instruction deals with the data as signed integer (-32768 to 32767).

Basic Hardware and Function 199

CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Page 201
Image 201
Toshiba 6F3B0250, PROSEC T1 T1S user manual FUN Not equal