beautypg.com

IAI America XSEL-KX User Manual

Page 155

background image




139

Part 4 Commands


 GRP (Set group axes)

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

GRP

Axis

pattern

Prohibited

CP

[Function] Allow only the position data of the axis pattern specified in operand 1 to become valid.

The program assumes that there are no data for other axes not specified.
When multiple programs are run simultaneously, assigning axes will allow the same position
data to be used effectively among the programs.
A GRP command can be used with operand axis-pattern specification commands excluding
OFST, DFTL, DFWK, and DFIF commands, as well as with servo operation commands using
position data.


[Example 1]

GRP

11

Data of the X and Y-axes become valid.

CIR2

1

2

Axis-pattern error will not generate even if data is set for the
Z and R-axes.

[Example 2]

The axis pattern can be specified indirectly using a variable. When indirect variable
specification is used, [Example 1] can be rephrased as follows:
11 (binary)

→ 3 (decimal)

LET

1

3

Assign 3 to variable 1.

GRP

*1

COR2

1

2




This manual is related to the following products: