Program Options:Options: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
No edit summary
Jeffm (talk | contribs)
 
(14 intermediate revisions by 2 users not shown)
Line 15: Line 15:
When checked this post will support back side turning approaches.
When checked this post will support back side turning approaches.
===Utility===
===Utility===
When checked this post will support utility ops, both with and without a tool. This checkbox will allow utility ops to be presented in the [[EachOp]]/[[NextOp]] loop. Posts that check this box should not use the [[EachBasicUtilOp]][[NextBasicUtilOp]] loop.
When checked this post will support utility ops, both with and without a tool. This checkbox will allow utility ops to be presented in the [[EachOp]]/[[NextOp]] loop. Posts that check this box should not use the [[EachBasicUtilOp]]/[[NextBasicUtilOp]] loop.


==Legacy Flags==
==Legacy Flags==
Line 23: Line 23:
When checked, the post engine will assume that all polar and cylindrical wrapped ops start from a rotary angle of zero. When checked, the post must output hard-coded move to rotary zero before these types of operations. Machines that do not need or want to start from rotary 0 must unchecked this option. Unchecked, all rotary mill operations will start interpolation at the operation starting rotation. This is to ensure legacy compatibility with limitations in older versions of GibbsCAM that could only start toolpaths from rotary zero. It his highly recommend that all posts remove hard-coded moves to rotary zero, start interpolation at the op start rotation, and uncheck this option, so that the posted output will match machine simulation.
When checked, the post engine will assume that all polar and cylindrical wrapped ops start from a rotary angle of zero. When checked, the post must output hard-coded move to rotary zero before these types of operations. Machines that do not need or want to start from rotary 0 must unchecked this option. Unchecked, all rotary mill operations will start interpolation at the operation starting rotation. This is to ensure legacy compatibility with limitations in older versions of GibbsCAM that could only start toolpaths from rotary zero. It his highly recommend that all posts remove hard-coded moves to rotary zero, start interpolation at the op start rotation, and uncheck this option, so that the posted output will match machine simulation.


===Legacy Post Logic===
===[[LegacyPostLogic|Legacy Post Logic]]===
When checked the post engine will emulate the old inconsistent behavior of plane,CRC, and arc direction commands. These inconsistencies have been resolved in v11+, but many older posts are written to rely on the older behavior. The majority of the inconsistencies are between mill and lathe parts.
When checked the post engine will emulate the old inconsistent behavior of plane,CRC, and arc direction commands. These inconsistencies have been resolved in v11+, but many older posts are written to rely on the older behavior. The majority of the inconsistencies are between mill and lathe parts.
For a more detailed outline, please read [[LegacyPostLogic|this article]].


===Legacy Non Looper Post===
===Legacy Non Looper Post===
When checked this post is assumed to be a non-looper post and will compute CP1 values in-between all operations. This is provided for legacy post processors that went off part for every op and did not match simulation. Modern MDDs can be configured to go off part on every operation and simulate the behavior with out needing this flag.
When checked this post is assumed to be a non-looper post and will compute CP1 values in-between all operations. This is provided for legacy post processors that went off part for every op and did not match simulation. Modern MDDs can be configured to go off part on every operation and simulate the behavior without needing this flag.


===Assume Cylindrical Interpolation===
===Assume Cylindrical Interpolation===
When checked the post engine will assume that the post processor may ask for cylindrical interpolation (as Flat Geometry) axis values during OD Wrapped toolpaths. This options forces the post engine to always compute the unwrapped linear axis (Most often, Y). This means that if a post has this option enabled, and calls the new command [[MoveAllAxes]] it will get the unwrapped moves instead of rotations. Posts that want direct control between rotary and unwrapped motion should disable this option and define the cylindrical wrap axis in the Axis Info Editor.
When checked the post engine will assume that the post processor may ask for cylindrical interpolation (as Flat Geometry) axis values during OD Wrapped toolpaths. This option forces the post engine to always compute the unwrapped linear axis (Most often, Y). This means that if a post has this option enabled, and calls the new command [[MoveAllAxes]] it will get the unwrapped moves instead of rotations. Posts that want direct control between rotary and unwrapped motion should disable this option and define the cylindrical wrap axis in the Axis Info Editor.


