A SERVICE OF

logo

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-318
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
SET M1018
X0
DCOS D0 D10
D 1 D 0
D 11 D 10
Degree value
COS value
binary floating point