5AxisWorkfixtures: Difference between revisions
| Line 47: | Line 47: | ||
If the machine does not support TCP or some form of part space mode, then workfixture output may not be viable for 5 axis parts. Not all customers understand this caveat. | If the machine does not support TCP or some form of part space mode, then workfixture output may not be viable for 5 axis parts. Not all customers understand this caveat. | ||
==="B" Style posts=== | |||
The V10.5 post engine does not have any methods to output rotary moves relative to a Workfixture that contains a rotation. In the previous example, this would mean that the angles from G55 would start at 0 and move to -90 intead of going from the current 90 to 0. | |||
==5 Axis ops in Workplanes== | ==5 Axis ops in Workplanes== | ||
Revision as of 21:19, 26 October 2012
5 axis Workfixtures and Workplanes
Overview
Version 10.5 has a new feature to allow operations that are done using the 5 axis process type to use a machining CS in the same way that one is specified for normal 3 axis operations. This feature opens up many questions on how the post processor can use this CS in the output.
There are several possible cases that the CS can be used in the post. Some of them are simple and straight forward while some have problems resulting from technical limitations in the current versions of GibbsCAM, and some have problems in usefulness on the CNC machine.
3 axis ops in 5 axis processes
The simplest case is where a user generates an operation using the 5 axis process type, but limits the motion to 3 linear axes when cutting. Some customers prefer the increased control the 5 axis process gives them and use it for these types of cuts. Any op that does not rotate while cutting can be put into a workfixture or a workplane with out issue. The output and post flow for these ops is identical to pocket or contour ops done in a CS, or what we normaly call "advanced mill" or "tilt" operations.
In order to make it easy on the post, v10.5 has the new command AnyRotaryMoves? that can be used to determine if a toolpath rotates while cutting. This allows the post to check the toolpath instead of checking the specific op type using commands such as RotaryMill? or ABCToolpath?.
Replacing these 2 checks with AnyRotaryMoves? will allow an post to output a workfixture or workplane for these ops just like they would for others.
3 axis ops are the primary reason that the machining CS was added to the 5 axis process.
5 Axis ops in Workfixtures

The next case is where some customers have requested that full 5 axis ops be output relative to a workfixture other then G54. In v10.5 there are technical limitations that make this difficult. These limitations will be removed in V11 but there are still logical problems with using a workfixture for 5 axis ops as show bellow.
Problems with WFOs in 5 axis ops
This is an example of what problems arise from using workfixtures on 5 axis machines, specificly when the user changes, or does not have accurate WFO offsets programed in GibbsCAM.
Part
For this sample, we will assume a simple part as shown here on the right. In this part we will create an operation in CS2 that cuts around the corner keeping the tool in constant contact with the part. This path will require a starting rotation of 90 degrees that moves up and around to 0 to finish the cut.
Kinematics

This image describes the cutting process as it would be posted on a machine with a table rotary axis with the machine origin at the pivot point of the rotary table. The operation will first rotate down to 90 degrees and output the G55 workfixture. The offsets that the post engine computes for this workfixture will be based on the rotary axis setup and part offset distances defined in the document control dialog and machine sim setup. The toolpath with cut from position C, up to position B, and finally over to position A.

As the toolpath rotates through position B, we compensate for the pivot distance that causes the part to swing. If all of the offsets for both the tool and the workfixture are correct at posting time, then the output program will be correct.
Problem
The problem arises when the user moves the G55 workfixture on the machine to a different location. This is a common use of workfixtures since it allows the CNC operator to setup the part where it needs to be on the table with out redoing the program. As can be seen in the image on the right, if the Part is shifted on the table there will be problems.
Again the table will rotate to 90 degrees and start it's cut relative to the shifted G55 origin. This origin has been shifted down in Z from the one that was originally programed. As the table rotates up to position B the pivot compensation that is applied is incorrect for the new part location. This is because the elective pivot distances have changed. When the cut is complete the part will not have the correct motion and may even crash the tool into the machine.
Solutions
The only real solution is to output the XYZ coordinates of the cut relative to the rotating CS. This is normaly called "TCP" for table machines, or 'PartSpace' output in the post engine. V10.5 does not support part space output relative to a CS other then the Workpiece XY cs. This is a technical limitation that can be removed in V11 with the UKM post engine.
If the machine does not support TCP or some form of part space mode, then workfixture output may not be viable for 5 axis parts. Not all customers understand this caveat.
"B" Style posts
The V10.5 post engine does not have any methods to output rotary moves relative to a Workfixture that contains a rotation. In the previous example, this would mean that the angles from G55 would start at 0 and move to -90 intead of going from the current 90 to 0.
5 Axis ops in Workplanes
5 axis ops in workplanes fit somewhere in between the two previous cases and support for them all depend on how the machine defines a workplane.
Machine axis workplanes
If the machine has a rotary head and defines a workplane using the tool rotation (for example, most of our "tiltop" worklanes in Mill-Turn and MTM) then the workplane can be supported with a 5 axis op. The workplane will remain static independent of any further rotations, and is simply a fixed transformation of the XYZ values of the operation. Rotations after the inital workplane are output as normal B and C axis moves. The post engine in 10.5 supports this method of ouputput since none of the rotations will ever change the workplane.
Machine independent workplanes
If the machine defines a workplane using one of the axis independent methods, such as IJK vectors, Euler Angles, or Spacial Angles, then we have a harder time supporting workplane and further rotations.
If the workplane definition changes as the machine rotates then we have the same problems in V10.5 that we do with part space from a workfixture, it is just not supported by the post engine.
If the workplane stays constant but further rotations need to be output in a machine independent method, then we have a problem where the post engine can not output IKJ, euler, or spacial angles relative to a CS.
These limitations will be investigated as the post engine is refactored for the V11 release.