AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks

Productivity PID Loop Part 7 - Programming from AutomationDirect


Related Documents


PID Loop Programming Parts 1-11


Productivity3000 - PID Demo Project


C-more Touch Panel - PID Demo Project



Related Products

PCON-KIT
PCON-KIT Thumbnail
P1-USER-M
P1-USER-M Thumbnail
P1-10RTB
P1-10RTB Thumbnail
P1-04PWM
P1-04PWM Thumbnail
P1-02HSC
P1-02HSC Thumbnail
P1-04RTD
P1-04RTD Thumbnail
P1-4ADL2DAL-2
P1-4ADL2DAL-2 Thumbnail
P1-4ADL2DAL-1
P1-4ADL2DAL-1 Thumbnail
P1-08DAL-2
P1-08DAL-2 Thumbnail
P1-08DAL-1
P1-08DAL-1 Thumbnail
P1-08ADL-2
P1-08ADL-2 Thumbnail
P1-08ADL-1
P1-08ADL-1 Thumbnail
P1-04AD
P1-04AD Thumbnail
P1-08TA
P1-08TA Thumbnail
P1-08NA
P1-08NA Thumbnail
P1-15TD2
P1-15TD2 Thumbnail
P1-15TD1
P1-15TD1 Thumbnail
P1-16NE3
P1-16NE3 Thumbnail
P1-16ND3
P1-16ND3 Thumbnail
P1-08ND3
P1-08ND3 Thumbnail
P1-02AC
P1-02AC Thumbnail
P1-550
P1-550 Thumbnail
P1-540
P1-540 Thumbnail
P1-START
P1-START Thumbnail
MICSD-16G
MICSD-16G Thumbnail
P1-01AC
P1-01AC Thumbnail
P1-08TD1
P1-08TD1 Thumbnail
P1-08TD2
P1-08TD2 Thumbnail
P1-15CDD1
P1-15CDD1 Thumbnail
P1-15CDD2
P1-15CDD2 Thumbnail
P1-16CDR
P1-16CDR Thumbnail
P1-08TRS
P1-08TRS Thumbnail
P1-16TR
P1-16TR Thumbnail
P1-04ADL-1
P1-04ADL-1 Thumbnail
P1-04ADL-2
P1-04ADL-2 Thumbnail
P1-04DAL-1
P1-04DAL-1 Thumbnail
P1-04DAL-2
P1-04DAL-2 Thumbnail
P1-04THM
P1-04THM Thumbnail
P1-04NTC
P1-04NTC Thumbnail
P1-08SIM
P1-08SIM Thumbnail
PS-PGMSW
PS-PGMSW Thumbnail
P2-550
P2-550 Thumbnail
P2-RS
P2-RS Thumbnail
P2-START2
P2-START2 Thumbnail
P2-04B
P2-04B Thumbnail
P2-07B
P2-07B Thumbnail
P2-11B
P2-11B Thumbnail
P2-15B
P2-15B Thumbnail
P2-01AC
P2-01AC Thumbnail
P2-01DCAC
P2-01DCAC Thumbnail
P2-08ND3-1
P2-08ND3-1 Thumbnail
P2-08NE3
P2-08NE3 Thumbnail
P2-16ND3-1
P2-16ND3-1 Thumbnail
P2-16NE3
P2-16NE3 Thumbnail
P2-32ND3-1
P2-32ND3-1 Thumbnail
P2-32NE3
P2-32NE3 Thumbnail
P2-08TD1S
P2-08TD1S Thumbnail
P2-08TD2S
P2-08TD2S Thumbnail
P2-08TD1P
P2-08TD1P Thumbnail
P2-08TD2P
P2-08TD2P Thumbnail
P2-15TD1
P2-15TD1 Thumbnail
P2-15TD2
P2-15TD2 Thumbnail
P2-16TD1P
P2-16TD1P Thumbnail
P2-16TD2P
P2-16TD2P Thumbnail
P2-32TD1P
P2-32TD1P Thumbnail
P2-32TD2P
P2-32TD2P Thumbnail
P2-08NAS
P2-08NAS Thumbnail
P2-16NA
P2-16NA Thumbnail
P2-08TAS
P2-08TAS Thumbnail
P2-16TA
P2-16TA Thumbnail
P2-08TRS
P2-08TRS Thumbnail
P2-16TR
P2-16TR Thumbnail
P2-04AD
P2-04AD Thumbnail
P2-08AD-1
P2-08AD-1 Thumbnail
P2-08AD-2
P2-08AD-2 Thumbnail
P2-08ADL-1
P2-08ADL-1 Thumbnail
P2-08ADL-2
P2-08ADL-2 Thumbnail
P2-16AD-1
P2-16AD-1 Thumbnail
P2-16AD-2
P2-16AD-2 Thumbnail
P2-16ADL-1
P2-16ADL-1 Thumbnail
P2-16ADL-2
P2-16ADL-2 Thumbnail
P2-04DA
P2-04DA Thumbnail
P2-04DAL-1
P2-04DAL-1 Thumbnail
P2-04DAL-2
P2-04DAL-2 Thumbnail
P2-08DA-1
P2-08DA-1 Thumbnail
P2-08DA-2
P2-08DA-2 Thumbnail
P2-16DA-1
P2-16DA-1 Thumbnail
P2-16DA-2
P2-16DA-2 Thumbnail
P2-08DAL-1
P2-08DAL-1 Thumbnail
P2-08DAL-2
P2-08DAL-2 Thumbnail
P2-16DAL-1
P2-16DAL-1 Thumbnail
P2-16DAL-2
P2-16DAL-2 Thumbnail
P2-8AD4DA-1
P2-8AD4DA-1 Thumbnail
P2-8AD4DA-2
P2-8AD4DA-2 Thumbnail
P2-08THM
P2-08THM Thumbnail
P2-06RTD
P2-06RTD Thumbnail
P2-08NTC
P2-08NTC Thumbnail
P2-SCM
P2-SCM Thumbnail
P2-HSI
P2-HSI Thumbnail
P2-HSO
P2-HSO Thumbnail
P2-08SIM
P2-08SIM Thumbnail
P3-550E
P3-550E Thumbnail
P3-550
P3-550 Thumbnail
P3-530
P3-530 Thumbnail
P3-RS
P3-RS Thumbnail
P3-RX
P3-RX Thumbnail
P3-EX
P3-EX Thumbnail
P3-03B
P3-03B Thumbnail
P3-05B
P3-05B Thumbnail
P3-08B
P3-08B Thumbnail
P3-11B
P3-11B Thumbnail
P3-01AC
P3-01AC Thumbnail
P3-01DC
P3-01DC Thumbnail
P3-08ND3S
P3-08ND3S Thumbnail
P3-16ND3
P3-16ND3 Thumbnail
P3-32ND3
P3-32ND3 Thumbnail
P3-64ND3
P3-64ND3 Thumbnail
P3-08TD1S
P3-08TD1S Thumbnail
P3-08TD2S
P3-08TD2S Thumbnail
P3-16TD1
P3-16TD1 Thumbnail
P3-16TD2
P3-16TD2 Thumbnail
P3-32TD1
P3-32TD1 Thumbnail
P3-32TD2
P3-32TD2 Thumbnail
P3-64TD1
P3-64TD1 Thumbnail
P3-64TD2
P3-64TD2 Thumbnail
P3-08NAS
P3-08NAS Thumbnail
P3-16NA
P3-16NA Thumbnail
P3-08TAS
P3-08TAS Thumbnail
P3-16TA
P3-16TA Thumbnail
P3-08TRS
P3-08TRS Thumbnail
P3-08TRS-1
P3-08TRS-1 Thumbnail
P3-16TR
P3-16TR Thumbnail
P3-04ADS
P3-04ADS Thumbnail
P3-08AD
P3-08AD Thumbnail
P3-16AD-1
P3-16AD-1 Thumbnail
P3-16AD-2
P3-16AD-2 Thumbnail
P3-08RTD
P3-08RTD Thumbnail
P3-08THM
P3-08THM Thumbnail
P3-04DA
P3-04DA Thumbnail
P3-08DA-1
P3-08DA-1 Thumbnail
P3-08DA-2
P3-08DA-2 Thumbnail
P3-06DAS-1
P3-06DAS-1 Thumbnail
P3-16DA-1
P3-16DA-1 Thumbnail
P3-16DA-2
P3-16DA-2 Thumbnail
P3-8AD4DA-1
P3-8AD4DA-1 Thumbnail
P3-8AD4DA-2
P3-8AD4DA-2 Thumbnail
P3-SCM
P3-SCM Thumbnail
P3-HSI
P3-HSI Thumbnail
P3-HSO
P3-HSO Thumbnail
P3-16SIM
P3-16SIM Thumbnail


To learn more: https://www.automationdirect.com/productivity?utm_source=aWebmMTRcFw&utm_medium=VideoTeamDescription

(VID-P3-0040)

Part 7 of 11

Programming PID Loops.

Online Support Page: https://community.automationdirect.com/s/?utm_source=aWebmMTRcFw&utm_medium=VideoTeamDescription

**Please check our website for our most up-to-date product pricing and availability.


Hide Transcript
View Transcript

Up until now, most of what we have covered was preliminary information and tasks to get us to this point. Next I’ll cover the Productivity 3000’s PID Loop Instruction, the main focus of this video series. Once I have my analog signals scaled to usable and understandable values, I can now create my PID Loop Instruction that will perform the calculations. I click and drag the PID Loop instruction, located toward the bottom of the Instructions List under the PID heading, and drop it on the next available END rung in my Ladder Editor Window as shown here. The PID Loop Configuration window will open with the Major Setup tab ready for the various Tagnames and parameters to be entered. I enter a name for the PID Loop in the ‘Loop Name’ text box. I have chosen ‘Water Volume Control’. Continuing with the PID Loop configuration using fill-in-the-blank parameters, I enter the Tagname ‘Tank underscore Volume underscore SP’ into the ‘Set Point’ parameter, and select the Tagname ‘Tank underscore Volume’ from the drop down list, that was defined earlier, for the ‘Process Variable’. For the ‘Input Range Max’ parameter, I select the Tagname ‘Maximum underscore Volume’ that I calculated earlier, and likewise, the Tagname ‘Minimum underscore Volume’ that was also calculated is entered for the ‘Input Range Min’. I continue adding parameters to the fill-in-the-blank boxes. The ‘Pump underscore Speed’ Tagname I setup in channel one of our analog output module is used for the ‘Process Output’ parameter. The ‘Output Range Max’ parameter is set to ’65,535’, and the ‘Output Range Min’ parameter is set to zero. I use the same values for the ‘Output Upper Limit’ and ‘Output Lower Limit’ parameters in my application. In the next area I will set up the Tagnames for our ‘Proportional (Gain)’, ‘Integral (Reset) Time’ and ‘Derivative (Rate) Time’ parameters. To keep the naming simple for our example application, I have used the name of the parameter as the Tagname. So I can enter ‘Proportional’ for the ‘Proportional Gain’, ‘Integral’ for the ‘Integral Reset Time’, selecting seconds for my time range, and ‘Derivative’ for the ‘Derivative Rate Time’ with a default time in seconds. Before I press the ‘OK’ button to accept our PID Loop; let me mention the other Tabs available within the instruction window that will be covered in future LEARN videos. These include the Major Advanced tab, which for our example application we have used the default sample rate of 500 milliseconds, a ‘Forward’ Process Action, Freeze Bias is checked, and although we will discover that our application does not require any Derivative, the default for ‘Base the Derivative on the Process Variable’ is checked. The Major Alarms tab can be used to alarm values and bits for various conditions that occur doing the PID Loop operation. The Minor Setup, Minor Advanced, and Minor Alarms tabs are used if we had chosen a ‘Cascade Mode’ of operation found under the Major Advanced tab. Cascade Mode is typically used in applications where a secondary process can directly affect the primary process, though either the effects of disturbances from the secondary process or when the process gain or output actuator is non-linear. Once all the Tagnames and parameters have been entered into the PID Loop Instruction, we can press the ‘OK’ button. The next window that pops up will be the Define Tags dialog window, giving us the opportunity to select the Data Type for each of our new Tagnames. The default data type for all of the new Tagnames is ‘Integer, 32 Bit’. I will leave the default for the ‘Proportional’, ‘Integral’, and ‘Derivative’ Tagnames, but select ‘Float, 32 Bit’ for the ‘Set underscore Point’ Tagname. Next I transfer the changes to the Productivity 3000 CPU, save the project, and then enable the ‘Monitor Mode’ so I can see my results up to this point. Taking a quick look at our Tag Database, and using the check boxes to select the various data types, we see 32 Bit Floating Point and 32 Bit Integer Data Types were assigned to the Tagnames used in the PID Loop Instruction. 32 Bit Floating Point data types were chosen for the Process Tank’s Volume, Set Point, and Minimum to Maximum Volume range to allow for measurements read to the hundredth of a gallon. A 32 Bit Integer data type was chosen for the Proportional, Integral and Derivative terms. The 32 Bit Integer has plenty of resolution for the values that are typically used for final tuning of the PID loop. As seen in our final commented PID Loop rung, the PID instruction box requires two lines of control. The first is for enabling the PID execution, and the second for setting the PID to automatic mode or manual mode. Discrete bits controlled from push buttons located on the C-more Touch Panel are used to ‘Enable’ the PID loop and also for placing the loop in ‘Auto’ mode. When the PID loop is not in ‘Auto’ mode, it is in ‘Manual’ mode. We will see how ‘Manual’ mode is used for our initial startup, manually tune our PID loop, and then Auto-tuning the PID loop with the software’s built-in PID Tuning feature. In the next video, Part 8, we will cover some of the miscellaneous ladder logic that was created to add some extra monitoring features to our project.



No data returned!
An error has occurred! Please contact support
Videos Home > Productivity PID Loop Part 7 - Programming from AutomationDirect
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
Career Opportunities
Voted #1 mid-sized employer in Atlanta
We're a great place to work!
Check out our job openings

Need Training?
Affordable Training by Interconnecting Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info