I’m currently building a robot fixture with Keyence cvx-400 camera mounted to the robot to check parts for defects/correct installation of clips and bushings. I’m also using two Zebra ZT411 printers to print labels after completing LH and RH parts. I want to loop two positions if the printer doesn’t print the label (each part has at least 2 waypoints) how can I loop that one section of program without restarting the whole program?
I assume you have a signal from the printer saying it has printed the label. Otherwise it’ll be difficult.
This will loop the Waypoints until the signal from the printer is true. If you’re only getting a momentary signal from the label printer, you should put the If section in a thread instead.