B&R – PLC – Structured Text – WHILE Statement Syntax WHILE <expression> DO <statement_list> END_WHILE; Example WHILE Var1 <> 0 DO Var2 := Var2 * 2; Var1 := Var1 – 1; END_WHILE;