diff --git a/Haas_Next_Generation/haas vf2.cps b/Haas_Next_Generation/haas vf2.cps index 4f2934f..bd86140 100644 --- a/Haas_Next_Generation/haas vf2.cps +++ b/Haas_Next_Generation/haas vf2.cps @@ -2435,8 +2435,8 @@ function takeInput(prompt, options) { // Halts program until TA arrives. Returns to beginning of onSection function getTA(seqNum, gotoRef) { writeln("N" + seqNum + " G53 G0 Z0."); - writeln("M02 (GET A TA)"); - writeln("GOTO" + gotoRef + " (Return to beginning of operation)"); + var conRef = takeInput("GET A TA", ['X']) + writeln("N" + conRef[0][1] + " GOTO" + gotoRef + " (Return to beginning of operation)"); } function onDwell(seconds) {