IAI America XSEL-KET User Manual

Page 127

Advertising
background image

108

INTELLIGENT ACTUATOR

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).

Advertising
This manual is related to the following products: