Delta DVP-ES3 — 6.3.2 Explanation of Data Conversion Instructions

DVP-ES3 Series Programming Manual Symbol S : Data source D : Conversion result Explanation 1. This instruction converts thee single-precision floating-point number in the register specified by S into the decimal _6 floating-point number, and stores the conversion result in the register specified by D . 2. The floating-point operation in the PLC is based on single-precision floating-point numbers. Use the FBCD instruction to convert a single-precision floating-point number into a decimal floating-point number. 3. Instruction flags:

SM600 (zero flag), SM601 (borrow flag), and SM602 (carry flag) When the absolute value of the conversion result is larger than the value that can be represented by the maximum floating-point number, SM602 is ON. When the absolute value of the conversion result is less than the value that can be represented by the minimum floating-point number, SM601 is ON. When the conversion result is zero, SM600 is ON.

6-100 API Instruction code Operand Function 0212 FBCD P S, D Converting a binary floating-point number into a decimal floating-point number Device X Y M S T C HC D FR SM SR E K 16# “$” F S        D     BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S  D  Pulse instruction 16-bit instruction 32-bit instruction ES3 - ES3