Re: Having Trouble Rotating Hand Written G-Code w/ PCNC 1100
hy mojo
I have some G-code written by hand that has evolved over a number of years...
yeah, me too ...
I have no machining background
so far, i always believed that someone who is building a g-code over 'years' has machining background hmm, whatever
Ideally I would rotate by 90 degrees and then somehow translate so I can make 3 parts from one piece of large stock (there are 3 tool changes in the program). I've been trying to wrap my head around m68 but with no luck.
i have no experience with your type of machine, but i use simple G code :
... enable transformation : activate translation_among_x translation_among_y rotation_of_current_coordinates
... cutting
... disable transformation
* i don't know the g code for your machine, but i guess that it should be inside the manuals
even if it works, i don't always use it for long setups, because it is causing downtime with re-positioning, so i have a general code, that is build in this way :
... toolpath is not like X10 Y12, but like X10+tx Y12+ty, where tx & ty are variables, that can be edited inside the program, so to translate the entire toolpath
... i use also a coordinate transformation, going from rectangular (xoy) to polar coordinates(r alfa), thus being able to rotate a point like alfa=mod[alfa+rotation,360]; i use mod so to avoid generating an angle >360 / kindly
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg