Mitsubishi — 5.6 Descriptions of the Applied Instructions

Chapter 5 Applied Instructions  S : Source value (binary floating-point value); D : Arctangent value  Arctangent value=tan -1 Explanation The relation between tangent values and arctangent values is shown below. R S  If a conversion result is 0, a zero flag will be ON.  SM1064 is the zero flag in an Ox motion subroutine, and SM968 is the zero flag in O100. Example  When X0.0 is ON, the arctangent of the binary floating-point value in (D1, D0) is stored in (D11, D10). X0.0 Binary floating-point value S D Arctangent value  Please refer to section 5.3 for more information about performing Binary floating-point value Additional remark operations on floating-point numbers.

5-101 API Instruction code Operand Function S, D f Arctangent of a binary 135 D ATAN P loating-point number Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S    D   Pulse instruction 16-bit instruction 32-bit instruction ( 6 steps)  –  S: Tangent value R: Arctangent value 2 0 - 2 DATAN D0 D10 D 1 D 0 D 11 D 10