In conversational programming, the M-code is a separate command, similar to an M-block in an NC program.
M-codes are used to control outputs – for example, to activate additional coolant, interface with a robot cell, or directly control the spindle.
In this tutorial, Hendrik Balagny provides a detailed explanation of what M-codes are and how they can be used effectively.
He also demonstrates where to find the available on/off commands and how to configure their parameters.