Skip to content

Commit

Permalink
Update haas vf2.cps
Browse files Browse the repository at this point in the history
  • Loading branch information
will1742 committed Jul 14, 2021
1 parent 24fb30d commit 557339e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Haas_Next_Generation/haas vf2.cps
Original file line number Diff line number Diff line change
Expand Up @@ -865,13 +865,13 @@ function writeToolMeasureBlock(tool, preMeasure) {
"I0.",
comment
); // probe tool
writeFunction("IF [[#" + (2000 + tool.number) + " GT " +
writeWords("IF [[#" + (2000 + tool.number) + " GT " +
(tool.bodyLength + tool.holderLength + LENGTH_TOLERANCE).toFixed(2) + "] OR [#" +
(2000 + tool.number) + " LT " +
(tool.bodyLength + tool.holderLength - LENGTH_TOLERANCE).toFixed(2) + "]] THEN #3000 = 1 (Tool length out of tolerance)");
if (probeType == 3) {
writeFunction("IF [[#" + (2000 + tool.number) + " GT " +
writeWords("IF [[#" + (2000 + tool.number) + " GT " +
(tool.diameter + DIAM_TOLERANCE).toFixed(2) + "] OR [#" +
(2000 + tool.number) + " LT " +
(tool.diameter - DIAM_TOLERANCE).toFixed(2) + "]] THEN #3000 = 1 (Tool diameter out of tolerance)");
Expand Down

0 comments on commit 557339e

Please sign in to comment.