Trying to automate a hardinge octagon turret. I have a rotary air actuator connected to it with a solenoid to rotate and re-lock the turret. The problem i have is getting the macro to reset to tool#1 after tool#8. I'm not calling a tool number at this point, i just want it to index one position and change the number accordingly. How do i make it reset to 1 after 8? I've attached the macro