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: Example of PLC Programming based on Logic Circuit
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 > Example of PLC Programming based on Logic Circuit

Example of PLC Programming based on Logic Circuit

Example of PLC programming based on the logic circuit using Schneider Electric EcoStruxure Machine Expert Basic.

Last updated: September 25, 2024 11:30 am
vicky
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

 Example of PLC programming based on the logic circuit using Schneider Electric EcoStruxure Machine Expert Basic.

Contents
PLC Programming based on Logic CircuitPLC Learning Videos for BeginnersProgram I/O DetailsLadder LogicPLC Program DescriptionProgram Simulation Analysis

PLC Programming based on Logic Circuit

Design a PLC ladder logic for the following Logic Circuit.

We are using toggle Inputs to control the output.

Logic circuit PLC programming tutorial

PLC Learning Videos for Beginners

In this video, we explained this PLC programming example with details for beginners.

Getting Started with PLC - Examples for Beginners

Program I/O Details

Digital Inputs:

  • A: I0.0
  • B: I0.1
  • C: I0.2
  • D: I0.3
  • E: I0.4
  • F: I0.5

Digital Outputs:

  • Y: Q0.0

Ladder Logic

Here is the answer to the given PLC problem.

Example of PLC Programming based on Logic Circuit

PLC Program Description

  • For this application, we have used EcoStruxure Machine Expert Basic software for programming.
  • In the above program, Normally Open Contacts are used for inputs A, C, and E and Normally Closed Contacts are used for inputs B, D, F.
  • Input A and Input B are connected in series, thus implementing AND Logic Gate.
  • AND Logic Gate is implemented with Input C and Input D as these Inputs are connected in series.
  • Input E and Input F are connected in series, thus implementing AND Logic Gate.
  • AB, CD, and EF are connected in parallel, thus implementing OR Logic Gate.
  • For the output Y (Q0.0) to be ON, either Input A should be ON and Input B should be OFF or Input C should be ON and Input D should be OFF or Input E should be ON and Input F should be OFF.
  • If Input B, Input D, and Input F are turned ON, output Y (Q0.0) will not turn ON as Normally Closed Contacts used for these Inputs will be in True state and does not allow the signal to flow and pass to the output.

Program Simulation Analysis

When Input A is ON and Input B is OFF

PLC logic circuit design examples

The signal flow through Input A and Input B  as Normally Open Contact used for Input A is in True state and Normally Closed Contact used for Input B is in the false state will pass the signal to output and the output Y (Q0.0) will turn ON. If Input B is turned ON, the signal does not flow through Input B. In True state Normally Closed Contacts break the circuit.

When Input B is ON and Input D is OFF

How to program PLC with logic circuits

The output Y (Q0.0) will turn ON when Input B is turned ON and Input D is turned OFF because Input B is in the true state as Normally Open Contact is used for this Input and Normally Closed Contact used for Input D is in the false state. If Input D is turned ON, the signal does not flow through Input D. In True state Normally Closed Contacts break the circuit.

When Input E is ON and Input F is OFF

PLC logic circuit programming techniques

When Input E is turned ON and Input F is turned OFF, the output Y (Q0.0) will turn ON as Normally Open Contact used for Input E will allow signal to pass and also Input F will pass signal to output because Normally Closed Contact used for Input F is in false state.

When Input A, Input C, Input E are ON and Input B, Input D, Input F are OFF

PLC programming based on logic circuit example

When Input A, Input C, Input E are turned ON and Input B, Input D, Input F are turned OFF, the output Y (Q0.0) will turn OFF because all Normally Open Contacts will be in true state and all Normally Closed Contacts will be in false state. So, signal will flow through these Inputs and Y(Q0.0) will turn ON.

Read Next:

  • PLC Product Sticker Machine with Weighing
  • Start Stop of one Motor from the PLC Logic
  • Waste-Burning System OMRON PLC Logic
  • Water Pump PLC Program CX-Programmer
  • Create PLC Program based on Logic Circuit

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

Proper Earthing Practices Used for PLC Control Panel
Sink or Source? Normally Open or Normally Closed?
How to use Sub Routines with Allen Bradley PLC
Tutorial: Siemens Communication between PLCs using I-Device
Data Handling Instructions in PLC Programming
How to do Scaling for Analog Input in RSLogix 500?
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

#1 PLC Best Practices – Split PLC Code into Modules
PLC Program for Automatic Lamp Control in Storage Facility
Basic PLC Exercise on Heater and Cooler for Students
Motor Starter Logic using Siemens PLC Tia Portal
Job Skills Required for Industrial Electrical Maintenance
#12 PLC Best Practices – Validate Inputs based on Physical Plausibility
PID in Siemens TIA Portal
Jump Instruction in Siemens Tia Portal

Keep Learning

PLC Sequence Programming Ladder Logic

PLC Sequence Programming Ladder Logic

PLC Program for Washing Machine

PLC Program for Washing Machine

Why 4-20 mA Current Signal is used instead of Voltage Signal

Troubleshooting a 4-20mA Current loop

PLC program to control pump

Troubleshooting PLC Permissive Inputs

PLC Ladder Logic Simulator Mobile Apps For Android

PLC Ladder Logic Simulator Mobile Apps For Android

Online time of the PLC

System and Local Time in PLC

relay-safety-in-plc

How to Reduce Relay Noise in PLC Systems?

Open Platform Communication (OPC)

Open Platform Communication (OPC)

Learn More

Cold Email Deliverability

Cold Email Deliverability – Latest Comprehensive Guide

diode-clamper-circuit

Full Wave Voltage Doubler using Diodes

Fine wire strain gauge

Fine Wire Strain Gauge Principle

Why Three-phase Voltage is 440 Volts

Why Three-phase Voltage is 440 Volts?

PLC Program three-phase electric motor

Identify the Problem in the PLC Program

Comparison of MOSFET and BJT

Comparison of MOSFET and BJT

Turbine Meter in Gas Metering System

Read Gas Composition from Gas Metering System using RS485 Protocol

float-type level switch control a pump

Float-type Level Switch to Control a pump

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?