beautypg.com

Delta DVP-ES2 User Manual

Page 218

background image

D V P - E S 2 / E 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 - 1 0 2

API Mnemonic

Operands

Function

40

ZRST P

Zone Reset

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

D

1

*

*

* *

*

*

D

2

*

*

* *

*

*

ZRST, ZRSTP: 5 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:

D

1

: Starting device of the reset range D

2

: End device of the reset range

Explanations:

1.

When the instruction is executed, range D

1

to D

2

will be reset.

2. Operand

D

1

and D

2

must be the same data type, Valid range: D

1

D

2

3. When

D

1

> D

2

, only operand designated by D

2

will be reset.

4.

This instruction is generally used in pulse execution mode (ZRSTP).

Program Example:

1.

When X0 = ON, M300 to M399 will be reset.

2.

When X1 = ON, C0 to C127 will all be reset, i.e. present value = 0 and associated contact/

output will be reset as well.

3.

When X20 = ON, T0 to T127 will all be reset, i.e. present value = 0 and associated contact/

output will be reset as well.

4.

When X2 = ON, the steps of S0 to S127 will be reset.

5.

When X3 = ON, the data of D0 to D100 will be reset.

6.

When X4 = ON, C235 to C254 will all be reset, i.e. present value = 0 and associated contact/

output will be reset as well.

ZRST

M300

M399

ZRST

C0

C127

ZRST

T0

T127

ZRST

S0

S127

ZRST

D0

D100

ZRST

C235

C254

X0

X1

X20

X2

X3

X4

Points to note:

1.

Bit devices Y, M, S and word devices T, C, D can be individually reset by RST instruction.

This manual is related to the following products: