beautypg.com

IAI America PSEL User Manual

Page 160

background image




150

Part 2 Programs


 GDCL (Get deceleration 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

GDCL

Variable

number

Position

number

CP

[Function] Obtain deceleration data from the deceleration item in the position data specified in operand

2, and set the value in the variable specified in operand 1.


[Example]

GDCL

100

10

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

Position data display in PC software

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, 0.3 will be set in variable 100.