Skip to content

Commit

Permalink
Fixed TA halting
Browse files Browse the repository at this point in the history
  • Loading branch information
will1742 committed Jun 15, 2021
1 parent b606085 commit c070d39
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 @@ -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) {
Expand Down

0 comments on commit c070d39

Please sign in to comment.