Hello Guest it is March 28, 2024, 01:25:52 PM

Author Topic: External push-button to trigger the same G-code?  (Read 4792 times)

0 Members and 1 Guest are viewing this topic.

External push-button to trigger the same G-code?
« 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

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: External push-button to trigger the same G-code?
« Reply #1 on: February 01, 2009, 08:36:44 PM »
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
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: External push-button to trigger the same G-code?
« Reply #2 on: February 01, 2009, 09:47:40 PM »
Thank you very much, Brett.
Re: External push-button to trigger the same G-code?
« Reply #3 on: February 02, 2009, 07:10:51 PM »
Could anybody give more detail / ideas? such as how to wire an additional push-button switch for that.

Thanks in advance again.

Richard

Canada

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: External push-button to trigger the same G-code?
« Reply #4 on: February 02, 2009, 07:13:52 PM »
You just want to add an external push button for cycle start?

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: External push-button to trigger the same G-code?
« Reply #5 on: February 02, 2009, 07:59:37 PM »
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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: External push-button to trigger the same G-code?
« Reply #6 on: February 03, 2009, 02:55:09 AM »
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
Re: External push-button to trigger the same G-code?
« Reply #7 on: February 03, 2009, 12:24:06 PM »
Hi Hood:

Your idea helps me a lot, thanks!

Richard