Fatal Post Errors: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Dannym (talk | contribs)
Dannym (talk | contribs)
Line 38: Line 38:


==="Invalid Wrap Axis on a rotary mill op"===
==="Invalid Wrap Axis on a rotary mill op"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Can't find appropriate real axis for wrapping"===
==="Can't find appropriate real axis for wrapping"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Linear Axis Does not Exist"===
==="Linear Axis Does not Exist"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Rotary Axis Does not Exist"===
==="Rotary Axis Does not Exist"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid axis for tracking"===
==="Invalid axis for tracking"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Bad axis info"===
==="Bad axis info"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid wrap axis"===
==="Invalid wrap axis"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Discrepancy in calculated polar angle"===
==="Discrepancy in calculated polar angle"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Can't get previous FeatureStep"===
==="Can't get previous FeatureStep"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Can't get state for requested op"===
==="Can't get state for requested op"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="State operation not equal to current op"===
==="State operation not equal to current op"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Incompatible Axis Values"===
==="Incompatible Axis Values"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Boolean called outside of logical test"===
==="Boolean called outside of logical test"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Trying to call CRC command other than current or previous op"===
==="Trying to call CRC command other than current or previous op"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Non-legacy axis used in MTG upgrade op."===
==="Non-legacy axis used in MTG upgrade op."===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid op state in B_FirstHomeAxisIsMachineHome"===
==="Invalid op state in B_FirstHomeAxisIsMachineHome"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="AnyMoves? can't be called in path loop"===
==="AnyMoves? can't be called in path loop"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="B_InterpAxisIsAttchedToPart called for axis that is not in InterpSet"===
==="B_InterpAxisIsAttchedToPart called for axis that is not in InterpSet"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Post processor does not support this drilling cycle"===
==="Post processor does not support this drilling cycle"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="ReSetPass1 should not be used"===
==="ReSetPass1 should not be used"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Can't call ResetPass2 from within a Pass1 EachFeat/NextFeat loop"===
==="Can't call ResetPass2 from within a Pass1 EachFeat/NextFeat loop"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Can't call ResetPass2 from an EachRep/NextRep loop"===
==="Can't call ResetPass2 from an EachRep/NextRep loop"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="SetAddTools used, please use StraightTG mode with proper offsets"===
==="SetAddTools used, please use StraightTG mode with proper offsets"===
Line 90: Line 178:


==="Can't call SetPass2 from an EachFeat/NextFeat loop"===
==="Can't call SetPass2 from an EachFeat/NextFeat loop"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Post that supposedly doesn't use legacy modes used one"===
==="Post that supposedly doesn't use legacy modes used one"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid Axis for TGAngle"===
==="Invalid Axis for TGAngle"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Can't call EachMillDrillFeat: not in the path loop of a mill drill op"===
==="Can't call EachMillDrillFeat: not in the path loop of a mill drill op"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Hole cycle expansion not found"===
==="Hole cycle expansion not found"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Bad hole cycle expansion"===
==="Bad hole cycle expansion"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Prog does not contain root code segment"===
==="Prog does not contain root code segment"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Unable to create output file _____"===
==="Unable to create output file _____"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Too many consecutive jumps"===
==="Too many consecutive jumps"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="No available coolant code"===
==="No available coolant code"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Unable to find string map named _____ for iteration"===
==="Unable to find string map named _____ for iteration"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid Arithmetic Operator"===
==="Invalid Arithmetic Operator"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Unknown Comparator"===
==="Unknown Comparator"===
Line 128: Line 264:


