beautypg.com

Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 377

background image

7 Application Instructions API 50-99

D V P - P L C A P P L I C AT I O N M A N U A L

7-93

API Mnemonic Operands

Function

81

D PRUN P

Parallel Run

Controllers

ES/EX/SS SA/SX/SC EH/SV

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

ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV

Operands:

S

: Source device D: Destination device

Explanations:

1. The most right digit of X, Y and M of KnX, KnY and KnM has to be 0.

2. When

S

designates KnX, D has to designate KnM; when S designates KnM, D has to designate KnY.

3. See the specifications of each model for their range of use.

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

Program Example 1:

When X3 = On, the content in K4X10 will be sent to K4M10 in octal form.

X3

PRUN

K4X10

K4M10

X27

M27

X26 X25 X24 X23 X22 X21 X20 X17 X16 X15 X14 X13 X12 X11 X10

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 K4Y10 in octal form.

X2

PRUN

K4M10 K4Y10

Y27

M27

Y26 Y25 Y24 Y23 Y22 Y21 Y20 Y17 Y16 Y15 Y14 Y13 Y12 Y11 Y10

M17 M16 M15 M14 M13 M12 M11 M10

M26 M25 M24 M23 M22 M21 M20 M19 M18

Will not be transmitted