IAI America ASEL User Manual

Page 167

Advertising
background image

Part 2 Programs

Chapter 3 Explanation of Commands

145

Part 2 Programs

1.11

Actuator Control Declaration

z

VEL (Set speed)

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

VEL

Speed

Prohibited

CP

[Function] Set the actuator travel speed in the value specified in operand 1.

The unit is mm/s.

The maximum speed will vary depending on the model of the actuator connected. Set a

speed not exceeding the applicable maximum speed.

(Note 1)

Decimal places cannot be used. An error will generate

(Note 2)

The minimum speed is 1 mm/s.

[Example 1]

VEL

100

Set the speed to 100 mm/s.

MOVP 1

Move to point 1 at 100 mm/s.

[Example 2]

VEL

500

Set the speed to 500 mm/s.

MOVP 2

Move to point 2 at 500 mm/s.

[Example 3]

LET

1

300

Assign 300 to variable 1.

VEL

*1

Set the speed to the content of variable 1 (300 mm/s).

Advertising