Spindle speed (REV)
Syntax: | ||
REV=.. | Spindle speed in [rpm]. | modal |
Values can be assigned to the REV word directly or by means of parameters in [rpm] and decimal numbers are also permitted (REAL format).
A distinction must be made between the following types of use in conjunction with the spindle M functions in the case of the REV word:
- REV word in conjunction with M03, M04, M19:
If the REV word is programmed in conjunction with M03/M04 or M19, the value following the REV word is interpreted as the spindle speed and is output to the spindle. - REV word in conjunction with M05:
Together with M05, the value following the REV word is transferred to the working data of the spindle speed but is not output to the spindle.
The REV word on its own does not generate a motion in the NC program. This requires that a spindle mode M03, M04, M19 is known. Accordingly, programming of M03, M04 and M19 only results in a motion if the REV word is set.
![]() | An error message is output if the REV value is negative. |
Programming Example
Programming with spindle S1:
Channel parameter list [1]:
The synchronisation mode must be defined spindle-specific for the S word. An error message is generated in the case of synchronisation mode "0” (NO_SYNCH) since an S word may not be ignored.