Delta DVP-ES2/EX2/SS2/SA2/SX2/SE Two-Way Radio User Manual


 
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-172
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
cd
ef
Hi-byte Lo-byte
c
d
e
f
Hi-byte Lo-byte
cd
ef
Hi-byte Lo-byte