Infinite loop error messages:

Sometimes when you program – and try to test run your program you will see an error messages something like this “Infinite loop detected”. This is because the program is syntax checking your program so if you have an IF expression for a condition to happen, but never programmed what to do if the conditions is not present – then you might see this error messages. The trick is to insert a “dummy” Wait instruction for what to do IF the expression is not present – just choose a very low value of the Wait e.g. 0.01 Seconds which pass very fast and the program will loop until the IF expression is true.

universal_robots_zacobria_infinite_loop_1

Disclaimer: While the Zacobria Pte. Ltd. believes that information and guidance provided is correct, parties must rely upon their skill and judgement when making use of them. Zacobria Pte. Ltd. assumes no liability for loss or damage caused by error or omission, whether such an error or omission is the result of negligence or any other cause. Where reference is made to legislation it is not to be considered as legal advice. Any and all such liability is disclaimed.

If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.

Author:
By Zacobria Lars Skovsgaard
Accredited 2015-2018 Universal Robots support Centre and Forum.

Tweet

Follow @zacobria