# Meaning of other M functions

No. | DIN/ISO code | Description | TwinCAT / ISG Code | Conformity check
--- | --- | --- | --- | ---
1 | M00 | Programmed stop | M00 | compliant
2 | M01 | Optional stop | M01 | compliant
3 | M02 | Program end | M02 | compliant
4 | M03 | Clockwise spindle rotation (Classes 1 - 3) or cutting on (Class 4) | M03 | Compliant (meaning is configurable)
5 | M04 | Anticlockwise spindle rotation (Classes 1 - 3) or cutting off (Class 4) | M04 | Compliant (meaning is configurable)
6 | M05 | Spindle stop (Classes 1 - 3) or not assigned (Class 4) | M05 | Compliant (meaning is configurable)
7 | M06 | Tool change | M6 or not assigned | Implicit subroutine call (if name was configured)
8 | M10 | Clamp | M10 |
9 | M11 | Release | M11 |
10 | M17 | Not assigned | M17 | Subroutine end
11 | M19 | Spindle positioning (Classes 1 - 3) or not assigned (Class 4) | M19 | Compliant (meaning is configurable)
12 | M29 | Not assigned | M29 | Subroutine end
13 | M30 | Program end | M30 | compliant

14 | M40 | Automatic gear changes (Classes 1 - 3) or unassigned | M40 or not assigned | compliant
15 | M41 | Gear stage 1 (Classes 1 - 3) or free | M41 or not assigned | compliant
16 | M42 | Gear stage 2 (Classes 1 - 3) or free | M42 or not assigned | compliant
17 | M43 | Gear stage 3 (Classes 1 - 3) or free | M43 or not assigned | compliant
18 | M44 | Gear stage 4 (Classes 1 - 3) or free | M44 or not assigned | compliant
19 | M45 | Gear stage 5 (Classes 1 - 3) or free | M45 or not assigned | compliant
20 | M48 | Effective superimposition (e.g. override) | G166/G167 | Select path/spindle override 100% (blockwise)
21 | M49 | Ineffective superimposition | not assigned |
22 | M60 | Tool change | not assigned |
The meanings of all other M functions are settable depending on the specific class used and defined in the DIN/ISO code.