===Use Legacy Mode Commands===
===Use Legacy Mode Commands===
When checked this post will be assumed to use the older output mode commands, such as [[SetOutputModePartSpace]],[[SetOutputModeRotatedTT]]. When enabled this option will force the post engine into the default legacy modes for various operation types. These legacy modes are quite limited and modern posts will need to define there own modes using the Axis Info Editor. When a post is upgraded to new modes, it must disable this option and call [[SetOutputMode]]('N') instead. Posts that do not match this option to the mode commands called with generate an error.
When checked this post will be assumed to use the older output mode commands, such as [[SetOutputPartSpace]],[[SetOutputRotatedTT]]. When enabled this option will force the post engine into the default legacy modes for various operation types. These legacy modes are quite limited and modern posts will need to define there own modes using the Axis Info Editor. When a post is upgraded to new modes, it must disable this option and call [[SetOutputMode]]('N') instead. Posts that do not match this option to the mode commands called with generate an error.


==Post Units==
==Post Units==
===Enable Inch/Metric GUI===
===Enable Inch/Metric GUI===
Allows the post dialog to ask as the user what output units to use.
Allows the post dialog within GibbsCAM to ask the user what output units to use.
====Force Inch/Metric Default====
====Force Inch/Metric Default====
Allows the post to specify the units to default to in the post dialog.
Allows the post to specify the units to default to in the post dialog within GibbsCAM.


==Machine Support==
==Machine Support==
Line 46: Line 48:


===Legacy Point Based Drilling===
===Legacy Point Based Drilling===
This option determines how the post processor will handle drilling operations. In legacy mode each hole is presented to the post processor as a [[PointFeat]]? and the post processor is responsible for making the moves between each hole as well as outputting the cycle/motion. In Legacy mode several drilling options are not supported such as 5 Axis Canned Cycle drilling.  
This option determines how the post processor will handle drilling operations. When checked, each hole is presented to the post processor as a [[PointFeat|PointFeat?]] and the post processor is responsible for making the moves between each hole as well as outputting the cycle/motion. When checked, several drilling options are not supported such as 5-Axis Canned Cycle drilling.  


When disabled all drilling operations are presented to the post processor as a series of moves, with special event markers that define the start and end of each hole. In this mode all moves are presented to the post processor and can be used if canned cycles are not used. In this mode 5 Axis Canned Cycle drilling is possible.
When unchecked, all drilling operations are presented to the post processor as a series of moves, with special event markers (such as [[CycleStart|CycleStart?]]) that define the start and end of each hole. In this mode all moves are presented to the post processor and can be used if canned cycles are not used. In this mode 5-Axis Canned Cycle drilling is possible.


====Support Unknown Cycles====
====Support Unknown Cycles====
Line 54: Line 56:


====R Level Drilling====
====R Level Drilling====
This option informs the post engine that the post uses legacy point based drilling and will support R level changes during the operation. These changes can be detected with the [[RLevelChange]]? boolean. If the post does not support R level changes, any R level changes will be split out into new operations.
This option informs the post engine that the post uses legacy point based drilling and will support R level changes during the operation. These changes can be detected with the [[RLevelChange|RLevelChange?]] boolean. If the post does not support R level changes, any R level changes will be split out into new operations.


====Exit Level Changes (Uphill Drilling)====
====Exit Level Changes (Uphill Drilling)====
This option informs the post engine that the post uses legacy point based drilling and will support exit level changes during the operation. These changes can be detected with the [[ExitLevelChange]]? boolean. If the post does not support exit level changes, any exit level changes will be split out into new operations.
This option informs the post engine that the post uses legacy point based drilling and will support exit level changes during the operation. These changes can be detected with the [[DrillExitLevelChange|DrillExitLevelChange?]] boolean. If the post does not support exit level changes, any exit level changes will be split out into new operations.


