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: Boolean Logic to PLC Programming
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 > Boolean Logic to PLC Programming

Boolean Logic to PLC Programming

This article teaches how to convert Boolean logic to PLC programming ladder logic with the video tutorial.

Last updated: March 25, 2024 7:40 pm
Editorial Staff
PLC Tutorials
No Comments
Share
3 Min Read
SHARE

This article teaches how to convert Boolean logic to PLC programming ladder logic with the video tutorial.

Contents
Boolean Logic to PLCVideoInputsOutputsPLC ProgrammingProgram DescriptionResult

Note: The logic diagram example shown here is for educational use only for engineering students to understand PLC principles.

Boolean Logic to PLC

Problem Statement

Design a PLC ladder logic for the following Boolean Expression.

We are using toggle Inputs to control the output.

Convert the boolean logic to PLC logic.

Y = A’B

Video

The below video explains the boolean logic conversion with detailed steps.

PLC Program to Perform Various Boolean Functions

Inputs

The required inputs mentioned below.

A: I0.0

B: I0.1

Outputs

The required outputs mentioned below.

Y: Q0.0

PLC Programming

The equivalent PLC programming is shown below.

Boolean Logic to PLC Programming

Program Description

  • We used Schneider PLC programming software.
  • In the above program, we have used Normally Closed Contact for Input A and  Normally Open Contact for Input B.
  • Normally Closed Contact is used for Input A, thus implementing NOT Logic Gate.
  • For the output Y (Q0.0) to be ON, Input A should be OFF and Input B should be ON.
  • Input A will only pass the signal when it is in a false state.
  • Turning ON Input A will turn OFF Y(Q0.0) because Normally Closed Contact in the true state does not allow the signal to pass through it.

Result

When Input A is OFF and Input B is ON

PLC Boolean Logic

The signal will pass through Input A as Normally Closed Contact will pass the signal through it when in a false state. Also, Input B will pass the signal when in the true state because it is in Normally Open Contact, and Y(Q0.0) will turn ON.

When the input A is turned ON, as it is Normally Closed Contact, it will not allow the signal to pass. The state of Input B will not matter as the signal will not reach there when the input A is ON.

As a result, the output Y (Q0.0) will not turn ON. So, for the output Y (Q0.0) to be ON. The Input A should be OFF and the Input B should be 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:

  • PLC Checksum Integrity Checks
  • Programmable Logic Controller Test
  • Operational Logic in the PLC Program
  • Car Washing PLC Ladder Programming
  • DCS in Industrial Automation Tutorials
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

Difference Between PNP and NPN Sensors
#20 PLC Best Practices – Identify Critical Alerts
GET Command – Siemens PLC-to-PLC Communication Project
How to do Scaling for Analog Input in RSLogix 500?
PLC Program for Bank Counter Application
#10 PLC Best Practices – Assign Register Blocks by Function
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

Functions of SCADA
PLC Sequential Operation Example Program
Peripheral Inputs and Outputs in Siemens PLC
PLC Program for Controlling a Water Pump with 3 Power Sources
PLC Programming for Traffic Barrier Control
Two Hand Control Logic using PLC
Omron PLC for Product Painting with Integrated Weighing System
#12 PLC Best Practices – Validate Inputs based on Physical Plausibility

Keep Learning

Allen Bradley RSLogix 500 PLC Programming

Start Stop of one Motor from same Push button PLC program

Start Stop of one Motor from the same Push button PLC program

Siemens CPU MP Port

Siemens S7-300 CPU Suffix Explanation

VFD Pros and Cons - Variable Frequency Drives

VFD Pros and Cons – Variable Frequency Drives

SR Flip Flop Logic

How to implement SR Flip Flop using PLC Ladder Logic

Convert Raw Counts to Engineering Units

Raw Counts to Engineering Units : Conversion Formula

Allen Bradley Powerflex VFD

Allen Bradley Powerflex VFD

PLC Tutorials - Timers and Counters

Difference between Timer and Counter – PLC Basics

Learn More

pid-guidelines-for-pig-receivers

P&ID Guidelines for Pig Receivers

Unspecified CPU in Tia Portal

How to Add Unspecified CPU in Tia Portal?

PLC Program for 2 Push buttons to Control 1 Output

PLC Program for 2 Push buttons to Control 1 Output

PLC TB Wiring

Electrical Signal and Control Wiring

pneumatic circuit with sensors

Electro-Pneumatic Circuit Using Pressure Sensor and Timer Relay

liquid flow control loop

Liquid Flow Control Loop Controller Action

inductance transducer

Inductance Type Pressure Transducers Principle

Calculate DPT Calibrated Range

Calculate the Transmitter Values

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?