96-8000 203
G CODES
June 1999
* The radius (or diameter) of the cylindrical surface can be redefined in a G-Code program, allowing cylindrical
mapping to occur along surfaces of different diameters without the operator having 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) specified in the settings page.
* 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
1) Three optional parameters (Address codes) can accompany G107:
X, Y, or Z - Either an X, Y, or Z address parameter can be specified. Its presence denotes that cylindrical
mapping is to be initiated, and specifies the linear axis that will be mapped to the specified rotary axis (A or B).
Any associated address value for this parameter will be ignored.
If one of these linear axes are specified, a rotary axis must also be specified, or an alarm will be generated.
A or B - Either an A or a B address parameter can be specified, and must be specified if any of the other
parameters are specified. It serves to identify which rotary axis is being used to house the cylindrical surface;
any associated address value for this parameter will be ignored.
Q - Diameter of the cylindrical surface. If this parameter is specified, a rotary axis must also be specified, or an
alarm will be generated at run time. If neither this parameter or the R parameter are specified, then the diam-
eter assumed for the cylindrical surface will be whatever was last specified for this rotary axis in a previously
issued G107 since the machine was powered up.
If no G107 was issued since the machine was powered up, or if the last value specified was zero, then the
diameter will be whatever is currently defined in the CNC Settings for this rotary axis ( 4th Axis Diameter, etc.)
The value specified for this parameter will become the new G107 default for the specified rotary axis until the
machine is turned off.
If this parameter was not specified in a previous G107 since the machine was powered up, or if its last speci-
fied value was zero, or if its last specified value was numerically equal to that defined for the rotary axis in the
CNC Settings page, then any change made to the rotary axis diameter in the CNC Settings page will also
change the default value for this parameter. In such a situation, the default G107 diameter is said to be in
syncîš” with the CNC Settings.
If the last non-zero G107 diameter value specified since the machine was powered up was not numerically
equal to the Settings page value however, then the G107 diameter is said to be out of sync with the Settings
page, and the default value thus established will be retained regardless of any changes made to the Settings
page, until or unless they become equal in value.
This means that the rotary axis diameter as specified in the CNC Settings page is always used as the default
cylindrical surface diameter, unless a previously issued G107 has established a different value. This allows the
default cylindrical surface diameter to either be synchronized with, or operate independently from, the rotary
axis diameter defined in the CNC Settings.