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
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

Extended Timer Logic in PLC
Hardwired I/O and Serial I/O – Differences Explained
Basics of 4 to 20 mA analog Signals
Smart Spray System using Wecon PLC
PLC Level Control of Two Tanks
HMI Screen Design for Hazardous Applications
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

How to Choose the Right Industrial Automation Solution?
PLC Program for Star Delta Starter using Functional Block Diagram
How to Delay a Sensor Signal in PLC?
ON and OFF a Group of Outputs by One Push button PLC Logic
PLC Program for Automatic Bottle Rejection System
PLC Program for Ceramic Burning Oven Conveyor System
Schneider PLC Example: Control Lamps Sequences
Communicating Delta PLC Software to Simulator

Keep Learning

Historical Scada graph

Configuration of InTouch Scada Trends

PLC Memory Organization - Data Files and Program Files

PLC Memory Organization – Data Files and Program Files

PLC Program to Control Level of Series Tanks

Series Tanks Level Control using PLC Ladder Programming

PLC Programming for Tank Farm Management

Tank Farm Management System: CX-Programmer [OMRON]

Principle of Operation of PLC

Principle of Operation of PLC

two-way communication between PLC systems

Transferring Data Across PLC Systems – TSEND_C and TRCV_C

PLC Controlling a Motor

PLC Motor Control Ladder Logic Programming

DeMorgan's Theorems

DeMorgan’s Theorems using Ladder Diagram

Learn More

Analyzers Questions and Answers

Dissolved Oxygen Analyzer Questions and Answers

PLC Program for Boolean Expression

PLC Program for Boolean Expression

Left-Hand Rule for Generators

DC Generator Theory

Select Right Type of Controller

How to Select the Right Type of Controller

PLC Program for Sequential Motor Control

PLC Program for Sequential Motor Control

What is a Process Alarm

What is a Process Alarm? Types of Alarms

Steam Letdown Station Problems

Steam Letdown Station Problems and their Solutions

Brushed DC Motor Working Animation

Brushed DC Motor Working Animation

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?