Good morning all I hope you are all having a good day, I have a program that contains a simple loop to check multiple pockets on a valve rotator body, We have recently set up a few other machines to make the same part and I want to loop the entire program Loop included to check multiple parts at once.
My question is, can you Loop a Loop?
Or will the end point of the Loop checking multiple pockets cancel out the Loop that would be needed at the start of the program.
bigtallanddopey, yeah if you see the second code, you will see IF_GOTO/C3.INPUT==3, GOTO = END. That skips over the LOOP/END and goes to my END = LABEL. Sorry that can be confusing, I called my last LABEL, END
bigtallanddopey, same goes for one and 2 parts in first code. Your GOTO commands are just simply ON/OFF switches, If you give it a command and it matches your input, then it simply turns that command on. If it don't match, it ignores it. So if you entered 3 in the first CODE, The
IF_GOTO/C3.INPUT>=2, GOTO = CONTINUE would turn on. This line turns on with 2,3,4 parts, the other 2 commands are ignored(unless its a 2, then the GOTO after the first LOOP/END turns on). gets to bottom and the one is turned on and the other is ignored
Oh and I'm sure a lot of you know this already, but I'll share anyways. Some of my results were coming negative
check these in F5 and everything will come positive.