diff --git a/Haas_Next_Generation/haas vf2.cps b/Haas_Next_Generation/haas vf2.cps index fa150d9..5fed4e3 100644 --- a/Haas_Next_Generation/haas vf2.cps +++ b/Haas_Next_Generation/haas vf2.cps @@ -2602,6 +2602,12 @@ function onSection() { // Create GOTO cases for Y/N selection, halt if N getTA("Net Share/Media/TAWarning.png", gotoRef['N'], onSecGotoRef); writeWords("N" + nFormat.format(gotoRef['Y']), mFormat.format(131), formatComment("End Multimedia")); + writeWords( + conditional(!currentSection.isMultiAxis() || !tcpIsSupported, gFormat.format(43)), + conditional(currentSection.isMultiAxis() && tcpIsSupported, gFormat.format(234)), + zOutput.format(initialPosition.z), + hFormat.format(lengthOffset) + ); writeComment("END VALIDATION SECTION"); // initialize spindle and engage coolant if heights are correct