fbpx

PLC Ladder Logic Basics

PLC Ladder Logic Basics For Beginners: Box Sorting Conveyor Using Studio 5000 Version 35

Programmable Logic Controllers (PLCs) are computer-based systems that are widely used in industrial automation to control machines and processes. One of the primary languages used to program PLCs is ladder logic, which is a graphical programming language that resembles the rungs of a ladder.

In this article, we will cover the basics of ladder logic programming and demonstrate how to create a simple box sorting conveyor system using Studio 5000 version 35, a software platform for programming and configuring Allen-Bradley PLCs. Before we dive into the specifics of ladder logic programming, let’s first define some key terms and concepts that are essential for understanding how PLCs work.

1. Inputs: These are signals that are received by the PLC from external devices such as sensors, switches, and other control devices.

2. Outputs: These are signals that are sent by the PLC to external devices such as motors, actuators, and other control devices.

3. Ladder logic diagram: This is a graphical representation of the logical relationships between inputs and outputs in a PLC program. It is made up of rungs, which are horizontal lines that represent the steps in the logic, and contacts and coils, which are vertical lines that represent the conditions and actions of the logic.

4. Contacts: These are symbols that represent the state of an input or output. Normally open (NO) contacts are used to represent an input that is not active, and normally closed (NC) contacts are used to represent an input that is active.

5. Coils: These are symbols that represent the state of the output. An energized coil represents an output that is active, and a de-energized coil represents an output that is not active.

 

Now that we have a basic understanding of PLCs and ladder logic, let’s move on to creating a simple box-sorting conveyor system using Studio 5000.

1. First, open Studio 5000 and create a new project by selecting “File – New – Project.”

2. Next, add a new PLC by selecting “Project – Add New PLC.”

3. In the “PLC Configuration” window, select the type of PLC you are using and click “OK.”

4. To create the ladder logic diagram, select the “Ladder Diagram” tab in the main window and then click the “Add New Rung” button.

5. To add inputs and outputs to the ladder logic diagram, select the “I/O Configuration” tab in the main window and then click the “Add New I/O” button.

6. To add a box sensor to the ladder logic diagram, drag and drop a “Normally Open Contact” from the “Contacts” palette onto the first rung of the ladder logic diagram. Then, assign this contact to the input for the box sensor by double-clicking the contact and selecting the appropriate input from the “I/O Configuration” tab.

7. To add a box actuator to the ladder logic diagram, drag and drop a “Coil” from the “Coils” palette onto the first rung of the ladder logic diagram. Then, assign this coil to the output for the box actuator by double-clicking the coil and selecting the appropriate output from the “I/O Configuration” tab.

8. To add logic to the ladder logic diagram, you can use various logical operators such as AND, OR, and NOT. For example, if you want the box actuator to activate only when needed.


Ladder Logic Basics For Beginners: Box Sorting Conveyor Using Studio 5000

The video below shows the use of basic PLC ladder logic that controls a box transferring based on the height of the box. This a simple example to give a first-hand view to those looking to learn PLC logic for troubleshooting or for programming

Throughout the video, I will give you a detailed reason so please watch the whole video for the best knowledge share.

I hope that with the video above, you easily picked up the scope of work for this example along with how the ladder logic works.


I will be putting together more programming videos and articles upon request, I already have several ideas and will be starting to add more videos to my YouTube channel which is Shane Welcher

I would love to hear what you guys think so far as I am trying to get this website whipped into shape.

Drop me a comment here or on my YouTube channel.

Thanks,

Shane

Copyrighted.com Registered & Protected NMM4-RR3R-ZMC7-17XE

Check out our training center to see what we have to offer

Check out our training center to see what we have to offer

Online PLC Support Training Video Minutes Taught

PLC Ladder Logic