===Use Tool Positions===
===Use Tool Positions===
This option informs the post engine that the post processor intended to use the tool position fields in the tool dialog instead of the tool tile number. This flag effects the behavior of the [[NewTool]]? boolean. This functionality was controlled by the "MTM post version" flag in Compost3 and is now a separate option.
This option informs the post engine that the post processor intended to use the tool position fields in the tool dialog instead of the tool tile number. This flag affects the behavior of the [[NewTool|NewTool?]] boolean. This functionality was controlled by the "MTM post version" flag in Compost3 and is now a separate option.


===Allow Turning Threads with Arcs===
===Allow Turning Threads with Arcs===
Line 68: Line 70:
These options enable advanced UKM features that have been added in GibbsCAM 2015(v11) and later.
These options enable advanced UKM features that have been added in GibbsCAM 2015(v11) and later.


==Stepper Post==
===Stepper Post===
This option informs the post engine that the post processor is not a traditional post processor that uses the [[EachOp]]/[[NextOp]] loop, but a stepper post that uses the [[AdvanceStep]] commands. This flag will force other options into specific states(legacy flags are all disabled, events are suppored, etc..), and has large scale impacts on the post engine operation. Large groups of legacy post commands are not allowed for stepper posts and will generate errors if this option is set. This flag is only enabled in Stepper post masters, and is not intended to be enabled in any other type of post.
This option informs the post engine that the post processor is not a traditional post processor that uses the [[EachOp]]/[[NextOp]] loop, but a stepper post that uses the [[AdvanceStep]] commands. This flag will force other options into specific states(legacy flags are all disabled, events are suppored, etc..), and has large scale impacts on the post engine operation. Large groups of legacy post commands are not allowed for stepper posts and will generate errors if this option is set. This flag is only enabled in Stepper post masters, and is not intended to be enabled in any other type of post.


==Support Inter-Op Syncs===
===Support Inter-Op Syncs===
This option informs the post engine that the post processor supports inter-op (tool change) syncs. If this option is not enabled and the program has inter-op syncs, an error will be generated.
 
For a more detailed outline, please read [[Interop_Syncs|this article]].
 
===Support Duplicate Syncs===
This option informs the post engine that the post processor supports multiple op start/op end syncs. If this option is not enabled and the program has duplicate syncs, an error will be generated.
 
===Allow Events/Custom Features===
This option informs the post engine that the post processor wants to be presented all event markers and custom features. More specifically, when this option is enabled you will get features other than Rapid and Line features. These events and markers will appear in all feature loops ([[EachInterOpATCFeat]], [[EachInterOpBTCFeat]], [[EachFeat]], etc) and provide additional information about the program state. Numerous commands allow access to the event data (i.e. [[AtEvent|AtEvent?]]) and can greatly enhance post's control over the output while maintaining compatibility with simulation. These event features will be of zero length and not contain any axis moves, so the post processor must not make assumptions about the locations of specific features during the approach and retract loops (assuming the first feature is a rotation as an example). Several UKM Features rely on events to function and thus other flags may force this option to be enabled.
 
A common post assumption within the approach and retract loops is that if [[RapidMove|RapidFeat?]] is false, then it must be a line feature. That is a bad assumption if you enable this Allow Events/Custom Features option. The fix might be to specifically check for [[LineMove|LineFeat?]], for example, and not assume.
 
===Include OffPart Inter Op Steps===
When checked, this flag forces all inter-op loops to be extend to include the entire inter-op motion. Retract([[EachInterOpBTCFeat]]) loops will continue from the home position all the way to the operation change event. This means that there will be additional motion inside the retract loop. Approach loops ([[EachInterOpATCFeat]]) will begin at the operation change and include additional off part moves. Moves between all parking locations (including, offset changes, tool changes, and part station changes) will also be included as axis moves in the loops as they occur in the MDD. This option allows looper posts to access multiple off part event locations as defined in the MDD. Because of this, this checkbox can not be used for posts that are expected to work with MTGs. When unchecked, the ATC/BTC loops will not include these moves and will start/stop at the first/last off part events.
 
The vast majority of posts do not need to use this option, it is only for complex UKM machines that need extended MDD/VMM definitions to get the required machine output. It is not required for multiple part stations, MTM, or clearance volumes.






[[Category:Dialog_Help]]
[[Category:Dialog_Help]]

