M-code reference
M198 M-Code: Subprogram Call from External Memory
Subprogram Call from External Memory — Fanuc: calls a subprogram stored on a memory card or data server instead of the internal memory. It is used for very large programs.
| Property | Value |
|---|---|
| Code | M198 |
| Function | Subprogram Call from External Memory |
| Used on | Mills and lathes |
What does M198 do?
Fanuc: calls a subprogram stored on a memory card or data server instead of the internal memory. It is used for very large programs.
M198 example
M198 P1234Tips
- Requires the data-server or memory-card option.
M-codes vary between machine builders. Codes from M00 to M09, M30 and M98/M99 are nearly universal; most others are defined by the machine builder. Always check the M-code list in your machine manual.
Related codes
Most-used M-codes
| Code | Function |
|---|---|
M00 | Program Stop |
M01 | Optional Stop |
M03 | Spindle On Clockwise |
M04 | Spindle On Counter-Clockwise |
M05 | Spindle Stop |
M06 | Tool Change |
M08 | Flood Coolant On |
M09 | Coolant Off |
M30 | Program End and Rewind |
M98 | Subprogram Call |
M99 | Subprogram Return / Loop |
Frequently asked questions
What does M198 mean on a CNC machine?
M198 is Subprogram Call from External Memory. Fanuc: calls a subprogram stored on a memory card or data server instead of the internal memory. It is used for very large programs.