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

API

Mnemonic

Operands

Function

Controllers

40

ZRST

 

P

 

Zone Reset

 

 

 

SA2

 

 

 

 

 

 

ES2/EX2 SS2 SE

SX2

Type

Bit Devices

 

Word devices

 

 

 

Program Steps

 

OP

X

Y

M

S

K

H KnX KnY KnM KnS T

C

D

E

F ZRST, ZRSTP: 5 steps

D1

 

*

*

*

 

*

*

*

 

 

 

D2

 

*

*

*

 

*

*

*

 

 

 

 

PULSE

 

 

16-bit

 

 

 

32-bit

 

 

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

 

SA2

SX2

ES2/EX2

SS2

 

SA2

SX2

SE

 

SE

 

SE

 

 

 

 

 

 

 

 

 

 

 

Operands:

D1: Starting device of the reset range D2: End device of the reset range

Explanations:

1.When the instruction is executed, range D1 to D2 will be reset.

2.Operand D1 and D2 must be the same data type, Valid range: D1 D2

3.When D1 > D2, only operand designated by D2 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.

X0

ZRST M300 M399

X1

ZRST C0 C127

X20

ZRST T0 T127

X2

ZRST S0 S127

X3

ZRST D0 D100

X4

ZRST C235 C254

Points to note:

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

3 - 102

Page 218
Image 218
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual KnX KnY KnM KnS T ZRST, Zrstp 5 steps