beautypg.com

Delta DVP-ES2 User Manual

Page 342

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-226

API Mnemonic Operands

Function

81

D PRUN P

Parallel Run

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

* *

D

*

*

PRUN, PRUNP: 5 steps

DPRUN, DPRUNP: 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: Source device D: Destination device

Explanations:

1.

This instruction sends the content in S to D in the form of octal system

2.

The start device of X, Y, M in KnX, KnY, KnM format should be a multiple of 10, e.g. X20, M20,

Y20.

3. When

operand

S is specified as KnX, operand D should be specified as KnM.

4. When

operand

S is specified as KnM, operand D should be specified as KnY.

Program Example 1:

When X3 = ON, the content in K4X20 will be sent to K4M10 in octal form.

X3

PRUN

K4X20

K4M10

X37

M27

X36 X35 X34 X33 X32 X31 X30 X27 X26 X25 X24 X23 X22 X21 X20

M17 M16 M15 M14 M13 M12 M11 M10

M26 M25 M24 M23 M22 M21 M20 M19 M18

No change

Program Example 2:

When X2 = ON, the content in K4M10 will be sent to K4Y20 in octal form.

X2

PRUN

K4M10

K4Y20

Y37

M27

Y36 Y35 Y34 Y33 Y32 Y31 Y30 Y27 Y26 Y25 Y24 Y23 Y22 Y21 Y20

M17 M16 M15 M14 M13 M12 M11 M10

M26 M25 M24 M23 M22 M21 M20 M19 M18

These two devices will not be transmitted

This manual is related to the following products: