Delta DVP-ES3 — 6.3.2 Explanation of Data Conversion Instructions

DVP-ES3 Series Programming Manual 4. The operand S 2 used in the 16-bit instruction is set as shown in the following table. 5. The operand S 2 used in the 16-bit instruction occupies four devices. 6. The operand S 2 used in the 32-bit instruction is set as shown in the following table. _6 7. The operand S 2 used in the 32-bit instruction occupies eight devices. 8. If the values in the 32-bit instruction are floating-point numbers, set SM658 to ON. If the values are decimal integers, set SM685 to OFF. 9. The operation equation in the instruction is: D = [( S 1 –Minimum source value)Ч(Maximum destination value–Minimum destination value)]ч(Maximum source value)+Minimum destination value 10.

The operational relation between the source value and the destination value is:

y = kx+b y=Destination value (D) k=Slope=(Maximum destination value–Minimum destination value)ч(Maximum source value–Minimum source value) x=Source value ( S 1 ) b=Offset =Minimum destination value–Minimum source valueЧSlope 6-112 Device number Parameter Setting range S2 Maximum source value -32,768 to 32,767 S2+1 Minimum source value -32,768 to 32,767 S2+2 Maximum destination value -32,768 to 32,767 S2+3 Minimum destination value -32,768 to 32,767 Setting range Device number Parameter Integer Floating-point number S2、S2+1 Maximum source value -2,147,483,648 to 2,147,483,647 The range of 32-bit floating-point numbers S2+2、3 Minimum source value S2+4、5 Maximum destination value S2+6、7 Minimum destination value