If I start at X 2.155 Y 2.155 Z-.125 and I want to go to X 2.349 Y 2.349 Z -.3865 while following the .219 radius will this work??
G91G2X.194Y.194J.194Z-.2615
G3X-.194Y-.194J-.194Z.2615
Where does the radius call out go?
Sorry I am failry new to all this, and I have no cad software to work from. I learn as much as I can by writing them by hand. But I am running out of time to complete this project.
Thanks for your help!! If you are new to programming, I normally never say this, but I would say it would be easier to use an "R" for the radius rather than "I,J,K".
If you are only swinging a radius up to 180 degrees "R" works great. The I,J,K need a sign in relation to the Swing Point.
In your first line the "G2" would be as follows:
"I"
G91G2X.194Y.194I.194Z-.2615
"R"
G91G2X.194Y.194R.194Z-.2615
In the second example "G3" it would be as follows:
I am a bit confused by the "G3" line, are you traveling back from the X2.349Y2.349 point?
If so it should look like this:
"J"
G3X-.194Y-.194J-.194Z.2615 (Assuming G91 still modal)
"R"
G3X-.194Y-.194R.194Z.2615 (Assuming G91 still modal)
If you aren't sure (by your question) the Radius is the "I,J,K" or "R". And it doesn't matter in what position it is as long as it's in the line somewhere.
This example is for Center Line of Spindle travel, this does not take in account for Radius of Tool you may be using.
Mike in MN
http://www.cncbasics.comhttp://www.cncbasicsforum.comhttp://www.mastercamblog.comhttp://www.mastercamforum.com