Latest revision as of 23:33, 19 October 2017

Overview

The Options dialog contains the flags for what options the post processor supports or wants to enable in the post engine.

Operation Support

Posts that do not support specific operation types will generate an error at run time if the user attempts to use one of the unsupported types.

Milling

When checked this post will support milling operations.

Turning

When checked this post will support basic turning operations.

Neg-Side

When checked this post will support turning on the opposite side of the part from the toolgroup.

Back-Face

When checked this post will support back side turning approaches.

Utility

When checked this post will support utility ops, both with and without a tool. This checkbox will allow utility ops to be presented in the EachOp/NextOp loop. Posts that check this box should not use the EachBasicUtilOp/NextBasicUtilOp loop.

Legacy Flags

These flags control legacy compatibility behavior. With GibbsCAM 2015(v11) many bugs and inconsistencies in the posting system were fixed. Unfortunately there was a large group of older posts that relied on the old, inconsistent, behavior. For this reason Compost4 provides flags to control various legacy compatibility modes in the post engine. The PST upgrade process will automatically set these flags to ensure legacy compatibility and keep old posts working like they used to. As post developers upgrade posts to newer features that do not rely on old behavior they will need to uncheck the corresponding legacy flag.

Old Style Rotary Interpolation

When checked, the post engine will assume that all polar and cylindrical wrapped ops start from a rotary angle of zero. When checked, the post must output hard-coded move to rotary zero before these types of operations. Machines that do not need or want to start from rotary 0 must unchecked this option. Unchecked, all rotary mill operations will start interpolation at the operation starting rotation. This is to ensure legacy compatibility with limitations in older versions of GibbsCAM that could only start toolpaths from rotary zero. It his highly recommend that all posts remove hard-coded moves to rotary zero, start interpolation at the op start rotation, and uncheck this option, so that the posted output will match machine simulation.

Legacy Post Logic

When checked the post engine will emulate the old inconsistent behavior of plane,CRC, and arc direction commands. These inconsistencies have been resolved in v11+, but many older posts are written to rely on the older behavior. The majority of the inconsistencies are between mill and lathe parts.

For a more detailed outline, please read this article.

Legacy Non Looper Post

When checked this post is assumed to be a non-looper post and will compute CP1 values in-between all operations. This is provided for legacy post processors that went off part for every op and did not match simulation. Modern MDDs can be configured to go off part on every operation and simulate the behavior without needing this flag.

Assume Cylindrical Interpolation

When checked the post engine will assume that the post processor may ask for cylindrical interpolation (as Flat Geometry) axis values during OD Wrapped toolpaths. This option forces the post engine to always compute the unwrapped linear axis (Most often, Y). This means that if a post has this option enabled, and calls the new command MoveAllAxes it will get the unwrapped moves instead of rotations. Posts that want direct control between rotary and unwrapped motion should disable this option and define the cylindrical wrap axis in the Axis Info Editor.

Use Legacy Mode Commands

When checked this post will be assumed to use the older output mode commands, such as SetOutputPartSpace,SetOutputRotatedTT. When enabled this option will force the post engine into the default legacy modes for various operation types. These legacy modes are quite limited and modern posts will need to define there own modes using the Axis Info Editor. When a post is upgraded to new modes, it must disable this option and call SetOutputMode('N') instead. Posts that do not match this option to the mode commands called with generate an error.

Post Units

Enable Inch/Metric GUI

Allows the post dialog within GibbsCAM to ask the user what output units to use.

Force Inch/Metric Default

Allows the post to specify the units to default to in the post dialog within GibbsCAM.

Machine Support

Extended Markers

When enabled the post engine will send extended markers (CRC,Offset Change, Comment, etc...) to the post's toolpath via the EachOp/NextOp loop.

Legacy Point Based Drilling

This option determines how the post processor will handle drilling operations. When checked, each hole is presented to the post processor as a PointFeat? and the post processor is responsible for making the moves between each hole as well as outputting the cycle/motion. When checked, several drilling options are not supported such as 5-Axis Canned Cycle drilling.

