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: Single-acting Cylinder OR Logic Operation (PLC and Sensors)
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 > Single-acting Cylinder OR Logic Operation (PLC and Sensors)

Single-acting Cylinder OR Logic Operation (PLC and Sensors)

Learn how to design a single-acting cylinder OR logic operation using PLC programming and sensors with the explanation.

Last updated: February 13, 2024 11:09 am
Editorial Staff
PLC Tutorials
No Comments
Share
7 Min Read
SHARE

Single-acting pneumatic cylinders can provide linear motion for a wide range of applications. The single-acting cylinders are essential to industrial automation Unfortunately, the precision and flexibility needed to react to the dynamic conditions of contemporary manufacturing processes are frequently lacking from the current control systems.

Contents
Single-acting Cylinder OR Logic OperationPrinciple (PLC and Sensors)PLC Programming ExplanationDigital InputsDigital OutputProgrammable Logic Controller Ladder Diagram

The objective is to create a control mechanism that combines two proximity sensors with logical OR operation to improve responsiveness, accuracy, and dependability when operating a single-acting cylinder.

Single-acting Cylinder OR Logic Operation

Single-acting Cylinder OR operation (PLC and Sensors)

Here as shown in the figure we can see sensor A and sensor B are connected to the PLC controller. Sensor A (X1) relates to the digital input of the programmable controller. Sensor B relates to the programable Logic controller’s other digital input (X1).

Both the sensors have a 24 V DC supply and the programable Logic controller has a 24 V DC supply. Here we have not considered the Programmable Logic controller program part. The solenoid relates to the PLC digital output and solenoid solenoid-operated direction control valve is connected to the single-acting cylinder.

Principle (PLC and Sensors)

Here consider the simple application in which we must operate a single-acting pneumatic cylinder with two proximity sensors. The application is like that so a single-acting pneumatic cylinder will be operated with the sensor operation.

Consider two sensors (Sensor A and Sensor B) related to the programmable controller. The programmable logic controller is programmed with the OR gate logic operation. So, if any one sensor out of the two sensors, hence Sensor A or Sensor B is pressed or sensed then the output will be activated.

In a programmable logic controller, we must write the program so X 1 will get a 24 VDC signal or X2 will get a 24 V DC signal from the field or sensors then it will generate the output and we will get a 24 VDC signal at Y0 output terminal.

Once output is activated supply will go to the solenoid coil and the solenoid coil will be activated. If the solenoid is operated, then due to the internal mechanism plunger will move and the air flow will change.

The direction control valve changes the direction of the air, and it operates the cylinder so the cylinder will move. In this case, if either sensor A is detected, or Sensor B is detected, the Cylinder will be ON and if both are sensed then the output will also be ON. If not, all sensors are detected, then the cylinder will remain in a closed condition.

PLC Programming Explanation

As shown in the figure we need to write PLC programming for the application. Here we have two digital inputs sensor A and Sensor B. Both the sensors need to connect with the Programmable logic controller as shown in the main diagram.

Here X1 and X2 are the programmable logic controller addresses for the digital inputs. here we are defining X 0 digital input for the sensor A and X1 digital input for the Sensor B. Both are digital inputs so if the sensor detects any object, then the programmable logic controller will get a 24 VDC signal from the sensors.

If we are getting a signal at X0 it means sensor A is sensing some object. And if we are getting a signal at X1 it means sensor B is sensing some object. As shown in the below figure we will use two digital inputs and one digital output to write the PLC program.

Here the condition is that when one sensor out of both is detecting any object then digital out will be ON. Hence either sensor A or Sensor B is sensing the object then output Y0 will be ON. OR gate we are using for the optional condition so as per the program if we are getting a signal at X0 or X1, Y0 will be energized as per the logic gate condition.

Digital Inputs

Sensor A =X0

Sensor B=X1

Digital Output

Solenoid A+ =Y0

Programmable Logic Controller Ladder Diagram

PLC Programming Explanation with Sensors and Cylinder

As shown in the ladder diagram, input Sensor A is connected with the digital input X0 and Sensor B is connected with the digital input X1. So, in the Programmable logic controller, we have to define the address for both sensors so the programmable logic controller can identify the inputs that are coming from the field.

We used here OR gate logic or we can say it parallel operation so either X0 or X1 is energized then Y0 will be energized, so at this output terminal, we will get a 24 V DC supply so the solenoid will get a 24 V DC signal and its plunger will move and cylinder will be extracted.

If no detection is happening at any sensor, then the output will remain off and the cylinder will remain in retracted condition.

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

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

Read Next:

  • Basics of PLC Programming
  • Pneumatic Cylinder Air Flow Calculation
  • Transferring Data Across PLC Systems
  • PLC Programming Example using Switches
  • Single-acting Pneumatic Cylinder Operation
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

Communication between InTouch Scada and Allen Bradley PLC
Software Troubleshooting Errors and Faults in Siemens PLC
Parts of PLC
Network Switch Requirement in SCADA and DCS Architecture
1 to 8 Demultiplexer PLC ladder diagram
#15 PLC Best Practices – Safe State when PLC Restarts
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

PLC Program for Control Valve Scaling
PLC Controlled Conveyor and Weighing with Labeling Automation
Quiz Program Logic Using PLC Programming
PLC Counters Program
PLC Example with Switches
SCADA for Substation Automation
Seven Segment Display Programming with Structured Text
Open Loop and Closed Loop System Questions Answers

Keep Learning

Ladder Diagram PLC program

PLC Counter Instructions

A typical wiring diagram from Field Transmitter to Control Room

How to Wire a Field instrument to Control Room with Example

PLC Logic for Stairway Lighting

Smart Automation Solutions: PLC Logic for Stairway Lighting

PLC Program for Filling Operation

PLC Program for Continuous Filling Operation

HMI screen for operator

Auto Tiffin Box Filling Station

Surge Protection Device

What is a Surge Protection Device? – Principle, Types, Advantages

PLC Project Detect Overweight and Less Weight Bottles

PLC Project: Detect Overweight and Less Weight Bottles

What is an RTU - Remote Terminal Unit

What is an RTU? – Remote Terminal Unit

Learn More

Functional Design Specifications (FDS) for DCS and SIS Projects

Functional Design Specifications for DCS and SIS Projects – FDS Document

National Pipe Thread Cross Sectional View

What is Tapered Thread Pipe Fittings ?

Squirrel-Cage Induction Rotor

Induction Motor

Power Electronics Objective Questions

PWM Inverters Objective Questions

Quiz on Electrical Safety and Equipment Grounding

130 Quiz on Electrical Safety and Equipment Grounding

capacitance probe

Capacitance Level Measurement Working Principle

Unstable & Drifting Values of Differential Pressure Transmitter

Unstable & Drifting Values of Differential Pressure Transmitter Problem

Piping Schematic for Two Solenoid Valves Double Acting

Different Types of Control Valve Actuators

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?