Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Richard905 on February 01, 2009, 07:44:22 PM
-
Hi all,
I'd like convert my mini-mill into "dumb" CNC mill, i.e. only using for cutting same part repeatly (running same G-code),
such as 20 pcs. same parts. I intend to install an external push-button to trigger the same G-code, when I press the push-
button, CNC mill will run G-code to cut first part, and then I unload 1st finished part and load second stock material, press
the push-button again, CNC mill will cut the second part,.....etc. until finished all 20 pcs. parts.
I need some ideas.
Thanks in advance.
Richard
Canada
-
Richard,
A M30 on the last line will rewind the code. Just load another part and hit cycle start again.
That what your looking for?
Brett
-
Thank you very much, Brett.
-
Could anybody give more detail / ideas? such as how to wire an additional push-button switch for that.
Thanks in advance again.
Richard
Canada
-
You just want to add an external push button for cycle start?
Brett
-
Hi Brett:
Yes, I just want to add an external push button for cycle start, that way I can cut 20 pcs. same parts (same G-code) just by loading/unloading and press one push-button. no need touch any software.
Thanks again.
Richard
Canada
-
All you do is connect a momentary switch to an input then go to Ports and Pins, Inputs and asign that pin number to one of the OEM Triggers. After that you need to go to Config menu the System Hotkeys and enter the OEM code for the button you want in the trigger you have just set up. There is a list of OEM codes in a sticky at the top of the forum but Start is 1000.
Hood
-
Hi Hood:
Your idea helps me a lot, thanks!
Richard