Adding Broaching Support to a .62 post: Difference between revisions
Jump to navigation
Jump to search
Add SpeedRPM# section |
|||
| Line 26: | Line 26: | ||
IF holdPartStationCodes? | IF holdPartStationCodes? | ||
{ * No Output of Spindle On Here * } | { * No Output of Spindle On Here * } | ||
ELSEIF NOT | ELSEIF NOT OpIsPartOriented? | ||
IF NotEqual? SpeedRPM# LASTOperation SpeedRPM# | IF NotEqual? SpeedRPM# LASTOperation SpeedRPM# | ||
SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL | SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL | ||
| Line 35: | Line 35: | ||
</nowiki> | </nowiki> | ||
I advise using the Compost4 search function to search for the [[SpeedRPM#]], [[SpeedSFPM#]], and [[SpeedSUPM#]] in your post, and make sure that you cannot reach this logic in a Broaching op. | I advise using the Compost4 search function to search for the [[SpeedRPM#]], [[SpeedSFPM#]], and [[SpeedSUPM#]] in your post, and make sure that you cannot reach this logic in a Broaching op. | ||
==Always call toolPath if no other logic returns TRUE== | ==Always call toolPath if no other logic returns TRUE== | ||
===In millCore:=== | ===In millCore:=== | ||
Revision as of 21:51, 25 October 2019
Turn on Broaching in the Form

Suppress G97 output in Broaching ops
constantRPM: IF IsAnyTurningOp? AND NOT OpIsPartOriented? 'G97' END RETURN
Don't use SpeedRPM# at all in Broaching Ops
If your SameTool subs use logic similar to:
IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#
You need to add NOT OpIsToolOriented? / NOT OpIsPartOriented? before this, as using SpeedRPM# in an IF statement will cause GibbsCAM to throw an exception. For example, change from:
IF holdPartStationCodes?
{ * No Output of Spindle On Here * }
ELSE
IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#
SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL
ELSE
SeqLabC ckSpinOn EOL
END
END
To:
IF holdPartStationCodes?
{ * No Output of Spindle On Here * }
ELSEIF NOT OpIsPartOriented?
IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#
SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL
ELSE
SeqLabC ckSpinOn EOL
END
END
I advise using the Compost4 search function to search for the SpeedRPM#, SpeedSFPM#, and SpeedSUPM# in your post, and make sure that you cannot reach this logic in a Broaching op.
Always call toolPath if no other logic returns TRUE
In millCore:
Change:
ELSE IF Drilling?
to:
ELSEIF Drilling?
Change:
ckDrillClampOff END END
to:
ckDrillClampOff ELSE toolPath END
Output C-only moves for Positioning and Rotations
In tpLineFeat:
Change:
ELSE {implies Position}
IF XMove? OR YMove? OR ZMove?
SeqLabC doAbsOrInc ckCRC FeedC doMoveXC doMoveYC doMoveZC doFeedRateC doSpeedC doToolOffsetC EOL
END
END
Add CMove? and doMoveCC call:
ELSE {implies Position}
IF XMove? OR YMove? OR ZMove? OR CMove?
SeqLabC doAbsOrInc ckCRC FeedC doMoveXC doMoveYC doMoveZC doMoveCC doFeedRateC doSpeedC doToolOffsetC EOL
END
END
In tpRapidFeat:
Change:
ELSE {implies Position}
IF XMove? OR YMove? OR ZMove?
SeqLabC doAbsOrInc ckCRC RapidC doMoveXC doMoveYC doMoveZC doSpeedC doToolOffsetC EOL
END
END
Add CMove? and doMoveCC:
ELSE {implies Position}
IF XMove? OR YMove? OR ZMove? OR CMove?
SeqLabC doAbsOrInc ckCRC RapidC doMoveXC doMoveYC doMoveZC doMoveCC doSpeedC doToolOffsetC EOL
END
END