M-Series Operator’s Manual 4/9/15 11-3
Q - Parameter
Q is used as a depth parameter in canned drilling cycles.
Example:
G73 X1.5 Y2.0 Z-.75 R.25 Q.25 F5 ; Q Sets the depth cut at .25
R - Radius, Return Point, Parameter
R can represent the radius, a return point, or a general parameter. This is used as a variable for any of those values
in the NC file. R is similar to the P parameter.
Examples:
G10 D5 R.5 ; sets tool diameter #5 to 0.5” in the offset library
G81 X0 Y0 Z-.5 R.1 F15 ; drill to Z-.5 with return height of .1
S - Spindle Speed Setting
Specifying a spindle speed causes the automatic spindle speed setting to be immediately updated. Setting the
spindle speed does not cause the spindle to start. The maximum spindle speed is used to compute the output value
to the spindle speed control circuit.
Example:
S1400 M3 ; Starts the spindle CW at 1400 RPM
* NOTE: The Spindle Speed is used in conjunction with the maximum spindle speed to determine the actual
spindle speed output to the PLC. Also, this only works when a VFD (Variable Frequency Drive) spindle drive is
connected.
T - Select Tool
Prompts the operator to insert the proper tool or change tools, when M6 is encountered.
Example:
T1 M6 ; Prompt operator to load tool number 1
T2 ; no action
G0X0Y0 ; move to X0 Y0
M6 ; prompt operator to load tool number 2
:
- Visible Comment Identifier
The colon (:) is used to indicate the start of a comment line within a CNC program. The colon must be the first
character on the line.
Example:
: select absolute positioning
G90
: XY plane
G17
:Visible comments will be displayed on screen with the G-codes.