Hello, I'm having the following issue.
I'm using a Shift for a very large number of positions, but I need to switch on a variable for each of those, using that variable to know when that position is reached: is there a way to use a counter to solve this problem without having to turn on each variable individually (referring to each position) in the program?
Example:
Positions = A1 B1 C1 D1 E1 F1.....
I need to know when the robot goes to A1 (switching on the corresponding variable) then B1, then C1 ecc...
I was thinking to just have an increasing counter at the end of each movement (A1 done = increase counter, B1 done = increase counter....)
Could that counter be used to know that 1 = switch on A1; 2 = switch on B1; 3 = switch on C1, ecc... without having to manually link each variable to each movement?
Because by linking each variable to each position would take a large job in yaskawa and a lot of conditions.
Thank you in advance!