ABC Posts: Difference between revisions
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
ABC posting offers a number of advantages over third party posting solutions (Post5 Posts). | 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 | * 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. | ||
* 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 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. | * 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. | * 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. | * 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). | |||
===Availability=== | ===Availability=== | ||
| Line 21: | Line 22: | ||
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. | 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. | ||
[[image:CompostTPFlags.png]] | [[image:CompostTPFlags.png]] | ||
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. If 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=== | ===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|CSOffsetA#]], [CSOffsetB|CSOffsetB#]], and [CSOffsetC|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=== | ===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|SPA#]], [[EPA|EPA#]], etc..) | |||
===Advanced Milling=== | ===Advanced Milling=== | ||
If the post is an advanced millpost, it must go into "D style", or "G54" mode before outputting [[ABCToolpath?]] operations. | |||
===Rotary Milling=== | ===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 must NEVER call the commands [[CalcCAng]] or [[CalcSCAng]] for [[ABCToolpath?]] operations. Doing so will cause the post engine to try and process the operation as a rotary milling operation and incorrect angle moves will be output. | |||
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=== | ===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. | |||
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 post 5 'RTCP' Flags being enabled on a rotary head MDD. | |||
For machines that only have rotary table axis this mode will output the same as Rotated Tool Tip. | |||
====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 programable position. This mode has no equivalent in post 5. | |||
Revision as of 00:59, 12 August 2008
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.
- 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).
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. If 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|CSOffsetB#]], and [CSOffsetC|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..)
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 must NEVER call the commands CalcCAng or CalcSCAng for ABCToolpath? operations. Doing so will cause the post engine to try and process the operation as a rotary milling operation and incorrect angle moves will be output.
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.
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 post 5 'RTCP' Flags being enabled on a rotary head MDD.
For machines that only have rotary table axis this mode will output the same as Rotated Tool Tip.
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 programable position. This mode has no equivalent in post 5.