SCL is a higher level language,it is like PASCAL , and it is suitable for data management and loops.Complex algorithms, extensive calculation equations can be implemented with great structures available in SCL.
For people, who are familiar with high level programming languages, it is the best options.It is available in STEP 7 Professional.
The control statements branches and loops depending on a condition.The WHILE statement is used to repeatedly process a program loop for as long as a condition is fulfilled.It is great choice along with FOR loops for iterative complex algorithm execution in SIEMENS STEP 7 and S7 controllers.
SIEMENS SCL Tutorial | WHILE statement |SCL control statements | STEP 7 | S7-300 | S7-400 | how to program loops in SIEMENS SCL ? | siemens endless loops in SCL