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

API

81

Mnemonic

Operands

Function

Controllers

D

PRUN

P

Parallel Run

ES2/EX2

SS2

SA2 SX2

 

 

SE

Type

Bit Devices

 

 

 

 

 

Word devices

 

 

 

 

 

 

Program Steps

 

OP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

Y

M

S

K

H

KnX

KnY

KnM

KnS

T

C

D

E

 

F

PRUN, PRUNP: 5 steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DPRUN, DPRUNP: 9

 

S

 

 

 

 

 

 

*

 

 

 

*

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

*

 

 

*

 

 

 

 

 

 

 

 

 

 

steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

 

 

 

16-bit

 

 

 

 

32-bit

 

 

 

 

 

 

 

 

 

ES2/EX2

 

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

 

 

 

 

 

 

 

 

 

SE

SE

SE

 

 

 

 

 

 

 

 

 

 

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 X36 X35 X34 X33 X32 X31 X30 X27 X26 X25 X24 X23 X22 X21 X20

M27 M26 M25 M24 M23 M22 M21 M20 M19 M18 M17 M16 M15 M14 M13 M12 M11 M10

No change

Program Example 2:

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

X2

PRUN K4M10 K4Y20

These two devices will not be transmitted

M27 M26 M25 M24 M23 M22 M21 M20 M19 M18 M17 M16 M15 M14 M13 M12 M11 M10

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

3 - 226

Page 342
Image 342
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Prun, DPRUN, Dprunp