Extended Markers: Difference between revisions
No edit summary |
No edit summary |
||
| Line 82: | Line 82: | ||
EOL | EOL | ||
END | END | ||
===Dwell Marker=== | |||
The dwell marker will generate a new feature that will cause the [[DwellFeat|DwellFeat?]] boolean to return true. This feature should be output on a line by itself by the post processor. Dwell features have been supported for some time in a number of operation types ( mostly turning ops, and expanded drill cycles ), and the same commands used in the past to support the markers, including [[Dwell#]] and [[DwellRevs#]]. | |||
Example: | |||
IF DwellFeat? | |||
SeqC 'G4 X' Dwell# EOL | |||
END | |||
== New State Commands == | == New State Commands == | ||
= Notes = | = Notes = | ||
Revision as of 02:37, 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
- Prog Stop
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.
Tool Sub Position Marker
The Tool SubPos marker will generate a new feature that will cause the ToolSubPosFeat? boolean to return true. This feature should be output on a line by itself by the post processor, and the post must not output any additional tool path or clearance moves. It is assumed that the customer will place these markers in the appropriate place in the tool path for there needs ( impeded retracts or clearance moves ). The addition of moves by the post processor will not allow the program to be properly simulated.
The existing sub position command ToolSubPosition# is used to get the new sub position.
Example:
IF ToolSubPosFeat?
SeqC 'M19' 'S' ToolSubPosition# EOL
END
The commands TLToolSubPosition# and ToolSubPosChange? are not used by this feature.
Program Stop Marker
The prog stop marker will generate a new feature that will cause the ProgStopFeat? boolean to return true. This feature should be output on a line by itself by the post processor, and the post must not output any additional tool path or clearance moves. It is assumed that the customer will place these markers in the appropriate place in the tool path for there needs ( impeded retracts or clearance moves ). The addition of moves by the post processor will not allow the program to be properly simulated.
The existing OptionalStops? is used to test the type of stop.
Example:
IF ProgStopFeat?
SeqC
IF OptionalStops?
'M1'
ELSE
'M0'
END
EOL
END
Dwell Marker
The dwell marker will generate a new feature that will cause the DwellFeat? boolean to return true. This feature should be output on a line by itself by the post processor. Dwell features have been supported for some time in a number of operation types ( mostly turning ops, and expanded drill cycles ), and the same commands used in the past to support the markers, including Dwell# and DwellRevs#.
Example:
IF DwellFeat?
SeqC 'G4 X' Dwell# EOL
END
