IAI America XSEL-QX User Manual

Page 229

Advertising
background image

205

Part 4 Commands

z GRP (Set group axes)

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 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, GTTL, DFWK, GTWK, DFIF and GTIF 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]

An axis pattern can be indirectly specified using a variable. An example of specifying
the operation in [Example 1] indirectly using a variable is shown below.
11 (binary)

o 3 (decimal)

LET

1

3

Assign 3 to variable 1.

GRP

*1

CIR2

1

2

Advertising
This manual is related to the following products: