Delta AH500 — 6.16.2 Explanation of Floating-point Number Instructions

Chapter 6 Applied Instructions API 1505 Symbol: S : Source value Double word D : Arctangent value Double word 1. Arctangent value=tan -1 2. The relation between tangent values and arctangent values are shown below. Explanation: 3. If the conversion result is 0, SM600 is ON. Example: When X0.0 is ON, the arctangent of the floating-point number in (D1, D0) is stored in (D11, D10). The arctangent value in (D11, D10) is converted into the degree, and the conversion result is stored in (D21, D20). The degree in (D21, D20) is converted into the integer, and the conversion result is stored in (D31, D30).

The integer in (D31, D30) is converted into the binary-coded decimal value, and the conversion result is stored in Y0.15~Y0.0. 6-333 Instruction code Operand Function FATAN P S, D Arctangent of the floating-point number Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S           D          Pulse instruction 16-bit instruction (5-6 steps) 32-bit instruction AH500 AH500 -