Message 1 of 3
Post processing error when using A axis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
I have a slight issue that I can't seem to get over
when i use my modified fanuc post with A axis moves it fails on posting the tool this
this is the part of the post processer below that does the tool list and as long as I don't have A axis moves it works fine
am I missing something simple? the error line in the post attached is 2214
Any help most gratefully appreciated
// dump tool information
if (getProperty("writeTools")) {
if (false) { // set to true to use the post kernel version of the tool list
writeToolTable(TOOL_NUMBER_COL);
} else {
var zRanges = {};
if (is3D()) {
var numberOfSections = getNumberOfSections();
for (var i = 0; i < numberOfSections; ++i) {
var section = getSection(i);
var zRange = section.getGlobalZRange();
var tool = section.getTool();
if (zRanges[tool.number]) {
zRanges[tool.number].expandToRange(zRange);
} else {
zRanges[tool.number] = zRange;
}
}
}
var tools = getToolTable();
if (tools.getNumberOfTools() > 0) {
for (var i = 0; i < tools.getNumberOfTools(); ++i) {
var tool = tools.getTool(i);
var comment = "T" + toolFormat.format(tool.number)
if (zRanges[tool.number])
{ comment += " " + (tool.comment); }
error line listed in log {comment += " - " + localize("ZMIN") + "=" + xyzFormat.format(zRanges[tool.number].getMinimum());}
writeComment(comment);
}
}
}
}
}
