Spindle M functions

In DIN66025, the M functions M3, 4, 5, 19 and M40–45 have been reserved for Class 1 and 2 machines for the control of spindles. These M functions can be synchronized with a contouring motion to be executed. In the case of M3, 4 and 5, synchronization always takes place internally (speed reached) and, as an option, additionally by the PLC (->PLC_INFO).

Use of the M functions M3, 4, 5 and 19 on machines without a spindle can be enabled with the channel parameter P-CHAN-00098 (spindle_ m_fct_free).

The M functions M40, 45 are also freely available when gear changing is deactivated (P-CHAN-00052 (main_spdl_gear_change)).

As detailed in the description in 2.1.3.1.2 and 2.1.3.1.3, all freely available M functions can also be output to a spindle in a specific axis.

Spindles are monitored by an interpolator of the CNC (CNC spindle) or are controlled by the PLC (PLC spindle).

For details of the use of spindles and the various spindle types, see [Spindle].

Parameters

P-CHAN-00045

Synchronization method of the spindle function M3

P-CHAN-00047

Synchronization method of the spindle function M4

P-CHAN-00049

Synchronization method of the spindle function M5

P-CHAN-00043

Synchronization method of the spindle function M19

P-CHAN-00069

Identification of a PLC spindle with output of M functions via the channel range of the HLI

P-CHAN-00098

Enabling of M3, 4, 5, 19 for any use

Synchronization methods

The spindle M functions can be assigned the well-known synchronization methods NO_SYNCH, MOS, MVS_SVS, MVS_SNS, MNS_SNS, MNE_SNS, MVS_SLM and MVS_SLP.

PLC_INFO

The PLC_INFO bit can be set in addition to these existing synchronization modes. It determines whether the PLC is also to be informed. Observe the following:

In the case of PLC spindles, the PLC is generally also informed in the case of every spindle M function. There is therefore no need to additionally set the PLC_INFO bit.

It makes sense to use the PLC_INFO bit with NC spindles. In addition to the synchronization mode, the PLC_INFO bit can be set here for output of information to the PLC.