Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Fand =, Fand <>, Fand <=, Fand >=

Models: DVP-ES2/EX2/SS2/SA2/SX2/SE

1 702
Download 702 pages 56.54 Kb
Page 600
Image 600

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming

API

Mnemonic

Operands

Function

 

 

 

Controllers

 

281~

 

FAND

 

 

 

Floating Point Contact Type

 

ES2/EX2 SS2 SA2 SX2

286

 

 

 

 

Comparison AND

 

 

 

SE

 

 

 

 

 

 

 

 

 

 

 

Type

Bit Devices

 

Word devices

 

 

 

 

Program Steps

 

OP

 

X

Y

M

S

K

H KnX KnY KnM KnS T

C

D

E

F FAND: 9 steps

 

S1

 

 

 

 

 

 

 

*

*

*

 

 

 

 

S2

 

 

 

 

 

 

 

*

*

*

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

16-bit

SA2

32-bit

 

 

 

 

 

 

 

 

 

SA2

 

 

 

SA2

 

 

 

 

 

 

 

 

ES2/EX2 SS2

SE SX2 ES2/EX2 SS2

SE

SX2 ES2/EX2 SS2 SE

SX2

Operands:

 

 

 

 

 

 

 

 

 

 

 

 

S1: Source device 1 S2: Source device 2

Explanations:

1.This instruction compares the content in S1 and S2. Take “FAND =” for example, if the result is “=”, the continuity of the instruction is enabled. If the result is “≠”, the continuity of the instruction is disabled.

2.The user can specify the floating point value directly into operands S1 and S2 (e.g. F1.2) or store the floating point value in D registers for further operation.

3.FANDinstruction is used for serial connection with contacts.

API No.

32-bit instruction

Continuity condition

Discontinuity condition

 

 

 

 

281

FAND

S1S2

S1S2

282

FAND

S1S2

S1S2

283

FAND

S1S2

S1S2

284

FAND<>

S1S2

S1S2

285

FAND<=

S1S2

S1S2

286

FAND>=

S1S2

S1S2

Program Example:

When X1 is OFF and the content in D100(D101) is not equal to F1.2, Y21 = ON and latched.

X1

FAND<> F1.2

D0

 

SET

Y21

 

3 - 484

Page 600
Image 600
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Fand =, Fand <>, Fand <=, Fand >=