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

Chapter 6 Applied Instructions Example When M0 is ON, the FATAN instruction finds the arctangent of the floating-point number in (D1, D0) and stores it in (D11, D10). The FDEG instruction converts the arctangent value in (D11, D10) is converted into degrees, and stores the conversion result in (D21, D20). R45 D21~D20 R1 D0 R0.785398 D11~D10 FA TAN FDEG Floating-point number Floating-point number Floating-point number Note: "R” indicates REAL type data. 6_ Additional remarks If the value in S exceeds the range of values that can be represented by floating-point numbers, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2013. 6-453