Delta DVP-ES3 — 6.3.2 Explanation of Data Conversion Instructions

Chapter 6 Applied Instructions 9. For the INT/IINTP instructions, the range of conversion result is between -32,768 and 32,767. 10. For the DINT/DINTP instructions, the range of conversion result is between -2,147,483,648 and 2,147,483,647. Example 1. When M0 is ON, the instruction converts the single-precision floating-point number in (D1, D0) into a binary integer, and stores the conversion result in D10. The instruction rounds the binary floating-point number down to the nearest whole digit. 2. When M1 is ON, the instruction converts the single-precision floating-point number in (D21, D20) into a binary integer, and stores the conversion result in (D31, D30).

The instruction rounds the binary floating-point number down to the nearest whole digit. 6_ Additional remarks If the value in S exceeds the range of values that can be represented by the floating-point numbers, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2013. 6-89