Logixpro Dual Compressor

i did some changes to the program and its working just fine, as it supposed to according to the exercise, is there anything wrong where you can help me to improve it?

LadderRungs2.jpg
 
i did some changes to the program and its working just fine, as it supposed to according to the exercise, is there anything wrong where you can help me to improve it?




Well done!


I would do the flip-flop (rung 005) a little differently, but that's just a style issue. You might want to ask The Google about [ladder logic flip-flop] and see if there are any arrangements that are more clear. I'm partial to the top two rungs of the image below.


Does LogixPro allow for comments?




You can get rid of Rungs 001 and 002, and also intermediate bits B3:0/2 and B3:0/4 by

  1. Putting O:0/2 at the start of rungs 003 and 004,
  2. Replacing the two [XIC B3:0/2] instructions with [XIO I:1/2],
  3. Replacing the two [XIC B3:0/4] instructions with [XIO I:1/3].
That would not change the behavior, but I think it will be a bit more clear; that said, the inverted logic on the inputs might be confusing, so maybe change the names of I:1/2 and I:1/3 to something like [0 for low pressure, one motor one] and [0 for low low pressure, both motors on], respectively.


wSVsW.png
 
Last edited:
Well done!


I would do the flip-flop (rung 005) a little differently, but that's just a style issue. You might want to ask The Google about [ladder logic flip-flop] and see if there are any arrangements that are more clear. I'm partial to the top two rungs of the image below.


Does LogixPro allow for comments?




You can get rid of Rungs 001 and 002, and also intermediate bits B3:0/2 and B3:0/4 by

  1. Putting O:0/2 at the start of rungs 003 and 004,
  2. Replacing the two [XIC B3:0/2] instructions with [XIO I:1/2],
  3. Replacing the two [XIC B3:0/4] instructions with [XIO I:1/3].
That would not change the behavior, but I think it will be a bit more clear; that said, the inverted logic on the inputs might be confusing, so maybe change the names of I:1/2 and I:1/3 to something like [0 for low pressure, one motor one] and [0 for low low pressure, both motors on], respectively.


wSVsW.png

oh okay! thank you and yes you can add comments in every rung!
ill start the Part 4 and see how it goes...
ill post again if i have any more questions...
Thanks again.
 
I thought of one more thing: a few posts ago you showed PE2 (I:1/3) parameters of high limit = 118 and span = 20. So I:1/3 will become 1 when the pressure is above 118; I:1/3 will become 0 when the pressure is below 98 (=118-20); I:1/3 will not change otherwise.


With the current logic, if the load is such that two compressors are required (as determined by the pressure continuing to drop to 98 after one compressor starts running at 100), then that PE2 high limit of 118 means the second compressor will turn off when I:1/3 becomes 1, which will happen before the system pressure rises to 120. Assuming the load is still high, the remaining compressor will not be able to get the system to 120. In that case, as long as the load stays high, I:1/2 will never become 1, and the same compressor will always come on first.
 
I thought of one more thing: a few posts ago you showed PE2 (I:1/3) parameters of high limit = 118 and span = 20. So I:1/3 will become 1 when the pressure is above 118; I:1/3 will become 0 when the pressure is below 98 (=118-20); I:1/3 will not change otherwise.


With the current logic, if the load is such that two compressors are required (as determined by the pressure continuing to drop to 98 after one compressor starts running at 100), then that PE2 high limit of 118 means the second compressor will turn off when I:1/3 becomes 1, which will happen before the system pressure rises to 120. Assuming the load is still high, the remaining compressor will not be able to get the system to 120. In that case, as long as the load stays high, I:1/2 will never become 1, and the same compressor will always come on first.


Yes you're right, that was my bad.
i was playing with the values to test it and for some reason when i took the screenshot it was set like that but in my assignment the values i got to use are 120 / 10 for the first motor and 120 11 for the second one.
 
aintbad, in the download section under AB, is the dual compressor ex#4, done by the master of logixpro 10,000 poster Lance1, you wont get a better example of how to do things in programming than by Lancie1.
But of course you need to try and do the exercises without any help, that is how you learn. Keep trying/thinking about what should/shouldn't happen then trial it in code. LogixPro is a fantastic learning/training tool, but be aware it isn't 100% exactly how a AB processor works
 

Similar Topics

I am doing the Logixpro 500 simulator for exercise 2 using dual compressors. I can get the dual compressors to swap but am now needing to have...
Replies
3
Views
2,369
Part 3 – Coping with Large Demands for Compressed Air Your current program should be suitable for maintaining the desired pressure range as long...
Replies
2
Views
2,740
Hello Forum Friends, I need help, I have to do the Dual compressor in [LogixPro], and the truth is that not how you use this program, please HELP...
Replies
21
Views
8,864
First i would like to say that this is a grat site. I was viewing the thread on the Dual Compressor Simulation for Logixpro. I have run 150 mph...
Replies
0
Views
3,507
Can anyone help me with the ladder logic of the logixpro simulations for the dual compressor.
Replies
3
Views
6,993
Back
Top Bottom