AdvancedHMI Software

General Category => Open Discussion => Topic started by: bachphi on October 17, 2022, 12:36:57 PM

Title: RSLogix 5000 Find Priority
Post by: bachphi on October 17, 2022, 12:36:57 PM
This post is inspired by the question from PLCTalk site (http://www.plctalk.net/qanda/showthread.php?t=134208)

Code: [Select]
There are 5 Hoppers. Each with 2 level sensors; one is at the 75% full level and the other is at the 25% full level.
I need to fill hoppers that fall below the 25% level (High Priority) first, then any that fall below the 75% level (Normal Priority).

(https://i.postimg.cc/L5CLp8MY/Find-Priority-1.png)

(https://i.postimg.cc/7Yf3w0tK/Find-Priority-2.png)

(https://i.postimg.cc/Bbw22nb5/Find-Priority-3.png)