beautypg.com

IAI America PSEL User Manual

Page 158

background image




148

Part 2 Programs


 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

Position

No. Axis1

Axis2 Vel Acc Dcl

1

2



10 50.000

100.000

200 0.30 0.30



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