164 
Part 2 Programs
 
  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 
an OFST command, as well as with servo operation commands using position data. 
A GRP command is processed with respect to soft axes before a BASE shift. 
 
 
[Example 1]  GRP  10    Data of axis 2 becomes valid. 
    
[Example 2]  The axis pattern can be specified indirectly using a variable. 
When the command in [Example 1] is rephrased based on indirect specification using 
a variable: 
10 (binary)  2 (decimal) 
  LET  1  2  Assign 2 to variable 1. 
 GRP *1