Post by DaveCVI on Apr 7, 2012 16:36:41 GMT -8
Hi -
The following is an excerpt from an update I have added to the MSM Mill-Turn documentation. This will be included in the next Beta release.
Mach provides several options for actions which happen when a M30 M-Code is executed. These options are set via the Mach General Config dialog.
A couple of these options can cause havoc with Mill-turn operations and you probably want to check to make sure they are off.
Perform G92.1 Option
If this is checked, Mach will perform a G92.1 command for every M30 in the G-Code.
Since Mach uses common offsets registers to implement both G92 and G52 offsets, and G92.1 is the Mach command to clear G92 offsets, this option will also clear the G52 offsets. G52 offsets are used by MSM Mill-Turn to support the Tool Block Zero feature. If this M30 option is checked, at the end of every program, Mach will remove the offsets that determine where the Tool Block Zero is – and that can cause an unpleasant surprise when you go to run a lathe program a second time. To avoid loosing the Tool Block Zero location, double check your configuration options to make sure that the “Perform G92.1” M30 Option is NOT CHECKED.
Remove Tool Offset Option
Another Option that can cause a similar surprise is the “Remove Tool Offset” option. This will turn off the tool offsets when a M30 is executed. In lathe mode, the only way to apply offsets is via the Txxyy tool change word. If you have this option set, you will need to remount the tool that was last used by a program to reply the tool’s offsets. Automatic removal of Tool offset on M30 may make sense for Mill programs, but it is not an option we advise using with MSM Mill-Turn.
P.S. don't ask how I discovered to check the "perform G92.1" option...
Dave
The following is an excerpt from an update I have added to the MSM Mill-Turn documentation. This will be included in the next Beta release.
Mach provides several options for actions which happen when a M30 M-Code is executed. These options are set via the Mach General Config dialog.
A couple of these options can cause havoc with Mill-turn operations and you probably want to check to make sure they are off.
Perform G92.1 Option
If this is checked, Mach will perform a G92.1 command for every M30 in the G-Code.
Since Mach uses common offsets registers to implement both G92 and G52 offsets, and G92.1 is the Mach command to clear G92 offsets, this option will also clear the G52 offsets. G52 offsets are used by MSM Mill-Turn to support the Tool Block Zero feature. If this M30 option is checked, at the end of every program, Mach will remove the offsets that determine where the Tool Block Zero is – and that can cause an unpleasant surprise when you go to run a lathe program a second time. To avoid loosing the Tool Block Zero location, double check your configuration options to make sure that the “Perform G92.1” M30 Option is NOT CHECKED.
Remove Tool Offset Option
Another Option that can cause a similar surprise is the “Remove Tool Offset” option. This will turn off the tool offsets when a M30 is executed. In lathe mode, the only way to apply offsets is via the Txxyy tool change word. If you have this option set, you will need to remount the tool that was last used by a program to reply the tool’s offsets. Automatic removal of Tool offset on M30 may make sense for Mill programs, but it is not an option we advise using with MSM Mill-Turn.
P.S. don't ask how I discovered to check the "perform G92.1" option...
Dave