Logix Pro Dual Compressor Exercise 2: A Step-by-Step Guide
When it comes to programming a Logix Pro controller for dual compressor applications, understanding the logic behind the code is crucial. In this exercise, we'll dive into the details of Rung 3 and how it works with the counter and motor control.
As Gibbs pointed out in his example, Rung 3 should be programmed to run Motor 2 if the counter equals 1. This means that when the counter reaches a value of 1, the program will execute the instruction to turn on Motor 2. Similarly, Rung 2 should be set up to run Motor 1 if the counter equals 0.
To make sense of this logic, let's take a closer look at Gibbs' example. He demonstrated a clever way of accomplishing this by resetting the counter when its count equals 2. By doing so, we ensure that the program starts fresh each time it reaches the end of its cycle.
When naming Bit 0, consider using a more meaningful label such as 'System_Enabled' or 'System_Run'. This will make it easier to understand the purpose of this bit in your code.
The order of logic is also important. Typically, you'll want to program the station run logic first, followed by the alternator logic, and finally the compressor logic. By breaking down your program into these distinct sections, you'll be able to better manage complex control sequences like those found in dual compressor applications.
Here's what I've come up with so far:
As for figuring out odd-even logic, it's a challenging but important aspect of programming. With practice and patience, you'll develop the skills needed to tackle even the most complex control sequences.
By following these guidelines and experimenting with different code configurations, you'll be well on your way to mastering Logix Pro dual compressor exercises like this one.