beautypg.com

IAI America SSEL User Manual

Page 176

background image

154

Part 2 Programs

z GVEL (Get 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

GVEL

Variable

number

Position

number

CP

[Function] Obtain speed data from the speed item in the position data specified in operand 2, and set

the value in the variable specified in operand 1.

[Example]

GVEL

100

10

Set the speed data at position No. 10 in variable 100.

Position Data Display in PC Software

No.

Axis 1

Axis 2

Vel

Acc

Dcl

1

2

x
x
x

10 50.000 100.000 200 0.30 0.30

x
x

If the position data is set as above when the command is executed, 200 will be set in variable 100.