Fatal Post Errors

From Compost Wiki
Revision as of 18:56, 9 December 2014 by Dannym (talk | contribs)
Jump to navigation Jump to search

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.