B.4 Tips for DO LOOP loops
As loops can impair the performance of SINUMERIK Operate, depending on the configuration,
they should be used carefully and if possible without time-intensive actions.
A register (REG[]) should also be used as run variable, because normal display variables
(particularly those with OPI connection) also impair the system performance due to the frequent
updates or write operations.
Note that the number of script lines executed "in one operation", is currently limited to 10,000.
When this number is reached, the script execution is aborted with an appropriate entry in the
easyscreen_log.txt file.
Reason:
● Prevention of endless loops
● "Run MyScreens" must remain operable
Tips and tricks
B.4 Tips for DO LOOP loops
SINUMERIK Integrate Run MyScreens (BE2)
304 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1