PROGRAMMING
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING
B–63834EN/02
180
In feed per minute mode, the feedrate divided by the spindle speed is equal
to the screw lead. In feed per rotation mode, the feedrate is equal to the
screw lead.
When a value exceeding the maximum rotation speed for the gear being
used is specified, P/S alarm No. 200 is issued. For an analog spindle,
when a command is specified such that more than 4095 pulses are
generated during 8 ms (detection unit), P/S alarm No. 202 is issued. For
a serial spindle, when a command is specified such that more than 32767
pulses are generated during 8 ms (detection unit), P/S alarm No. 202 is
issued.
<Example>
For a built–in motor equipped with a detector having a resolution of
4095 pulses per rotation, the maximum spindle speed during rigid
tapping is as follows:
For an analog spindle
(4095×1000÷8×60)÷4095 = 7500 (rpm)
For a serial spindle
(32767×1000÷8×60)÷4095 = 60012 (rpm) [Note: Ideal value]
Specifying a value larger than the upper limit for cutting feed will cause
P/S alarm No. 201 to be issued.
Specifying an S command or axis movement between M29 and M84 will
cause P/S alarm No. 203 to be issued. Specifying M29 during a tapping
cycle will cause P/S alarm No. 204 to be issued.
The M code used to specify rigid tapping mode is usually set in parameter
No. 5210. To set a value of more than 255, however, use parameter No.
5212.
The maximum position deviation during movement along the tapping
axis in rigid tapping mode is usually set in parameter No. 5310. Use
parameter No. 5314, however, when setting a value of more than 32767,
for example, according to the resolution of the detector being used.
The value of R must be specified in a block which performs drilling. If
the value is specified in a block which does not perform drilling, it is not
stored as modal data.
G00 to G03 (G codes in group 01) must not be specified in a block
containing G84 or G88. If specified, G84 or G88 in that block is canceled.
Any tool position offset is ignored in canned cycle mode.
Metric input Inch input Remark
G98 1 mm/min 0.01inch/min Decimal point allowed
G99 0.01mm/rev 0.0001inch/rev Decimal point allowed
D Screw lead
Limitations
D S commands
D F commands
D M29
D Rigid tapping command
M code
D Maximum position
deviation during
movement along the
tapping axis
D R
D Cancellation
D Tool position offset
D Units for F