Extended Markers: Difference between revisions
E |
No edit summary |
||
| Line 23: | Line 23: | ||
To fully support markers a post processor must be upgraded. Upgraded posts fully support all marker types that are valid for the machine type. | To fully support markers a post processor must be upgraded. Upgraded posts fully support all marker types that are valid for the machine type. | ||
=Upgrade= | |||
Upgrading a post to full marker support is a moderately trivial task, and simply requires a few changes to the post. | Upgrading a post to full marker support is a moderately trivial task, and simply requires a few changes to the post. | ||
==Compost Flag== | |||
In order to have the post engine send all marker types to the post processor the form must be flagged as supporting the markers. This is an option in Compost 3 1.3.3 or later, under the '''Flags''' item in the '''Advanced''' menu. | In order to have the post engine send all marker types to the post processor the form must be flagged as supporting the markers. This is an option in Compost 3 1.3.3 or later, under the '''Flags''' item in the '''Advanced''' menu. | ||
| Line 33: | Line 33: | ||
When this item is checked, the post engine will send all possible markers to the post processor as part of the toolpath ([[EachFeat]]/[[NextFeat]] loop ). | When this item is checked, the post engine will send all possible markers to the post processor as part of the toolpath ([[EachFeat]]/[[NextFeat]] loop ). | ||
==Toolpath== | |||
The first thing to do when upgrading a post is to ensure that the toolpath loop does not make any assumptions about what type of feature it is on. Some older posts will simply have an "else" case at the end of the feature tests, and assume that the feature is an arc or a point. This will cause problems if the extended marker features are passed to the post and it attempts to treat them as thewrong kind of feature. This can be solved by ensureing that every feature type has it's own corosponding ''IF'' test, and that the final ''ELSE'' case is left empty. Advanced marker support is best supported by posts that have been upgraded to the current [[Master Post]] for the machine type. | The first thing to do when upgrading a post is to ensure that the toolpath loop does not make any assumptions about what type of feature it is on. Some older posts will simply have an "else" case at the end of the feature tests, and assume that the feature is an arc or a point. This will cause problems if the extended marker features are passed to the post and it attempts to treat them as thewrong kind of feature. This can be solved by ensureing that every feature type has it's own corosponding ''IF'' test, and that the final ''ELSE'' case is left empty. Advanced marker support is best supported by posts that have been upgraded to the current [[Master Post]] for the machine type. | ||
== Marker Types== | |||
Each marker type is implanted in one of two different ways. Markers are ether supported as new feature types, or as attributes on existing features. The implementation of the markers depends on how the marker is intended to work in in the program, and how it affects the features around them. All markers will "split" a feature when they are not placed on a start or end point. | Each marker type is implanted in one of two different ways. Markers are ether supported as new feature types, or as attributes on existing features. The implementation of the markers depends on how the marker is intended to work in in the program, and how it affects the features around them. All markers will "split" a feature when they are not placed on a start or end point. | ||
== Marker Features == | |||
Markers that are implemented as new feature types all include a new ''Feat?'' boolean. These markers are assumed to be placed on lines by themselves and are assumed to take place instantly, and do not affect the state of any features before or after the marker. | Markers that are implemented as new feature types all include a new ''Feat?'' boolean. These markers are assumed to be placed on lines by themselves and are assumed to take place instantly, and do not affect the state of any features before or after the marker. | ||
=== Text Comment Marker === | |||
The text comment marker will generate a feature that will cause the [[CommentFeat|CommentFeat?]] boolean to return true. The text comment may include more then one line, so the post processor must execute an [[EachCommentFeatLine]] / [[NextCommentFeatLine]] loop. Inside this loop, the command [[CommentFeatLine|CommentFeatLine$]] is called to output the code for each line. | The text comment marker will generate a feature that will cause the [[CommentFeat|CommentFeat?]] boolean to return true. The text comment may include more then one line, so the post processor must execute an [[EachCommentFeatLine]] / [[NextCommentFeatLine]] loop. Inside this loop, the command [[CommentFeatLine|CommentFeatLine$]] is called to output the code for each line. | ||
| Line 56: | Line 56: | ||
== New State Commands == | |||
= Notes = | |||
Revision as of 01:56, 25 March 2008
Overview
Extended markers were added to GibbsCAM for version 9.0. They allow the user a greater level of control over the program by allowing them to optimized not only the federates of a tool path but many other aspects, including;
- Spindle Speed
- Tool Offset
- Cutter Radius Compensation
- Dwells
- Tool Sub-Position
- Text Comments
Post Support
There are 2 levels of post support for markers, Legacy, and Full support.
Legacy
Legacy post will only support 2 marker types, CRC and Feedrates.
Feedrate support has been included in post processors since the .82 format from the mid 1990's.
The post engine will automatically support federate markers by overriding the standard behavior of the CRCOn and CRCOff commands.
This will allow some marker support in the majority of the existing posts. There are posts that will not "pick up" the marker support and that is a known issue. They will have to be upgraded as needed.
Full Marker Support
To fully support markers a post processor must be upgraded. Upgraded posts fully support all marker types that are valid for the machine type.
Upgrade
Upgrading a post to full marker support is a moderately trivial task, and simply requires a few changes to the post.
Compost Flag
In order to have the post engine send all marker types to the post processor the form must be flagged as supporting the markers. This is an option in Compost 3 1.3.3 or later, under the Flags item in the Advanced menu.
When this item is checked, the post engine will send all possible markers to the post processor as part of the toolpath (EachFeat/NextFeat loop ).
Toolpath
The first thing to do when upgrading a post is to ensure that the toolpath loop does not make any assumptions about what type of feature it is on. Some older posts will simply have an "else" case at the end of the feature tests, and assume that the feature is an arc or a point. This will cause problems if the extended marker features are passed to the post and it attempts to treat them as thewrong kind of feature. This can be solved by ensureing that every feature type has it's own corosponding IF test, and that the final ELSE case is left empty. Advanced marker support is best supported by posts that have been upgraded to the current Master Post for the machine type.
Marker Types
Each marker type is implanted in one of two different ways. Markers are ether supported as new feature types, or as attributes on existing features. The implementation of the markers depends on how the marker is intended to work in in the program, and how it affects the features around them. All markers will "split" a feature when they are not placed on a start or end point.
Marker Features
Markers that are implemented as new feature types all include a new Feat? boolean. These markers are assumed to be placed on lines by themselves and are assumed to take place instantly, and do not affect the state of any features before or after the marker.
Text Comment Marker
The text comment marker will generate a feature that will cause the CommentFeat? boolean to return true. The text comment may include more then one line, so the post processor must execute an EachCommentFeatLine / NextCommentFeatLine loop. Inside this loop, the command CommentFeatLine$ is called to output the code for each line.
Example:
IF CommentFeat?
EachCommentFeatLine
SeqC '(' CommentFeatLine$ ')' EOL
NextCommentFeatLine
END
The post engine will not do any processing or verification of any of the contents of the Comment Marker, it is simply output. No post script, or special command parsing of the text is provided.
