IAI America ASEL User Manual

Page 159

Advertising
background image

Part 2 Programs

Chapter 3 Explanation of Commands

137

Part 2 Programs

z

PVEL (Assign speed data)

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

PVEL

Speed

Position

number

CP

[Function] Write the speed specified in operand 1 to the position number specified in operand 2.

(Note)

If a negative value is written with a PVEL command, an alarm will generate when that position

is specified in a movement operation, etc. Exercise caution.

[Example 1]

PVEL

100

10

Write speed 100 mm/s to position No. 10.

[Example 2]

LET

1

100

Assign 100 to variable 1.

LET

2

10

Assign 10 to variable 2.

PVEL

*1

*2

Write the content of variable 1 (speed 100 mm/s) to the

content of variable 2 (position 10).

Advertising