IAI America ASEL User Manual

Page 165

Advertising
background image

Part 2 Programs

Chapter 3 Explanation of Commands

143

Part 2 Programs

z

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.

Axis 1

Axis 2

Vel

Acc

Dcl

1

2

y

y

y

10

50.000

100.000

200

0.30

0.30

y

y

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

Advertising