beautypg.com

Delta DVP-ES2 User Manual

Page 596

background image

D V P - E S 2 / S X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l – P r o g r a m m i n g

3 - 4 8 0

API Mnemonic Operands

Function

272

D

BANI

Connect NC Contact in Series by
Specified Bit

Controllers

ES2/EX2 SS2 SA2

SE

SX2

Bit Devices

Word devices

Program Steps

Type

OP

X Y M S K H

KnX

KnY KnM KnS T C D E F

S

*

*

*

*

*

*

n

*

* *

*

*

*

*

*

*

*

*

BANI: 5 steps

DBANI: 9 steps

PULSE 16-bit 32-bit

ES2/EX2 SS2

SA2

SE

SX2 ES2/EX2 SS2

SA2

SE

SX2 ES2/EX2 SS2

SA2

SE

SX2

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

BANI

D0

K0

Y0

Instruction:

Operation:

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

This manual is related to the following products: