Okay, with Bernie's great summary, and Okie's and other's relevant comments, I have summarized the specifications so far, and modified your program to create two latches, LEFT BIN FULL B3:0/5, and RIGHT BIN FULL B3:0/6.
Because you only have one BIN FULL I:0/17 for TWO BINS, I think you will need this (or similar) logic for the program to keep up with WHICH BIN HAS BEEN FILLED. Otherwise it will be like a dog chasing its tail back and forth.
Like Okie said, using state logic to step through each phase of the cycle would help make clear how the machine works, but in the interest of making it easy for you to see the necessary changes, I left the rungs in the same order that you had them.
I did not "Verify" the rungs that I changed so that you can easily find the additions, and I named this version "Revision 1". Please modify as needed, and all comments, criticisms, and improvements are always welcomed.
EDIT: Thinking some more, I added one more relay B3:0/7, that keeps the head on the Left Bin side until that bin is full.
Because you only have one BIN FULL I:0/17 for TWO BINS, I think you will need this (or similar) logic for the program to keep up with WHICH BIN HAS BEEN FILLED. Otherwise it will be like a dog chasing its tail back and forth.
Like Okie said, using state logic to step through each phase of the cycle would help make clear how the machine works, but in the interest of making it easy for you to see the necessary changes, I left the rungs in the same order that you had them.
I did not "Verify" the rungs that I changed so that you can easily find the additions, and I named this version "Revision 1". Please modify as needed, and all comments, criticisms, and improvements are always welcomed.
EDIT: Thinking some more, I added one more relay B3:0/7, that keeps the head on the Left Bin side until that bin is full.
Last edited: