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

CLICK PID Tutorial Videos Part 3A - Configure PID part A from AutomationDirect


Related Products

C2-01CPU
C2-01CPU Thumbnail
C2-02CPU
C2-02CPU Thumbnail
C2-03CPU
C2-03CPU Thumbnail
C0-08SIM
C0-08SIM Thumbnail
C0-00DD1-D
C0-00DD1-D Thumbnail
C0-00DD2-D
C0-00DD2-D Thumbnail
C0-00DR-D
C0-00DR-D Thumbnail
C0-00AR-D
C0-00AR-D Thumbnail
C0-01DD1-D
C0-01DD1-D Thumbnail
C0-01DD2-D
C0-01DD2-D Thumbnail
C0-01DR-D
C0-01DR-D Thumbnail
C0-01AR-D
C0-01AR-D Thumbnail
C0-02DD1-D
C0-02DD1-D Thumbnail
C0-02DD2-D
C0-02DD2-D Thumbnail
C0-02DR-D
C0-02DR-D Thumbnail
C0-10DD1E-D
C0-10DD1E-D Thumbnail
C0-10DD2E-D
C0-10DD2E-D Thumbnail
C0-10DRE-D
C0-10DRE-D Thumbnail
C0-10ARE-D
C0-10ARE-D Thumbnail
C0-11DD1E-D
C0-11DD1E-D Thumbnail
C0-11DD2E-D
C0-11DD2E-D Thumbnail
C0-11DRE-D
C0-11DRE-D Thumbnail
C0-11ARE-D
C0-11ARE-D Thumbnail
C0-12DD1E-D
C0-12DD1E-D Thumbnail
C0-12DD2E-D
C0-12DD2E-D Thumbnail
C0-12DRE-D
C0-12DRE-D Thumbnail
C0-12ARE-D
C0-12ARE-D Thumbnail
C0-12DD1E-1-D
C0-12DD1E-1-D Thumbnail
C0-12DD2E-1-D
C0-12DD2E-1-D Thumbnail
C0-12DRE-1-D
C0-12DRE-1-D Thumbnail
C0-12ARE-1-D
C0-12ARE-1-D Thumbnail
C0-12DD1E-2-D
C0-12DD1E-2-D Thumbnail
C0-12DD2E-2-D
C0-12DD2E-2-D Thumbnail
C0-12DRE-2-D
C0-12DRE-2-D Thumbnail
C0-12ARE-2-D
C0-12ARE-2-D Thumbnail
C0-08ND3
C0-08ND3 Thumbnail
C0-08ND3-1
C0-08ND3-1 Thumbnail
C0-16ND3
C0-16ND3 Thumbnail
C0-08TD1
C0-08TD1 Thumbnail
C0-08TD2
C0-08TD2 Thumbnail
C0-16TD1
C0-16TD1 Thumbnail
C0-16TD2
C0-16TD2 Thumbnail
C0-08CDR
C0-08CDR Thumbnail
C0-16CDD1
C0-16CDD1 Thumbnail
C0-16CDD2
C0-16CDD2 Thumbnail
C0-08NA
C0-08NA Thumbnail
C0-08NE3
C0-08NE3 Thumbnail
C0-16NE3
C0-16NE3 Thumbnail
C0-08TA
C0-08TA Thumbnail
C0-04TRS
C0-04TRS Thumbnail
C0-08TR
C0-08TR Thumbnail
C0-04AD-1
C0-04AD-1 Thumbnail
C0-04AD-2
C0-04AD-2 Thumbnail
C0-04DA-1
C0-04DA-1 Thumbnail
C0-04DA-2
C0-04DA-2 Thumbnail
C0-4AD2DA-1
C0-4AD2DA-1 Thumbnail
C0-4AD2DA-2
C0-4AD2DA-2 Thumbnail
C0-04RTD
C0-04RTD Thumbnail
C0-04THM
C0-04THM Thumbnail
C0-00AC
C0-00AC Thumbnail
C0-01AC
C0-01AC Thumbnail
C0-PGMSW
C0-PGMSW Thumbnail
C0-USER-M
C0-USER-M Thumbnail
C0-3TB
C0-3TB Thumbnail
C0-4TB
C0-4TB Thumbnail
C0-8TB
C0-8TB Thumbnail
C0-16TB
C0-16TB Thumbnail


To learn more: https://www.AutomationDirect.com/click-plcs?utm_source=Ak2eFFHkriM&utm_medium=VideoTeamDescription

(VID-CL-0047)

Configuring PID in the CLICK PLC is easy with PID Setup Dialog. But there are some things to watch out for and lots of options, so join us in this video where we will walk you step by step through the process of setting up a PID configuration.

Resources used in this series can be found here: https://library.automationdirect.com/click-plc-temperature-pid-tuning-resource-page/

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

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


Hide Transcript
View Transcript

