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

DVP-ES3 Series Programming Manual 6.16.2 Explanation of Floating-point Number Instructions Symbol S : Source value D : Sine value Explanation _6 1. This instruction finds the sine 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 degrees. 2. If SM695 is OFF, the source value is S 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 radian and sine values.

6-442 API Instruction code Operand Function 1500 FSIN P S, D Sine 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