Actuator control command – IAI America PSEL User Manual

Page 177

Advertising
background image




167

Part 2 Programs

1.12 Actuator Control Command


 SV (Turn ON/OFF servo)

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

SV



Axis

pattern

Prohibited PE

[Function]

Turn ON/OFF the servos of the axes specified by the axis pattern in operand 1.


SV



ON

Turn ON the servo.

OF

Turn OFF the servo.


[Example 1]

SVON

11

Turn ON the servos of axes 1 and 2. Nothing will occur if the
axis servos are already ON.

[Example 2]

The axis pattern can be specified indirectly using a variable.
When the command in [Example 1] is rephrased based on indirect specification using
a variable:
11 (binary)

 3 (decimal)

LET

1

3

Assign 3 to variable 1.

SVON

*1

Warning: If the servo is turned on near the mechanical end, excited phase detection may not be

performed properly and an excited pole indetermination error or excited pole detection
error may generate.
Move the slider, rod, etc., away from the mechanical end before turning on the servo.

Advertising