beautypg.com

Delta DVP-ES2 User Manual

Page 227

background image

3 . I n s t r u c t i o n S e t

3 - 111

API Mnemonic

Operands

Function

46

ANS

Timed Annunciator Set

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

*

m

*

D

*

ANS: 7 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: Alarm timer m: Time setting D: Alarm

Explanations:

1.

ANS instruction is used to drive the output alarm device in designated time.

2. Operand

S valid range: T0~T183

Operand m valid range: K1~K32,767 (unit: 100 ms)

Operand D valid range: S912~S1023

3.

Flag: M1048 (ON: Alarm is active), M1049 (ON: Alarm monitoring is enabled)

4.

See ANR instruction for more information

Program Example:

If X3 = ON for more than 5 sec, alarm step relay S999 will be ON. S999 will remains ON after X3 is

reset. (T10 will be reset, present value = 0)

X3

ANS

T10

K50

S999

This manual is related to the following products: