From the course: Learning PLC Ladder Logic: 2 Diving Deeper

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Solution 2: Bottle logic for state 1

Solution 2: Bottle logic for state 1

- [Instructor] So now we'll take the complete state diagram and convert it to a PLC ladder logic program. The first part is to develop the control section using the bottle logic format. And this is the general format for a bottle logic. Let's get started by going through the first state. I will start with state one. I'll go back to state zero later, and I will follow the format as it is. So according to the bottle logic format, I'm currently in state one. So the current step is step one. Notice here, in the bottle format, I renamed them as steps for simplicity, but you can keep them as state if that what you prefer. So what I do is I replace that whenever it mentions the current step. So it's mentioned here and here. And I simply rename them as step one. Now the previous step is a step zero, the next step is step two, so simply writing that down, following the format of the bottle logic. Now the input condition to go to…

Contents