M functions

The M functions M3, M4, M5, M19 and M40–45 have been reserved in DIN66025 for the control of spindles (P-CHAN-00043/-45/-47/-49). These M functions can be synchronized with a contouring motion to be executed. In the case of M3, M4 and M5, synchronization always takes place internally (speed reached) and, as an option, additionally by the PLC.

Moreover, all freely available M functions can be output to a spindle with reference to a specific axis.

For further details of M functions and PLC synchronization, refer to the documentation [M/H Functions].

M function

Meaning

M03

Endless clockwise spindle rotation

M04

Endless counterclockwise spindle rotation

M05

Stop spindle

M19

Position spindle

M40–45

Gear selection for the main spindle