Program code Comment
N30 G0 Z51
N35 SCC[Y] ; Reference axis for G96 is Y,
reduction of spindle speed (Y30).
N40 G1 F1.2 Y25 ; Face cutting in Y at 1.2 mm/revolution.
2.6.4 Switching constant grinding wheel peripheral speed (GWPSON, GWPSOF) on/
off:
With the predefined procedures GWPSON(...) and GWPSOF(...), the constant grinding wheel
peripheral speed (GWPS) for grinding tools (tool type: 400 to 499) is switched on and off.
Syntax
GWPSON(<TNo>)
S<n>=... :
...
GWPSOF(<TNo>)
Meaning
GWPSON(...): Switch on the constant grinding wheel peripheral speed
GWPSOF(...): Switch off the constant grinding wheel peripheral speed
<TNo>: T number
Note:
Only required if the constant grinding wheel peripheral speed is to be switch‐
ed on or off for an inactive grinding wheel rather than the active grinding
wheel that is currently in use.
S<n>=…: Grinding wheel peripheral speed in m/s or ft/s for spindle <n>
S0=... or S... : Grinding wheel peripheral speed for the master spindle
Query status
The following system variable can be used to query from the part program whether the constant
grinding wheel peripheral speed is active for a specific spindle.
$P_GWPS[<n>] ; where <n> = spindle number
Value Meaning
0 (= FALSE) GWPS is inactive.
1 (= TRUE) GWPS is active.
Fundamentals
2.6 Spindle motion
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 103