From a6dd40efc47f09a72ea8194f1e86cdfc76e50fba Mon Sep 17 00:00:00 2001 From: will1742 Date: Wed, 9 Jun 2021 13:37:38 -0400 Subject: [PATCH] Changed Coolant Timing --- Haas_Next_Generation/README.txt | 1 + Haas_Next_Generation/haas next generation.cps | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Haas_Next_Generation/README.txt diff --git a/Haas_Next_Generation/README.txt b/Haas_Next_Generation/README.txt new file mode 100644 index 0000000..6739047 --- /dev/null +++ b/Haas_Next_Generation/README.txt @@ -0,0 +1 @@ +Issue 000: Moved setCoolant(tool.coolant) call to end of onSection() \ No newline at end of file diff --git a/Haas_Next_Generation/haas next generation.cps b/Haas_Next_Generation/haas next generation.cps index 8d85afc..06e87cf 100644 --- a/Haas_Next_Generation/haas next generation.cps +++ b/Haas_Next_Generation/haas next generation.cps @@ -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(); @@ -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); }