DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming Program Example 2: M1018 = ON, degree mode. When X0 = ON, DCOS instruction performs cosine operation on the degree value (0° degree ≦ < 360°) in (D1, D0) and stores the COS value in (D11, D10) in binary floating format.. M1002 X0 Degree value COS value binary floating point 3-342 SET M1018 DCOS D0 D10 D 1 D 0 D 11 D 10