Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Create Ladder Diagram from Boolean Logic
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Create Ladder Diagram from Boolean Logic

Create Ladder Diagram from Boolean Logic

Here you will learn how to create ladder diagram from Boolean logic and understand the basics of PLC.

Last updated: March 26, 2024 5:02 pm
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

Here you will learn how to create ladder diagram from Boolean logic and understand the basics of PLC.

Contents
Create Ladder DiagramVideoDigital InputsDigital OutputsBoolean Logic Ladder DiagramProgram DescriptionLogic Result

Note: The PLC example shown here is for educational use only for students to understand PLC ladder diagrams.

Create Ladder Diagram

Problem Statement

Design a PLC ladder logic for the following Boolean Expression.

We are using toggle Inputs to control the output.

Find out the equivalent ladder logic for the given boolean logic.

 Y= AB+CD

Video

This video tutorial helps you to learn the creation of ladder diagram based on the given boolean expression.

PLC Program to Perform Various Boolean Functions

Digital Inputs

The inputs listed below.

A: I0.0

B: I0.1

C: I0.2

D:I0.3

Digital Outputs

The outputs listed below.

Y: Q0.0

Boolean Logic Ladder Diagram

Create Ladder Diagram from Boolean Logic

Program Description

  • We used Schneider Electric EcoStruxure Machine Expert Basic software.
  • In the above program, Normally Open Contacts are used for input A, input B, input C and input D.
  • Input A and Input B are connected in series, thus implementing AND Logic Gate.
  • There is again the implementation of AND Logic Gate as Input C and Input D are connected in series.
  • There is also implementation of OR Logic Gate as AB and CD are connected in parallel.
  • For the output Y (Q0.0) to be ON, Input A and Input B should be ON.
  • Turning ON only one input i.e., either input A or input B will not turn ON the output Y (Q0.0).
  • Turning ON Input C and Input D will also turn ON the output Y (Q0.0).
  • If only one input i.e., either input C or input D is turned ON, then the output Y (Q0.0) will remain OFF.

Logic Result

Check the below logic output result with simulation.

When both Input A and Input B are ON

Boolean Logic Ladder Diagram

The signal will pass through Input A and Input B when turned ON. If only one input i.e., Input A or Input B is turned ON, the output Y (Q0.0) will not turn ON.

The inputs A and B are in series and are used as Normally Open Contacts. So, for the output Y (Q0.0) both the inputs i.e., input A and input B should be ON.

When both Input C and Input D are ON

Make PLC Diagram from Boolean

When Input C and Input D are turned ON, the output Y(Q0.0) will turn ON. Input C and Input D implement AND Logic Gate as these are connected in series and are taken as Normally open Conatacts.

When both the inputs i.e., input C and input D are turned ON, then only the output Y (Q0.0) will turn ON, If only one input is turned ON i.e., only input C or input D is turned ON, the the output Y (Q0.0) will not turn ON.

If you liked this article, please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Types of Electrical Industrial Relays
  • Project System Architecture Documents
  • Double-acting Pneumatic Cylinder Logic
  • Transferring Data Across PLC Systems
  • Omron PLC Programming Training Course
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

PLC vs PAC – Understanding the Key Differences and Similarities
Converter Instruction in Siemens PLC Programming
Batch Simulator PLC Example Program using LogixPro Simulator
PLC Tag Naming Conventions
#17 PLC Best Practices – Log PLC Uptime and Trend it on HMI
PID in Siemens TIA Portal
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Speed Control of Pneumatic Cylinder (Explanation with PLC)
Pause the Timer PLC Ladder Logic
How to Password Protect HMI in Siemens TIA Portal?
Types of Digital Outputs in PLC
Automatic Sanitizer – Complex Ladder Logic PLC Examples
PLC Wiring Questions for Technicians and Engineers
Quiz Program Logic Using PLC Programming
Wiring Diagrams of PLC and DCS Systems – DI, DO, AI, AO

Keep Learning

Codesys function block example

Create a User-Defined Function Block in Codesys

Car Parking System PLC Program Example

Schneider Electric: Car Parking System with Calculations in PLC

PLC Pump Control

PLC Pump Control: 10 seconds ON & 20 seconds OFF

HMI book

HMI Handbook

Comparison of Control Loops - Open, Closed, Cascade, Feedforward, Ratio

Comparison of Control Loops – Open, Closed, Cascade, Feedforward, Ratio

Single-acting Pneumatic Cylinder operation with Limit Switch

Single-acting Pneumatic Cylinder Operation with Limit Switch

Siemens PLC programming: BCD, Integer, Double Integer, Real

Simple PLC example Hardware configurations

Muting Functions of Safety Control Circuits – PLC Example

Learn More

PLC Programming for Garden Sprinkle System

PLC Programming for Garden Sprinkler System

piping for a Different pressure flow transmitter

Impulse Piping standards for Field instruments

Electrical Machines Questions and Answers

Excited Magnetic System Quiz

Power Electronics Objective Questions

Power Transistor Objective Questions

Weir Flow Meter Principle

Measure Flow rate using Level Sensors

Questions & Answers of Power Systems

Questions & Answers of Power Systems

hygrometer for measuring moisture

Difference Between Absolute and Relative Humidity

SCR Full Bridge Converter

Power Electronics – Full-wave Rectifier With R and RL Load

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?