DVP-ES3 Series Programming Manual Symbol S : Source value D : Arccosine value Explanation 1. This instruction finds the arccosine of the value in S and stores it in D . Arccosine value=cos -1 The following graph shows the relation between cosine and arccosine values. _6 2. If the absolute value of the conversion result is larger than the value that can be represented by the maximum floating-point number, SM602 is ON. 3. If the absolute value of the conversion result is less than the value that can be represented by the minimum floating-point number, SM601 is ON. 4. If the conversion result is zero, SM600 is ON.
6-450 API Instruction code Operand Function 1504 FACOS P S, D Arccosine 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