Skip to content

Commit

Permalink
Changed Coolant Timing
Browse files Browse the repository at this point in the history
  • Loading branch information
will1742 committed Jun 9, 2021
1 parent 055d5b6 commit a6dd40e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Haas_Next_Generation/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Issue 000: Moved setCoolant(tool.coolant) call to end of onSection()
6 changes: 3 additions & 3 deletions Haas_Next_Generation/haas next generation.cps
Original file line number Diff line number Diff line change
Expand Up @@ -1579,9 +1579,6 @@ function onSection() {

var abc = defineWorkPlane(currentSection, true);

// set coolant after we have positioned at Z
setCoolant(tool.coolant);

forceAny();
gMotionModal.reset();

Expand Down Expand Up @@ -1687,6 +1684,9 @@ function onSection() {
if (isInspectionOperation(currentSection) && (typeof inspectionProcessSectionStart == "function")) {
inspectionProcessSectionStart();
}
// Modified 06/09/21 | Gavin Williams | will1742
// Issue 000 Init coolant after positioning
setCoolant(tool.coolant);
// define subprogram
subprogramDefine(initialPosition, abc, retracted, zIsOutput);
}
Expand Down

0 comments on commit a6dd40e

Please sign in to comment.