beautypg.com

Delta DVP-ES2 User Manual

Page 288

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

API Mnemonic

Operands

Function

68

DTM P

Data Transform
and Move

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

*

m

*

*

*

n

*

*

*

DTM: 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

1

: Start device of the source data stack D: Start device of the destination data stack m:

Transformation mode n: Length of source data stack

Explanations:

1.

For parameter settings of operand m, please refer to the following description. K, H, D devices

can be specified by operand m. If the set value is not in the available range, no transformation

or move operation will be executed and no error will be detected.

2.

K, H, D devices can be specified by operand n, which indicates the length of the source data

stack. The available range for n is 1~256. If the set value falls out of available range, PLC will

take the max value (256) or the min value (1) as the set value automatically.

3.

Explanations on parameter settings of m operand:

K0: With n = 4, transform 8-bit data into 16-bit data (Hi-byte, Lo-byte) in the following rule:

c

d

e

f

Hi-byte Lo-byte

c

d

e

f

Hi-byte Lo-byte

c

d

e

f

Hi-byte Lo-byte

c

d

e

f

Hi-byte Lo-byte

K1: With n = 4, transform 8-bit data into 16-bit data (Lo-byte, Hi-byte) in the following rule:

c

d

e

f

Hi-byte Lo-byte

c

d

e

f

Hi-byte Lo-byte

c

d

e

f

Hi-byte Lo-byte

c

d

e

f

Hi-byte Lo-byte

This manual is related to the following products: