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

PLC Selective Execution of the Application – Example Program
Delta HMI and VFD Control with Modbus
Scaling with Parameters (SCP) Instruction in PLC
Communication between Wincc and Tia Portal
Positive and Negative Edges using Statement List Language
PLC Simulator using Excel
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

Difference between Motion Controller and PLC
Why different PLC Programming Languages were Developed?
Structured Text PLC Code for Sequential Process Data Storage
Single-acting Pneumatic Cylinder Operation with Limit Switch
Intrinsically Safe Barriers Questions and Answers
PLC Based Product Sorting Machine System – Lift Control
WHILE DO Statement in SCL Language
Troubleshoot Allen Bradley PLC Logic

Keep Learning

Historical Scada graph

Configuration of InTouch Scada Trends

Electrical Circuit Label Schematic

Label the Electrical Circuit Schematic

Siemens micro memory card

Micro Memory Card (MMC) in Siemens PLC

Understanding Braking Theory in VFD

Understanding Braking Theory in VFD

Advanced Ladder Logic PLC Example

Automatic Sanitizer – Complex Ladder Logic PLC Examples

Control System Basic Wiring Practice Animation

PLC Connection between Instrument, Junction Box, Marshalling & System Cabinet

Ferrule Example

Ferrules and Cross Ferruling

How-to do Security of SCADA Systems

How-to do Security of SCADA Systems?

Learn More

Instrument Calibration Multiple Choice Questions

Instrument Calibration Multiple Choice Questions

Measuring Instruments Questions and Answers

150+ Measuring Instruments Questions and Answers

Cooling Tower Fans Frequently Failing

Cooling Tower Fans Frequently Failing

Orifice Plate Flow Requirements

What are the Orifice Plate Flow Requirements?

Impulse Line Pressure Testing Procedure

Impulse Line Pressure Testing Procedure

What is Linear Electric Motor

What is Linear Electric Motor?

Permanent magnet moving coil instruments (PMMC)

Permanent Magnet Moving Coil Instruments (PMMC)

Summary of Valve Types Characteristics

Summary of Valve Types Characteristics

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?