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
Notification Show More
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

How to do Scaling for Analog Input in RSLogix 500?
Loop Check of 4-20mA or HART Transmitters
PLC Programmer Salary and Future Career Scope
Types of Limit Switches – Principle, Advantages, Disadvantages
PLC Data Comparison Instructions
Instrumentation Engineer Activities & Documents – Detail Design Phase
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

Relay Operation, Types, Symbols & Characteristics
Main differences between Sinking and Sourcing Circuits
Difference between Compact PLC and Modular PLC
Types of Interlocks
Various Types of Delta PLC used in Industrial Automation
Proper Earthing Practices Used for PLC Control Panel
Difference Between Normal Counters and Fast Counters – Learn PLC
Connecting Blocks in Functional Block Diagram – Studio 5000

Keep Learning

Wonderware Recipe Manager Plus

What is Recipe Management in SCADA?

Traffic Barrier Control

PLC Programming for Traffic Barrier Control

Using Clock Memory Bits in TIA Portal - Siemens PLC

Using Clock Memory Bits in TIA Portal – Siemens PLC

PLC Programming for Sequential Batch Mixing System

PLC Programming for Sequential Batch Mixing System

Wood Sawing and Blower System PLC Control Design

Wood Sawing and Blower System: PLC Control Design

Introduction to PLC

#9 PLC Best Practices – Validate indirections

Single Push button to ON and OFF a Bulb using Ladder Logic

Single Push button to ON and OFF a Bulb using Ladder Logic

Create an Application in HMI using Tia Portal

Create an Application in HMI using Tia Portal

Learn More

OPC classic introduction

Overview of OPC Communication

PLC Motor Control Circuit

Motor Trip Logic using PLC Programming

PLC Data comparison instructions

PLC Data Comparison Instructions

LBB protection relay

What is the LBB Protection Relay? (Local Breaker Backup)

Electrical and Instrumentation Engineering Documents

Electrical and Instrumentation – Automation Pre-engineering Documents

Basic Temperature Sensors MCQ

Basic Temperature Sensors MCQ Questions Answers

Types of Scan Time in a PLC

Programmable Logic Controller (PLC) Scan Time – Types, Theory

Override Control Functions

Override Control Functions

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?