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: PLC Program to Control Gas Pressure using Closed-Loop
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 > PLC Program to Control Gas Pressure using Closed-Loop

PLC Program to Control Gas Pressure using Closed-Loop

Last updated: March 4, 2021 3:24 pm
Editorial Staff
PLC Tutorials
4 Comments
Share
4 Min Read
SHARE

By using AC Drive and Closed-Loop Control Program in PLC, we have to control output gas pressure as per setpoint given in SCADA. Implement this program in PLC using Ladder Logic programming language. 

Contents
PLC Program to Control Gas PressureProblem Solution:PLC Program:

PLC Program to Control Gas Pressure

PLC Program to Control Gas Pressure using Closed-Loop

Problem Solution:

  • To measure gas pressure, Pressure transmitter installed at input as well as output gas pipe line.
  • Range of pressure transmitter is 0-20kPa.
  • Output of this transmitter is in standard electrical signal which is 4-20 mA. Convert this signal into digital signal by connecting level transmitter to AI module of PLC.
  • Blower fan motor is controlled by AC Drive, so we can control the speed of the motor.
  • We can collect the motor rpm feedback and also give the set point to increase or decrease the speed of the motor as per output pressure transmitter feedback using PLC Program.
  • Motor speed feedback from AC Drive and Set point of Speed to AC Drive is in standard electrical signal 4-20 mA. Convert this signal into digital signal by connecting feedback to PLC AI module and set point from PLC AO module to AC Drive.
  • Range of Motor Speed is 3000 RPM.
  • Prepare a proper Closed-loop control logic to control output gas pressure.

PLC Program:

The below table shows different types of inputs and outputs used in the ladder logic.

PLC Closed Loop Inputs and Outputs

Here is the PLC program to control output gas pressure as per setpoint given in SCADA.

Ladder Logic to Convert Input Pressure Transmitter Signal
Ladder Logic to Convert Pressure Sensors into Digital Signal
Ladder Logic to Convert Speed Feedback from Drive

In the first three network, From Network 1 to Network 2 we are converting field signal 4-20 mA into digital signal (0–20 kPa), This is to show actual pressure in SCADA.

And in Network 3 is the conversion of Blower fan motor actual speed which is in 0-3000 rpm.

Ladder Logic to configure Analog Output

Network 4 and 5 does the comparison of Set Pressure, which is given from SCADA, and Output pipe line gas pressure. Based on this comparison it will give output to increase or decrease motor speed.

Ladder Logic for Square Pulse Timer

This Network 6 is the 1 sec square wave which we will use to increase or decrease the speed of motor by 100 rpm at every 1 sec.

Ladder Logic to Increase Speed in Drive

In this Network 7, we are doing the increment in speed of blower fan motor by 100 rpm at every 1 sec only if INCREASE_SPEED bit is high that means output pipe line pressure is low than Set Pressure in SCADA.

If the increment goes beyond the 3000 rpm then it will transfer the 3000 value to set_speed and stop incrementing further.

Ladder Logic to Decrease Speed in Drive

In this Network 8, we are doing the decrement in speed of blower fan motor by 100 rpm at every 1 sec only if DECREASE_SPEED bit is high that means output pipe line pressure is higher than Set Pressure in SCADA.

If the decrement goes below the 500 rpm then it will transfer the 500 value to set_speed and stop decrementing further.

PLC Analog Output to VFD

And lastly in this Network 9, we are converting digital speed into Analog Signal 4-20 mA. Then this signal is given to AC Drive to control the speed of blower fan motor.

Author : Hiral Patel

If you liked this article, then 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:

Troubleshoot Allen Bradley PLC

DeltaV System Configuration

Woodward Governor 505

Derivative Controller Theory

Current Loops Measurement

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

Difference Between Industrial Computer (IPC) and Normal Computer (PC)
Top Free PLC Software
Instrumentation Earthing
What are High-Speed Inputs in PLC?
Feedback Monitoring in Safety PLC
Two Hand Control Logic using PLC
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
4 Comments
  • Suhel says:
    August 3, 2019 at 8:58 am

    Can anyone help me to know that what is that no. In hi limit and low limit like3.000000e and 003 in some rung????

    Reply
  • Hiral Patel says:
    August 24, 2019 at 12:09 pm

    That is the high limit and low limit values in which you want to convert your analog output.

    Like for the unscale in Network 9, High limit value is 3000 and low limit value is 0. Now when you want to set your speed at 50% or 1500 rpm then your output should be at 50% or in terms of electrical signal(4 to 20 mA) we can say that it should be 12mA. So that VFD can understant that it have to set RPM at 50% or 1500 rpm.

    Reply
  • Nelson says:
    December 29, 2021 at 4:33 pm

    Hello there,Sir what kind of communication used in this example ,how ac drive communicate to the plc i hope you reply thanks,

    Reply
  • Nelson says:
    December 29, 2021 at 4:38 pm

    And also sir ,how you get the set speed feedback Piw260 in network 3 how is that

    Reply

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

Move, Move Bit, Move Digit – Examples of Omron PLC Programs
Tia Portal – OB30 Cyclic Interrupt Organization Block
PLC Programming Example for Motor Forward and Reverse Control
Sequential PLC Programming for the Pneumatic Valves
How to Design an Effective HMI? – Human Machine Interface
PLC Conveyor Motor Ladder Logic
System and Local Time in PLC
Automated Test Bench – Complex PLC Programming Examples

Keep Learning

PLC Program to Energize & De-energize the Outputs based on Events

PLC Energize or De-energize the Outputs based on Events

PLC Programming in Bottle Filling Process

Applications of PLC Programming in Bottle Filling Process

SCL Language in Siemens Tia Portal

FOR DO Statement in SCL Language

PLC Program to Drain Same Products from Two Tanks

PLC Program to Drain Same Products from Two Tanks

Electrical Ground Loop

How to Solve Electrical Ground Loop Problems?

InTouch SCADA Password Protection

InTouch SCADA Login Password Security

PLC or DCS Control System Spares

PLC or DCS Control System Spares

DCS Alarm and Setpoint

Setpoints and Alarms in Control System

Learn More

Current and Voltage analogy

Current and Voltage Principle Animation

Explain how this is an example of Ratio Control?

Questions on Ratio Control System

Test Automation in Production Environment

Test Automation in Production Environment – Everything You Should Know

Digital Electronics Multiple Choice Questions

Counters Objective Questions

Differential Pressure Flow Meters

Short Notes on Differential Pressure Flow Meters

Capacitively Coupled Multistage Transistor Amplifier

Capacitively Coupled Multistage Transistor Amplifier

Distillation Tower Displacer Level Instrument

Distillation Tower Displacer Level Instrument Check

Piezo-electric Acceleration Measuring Device

Piezo-electric Acceleration Measuring Device

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?