In the previous video, we set up our hardware and we outlined what we need to do inside the CLICK PLC. Now it’s time to configure all of this stuff so we can start using PID. Make sure you have the most recent version of the CLICK software, at least version 2.51 or later, to use PID. And of course, make sure your CLICK PLC’s firmware is up to date too. Here we go … I’ll bring up the software and start a new project. We’re using this CLICK PLC with analog inputs and sinking outputs. Remember, only CLICK PLCs with ethernet ports can do PID - all the ones with an “E” in the part number. Also, notice that each of these analog inputs has two terminals - one for voltage and one for current. You can only use one or the other, you can’t use both at the same time. The PID stuff is right here. For each loop, we can set up PID, monitor PID and get a list of all memory locations being used by PID. We want to set up a PID loop, so we double click on that one and give it a name. You are limited to 6 characters here because the loop name becomes part of the tag name. The six-character limit keeps the tag name from getting too long. You can turn off auto naming here, but it makes everything so much easier if you leave it enabled. You can always change the names later. Next, we need to allocate memory. Looks like we need 40 C bits, 15 Integers and 25 Floats. We could enter the starting address ourselves and hope there’s no conflicts, but it’s so much easier to let the software help you by clicking on Find Available Addresses. It scans your code and finds all of the available blocks of contiguous unused memory locations and lists them here. We don’t have any code so of course EVERYTHING is available, but if you try to add PID to an existing project this is a real time-saver. I’m going to start my PID C bits at C100. Then I’ll do the integers. Again, I’ll start at 100. And finally, grab a block of memory for the floats which I’ll also start at address 100. Great, these are the blocks of memory we set aside for PID. We see a green checkmark here, so we are ready for the next tab. It’s already green, so it’s fine as is, or if we want to we can add some limiting to the setpoint. This is great for when you want to limit what the system can do. Maybe you want to limit how hot a system can get or how cold or how much pressure. Stuff like that. We’ll leave that alone for now because we haven’t turned our system on and don’t know what it is capable of yet. The error term is also good as is, but we can square the error and use a dead band if we want to. We’ll look at those in more detail in the loose ends video. The PID Algorithm. We are going to use autotune to fill these in. We just need to give it something to start with and these are the values recommended in the help file. These are fine for now. We’ll talk about them in the loose ends video too. The bumpless mode is important to understand for autotune. When the system switches from manual to auto mode, if there is a big difference between the setpoint and the process variable, PID is going to try and correct the error as fast as it can by making big changes to the control output. In our temperature example that’s not a big deal because the system reacts slowly. But in a fast-moving system that can be dangerous both as a safety issue and a machine wear and tear issue. So bumpless mode 1 automatically sets the setpoint to whatever the process variable is, which makes the error zero, so there are no sudden changes in the control output. Once the system is running in auto, you can then carefully raise the setpoint to whatever value you want. But we want to tune our system for a specific setpoint. We don’t want it to move, so we need to choose bumpless mode 2, which turns that feature off and leaves the setpoint right where we put it. Both modes reset the bias term, which we’ll talk more about that in the loose ends video. Do we have a Direct or Reverse acting system? That is when we increase the output does the process variable, or temperature in our example, go up? Ours does, so we have a Direct acting system. If the temperature went down when the output went up, like in a cooling system, we would select Reverse acting. We have a green checkmark so let's move on to the output tab. We can change the output scaling if we need to. We don’t need to change it from the default zero to 100% because we want to drive the PWM output which needs 0 to 100%. We want that PWM signal to control output Y1 which goes to the solid-state relay. A one second period for the PWM signal is fine for our heating application. Green checkmark, next tab. These are really important, but we don’t know these values yet, so we are going to have to come back and fill these in later. This one is the process variable level when the control output is zero, and this one is the process variable level when the control output is 100%. Exactly what it says – the min and max process variable. PID needs to know this so it can scale things correctly and keep things in engineering units. Just remember, this is NOT the zero to 300-degree range of our sensor. It’s the range of the process variable which we are going to measure in the next video. This last tab is for setting up alarms, so you can enable different groups of alarms and the values to alarm at. We’ll skip that one for now, too. That’s it! We just worked our way around the PID loop and filled in all the blanks. I love the way this holds my hand and makes sure I don’t forget anything. Click OK and we now have a fully configured PID loop. And look at this – if we click on the PID List View, we see all of the automatically assigned nicknames. Each one begins with the loop name – now you see why you were limited to 6 characters – the type of function and the name. And that’s even expanded on in the comments section with clear understandable descriptions. We’ll take a closer look at this list view in the loose ends video. If you need another PID loop, just right click and do it all again. The click PLC can handle up to 8 simultaneous PID loops. Join me in the next video where we will set up our analog inputs for PID and get our PID configuration transferred to the CLICK PLC. Click here to see all the videos in this series. Click here to learn about AutomationDirect’s free support options and click here to subscribe to our YouTube Channel so you will be notified when we publish new videos.



No data returned!
An error has occurred! Please contact support
Videos Home > CLICK PID Tutorial Videos Part 3A - Configure PID part A 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