I am trying to use the switch programming logic for a KUKA robot with a KRC4 controller. I will be using a counter to decide between case 1, 2, and 3 where 0 to 125 will be case 1, 126 to 250 will be case 2, and 251 to 375 will be case 3. Program will go home and alarm with a displayed message after reaching 375 and reset counter. Can someone send a sample switch case program using a variable to determine the case to help guide me?
Thanks,
Keith