Logix Pro Compressor Exercise #3

chrisk_81

Member
Join Date
Mar 2011
Location
Adelaide
Posts
58
Would love some feedback from anyone with PLC experience on how this solution looks. It satisfies all the criteria for exercise 3.

Cheers

compressor3.jpg
 
I dont know what the exercise consists of but why would you use the equal instruction instead of the timer dn bit?
 
Thanks for that! Much appreciated. I don't know why I didn't realise that before. I've updated my solution and added another rung just to make the program read a little clearer.

compressor3 neater.JPG
 
Never, ever, use outputs as contacts unless it's to interlock 2 devices that should not, cannot, be on at the same time. Never.

Why #1: If you force an output, then other logic is activated.

Why #2: If the output goes bad, you have multiple places in logic to change.
 
How should it be done? Use a bit location that's referenced by the output and contact?

usually what I do is I build a subroutine that couples just digital input connections, and digital output connections to the various bits that I use in the program. build your program using bit references and then just tie the bit reference to the input or output in the new subroutine.


so in your case you could name a free bit in your program comp run command. use that bit everywhere that you have the o:2/2 as an instruction.

then in your subroutine that handles the coupling you would tie the bit into the o:2/2
 
Never, ever, use outputs as contacts unless it's to interlock 2 devices that should not, cannot, be on at the same time. Never.

Why #1: If you force an output, then other logic is activated.

Why #2: If the output goes bad, you have multiple places in logic to change.

I have dozens and dozens of machines in my plant that were written this way from the factory. If done properly, there is absolutely NOTHING wrong with it. Saying "NEVER" to do it is an asinine statement. Let me guess, you are one of those guys that NEVER EVER uses a latch instruction either...? Because doing that is BAD as well I suppose...;)
 
Never, ever, use outputs as contacts unless it's to interlock 2 devices that should not, cannot, be on at the same time. Never.

Why #1: If you force an output, then other logic is activated.

Why #2: If the output goes bad, you have multiple places in logic to change.


I will have to politely disagree with number one. See picture below.

forcing.jpg
 
Never, ever, use outputs as contacts unless it's to interlock 2 devices that should not, cannot, be on at the same time. Never.

Why #1: If you force an output, then other logic is activated.

Why #2: If the output goes bad, you have multiple places in logic to change.

I completely and whole-heartedly dissagree with your #1. As far as #2 it's a simple find and replace. No big deal.
 

Similar Topics

How can I convert psi reading on pressure tank to bcd ?
Replies
2
Views
2,437
Working on a lab problem for school, its the Logix Pro duel compressor program. I have it working for one motor, but in problem two it wants you...
Replies
21
Views
5,791
hello to all on the forum,I am starting on the comp exercise,here is part 1.Ian
Replies
8
Views
30,475
So, I have a little dillemma I am trying to work through but I feel there is probably a better way. I've always liked the idea of using a VM in...
Replies
5
Views
2,100
I have some software that requires the use of rslogix 5 professional (Auvesey Octohub) But now that Rockwell no longer offers Pro licensees I am a...
Replies
6
Views
1,568
Back
Top Bottom