Help Needed for GRBL/CNC alteration


programming help
i building machine , need couple of additions grbl code, firstly need alter interrupt routine start , pause operation using single switch on nano. have tried alter myself , unreliable.

the next part add custom m code pause operation of cnc tasks until switch on pin has cycled set number of times has been passed grbl using p parameter. eg.. m667 p5 pause execution until switch has been triggered 5 times code resumes.

essentially being built single driven axis cnc machine, gantry x axis allows head travel in x axis , material feed manually on y axis distance being read switch. each switched input equates distance.

so when machine starts sets position zero, runs x axis until comes m code pauses until clicks on switch = distance y requires move, once there x axis resumes.

i have picked way through grbl kind of know things should experance in programming little light , think needs versed in c work on me.

i have limited funds available , happy re-emberse can assist or shout beers :) dont expect such alterations take time has great deal of experience , suspect missing kind of denounce code on interrupt's , few additions control structure of in gcode handler.

quote
and suspect missing kind of denounce code on interrupt's
why want denounce interrupts? not needed in case, have place.

reliably reading switch states easy. having difficulties means should post code , explain problems seeing.



Arduino Forum > Community > Gigs and Collaborations > Help Needed for GRBL/CNC alteration


arduino

Comments