DVP-ES3 Series Programming Manual Symbol S : Source value D : Tangent value Explanation 1. This instruction finds the tangent of the value in S and stores it in D . The state of SM695 determines whether the source value in S is in radians or in degrees. _6 2. If SM695 is OFF, the source value in S is in radians. Radian=DegreeЧπ/180. 3. If SM695 is ON, the source value in S is in degrees. Degree=RadianЧ180/π. (0 o ≦ Degree ≦ 360 0 ) 4. If the conversion result is zero, SM600 is ON. 5. The following graph shows the relation between radians and tangent values.
6-446 API Instruction code Operand Function 1502 FTAN P S, D Tangent of a 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