beautypg.com

IAI America XSEL-KX User Manual

Page 138

background image




122

Part 4 Commands


 PACC (Assign 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

PACC

Acceleration

Position

number

CP

[Function] Write the acceleration for CP operation specified in operand 1 to the position number

specified in operand 2.
The acceleration in operand 1 is set in G and may include up to two decimal places.

(Note)

Range check is not performed for a PACC command.


[Example 1]

PACC

0.3

10

Write acceleration 0.3 G to position No. 10.

[Example 2]

LET

100

0.3

Assign 0.3 to variable 100.

LET

2

10

Assign 10 to variable 2.

PACC

*100

*2

Write the content of variable 100 (acceleration 0.3 G) to the
content of variable 2 (position 10).

This manual is related to the following products: