I'm new to robotics. I'm working on a pick-and-place project, so we need some way to tell the robot that the object is in place and that it's time for the robot to do its thing (picking the object up and placing it somewhere else). I see a couple of different ways to do this and I'm wondering which, if any, would be best. First, I could use a WAIT statement in the program to have it wait until it receives a high signal on one of the DIO pins, then continue with the program. Second, I could use a Robot Service Request (RSR) signal to start a program that performs one cycle of the pick-and-place operation, and just keep sending that signal every time. Third, I think I could use a Program Number Select (PNS) signal. PNS looks more complicated though, so I'm thinking that's not a good choice.
Is there any reason to use one of these methods over another, and would one be better suited for my application? Thanks!