G101 set which axes should be interpolated. The P parameter is a bitmask where bit 1 represents X axis, bit 2 Y axis, ….
G101
P
Bitmask value is stored in variable number #5120.
#5120
( © 2020 by RosettaCNC Motion ) G21 G40 G49 G90 G54 G50 G69 G101 P7 ; Axes X,Y and Z will be interpolated G0 X0 Y0 Z0 G101 P1 ; Set only axis X to be interpolated G1 X50 G101 P2 ; Set only axis Y to be interpolated G1 Y50 G101 P3 ; Only axes X and Y will be interpolated ; ... M2