IAI America TT-C3 User Manual
Page 101
91
INTELLIGENT ACTUATOR
Chapter 4 Commands
2.
Explanation
of
Commands
z 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).