Do all your programming in reference to the XYZ0 you choose to make setup and multiple ops the easiest possible. Then use G54-G59 to set the zero coordinate offset from machine zero.
This will work for 3, 4 and 5 axis programming. I don't know the mechanical configuration of your machine but LinuxCNC has 5 axis tool length offsets. You can add pivot length to the TLO so the .ngc program coming from the CAD/CAM system doesn't need to deal with pivot length or tool lengths. Your 4 and 5 axis program can position the tip of the tool just like a three axis program. The 5 axis TLO can take care of the positioning of the tool. thanks Stuart On Mon, Aug 18, 2014 at 11:06 AM, Florian Rist <[email protected]> wrote: > Hi, > sorry, this is somewhat off-topic, as it does not (only) concern > LinuxCNC but Sinumerik controls, however I think you guys will know and > I hope you don't mind me asking. > > I'm trying to figure out the proper way to handle workpiece offsets in > 5axis machining, especially on Sinumerik 840D controls and LinuxCNC. > > Here's the situation: > > I mount a workpiece in a vice, it's roughly aligned (say 0.1° off in B > and C). I can easily measure this using a touch probe. So fare so god. > > Now if this was a 3axis job I'd simply rotate the table to align the > workpiece to the coordinate axes and touch off a corner of the WP to use > this as a G45 offset. I'd move my CAD model to match the touch off point > and generate tool paths. No problem (as far as I can see). > > However, what to do if the machining will be 5axis? > > At present I determine the orientation (A and B) and position of my WP. > Move _and_ rotate my CAD model (either in CAD or CAM) and clear all > offsets on the machine. > > This works, but it's time consuming and many things can go wrong while > writing down the angels and coordinates etc. > > This can't be the right way. So, how to do it? > > I know how this is down in robotics and its is very simple, a local > frame is defined and this is truly a new (translated, rotated) > coordinate system. But I looks like there is no such thing either in > LinucCNC nor Sinumeric 840D. I don't get it. What am I missing here? > > I hope someone can give me a hint. > > See you > Flo > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > -- Addressee is the intended audience. If you are not the addressee then my consent is not given for you to read this email furthermore it is my wish you would close this without saving or reading, and cease and desist from saving or opening my private correspondence. Thank you for honoring my wish. ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
