Delta DVP-ES2 — Decimal Floating Point

3. Instruction Set Decimal floating point = [constant D0] Ч 10 [exponent D1 ] Constant D0 = ±1,000 ~ ±9,999 Exponent D1 = -41 ~ +35 The constant 100 does not exist in D0 because 100 is represented as 1,000 Ч 10 -1 . The range of decimal floating point is ±1175 Ч 10 -41 ~ ±3402Ч10 +35 .  The decimal floating point can be used in the following instructions: D EBCD: Convert binary floating point to decimal floating point D EBIN: Convert decimal floating point to binary floating point  Zero flag (M1020), borrow flag (M1021), carry flag (M1022) and the floating point operation instruction Zero flag: M1020 = On if the operational result is “0”. Borrow flag:

M1021 = On if the operational result exceeds the minimum unit. Carry flag: M1022 = On if the absolute value of the operational result exceeds the range of Index register E, F use. The index registers are 16-bit registers. There are 16 devices including E0 ~ E7 and F0 ~ F7.  E and F index registers are 16-bit data registers which can be read and written.  If you need a 32-bit register, you have to designate 16-bit 16-bit E. In this case, F will be covered up by E and F0 E0 cannot be used; otherwise, the contents in E may become incorrect.

(We recommend you use MOVP instruction to reset the contents in D to 0 when the High byte Low byte  Combination of E and F when you designate a PLC is switched on.) 32-bit index register: (E0, F0), (E1, F1), (E2, F2), … (E7, F7) Devices modifiable: P, X, Y, M, S, KnX, KnY, KnM, KnS, T, C, D. E and F can modify the devices listed above but cannot modify themselves and Kn., e.g. K4M0E0 is valid and K0E0M0 is invalid. Grey columns in the table of operand at the beginning page of each application instruction indicate the operands modifiable by E and F. If you need to modify device P, I, X, Y, M, S, KnX, KnY, KnM, KnS, T, C and D by applying E, F, you have to select a 16-bit register, i.e.

you can designate E or F. 3-23 32-bit F0 E0