Manual
38
12. SEL Language
noisdnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpONAT.oNelbairaVataDRZ
● TAN (Tangent)
[Function] Assigns the tangent of operand 2 to the contents of the variable in operand 1. The output turns
ON when the result of the operation is 0. For the setting in operand 1, designate a real number
variable in the range 100~199, 300~399. The unit in operand 2 is radians.
Note 1: Radian=Angle x
π÷
180
[Example 1] TAN 100 0.785398 Assign 1, tangent of 0.785398, to varible in 100.
[Example 2] LET 1 100 Assign 100 to variable 1.
LET 101 45 45x π÷180 (radian) (convert 45°to radian and
MULT 101 3.141592 assign this to variable 101).
DIV 101 180 Assign 1, tangent of contents in variable101 to
TAN *1 *101 variable 100 (contents of variable 1).
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpONTA.oNelbairaVataDRZ
[Function] Assigns the arctanagent of operand 2 to the contents of the variable in operand 1. The output
turns ON when the result of the operation is 0. For the settings in operand 1, designate a real
number variable in the range 100~199, 300~199. The unit in operand 2 is radians.
Note 1: Radian=Angle x
π ÷
180
[Example 1] ATN 100 1 Assign 0.785398, arctangent of 1, to variable 100.
Assign 100 to variable 1.
[Example 2] LET 1 100 Assign 1 to variable 101.
LET 101 1 Assign 0.785398, arctangent of contents in variable101
TAN *1 *101 to variable 100 (contents of variable 1).
● ATN (Arctangent)