Thanks Rick,
I found the level perfect for me, not quite a professional machinist yet but want to be. For some reason with the skills shortage they want me to be a snotty nosed teenager - go figure. I have some programming experience in C# and VB so if then statements etc make perfect sense. I have had colleagues in the past read my technical notes and complain about them being too complex. It really is a hard balance to find, anyone can find fault with anything if they try hard enough. I used to receive a lot of technical instructions for work with BP (British Petroleum - now Best in Performance as its no longer British) being asked to comment on the accuracy of the instruction. I cant believe how many Senior engineers couldn't write to save themselves. Double word entries, spelling mistakes really crap punctuation and that's without finding any error in the subject matter. They obviously needed their degrees and masters to be condescending and dumb. We were absolutely hammered one day about weather limits and when and if the job could go ahead - all documented in the Technical instruction. Unfortunately the whole section in the file had been left out, oops. Sorry rant over.
The subject you have chosen to write about is something that fascinates me immensely. Using GRBL freeware as a machine controller with its limited command set leaves guys at the self build hobby level trying to find antiquated coding techniques to achieve results where the Gcode commands are limited. I find that learning Gcode from the ground up is something that should still be studied even though conversational and canned cycle code is now the norm. To understand what the machine is doing rather than not doing what you expect it to do is much better that having no clue at all. So to speak.
I would like to call upon you to indulge us further with such coding mysteries, i have had no issue understanding all 3 iterations of your document.
There are a few snippets of code i have found on the tinterweb to perform such functions as peck drilling, PCD's and auto seeking part zero's based on G0 & G1 moves only (GRBL code set being limited). Its hard to find basic coding techniques on the web which allows for complex canned operations to be carried out on hobby or self build machines. If you were to continue along those line with this thread then i would be much obliged. Particular code i'm looking for at the moment is to locate zero work coordinates based on circle centre.
Found this guy and i'm currently trying it out.
Sadly the only way i can try the code from your example is using Macros.
still a good learning source.
Bookmarks