
107
Part 2 Programs
1.3 Function
Operation
z
SIN (Sine operation)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional SIN
Variable
number
Data ZR
[Function]
Assign the sine of the data specified in operand 2 to the variable specified in operand 1.
The output will turn ON when the operation result becomes 0.
The setting in operand 1 must be a real variable in a range of 100 to 199, 1100 to 1199, 300
to 399 or 1300 to 1399.
The unit of data in operand 2 is radian.
(Note 1)
Radian = Angle x
S y
180
[Example 1]
SIN
100
0.523599
Assign the sine of 0.523599 (0.5) to variable 100.
[Example 2]
LET
101
30
MULT
101
3.141592
DIV
101
180
SIN
100
*101
30 x
S y
180 (radian)
(30
q
will be converted to radian and assigned to
variable 101.)
Assign the sine of the content of variable 101 (0.5) to
variable 100.
z
COS (Cosine operation)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional COS
Variable
number
Data ZR
[Function]
Assign the cosine of the data specified in operand 2 to the variable specified in operand 1.
The output will turn ON when the operation result becomes 0.
The setting in operand 1 must be a real variable in a range of 100 to 199, 1100 to 1199, 300
to 399 or 1300 to 1399.
The unit of data in operand 2 is radian.
(Note 1)
Radian = Angle x
S y
180
[Example 1]
COS
100
1.047197
Assign the cosine of 1.047197 (0.5) to variable 100.
[Example 2]
LET
101
60
MULT
101
3.141592
DIV
101
180
COS
100
*101
60 x
S y
180 (radian)
(60
q
will be converted to radian and assigned to
variable 101.)
Assign the cosine of the content of variable 101 (0.5)
to variable 100.
Summary of Contents for PSEL
Page 2: ......
Page 10: ......
Page 18: ...8 Part 1 Installation ...
Page 37: ...27 Part 1 Installation 2 2 axis specification with battery ...
Page 382: ...372 Appendix Micro cylinder RCL Series Current limiting value ratio Push force N ...
Page 476: ...466 Appendix ...
Page 480: ...470 ...
Page 485: ...475 ...
Page 487: ...INTELLIGENT ACTUATOR SEL Language Programming Manual Eighth Edition ...
Page 488: ......
Page 490: ......
Page 494: ......
Page 518: ...24 ...
Page 526: ...32 ...
Page 831: ... 11 Actuator Control Declaration 337 Example DFIF 1 170 ...
Page 1060: ......
Page 1061: ......