
149
Part 4 Commands
ATN (Inverse-tangent 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 ATN Variable
number
Data ZR
[Function] Assign the inverse tangent 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 inverse tangent is radian.
(Note 1)
Radian = Angle x
180
[Example 1] ATN
100
1
Assign the inverse tangent of 1 (0.785398) to
variable 100.
[Example 2] LET
1
100
LET 101 1
ATN *1 *101
Assign 100 to variable 1.
Assign 1 to variable 101.
Assign the inverse tangent of the content of variable
101 (0.785398) to the content of variable 1 (variable
100).
150
Part 4 Commands
SQR (Root 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 SQR Variable
number
Data ZR
[Function] Assign the root 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.
[Example 1] SQR
1
4
Assign the root of 4 (2) to variable 1.
[Example 2] LET
1
10
LET 2 4
SQR *1 *2
Assign 10 to variable 1.
Assign 4 to variable 2.
Assign the root of the content of variable 2 (4) to the
content of variable 1 (variable 10).
152
Содержание X-SEL PX
Страница 1: ...Operation ManualSeventh Edition X SEL Controller PX QX Type Tenth Edition ...
Страница 2: ......
Страница 8: ......
Страница 14: ......
Страница 39: ...15 Part 1 Installation Reference Circuit Diagram Surge absorber Solenoid valve Controller 0 V 15 ...
Страница 410: ...383 Appendix 386 ...
Страница 452: ...425 Appendix 5 428 ...
Страница 559: ......