beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 69

background image

4Ć9

4.2.3

Example of a Greater Than Or Equal To Instruction

This logic shows that when the variable quality

is true, the instruction compares the value of

bottle_count[first] to the value of

bottle_count[second]. The value of

bottle_count[second] is then compared to

24,000. If each of these values is greater than or

equal to the next, Q is set true, setting the

variable flag true.