Hi guys, I was wondering if there was a way to program the robot to be continuously looking for feedback from a digital input. For example. I have the robot dropping a part through a part sensor but sometimes it drops the part quicker than other times and gets through the sensors before the robot is looking for that input.
You’ll want to use the “Thread” command. It’s essentially another program running in parallel.
Usually a good idea to put a Script command “sync()” at the end of the thread to avoid the robot throwing an error about the thread using too much time.
1 Like
Thank you! I’ll try that out and get back to you!