Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Single-acting Cylinder OR Logic Operation (PLC and Sensors)
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
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 !
Anti-static Wrist Straps in Industrial Automation
#13 PLC Best Practices – Disable Unused Communication Ports
Structured Text PLC Program for Measuring Event Duration
Design a PLC program for Operational Sequence of Packaging Process
LIFO Instruction in PLC
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Electrical Drives Animation

Electrical Drives – Modes, Types, Speed Control Applications

Extended Timer Logic in PLC

Extended Timer Logic in PLC

Pause the Timer PLC Ladder Logic

Pause the Timer PLC Ladder Logic

What is a Floating License - Automation Software Systems

What is a Floating License? – Automation Software Systems

PLC attendance system design

Attendance System PLC Program using CX-Programmer

PLC Programming Example on Timers Function Block

PLC Programming Example on Timers Function Block

PLC program for bread oven

Bread Oven Control in Auto and Manual Modes PLC Program

Relay Internal Parts

Relay Operation, Types, Symbols & Characteristics

More Articles

Strain Gauge Animation

Pressure Gauge Installation

Pressure Gauge Installation at Pump Discharge

What is an FACP

What is an FACP? (Fire Alarm Control Panel)

Digital Electronics Multiple Choice Questions

Magnitude Comparator Objective Questions

Basics of Trips, Interlocks, Permissives & Sequences

Basics of Trips, Interlocks, Permissives & Sequences

Flammable Gases and Vapors Class 1 & Class 2

Gas Detectors Standards

Antifriction bearings (AFB) Problems

Antifriction bearings (AFB) Problems and Delays Plant Restarts

Electronic Devices & Circuits Objective Questions

Electronic Devices & Circuits Quiz – Set 7

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?