As i understand it, the cg is returning the correct workzone (g54 g55 g56 etc) but your xyz values are coding from table center (or wherever your origin is).
When you are defining the workplane, you must ensure that the toolplane switch to match the workplane is on. A nice way to make sure this happens is to define your workplanes by using the Process_Options_Index Planes tool. Define an arbitrary workplane name in the xy_plane at the location you desire, then go to the aforementioned dialogue box and rotate locally to get your new plane. Don't forget to reserve the new plane. If you are manually defining your workplanes, remember to click off the "from world" button, and click on the Match Plane button. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: May 31, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: [mfg-smartcam] Toolplane Coding Hello all. First I would like to thank you all for the help I have received with this forum thus far. The information found here is most benificial. On to my question: I am new to the 3D World of FFM. I am programming a Horizontal mill with a tombstone. i was originally creating separate programs for each face on the tombstone and merging the code together to form one program. The parts I am machining have origin located in different locations on each face of the tombstone. I created new work/tool planes approximately in the WCS where they would correspond in space inside the machine. I have geometry on all faces but I can't get the code to output with the XYZ coordinates relative to the new planes I created. The code generates values from the WCS. I have the B rotation working in code, the G codes for my work offsets and the positions have the correct xyz relative to their plane orientation. What am I missing? Any help would be greatly appreciated. Thanks in advance Derrick ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
