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

API

 

Mnemonic

Operands

Function

 

 

 

 

 

 

272

 

D

BANI

 

Connect NC Contact in Series by

 

 

Specified Bit

 

 

 

 

 

Controllers

ES2/EX2 SS2 SA2 SX2

SE

Type

Bit Devices

 

 

 

 

Word devices

 

 

 

 

 

Program Steps

 

OP

X

Y

M

S

K

H KnX KnY KnM KnS T

C

D

E

F

BANI: 5 steps

 

 

S

 

 

 

 

 

 

 

*

*

*

*

*

*

 

 

DBANI: 9 steps

 

 

n

 

 

 

 

*

*

*

*

*

*

*

*

*

*

*

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

 

16-bit

 

 

32-bit

 

 

 

 

 

 

 

 

 

ES2/EX2 SS2

SA2

SX2 ES2/EX2 SS2

SA2

SX2 ES2/EX2 SS2

SA2

SX2

 

 

 

 

 

 

 

SE

SE

SE

Operands:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S: Reference source device n: Reference bit

Explanations:

1.For ES2/EX2 models, only V1.20 or above supports the function

2.Available range for the value in operand n: K0~K15 for 16-bit instruction; K0~K31 for 32-bit instruction.

3.BANI instruction is used to connect NC contact in series, whose state is defined by the reference bit n in reference device D, i.e. if the bit specified by n is ON, the NC contact will be ON, and vice versa.

Program Example:

 

 

 

 

 

 

X1

 

 

 

 

Instruction:

Operation:

 

 

 

BANI

D0

K0

 

Y0

LDI

X1

Load NC contact X1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BANI

D0

K0 Connect NC contact in series

 

 

 

 

 

 

 

 

 

 

, whose state is defined by

 

 

 

 

 

 

 

 

 

 

bit0 of D0

 

 

 

 

 

 

 

 

OUT

Y0

Drive coil Y0

3 - 480

Page 596
Image 596
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Bani, K0 Connect NC contact in series