2.6.5 Programmable spindle speed limitation (G25, G26)
The minimum and maximum spindle speeds defined in the machine and setting data can be
modified by means of a part program command.
Programmed spindle speed limitations are possible for all spindles of the channel.
Syntax
G25 S… S1=… S2=…
G26 S… S1=… S2=…
Meaning
G25: Lower spindle speed limit
G26: Upper spindle speed limit
S... S1=… S2=… : Minimum or maximum spindle speed(s)
Note:
A maximum of three spindle speed limits can be programmed for
each block.
Range of values: 0.1 to 9999 9999.9 rpm
Note
A spindle speed limitation programmed with G25 or G26 overwrites the speed limits in the
setting data and, therefore, remains stored even after the end of the program.
However, if the speed limits changed with G25/G26 are no longer to apply after the end of
program, the following definitions must be inserted in the GUD block of the machine
manufacturer:
REDEF $SA_SPIND_MIN_VELO_G25 PRLOC
REDEF $SA_SPIND_MAX_VELO_G26 PRLOC
Example
Program code Comment
N10 G26 S1400 S2=350 S3=600 ; Upper speed limit for master spindle, spindle 2 and
spindle 3.
Fundamentals
2.6 Spindle motion
NC programming
104 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0