V11 Posting Output Changes: Difference between revisions
No edit summary |
|||
| Line 27: | Line 27: | ||
===Incremental Angles=== | ===Incremental Angles=== | ||
Previous versions of the post engine did not support the output of rotary angles in incremental. UKM does. This will cause an output discrepancy between old posts that output incremental rotary repeats and wrapped pasterns. | Previous versions of the post engine did not support the output of rotary angles in incremental. UKM does. This will cause an output discrepancy between old posts that output incremental rotary repeats and wrapped pasterns. The old code was incorrect. | ||
===FeedRate=== | ===FeedRate=== | ||
Revision as of 20:53, 2 August 2012
Overview
GibbsCAM UKM Post Engine has been rewritten. This means that new capabilities were added that previous versions either didn't support, or supported poorly. This wiki page will itemize the changes in posted output between GibbsCAM v10 and GibbsCAM UKM.
If you contribute to this page, please try to add descriptions why the UKM output is better than v10 output, or why the decision was made to change the output.
Changes in UKM Posted Output
Repeat Loops
All Repeat loops (repeats, patterns, rotations) have been updated to fully update all start position and toolpath commands to be in the correct place for each instance of the repeat. The main change for this is that when a post is in an EachRotation Loop all the axes will be updated for the rotation not just the single rotary angle. This can affect the StartPosY command during subsequent loops. Only a single post has been found that outputs Y values outside of the toolpath sub and is affected by this change.
Tool Offsets
The software now automatically computes tool offsets for all mill tools, regardless of the MDD setting. Since most posts always stay in tool tip mode, this can affect where the software thinks the tool group datum and axes are.
Status Register
The Status register no longer tracks just the axis values that the post outputs. The Stats register has been replaced with a kinematic model of the machine that is updated to match moves the post processor makes. The status tree tracks the actual axis and node positions of all parts of the machine. This makes it unnecessary to "retrack" after changing an output modes since the status tree does not physicaly move on a mode change.
Some changes in conditionality may happen if the post does not ask for output in the correct tool/CS. This can happen if a legacy post calls a command like ZCP1C during the retract section of a new tool and does not use LAST, or LASTOPERATION before the command. In this case the status register would have been updated at the end of toolpath using the previous tool, but will now be evaluated using the current op tool, this may cause the conditionality command to think the tooltip is not where it actual is on the machine if it has not done the tool-change yet. It is important for legacy non-looper posts to know what tool/CS they are using during the retract sections of new tool and CS change ops, especially if they never change modes.
Rotation out of limits
The old post engine would only warn about ops that were out of rotary limits, or required an axis that did not exist. It would then extend the limits, or add the missing rotary axis and compute a solution for the operation. This would cause the output to be "correct" as if the machine did not have the limit.
The UKM posting engine will no longer "fix" bad programs. In addition to giving a warning the posting solution will try to get as close to the requested orientation as possible but will not add any axes or increase any limits. This will change how the tool ends up being oriented relative to the part during these operations, and will change X,Y, and Z values as we will not be able to move to the correct orientation for the workfixture.
Workfixture modes at program end
The old post engine would "unclear" the csoffset after the last "NextOp" command. This would cause commands like ZCP1 to output in CS1 not the CS of the last op. The new post engine does not do this and keeps the post engine in a mode until it changes. Many badly written posts were output the CP1 in CS1 even if they were still in the WFO for the last op. This could cause crashes. Posts will now output the value in the last op's CS if they have not changed to mode to the CS1 WFO.
Incremental Angles
Previous versions of the post engine did not support the output of rotary angles in incremental. UKM does. This will cause an output discrepancy between old posts that output incremental rotary repeats and wrapped pasterns. The old code was incorrect.
FeedRate
The FeedRate compost command called from outside a feature loop (toolpath) in v10 would output the Contour feedrate from the Mill process. UKM will output the Entry feedrate, if it has not yet been output. See Op7 in these sample files: Download
Polar Interpolation Tracking
The post engine now automatically tracks the C angle when a post is in polar output based on the rounded X and Y values output for each feature. Previous versions of the post engine ignored the rotary axis during polar output and the post processor had to track to a C angle on each feature. This is no longer required and all tracking commands for the rotary axis are ignored when the post is in polar mode.
G92 error accumulation in .19 and previous posts
Older mill/turn master posts did not properly handle the transition from polar interpolation to machine coordinates. These posts would track to a C angle that was based on a rotary angle rounded to 3 decimal places for each move. When in polar mode, the CNC does not go to any angle specified by the program, but instead computes an angle based on rounded X and Y values from the program. There is a difference between these angles that varies depending on the radius (up to 90 deg. very close to the center of rotation). These posts would then output a G92/G50 for this tracked angle WITHOUT outputting any actual angle when coming out of polar mode. This G92 would then "burn in" any error between the 2 angle systems and cause the program to drift by this amount.
Newer posts output the tracked angle before the G92 and thus get the CNC state synced up with the post's internal state.
In UKM the status register is no longer based on the machine angle that would be output if the post was not in polar, but on the estimated angle that control will go for the rounded XY input. These older posts will show a difference in the G92 angle after any same tool polar ops. The new angle is closer to where the machine actually is and will be off only by 1/2 of a rounding tolerance. Posts that have this problem should be upgraded to output a rounded "big angle" before calling the G92/G50