==="Post Error: Changing plane in path feat loop not supported"===
==="Post Error: Changing plane in path feat loop not supported"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid nodes"===
==="Invalid nodes"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Can't calculate dwell time: spindle is off"===
==="Can't calculate dwell time: spindle is off"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Trying to access 'thread finish x' for non-threading op"===
==="Trying to access 'thread finish x' for non-threading op"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Trying to access 'thread finish z' for non-threading op"===
==="Trying to access 'thread finish z' for non-threading op"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="FeatFieldData not implemented"===
==="FeatFieldData not implemented"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Toolgroup called on a non tool op."===
==="Toolgroup called on a non tool op."===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid tool used while getting the tool position."===
==="Invalid tool used while getting the tool position."===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="_____ is not a valid axis component"===
==="_____ is not a valid axis component"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Incremental Okuma angles not supported"===
==="Incremental Okuma angles not supported"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="CRC commands need implementation for stepper posts, one that doesn't map to TG"===
==="CRC commands need implementation for stepper posts, one that doesn't map to TG"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Feed rate type is unknown"===
==="Feed rate type is unknown"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Unable to read Post Processor File"===
==="Unable to read Post Processor File"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Required literal not found"===
==="Required literal not found"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="It is illegal to use Next with a feed-rate command"===
==="It is illegal to use Next with a feed-rate command"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="The output feed rate type is invalid"===
==="The output feed rate type is invalid"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Toolpath iterator is null"===
==="Toolpath iterator is null"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid Op for CS node"===
==="Invalid Op for CS node"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Supposedly 'better' post called legacy mode command!"===
==="Supposedly 'better' post called legacy mode command!"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid to call EachRotation within another loop"===
==="Invalid to call EachRotation within another loop"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid to call NextRotation without first calling EachRotation"===
==="Invalid to call NextRotation without first calling EachRotation"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Invalid to begin a pass 2 EachFeat loop without finishing prior loop"===
==="Invalid to begin a pass 2 EachFeat loop without finishing prior loop"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Op not found"===
==="Op not found"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Approach start pos not found"===
==="Approach start pos not found"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Retract end pos not found"===
==="Retract end pos not found"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Couldn't find op start"===
==="Couldn't find op start"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Read of second logical parameter when argument is already resolved"===
==="Read of second logical parameter when argument is already resolved"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Something is wrong, there aren't any parPoses."===
==="Something is wrong, there aren't any parPoses."===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Saved steps can't be used in non-stepper posts"===
==="Saved steps can't be used in non-stepper posts"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="RestoreStep: step named '_____' not found"===
==="RestoreStep: step named '_____' not found"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Drill R level searched for and not found"===
==="Drill R level searched for and not found"===
'''More details:''' <br>
'''Potential Fixes:''' <br>


==="Toolpath end got when jumping to end of _____"===
==="Toolpath end got when jumping to end of _____"===
'''More details:''' <br>
'''Potential Fixes:''' <br>




[[Category:Articles]]
[[Category:Articles]]

Revision as of 18:18, 10 December 2014

Overview

GibbsCAM 2015 contains a new Post processor error detection system where, upon hitting the Process button to generate NC-output, a Fatal Post Error message may appear with details about where a posting error occurred and why. This article itemizes the "Error:" descriptions that might be encountered and offers recommended trouble-shooting techniques for each.

Errors

"Discrepancy in calculated polar angle"

More details:
This error detects a problem specific to certain legacy (GibbsCAM 2014 and earlier) Okuma MTM posts. These Okuma posts tell the post-engine to output in polar interpolation mode, but then output C and radial X. They track X in polar, but not Y, so our automatic calculation of C is wrong. Because they've also tracked C, we can detect this when the calculated C is significantly different from the C that they asked to track to.

Potential Fixes:

  • Update your post against the current Okuma MTM Master post, which contains a fix.
  • Add code to your post to also track the Y-axis similar to how the X-axis is currently tracked for Polar Interpolation. For example, probably in "interpStartPos:" sub-routine, add "TrackYNO# StartPosY#" for Polar Interpolation.

"Divide by zero!"

More details:
The post processor has attempted to divide by zero in it's logic. If you expand the Show Error Details, and look at the last sub-routine name in the Prog Callstack, you can locate where the divide by zero occurs. An example code snippet might be: "DIV# Num#('1') Num#('0')"

Potential Fixes:
Don't divide by zero. If your code snippet looks something like this: DIV# Num#('1') EPX#, then EPX# must be qualified first to ensure it's non-zero before performing division on it.

"Invalid Axis Set"

More details:
The Flow Axis Set (FAS) associated with a particular operation in the VNC part file does not exist in the MDD that has been compiled with the post processor.

Potential Fixes:
Ensure the MDD used in the VNC part file is the same MDD compiled with the post processor.

"Invalid Rotary Axis"

More details:
This error means the rotary axis that the post is calling for does not exist in the current Interpolation Set.

Potential Fixes:
The exact cause of this error can vary greatly, so a specific fix is difficult to specify. As an example, the post processor might be for a 4-axis machine and is calling MoveC, but a 3-axis MDD is being used in GibbsCAM. The 4th-axis doesn't exist in the 3-axis MDD. The fix to this example is to use the proper post/MDD setup.

"Invalid Wrap Axis on a rotary mill op"

More details:

Potential Fixes:

"Can't find appropriate real axis for wrapping"

More details:

Potential Fixes:

"Linear Axis Does not Exist"

More details:

Potential Fixes:

"Rotary Axis Does not Exist"

More details:

Potential Fixes:

"Invalid axis for tracking"

More details:

Potential Fixes:

"Bad axis info"

More details:

Potential Fixes:

"Invalid wrap axis"

More details:

Potential Fixes:

"Discrepancy in calculated polar angle"

More details:

Potential Fixes:

"Can't get previous FeatureStep"

More details:

Potential Fixes:

"Can't get state for requested op"

More details:

Potential Fixes:

"State operation not equal to current op"

More details:

Potential Fixes:

"Incompatible Axis Values"

More details:

Potential Fixes:

"Boolean called outside of logical test"

More details:

Potential Fixes:

"Trying to call CRC command other than current or previous op"

More details:

Potential Fixes:

"Non-legacy axis used in MTG upgrade op."

More details:

Potential Fixes:

"Invalid op state in B_FirstHomeAxisIsMachineHome"

More details:

Potential Fixes:

"AnyMoves? can't be called in path loop"

More details:

Potential Fixes:

"B_InterpAxisIsAttchedToPart called for axis that is not in InterpSet"

More details:

Potential Fixes:

"Post processor does not support this drilling cycle"

More details:

Potential Fixes:

"ReSetPass1 should not be used"

More details:

Potential Fixes:

"Can't call ResetPass2 from within a Pass1 EachFeat/NextFeat loop"

More details:

Potential Fixes:

"Can't call ResetPass2 from an EachRep/NextRep loop"

More details:

Potential Fixes:

"SetAddTools used, please use StraightTG mode with proper offsets"

More details:
The SetAddTools command has been deprecated/removed. It never worked correctly and is best described as a "backwards" version of SetOutputStraightTG, but it was used in some posts, which means the input values were also "backwards" to compensate for the broken command.

Potential Fixes:
Replace SetAddTools with SetOutputStraightTG in the post. The toolgroup datum input must also change back to "normal" to eradicate the work-around used with this command.

"Can't call SetPass2 from an EachFeat/NextFeat loop"

More details:

Potential Fixes:

"Post that supposedly doesn't use legacy modes used one"

More details:

Potential Fixes:

"Invalid Axis for TGAngle"

More details:

Potential Fixes:

"Can't call EachMillDrillFeat: not in the path loop of a mill drill op"

More details:

Potential Fixes:

"Hole cycle expansion not found"

More details:

Potential Fixes:

"Bad hole cycle expansion"

More details:

Potential Fixes:

"Prog does not contain root code segment"

More details:

Potential Fixes:

"Unable to create output file _____"

More details:

Potential Fixes:

"Too many consecutive jumps"

More details:

Potential Fixes:

"No available coolant code"

More details:

Potential Fixes:

"Unable to find string map named _____ for iteration"

More details:

Potential Fixes:

"Invalid Arithmetic Operator"

More details:

Potential Fixes:

"Unknown Comparator"

More details:
The post is attempting to use a math operator that is not supported.

Potential Fixes:
Remove the unsupported operator. The sub-routine in which the operator is called will be listed in the Prog Callstack section withing the Fatal Post Error dialog. Also see the Infix_Math article for supported operators.

"Unknown Trig Operator"

More details:

Potential Fixes:

"Post Error: Changing plane in path feat loop not supported"

More details:

Potential Fixes:

"Invalid nodes"

More details:

Potential Fixes:

"Can't calculate dwell time: spindle is off"

More details:

Potential Fixes:

"Trying to access 'thread finish x' for non-threading op"

More details:

Potential Fixes:

"Trying to access 'thread finish z' for non-threading op"

More details:

Potential Fixes:

"FeatFieldData not implemented"

More details:

Potential Fixes:

"Toolgroup called on a non tool op."

More details:

Potential Fixes:

"Invalid tool used while getting the tool position."

More details:

Potential Fixes:

"_____ is not a valid axis component"

More details:

Potential Fixes:

"Incremental Okuma angles not supported"

More details:

Potential Fixes:

"CRC commands need implementation for stepper posts, one that doesn't map to TG"

More details:

Potential Fixes:

"Feed rate type is unknown"

More details:

Potential Fixes:

"Unable to read Post Processor File"

More details:

Potential Fixes:

"Required literal not found"

More details:

Potential Fixes:

"It is illegal to use Next with a feed-rate command"

More details:

Potential Fixes:

"The output feed rate type is invalid"

More details:

Potential Fixes:

"Toolpath iterator is null"

More details:

Potential Fixes:

"Invalid Op for CS node"

More details:

Potential Fixes:

"Supposedly 'better' post called legacy mode command!"

More details:

Potential Fixes:

"Invalid to call EachRotation within another loop"

More details:

Potential Fixes:

"Invalid to call NextRotation without first calling EachRotation"

More details:

Potential Fixes:

"Invalid to begin a pass 2 EachFeat loop without finishing prior loop"

More details:

Potential Fixes:

"Op not found"

More details:

Potential Fixes:

"Approach start pos not found"

More details:

Potential Fixes:

"Retract end pos not found"

More details:

Potential Fixes:

"Couldn't find op start"

More details:

Potential Fixes:

"Read of second logical parameter when argument is already resolved"

More details:

Potential Fixes:

"Something is wrong, there aren't any parPoses."

More details:

Potential Fixes:

"Saved steps can't be used in non-stepper posts"

More details:

Potential Fixes:

"RestoreStep: step named '_____' not found"

More details:

Potential Fixes:

"Drill R level searched for and not found"

More details:

Potential Fixes:

"Toolpath end got when jumping to end of _____"

More details:

Potential Fixes: