beautypg.com

IAI America XSEL-KX User Manual

Page 143

background image




127

Part 4 Commands


 GACC (Get acceleration data)

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command, declaration

Output

(Output, flag)

Command,
declaration

Operand 1

Operand 2

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 1]

GACC

100

10

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












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

This manual is related to the following products: