The control prepares future blocks (lines of code) ahead of time. While the
current block is executing, the next block has already been interpreted and
prepared for continuous motion.
When G103 P0 is programmed, block limiting is disabled. Block limiting is also
disabled if G103 appears in a block without a P address code. When G103 Pn
is programmed, look-ahead is limited to n blocks.
G103 is also useful for debugging macro programs. Macro expressions are
done during look-ahead time. For example, by inserting a G103 P1 into the
program, macro expressions will be performed one block ahead of the currently
executing block.
G107 Cylindrical Mapping (Group 00)
X X-axis command
Y Y-axis command
Z Z-axis command
A A-axis command
Q Diameter of cylindrical surface
R Radius of rotary axis
This G code translates all programmed motion occurring in a specied linear
axis into the equivalent motion along the surface of a cylinder (as attached to
a rotary axis) as shown in the following gure. It is a Group 0 G code, but its
default operation is subject to Setting 56 (M30 Restores Default G). The G107
command is used to either activate or deactivate cylindrical mapping.
• Any linear-axis program can be cylindrically mapped to any rotary axis (one at
a time).
• An existing linear-axis G-code program can be cylindrically mapped by insert-
ing a G107 command at the beginning of the program.
• The radius (or diameter) of the cylindrical surface can be redened, allowing
cylindrical mapping to occur along surfaces of different diameters without hav-
ing to change the program.
• The radius (or diameter) of the cylindrical surface can either be synchronized
with or be independent of the rotary axis diameter(s) specied in the Settings
34 and 79.
• G107 can also be used to set the default diameter of a cylindrical surface,
independently of any cylindrical mapping that may be in effect.
G107 Description
Three address codes can follow a G107: X, Y or Z; A or B; and Q or R.
X, Y, or Z: An X, Y, or Z address species the linear axis that will be mapped to
the specied rotary axis (A or B). When one of these linear axes is specied, a