6F3B0253

7. Instructions

FUN 106

D<

Double-word less than

Expression

Input [ A+1A D< B+1B ]Output

Function

When the input is ON, the double-word data of A+1A and B+1B are compared, and if A+1A is less than B+1B, the output is turned ON.

Execution condition

Input

 

Operation

Output

OFF

No execution

 

 

OFF

ON

Execution

A+1A <

B+1B

ON

 

 

A+1A

B+1B

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 R010 is ON, the data of D0101D0100 is compared with the constant data 427780, and if the data of D0101D0100 is less than 427780, R014 is turned ON.

If the data of D0101D0100 is 250000, R014 is turned ON.

D0101D0100

250000

<

Constant

427780

If the data of D0101D0100 is 430000, R014 is turned OFF.

R014 is ON

D0101D0100

430000

Constant

427780

R014 is OFF

Note

This instruction deals with the data as double-word integer (-2147483648 to 2147483647).

188 T1-16S User’s Manual

Page 190
Image 190
Toshiba 6F3B0253 user manual FUN Double-word less than