Programming instructions

NC Programming 17VRS Motion Blocks
4-45
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
When the SUG is selected with G66, the corresponding spindle must
contain a valid tool data record (tool codes 1, 2 and 3 [correction type
3]).
An error message will be generated if this is not the case.
When the SUG is selected with G66, the corresponding length registers
for the wheel diameter must be > 0. An error message will be generated
if this is not the case.
A new speed calculation is performed if a new S value is programmed,
or in the next NC block if there is a change in a geometry register that is
relevant to the wheel diameter.
The data elements of the D correction are currently excluded from the
speed calculation.
G96 or G97 or RET, BST, M30 de-selects G66.
Calculation formula:
S
SUG
d
S
SUG
d
ms
AKT mm
ft s
AKT inch
[min ]
[/]
[]
[min ]
[/]
[]
−−
=
=
11
60000 720
ππ
S: spindle speed [1/min ]
SUG: grinding wheel peripheral speed [m/s or feet/s]
d
AKT
: grinding wheel diameter [mm or inch]
CAUTION
The data elements „tool code and representation type“ of
the base tool data that are necessary for grinding, and the
selection of the SUG with G66 only become active if the
„Technology“ data item in the system parameters has been
set to „grinding“.
Constant Surface Speed 'G96'
The CNC controller uses the G96 constant surface speed function to de-
termine the correct spindle speed to match the current turning diameter.
G96 constant surface speed is a typical lathe function and face turning is
the most frequent application. The infeed axis 4 G96 is derived from the
typical G18 (ZX) axis allocation of a lathe, so that the X axis is defined as
an infeed axis. The spindle speed is inversely proportional to the distance
of the tool trip from the axis of rotation when G96 is active so that the
spindle speed increases as the distance becomes smaller.
G96 S<Constant Surface Speed in m/min>
When G00 is active, the spindle speed is set independent of the current X
position to the rpm which results at the end of the NC-block. G96 continues
to remain active; however, the link to the feed move is temporarily broken.
The NC-block is considered to be over when the spindle has reached its
command rpm and the feed axes have reached their end point.
G95 is activated automatically when G96 is selected. If G95 was not pre-
viously active, an error message is issued due to the fact that the F-value
is missing.
Since the spindle speed would become too great with very small X values,
the spindle speed is limited to the maximum spindle speed set in the pa-
rameters.
When G96 is active, the S value is interpreted as surface speed in m/min.
The spindle speed is calculated from the relationship:
S
vc
=
∗∗
(2 r PI)
S: spindle speed [1/min]
vc: surface speed
[mm/min]
r:
effective radius
[mm],
distance to turning axis
Syntax