I am working on a program for an R-30ia controller. The program is a stacking program that will have interaction with an operator. The stack could be anywhere from empty to full. I have a photo eye that lets me know when there are no parts present in the fixture. I have a register that monitors the count.
Can I reset the count on the register to 0 using an input from the photo eye? I know I can do it with some jump labels but there has to be a better way! Does anyone have any tricks for a scenario similar to this?