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

API

Mnemonic

Operands

Function

Controllers

68

 

DTM

P

 

Data Transform

ES2/EX2 SS2 SA2 SX2

 

 

and Move

SE

 

 

 

 

 

 

Type

Bit Devices

 

Word devices

Program Steps

OP

X

Y

M

S K

H

KnX

KnY

KnM

KnS

T

C

D

E

 

F DTM: 9 steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

m

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

n

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

 

 

 

16-bit

 

 

 

 

32-bit

 

 

 

 

 

 

 

 

 

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

 

 

 

 

 

 

 

SE

SE

SE

 

 

 

 

 

 

 

 

Operands:

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

Hi-byte Lo-byte

c

Hi-byte Lo-byte

 

 

 

 

d

c d

ee f

f

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

Hi-byte Lo-byte

c

d

e

f

Hi-byte Lo-byte

dc f e

3 - 172

Page 288
Image 288
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Dtm, Data Transform, Move Type Bit Devices Word devices Program Steps