Manual

37
12. SEL Language
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpONIS.oNelbairaVataDRZ
SIN (Sine)
[Function] Assigns the sine 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 varible in the operand 100
~199, 300~399.
Note 1: Radian=Angle x
π÷
180
[Example 1] SIN 100 0.523599 Assign 0.5, sine of 0.523599, to variable 100.
[Example 2] LET 1 100 Assign 100 to variable 1.
LET 101 30 30x π÷180 (radian) (convert 30°to radian and
MULT 101 3.141592 assign this to variable 101).
DIV 101 180 Assign 0.5, sine of contents in variable101 to
SIN *1 *101 variable 100 (contents of variable 1).
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpOSOC.oNelbairaVataDRZ
[Function] Assigns the cosine of operand 2 to the contents of the variable in operand 1.
The output turnsON 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.
Note: Radian = Angle x π÷180.
[Example 1] SIN 100 1.047197 Assign 0.5, sine of 1.047191 to variable 100.
[Example 2] LET 1 100 Assign 100 to variable 1.
LET 101 30 60x π÷180 (radian) (convert 60°to radian and
MULT 101 3.141592 assign this to variable 101).
DIV 101 180 Assign 0.5, cosine of contents in variable101 to
SIN *1 *101 variable 100 (contents of variable 1).
COS(Cosine)
12.3 Functional calculation commands