beautypg.com

IAI America PSEL User Manual

Page 159

background image




149

Part 2 Programs


 GACC (Get acceleration 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

GACC

Variable

number

Position

number

CP

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

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


[Example]

GACC

100

10

Set the acceleration 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.