Specifications

7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-3
1. 16-bit instruction: K1 to 4 (4 to 16 points)
When there is digit specification on the source (S) side, the range of
numeric values handled as source data are shown below.
Specified Number of Digits (16-bit Instruction)
K1 (4 points) 0 to 15
K2 (8 points) 0 to 255
K3 (12 points) 0 to 4095
K4 (16 points) -32768 to 32767
When there is digit specification on the Source side, the number of
points set by the digit specification is used on the destination side.
2. 32-bit instruction: K1 to 8 (4 to 32 points).
When there is digit specification on the source (S) side, the range of
numeric values handled as source data are as shown below.
Specified Number of Digits (32-bit Instruction)
K1 (4 points) 0 to 15
K2 (8 points) 0 to 255
K3 (12 points) 0 to 4095
K4 (16 points) 0 to 65535
K5 (20 points) 0 to 1048575
K6 (24 points) 0 to 167772165
K7 (28 points) 0 to 268435455
K8 (32 points) -2147483648 to 2147483647
Handling of Numeric Values
In the DVP PLC series, there are instructions, which handle numeric values
in 16 bits and 32 bits format. The highest bits of 16 bits and 32 bits are
used for the judgment of positive and negative numbers. Numeric values
handed by 16 bits and 32 bits are as follows:
16 bits : -32768 to 32767
32 bits : -2147483648 to 2147483647
Double word (32-bit data) processing
32-bit data is stored using digit specification of K1 to 8 when it is stored
in bit or in word devices.
Storing data in bit devices
Refer to Digit Specification Processing.
Storing data in word devices
1) Two consecutive word devices are used to store 32-bit data.
2) To store the data of bit devices with which digit specification of K1 to
K8 was done, refer to Digit Specification Processing.
3) Cautions : If the storing word device is assigned to the final device
number of each device, an error will occur.
Indirect Assigned Method
E and F represent constants used as operands. They are the same as
other operands and may be moved, compared, and be used in the word
devices (KnX, KnY, KnM, KnS, T, C, D) to serve as the indirect assigned
function, however, they are not to be used in the bit devices (X, Y, M, S) and
in the constants (K, H) to serve as the direct assigned function.
MOV D5E D10F
When E = 8, F = 14
D5E = D(5+8) = D13
D10F = D(10+14) = D24
Move the content of D13 to D24
when execute this command.