When unchecked, all drilling operations are presented to the post processor as a series of moves, with special event markers (such as CycleStart?) that define the start and end of each hole. In this mode all moves are presented to the post processor and can be used if canned cycles are not used. In this mode 5-Axis Canned Cycle drilling is possible.

Support Unknown Cycles

This option informs the post engine that the post uses legacy point based drilling but will expand any unknown drilling cycle into it's longhand moves using EachMillDrillFeat/NextMillDrillFeat. If this option is not enabled and a unknown cycle is used, the post will generate an error.

R Level Drilling

This option informs the post engine that the post uses legacy point based drilling and will support R level changes during the operation. These changes can be detected with the RLevelChange? boolean. If the post does not support R level changes, any R level changes will be split out into new operations.

Exit Level Changes (Uphill Drilling)

This option informs the post engine that the post uses legacy point based drilling and will support exit level changes during the operation. These changes can be detected with the DrillExitLevelChange? boolean. If the post does not support exit level changes, any exit level changes will be split out into new operations.

Use Tool Positions

This option informs the post engine that the post processor intended to use the tool position fields in the tool dialog instead of the tool tile number. This flag affects the behavior of the NewTool? boolean. This functionality was controlled by the "MTM post version" flag in Compost3 and is now a separate option.

Allow Turning Threads with Arcs

This option informs the post engine that the post processor supports turn threading on arc features. Posts that do not support arc threads will segment any arc threads into line threads.

UKM Flags

These options enable advanced UKM features that have been added in GibbsCAM 2015(v11) and later.

Stepper Post

This option informs the post engine that the post processor is not a traditional post processor that uses the EachOp/NextOp loop, but a stepper post that uses the AdvanceStep commands. This flag will force other options into specific states(legacy flags are all disabled, events are suppored, etc..), and has large scale impacts on the post engine operation. Large groups of legacy post commands are not allowed for stepper posts and will generate errors if this option is set. This flag is only enabled in Stepper post masters, and is not intended to be enabled in any other type of post.

Support Inter-Op Syncs

This option informs the post engine that the post processor supports inter-op (tool change) syncs. If this option is not enabled and the program has inter-op syncs, an error will be generated.

For a more detailed outline, please read this article.

Support Duplicate Syncs

This option informs the post engine that the post processor supports multiple op start/op end syncs. If this option is not enabled and the program has duplicate syncs, an error will be generated.

Allow Events/Custom Features

This option informs the post engine that the post processor wants to be presented all event markers and custom features. More specifically, when this option is enabled you will get features other than Rapid and Line features. These events and markers will appear in all feature loops (EachInterOpATCFeat, EachInterOpBTCFeat, EachFeat, etc) and provide additional information about the program state. Numerous commands allow access to the event data (i.e. AtEvent?) and can greatly enhance post's control over the output while maintaining compatibility with simulation. These event features will be of zero length and not contain any axis moves, so the post processor must not make assumptions about the locations of specific features during the approach and retract loops (assuming the first feature is a rotation as an example). Several UKM Features rely on events to function and thus other flags may force this option to be enabled.

A common post assumption within the approach and retract loops is that if RapidFeat? is false, then it must be a line feature. That is a bad assumption if you enable this Allow Events/Custom Features option. The fix might be to specifically check for LineFeat?, for example, and not assume.

Include OffPart Inter Op Steps

When checked, this flag forces all inter-op loops to be extend to include the entire inter-op motion. Retract(EachInterOpBTCFeat) loops will continue from the home position all the way to the operation change event. This means that there will be additional motion inside the retract loop. Approach loops (EachInterOpATCFeat) will begin at the operation change and include additional off part moves. Moves between all parking locations (including, offset changes, tool changes, and part station changes) will also be included as axis moves in the loops as they occur in the MDD. This option allows looper posts to access multiple off part event locations as defined in the MDD. Because of this, this checkbox can not be used for posts that are expected to work with MTGs. When unchecked, the ATC/BTC loops will not include these moves and will start/stop at the first/last off part events.

The vast majority of posts do not need to use this option, it is only for complex UKM machines that need extended MDD/VMM definitions to get the required machine output. It is not required for multiple part stations, MTM, or clearance volumes.