Delta DVP-ES3 — 6.16.2 Explanation of Floating-point Number Instructions

DVP-ES3 Series Programming Manual Symbol S : Source value D : Device where the result is stored Explanation _6 1. This instruction calculates the square root of the value in S , and stores the result in the device specified by D . 2. The operation result stored in D is an integer. If a floating-point number is rounded down to the nearest whole digit, SM601 is ON. 3. If the operation result stored in D is 0, SM600 is ON. 4. Only the 32-bit instructions can use the 32-bit counter, but not the device E. Example When M0 is ON, the instruction calculates the square root of the value in D0, and stores the result in D10.

6-464 API Instruction code Operand Function 1511 D SQR P S, D Square root of a binary 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               Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 ES3