Home› Programming
Discussion
Back to discussions page
RoboBar
Posts: 6 Apprentice
Conditional Statements |
101 views
|
Answered | |
/ Most recent by matthewd92
in Programming
|
8 comments |

in Programming
Does anyone know what the max amount of conditional statements the UR5 can handle in a single parent program? I've tried over 100 conditionals in a single parent program and cannot get out of an infinite loop, but it will work with roughly 64 conditionals.If i add one more conditional i get an infinite loop error. Anyone have any ideas that could help me out ?
Are you able to switch to using a Switch? It would allow you to fit scores of cases into a single Structural element, with no lag!
One workaround for using inputs or outputs is to create a variable which is the byte value of the inputs that way it becomes a single integer that you can switch on.