Automation studio B&R PLC ST programming PART 13 - WHILE .....DO LOOP for finding highest value.
While do loop is used continuously monitor a condition, if the condition is fulfilled the statement insdie the loop is executed. Otherwise it will jump out of loop. In tutorial the while is continuously monitoring the Array J[i] which is having integer value, and displaying the largest value. Download Prog file from below drive link:- https://drive.google.com/file/d/1bzc0gqOsBHh_NUvumjbhzAdq090prK-4/view?usp=sharing Explanation:- Below is the flow of While do loo[ for Program execution:- Below are the variables used in While loop example:-