ABC Posts: Difference between revisions
| Line 79: | Line 79: | ||
====Straight Tool Tip==== | ====Straight Tool Tip==== | ||
This mode can be enabled by calling [[SetOutputStraightTT]]. For rotary head machines this will output the tool tip potion as if it had not rotated. This is the most common mode for machines that do NOT have a TCP function, but still use tool offsets. The post engine will use the tool offsets and the MDD settings in GibbsCAM to compute the compensated straight tool tip position for correct cutting motion. This is equivalent to the RTCP flags to '''false''' for rotary axes on the head. | This mode can be enabled by calling [[SetOutputStraightTT]]. For rotary head machines this will output the tool tip potion as if it had not rotated. This is the most common mode for machines that do NOT have a TCP function, but still use tool offsets. The post engine will use the tool offsets and the MDD settings in GibbsCAM to compute the compensated straight tool tip position for correct cutting motion. This is equivalent to the RTCP flags to '''false''' for rotary axes on the head. | ||
For machines that only have rotary table axis this mode will output the same as Rotated Tool Tip. | For machines that only have rotary table axis this mode will output the same as Rotated Tool Tip. | ||
| Line 90: | Line 89: | ||
====Straight Toolgroup Datum==== | ====Straight Toolgroup Datum==== | ||
This mode can be enabled by calling [[SetOutputStraightTG]]. For all machines this will output the fixed toolgroup datum potion as if it had not rotated. This is the most common mode for machines that do NOT have a TCP function, and do NOT use tool offsets. The post engine will use the tool offsets and the MDD settings in GibbsCAM to compute the compensated position for correct cutting motion. This mode is usually combined with an MDD that defines the datum position as the 'pivot' point on the toolgroup, or some other fixed programmable position. This mode has no equivalent in post 5. | This mode can be enabled by calling [[SetOutputStraightTG]]. For all machines this will output the fixed toolgroup datum potion as if it had not rotated. This is the most common mode for machines that do NOT have a TCP function, and do NOT use tool offsets. The post engine will use the tool offsets and the MDD settings in GibbsCAM to compute the compensated position for correct cutting motion. This mode is usually combined with an MDD that defines the datum position as the 'pivot' point on the toolgroup, or some other fixed programmable position. This mode has no equivalent in post 5. | ||
====Straight Tip Center==== | |||
This mode can be enabled by calling [[SetOutputStraightTC]]. For rotary head machines this will output the tool center potion as if it had not rotated. This is a common mode for machines that do NOT have a TCP function, but still use tool offsets for turning operations. The post engine will use the tool offsets and the MDD settings in GibbsCAM to compute the compensated straight tool center position for correct cutting motion. This mode has no equivalent in post 5. | |||
==Post5 TCP Variables to Output Mode== | ==Post5 TCP Variables to Output Mode== | ||
Revision as of 21:48, 9 November 2010
Overview
ABC Posts, or "native" 5-axis posts, are posts that fully support 6 axis toolpaths with out the use of third party tools or plug-ins (Post5, or ProAXYZ). Support for these posts were added in GibbssCam Version 9.0.
Advantages
ABC posting offers a number of advantages over third party posting solutions (Post5 Posts).
- Native Compost commands. ABC posts work by supporting rotary toolpaths with native compost commands and loops. Post5 posts require the use of cumbersome custom flags, and commands to work, and are unable to take advantage of many compost features during posting. ABC posts were developed to overcome this problem. All ABC posting commands are standard compost commands and work in a normal toolpath loop,and use standard formats and labels.
- Additional segmentation. ABC posts offer an additional segmentation options that are not available in Post5 posts. This is specified in the post form as an ABC tolerance ( see implementation section).
- Additional output modes. ABC posts use the existing Compost output modes, and support both Straight Tool Tip and Straight Tool Group Datum. Post5 only supports Straight Tool Tip.
- Marker support. ABC posts support markers.
- Simpler post code. ABC posts use the normal toolpath loop so there is no need to duplicate post logic using special "5axis" versions of commands and functions.
- Speed. ABC posts process much faster then Post5 posts since they do not rely on a third party plug-in (up to twice as fast).
- Numeric Consistency. ABC posts use the same rounding and formatting code as the rest of compost. This makes the output more consistent with other operations, and prevents rounding discrepancies that cause jumps in the output, resulting in a smoother toolpath.
- Better support. Turn around time on support requests on ABC posting features is faster, as it is provided by the GibbsCAM post engine and supported as part of the normal product.
Availability
ABC posting is included with all beta versions of GibbsCAM 9.0 (8.9.x).
Implementation
Implementing a native ABC post is significantly more simple then implementing an ABC posts. The majority of the post logic remains unmodified. Post5 posts can be converted to ABC post, but must first have the Post5 (5ax..) custom commands and variables, removed.
Compost
ABC posts have the Rotary TP support flag enabled in the Flags section of the form. This is set using Compost 3 1.3.0 or later.
When the "Support Rotary Toolpaths(ABC)" option is enabled, the GibbsCAM post engine will store all 5 axis ops for native posting.
The "ABC Segmentation Tolerance(mm)" field tells the post engine how to segment toolpath IJK moves into machine ABC moves. It has 3 modes of operation based on the value entered.
- 0 : If the value is 0, no additional segments will be added by the post engine. This is the mode that Post5 works in.
- Less then 0: If the value is negative, then the post engine will look at the operation's cord height tolerance and use that as a segmentation tolerance for the toolpath. If the operation does not have a tolerance, then the global tolerance in the machining preferences will be used.
- Greater then 0: If the value is positive, then the post engine will use the specified value as a fixed segmentation tolerance.
If a tolerance is specified by any means then then tolerance will be used as a "cord height deviation" tolerance. The ABC moves generated will not deviate from the optimal IJK path by any distance more then the tolerance.
The "Max ABC Angle Move(deg)" tells the post engine what the maximum angle move can be. It has 2 modes based on the value entered.
- 0 or less then 0: If the value is not positive, then angle moves will not be limited.
- Greater then 0: If the value is postie then ABC moves will be segmented to not rotate over the specified angular distance.
Other Segmentation
Some operation types offer additional segmentation at toolpath generation time, these can include cord height segmentation, max distance segmentation, and angular constraints. These will vary on an op by op basis and are applied BEFORE the post engine processes the path. This means that any post specified segmentation will be applied IN ADDITION to any toolpath segmentation.
Rotary start position
Native ABC Posts should use the commands StartPosA, StartPosB and StartPosC to output the rotary start point for all operations. Uses of the advanced mill angle commands (CSOffsetA#, CSOffsetB#, and CSOffsetC#) is not recommended. An ABC post should check each axis with AAxisAvail?, BAxisAvail?, or CAxisAvail? or use the conditional versions of the commands in order to support any machine setup.
Tracking
No additional tracking is required for ABC posts. Since native compost commands are used, the ABC toolpath system uses the normal status registers, and the post processor does not have to do any special tracking to ensure valid output.
Toolpath
Native ABC posts can check if the operation is a 5 axis path by calling the command ABCToolpath?. This will return true if the operation has ABC features in it's toolpath. When processing features in the toolpath the post can simply replace calls to MoveXYZC with calls to MoveXYZABCC to output any rotary motion. MoveXYZABCC can be called for all operation types and will not output any angle moves for 3 axis ops. For posts that can not use the conditional command or need to break up moves for whatever reason, angular versions of most of the movement commands have been created (SPA#, EPA#, etc..)
Feedrates
The normal feedrate commands can be called in ABC posts, AngleFeed and InverseTimeFeed are fully available for use, and will use the toolpath rotations.
Markers
ABC Posts can call the Extended Markers commands to support all the user markers.
Advanced Milling
If the post is an advanced millpost, it must go into "D style", or "G54" mode before outputting ABCToolpath? operations.
Rotary Milling
If the post is a rotary milling post, or a simple positioning post, it can still be made into an ABC post, but must only call the rotary milling commands for rotary milling ops.
CalcCAng and CalcSCAng
Native ABC posts should not call the commands CalcCAng or CalcSCAng for ABCToolpath? operations. As of 9.2.12 these commands will not do anything for ABC paths. Previous versions would cause the ABC path to be "wrapped" like it was a rotary mill operation.
Rotary repeat code in the post can remain unmodified, no ABCToolpath? will ever be flagged as an Autocycle, or Rotary repeat. 5 axis operations (ABCToolpath?= true) that have any type of repeat will be automatically expanded by the post engine, and require no special handling in the post.
Output Modes
A number of output modes are available to the post engine. It is common for 5 axis machines to require a non default mode. These modes were set in post 5 posts by the use of the 'RTCP' flags.
Rotated Tool Tip
This mode is the default mode for the post engine, but can be enabled by calling SetOutputRotatedTT. For rotary head machines this will output the rotated tool tip point for all moves. This is the most common mode for machines that have a TCP function. This mode is equivalent of setting the RTCP flags to true for rotary axes on the head.
For machines that only have rotary table axis this mode will output where the tool tip is relative to the unannotated part origin. Again this is the common mode for most rotary table machines that use tool offsets.
Straight Tool Tip
This mode can be enabled by calling SetOutputStraightTT. For rotary head machines this will output the tool tip potion as if it had not rotated. This is the most common mode for machines that do NOT have a TCP function, but still use tool offsets. The post engine will use the tool offsets and the MDD settings in GibbsCAM to compute the compensated straight tool tip position for correct cutting motion. This is equivalent to the RTCP flags to false for rotary axes on the head.
For machines that only have rotary table axis this mode will output the same as Rotated Tool Tip.
Part Space
This mode is sometimes used by machines that have a TCP function but have one or more rotary axes on the table. It can be enabled by calling. This mode is equivalent of setting the RTCP flags to true for rotary axes on the table.
This mode is sometimes used to generate a program that will run on any machine regardless of rotary setup by using IJK output instead of angles ( using the ToolVector commands). While this may be a good thing for the customer it does not generate an optimized program. When doing IJK output the CNC control computes the actual rotations. These rotary solutions may not match the solutions show in CPR and may cause problems/crashes when switching between IJK toolpath and ABC inter-operation motion. Customers should always be warned of the problems and posts that use IJK should restate the ABC angles before and after IJK sections of the program to ensure maximum compatibility.
Straight Toolgroup Datum
This mode can be enabled by calling SetOutputStraightTG. For all machines this will output the fixed toolgroup datum potion as if it had not rotated. This is the most common mode for machines that do NOT have a TCP function, and do NOT use tool offsets. The post engine will use the tool offsets and the MDD settings in GibbsCAM to compute the compensated position for correct cutting motion. This mode is usually combined with an MDD that defines the datum position as the 'pivot' point on the toolgroup, or some other fixed programmable position. This mode has no equivalent in post 5.
Straight Tip Center
This mode can be enabled by calling SetOutputStraightTC. For rotary head machines this will output the tool center potion as if it had not rotated. This is a common mode for machines that do NOT have a TCP function, but still use tool offsets for turning operations. The post engine will use the tool offsets and the MDD settings in GibbsCAM to compute the compensated straight tool center position for correct cutting motion. This mode has no equivalent in post 5.
Post5 TCP Variables to Output Mode
Post5 uses a series of flags to indirectly set an internal output mode. The post engine gives this power directly to the post developer, and adds more modes. Developers should use the following logic to determine what mode to set a native ABC post to, based on what the Post5 axis variables were set to, and the location of the rotary axis (head or table).
The following steps should be done in order, if any step is not true for a specific post it should be skipped in order.
- If the TCP flag is set to false for any axis in any location, set the mode to SetOutputStraightTT, this is the default if no flags are set.
- If the TCP flag is set to true for an axis that is on the head or toolgroup, set the mode to SetOutputRotatedTT.
- If the TCP flag is set to true for an axis that is on the table or workpeice, set the mode to SetOutputPartSpace.
This is the logic that post5 uses internally. Post5 has no mode that is equivalent to SetOutputStraightTG.
Parts Space and IJK Vectors
The post engine does support the ability to output programs using part space IJK vectors via the ToolVector commands. This output method is popular with customers that have more then one machine setup and wish to run the same program on multiple machines. These programs work by defining the toolpath in a part centric method and letting the CNC control figure out the actual kinematics and axis moves for the machine. While this is good for manual programing, it is not the best case for CAM systems. The CNC control may compute different rotary solutions for moves then GibbsCAM did. This will mean that simulation, collision detection, fixture avoidance, and inter-op motions may not work correctly. It is recommended that if the customer insists on IJK output that the post only do it for operation toolpaths not inter-ops, and that it restate the GibbsCAM ABC angles after an operation when the tool is clear. This will minimize the amount of rotary solution "drift" in the program and ensure that the CNC machine will start as close to the GibbsCAM orientation as possible.
Masters
The following Master Posts have ABC versions available. These posts use ABC in the name instead of the normal 4as and 5as designations.
- Fanuc 6M ABC [VG] IRM001.22im
