3. Instruction Set
Program Example 1:
M1018 = OFF, radian mode. When X0 = ON, DTAN instruction performs tangent operation on the
radian value in (D1, D0) and stores the TAN value in (D11, D10) in binary floating format.
M1002
RST M1018
X0
DTAN D0 D10
D1 D0
D11 D10
T
AN value
binary floating point
binary floating point
RAD value(degree x / 180)Ï€
Program Example 2:
M1018 = ON, degree mode. When X0 = ON, DTAN instruction performs tangent operation on the
degree value (0°≦degree<360°) in (D1, D0) and stores the TAN value in (D11, D10) in binary
floating format.
M1002
SET M1018
X0
DTAN D0 D10
D 1 D 0
D 11 D 10
Degree value
TAN value
(binary floating point)