- Posts: 611
- Thank you received: 114
This commands has the following effects:
Change from Auto mode to MDI mode.
Origin offsets are set to the default (like G54).
Selected plane is set to XY plane (like G17).
Distance mode is set to absolute mode (like G90).
Feed rate mode is set to units per minute (like G94).
Feed and speed overrides are set to ON (like M48).
Cutter compensation is turned off (like G40).
The spindle is stopped (like M5).
The current motion mode is set to feed (like G1).
Coolant is turned off (like M9).
Note
Lines of code after M2/M30 will not be executed. Pressing cycle start will start the program at the beginning of the file.
Please Log in or Create an account to join the conversation.
Rick G wrote: By default NGCGUI ends all subs with a M2 (Program End)
This commands has the following effects:
Change from Auto mode to MDI mode.
Origin offsets are set to the default (like G54).
Selected plane is set to XY plane (like G17).
For example if you are working in a coordinate system other the G54 and after the sub runs want to execute MDI commands.
Or if you are using a lathe you probably want to stay in the XZ plane(G18) rather than be switched to the XY plane(G17).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Have you checked if this is actually all true?
Please Log in or Create an account to join the conversation.
Rick G wrote:
Naturally. I would not post the information here if I had not checked it out.Have you checked if this is actually all true?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.