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
  • AC Motors
  • 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

BRX Do-more Autotune PID Temperature Part 3A from AutomationDirect


Related Products

BX-DM1E-10ED13-D
BX-DM1E-10ED13-D Thumbnail
BX-DM1E-10ED23-D
BX-DM1E-10ED23-D Thumbnail
BX-DM1E-10ER3-D
BX-DM1E-10ER3-D Thumbnail
BX-DM1E-10AR3-D
BX-DM1E-10AR3-D Thumbnail
BX-DM1-10ED1-D
BX-DM1-10ED1-D Thumbnail
BX-DM1-10ED2-D
BX-DM1-10ED2-D Thumbnail
BX-DM1-10ER-D
BX-DM1-10ER-D Thumbnail
BX-DM1-10AR-D
BX-DM1-10AR-D Thumbnail
BX-RTB10
BX-RTB10 Thumbnail
BX-RTB10-1
BX-RTB10-1 Thumbnail
BX-RTB10-2
BX-RTB10-2 Thumbnail
BX-DM1E-M
BX-DM1E-M Thumbnail
BX-DM1E-M-D
BX-DM1E-M-D Thumbnail
BX-DM1E-18ED13
BX-DM1E-18ED13 Thumbnail
BX-DM1E-18ED23
BX-DM1E-18ED23 Thumbnail
BX-DM1E-18ER3
BX-DM1E-18ER3 Thumbnail
BX-DM1E-18AR3
BX-DM1E-18AR3 Thumbnail
BX-DM1E-18ED13-D
BX-DM1E-18ED13-D Thumbnail
BX-DM1E-18ED23-D
BX-DM1E-18ED23-D Thumbnail
BX-DM1E-18ER3-D
BX-DM1E-18ER3-D Thumbnail
BX-DM1-18ED1
BX-DM1-18ED1 Thumbnail
BX-DM1-18ED2
BX-DM1-18ED2 Thumbnail
BX-DM1-18ER
BX-DM1-18ER Thumbnail
BX-DM1-18AR
BX-DM1-18AR Thumbnail
BX-DM1-18ED1-D
BX-DM1-18ED1-D Thumbnail
BX-DM1-18ED2-D
BX-DM1-18ED2-D Thumbnail
BX-DM1-18ER-D
BX-DM1-18ER-D Thumbnail
BX-RTB18
BX-RTB18 Thumbnail
BX-RTB18-1
BX-RTB18-1 Thumbnail
BX-DM1E-36ED13
BX-DM1E-36ED13 Thumbnail
BX-DM1E-36ED23
BX-DM1E-36ED23 Thumbnail
BX-DM1E-36ER3
BX-DM1E-36ER3 Thumbnail
BX-DM1E-36AR3
BX-DM1E-36AR3 Thumbnail
BX-DM1E-36ED13-D
BX-DM1E-36ED13-D Thumbnail
BX-M1E-36ED23-D
BX-M1E-36ED23-D Thumbnail
BX-DM1E-36ER3-D
BX-DM1E-36ER3-D Thumbnail
BX-DM1-36ED1BX-DM1-36ED2
BX-DM1-36ED1BX-DM1-36ED2 Thumbnail
BX-DM1-36ER
BX-DM1-36ER Thumbnail
BX-DM1-36AR
BX-DM1-36AR Thumbnail
BX-DM1-36ED1-D
BX-DM1-36ED1-D Thumbnail
BX-DM1-36ED2-D
BX-DM1-36ED2-D Thumbnail
BX-DM1-36ER-D
BX-DM1-36ER-D Thumbnail
BX-RTB36
BX-RTB36 Thumbnail
BX-RTB36-1
BX-RTB36-1 Thumbnail
BX-04ADM-1
BX-04ADM-1 Thumbnail
BX-04AD-1
BX-04AD-1 Thumbnail
BX-08AD-1
BX-08AD-1 Thumbnail
BX-16AD-1
BX-16AD-1 Thumbnail
BX-04AD-2B
BX-04AD-2B Thumbnail
BX-08AD-2B
BX-08AD-2B Thumbnail
BX-16AD-2B
BX-16AD-2B Thumbnail
BX-04DA-1
BX-04DA-1 Thumbnail
BX-08DA-1
BX-08DA-1 Thumbnail
BX-04DA-2B
BX-04DA-2B Thumbnail
BX-2AD2DA-1
BX-2AD2DA-1 Thumbnail
BX-4AD2DA-1
BX-4AD2DA-1 Thumbnail
BX-2AD2DA-2B
BX-2AD2DA-2B Thumbnail
BX-4AD2DA-2B
BX-4AD2DA-2B Thumbnail
BX-08DA-2B
BX-08DA-2B Thumbnail
BX-04THM
BX-04THM Thumbnail
BX-08THM
BX-08THM Thumbnail
BX-4THM4DA-1
BX-4THM4DA-1 Thumbnail
BX-06RTD
BX-06RTD Thumbnail
BX-4RTD4DA-1
BX-4RTD4DA-1 Thumbnail
BX-08NTC
BX-08NTC Thumbnail
BX-HSIO1
BX-HSIO1 Thumbnail
BX-HSIO2
BX-HSIO2 Thumbnail
BX-08SIM
BX-08SIM Thumbnail
H2-DM1
H2-DM1 Thumbnail
H2-DM1E
H2-DM1E Thumbnail
T1H-DM1
T1H-DM1 Thumbnail
T1H-DM1E
T1H-DM1E Thumbnail
H2-DM-M
H2-DM-M Thumbnail
T1H-DM-M
T1H-DM-M Thumbnail


To learn more: https://www.AutomationDirect.com/Do-more-PLCs?utm_source=41SUi2JYDHU&utm_medium=VideoTeamDescription

(VID-DH-0015)

In this video we demonstration a closed loop PID Auto-Tune in action and how well it performs in this second part of the Auto-Tune video for the Do-more PLC. We'll also show you things to avoid and ways to get the most out of Auto-Tune to get you the best possible system performance. Side note: We do examples of OPEN LOOP tuning in the video on Manual Tuning.

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

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


Hide Transcript
View Transcript

Part 2 of this video series left us with a PLC that used the TIMEPROP instruction to create a PWM output on Y0. The PWM signal controlled a solid-state relay which modulated the power input to a 500-Watt heater which heated an enclosure that had room temperature air being pulled through it. We have an RTD sensor in the box which produces a 4-20 mA signal, so we can send it directly into WX0. This is our process ... an enclosure heater. I’m not showing the 24-Volt power supplies or the extra digital panel meters in this diagram just to keep things simple. Great. Now we take that digitized signal which ranges from 0 to 32767 and scale it to degrees Fahrenheit. That’s our Process Variable. It tells us what the current status of our process is. Why degrees Fahrenheit? Because we want to specify the desired temperature in degrees Fahrenheit. We call that the Set Point, which we will just manually set for this demo. Now that they are both in degrees Fahrenheit, we can subtract them to see how far apart they are. We call that the error. We then do the PID math which outputs a 0-100% range. Normally we would scale that to whatever the process needs, but our process happens to need 0-100%, so do we need scaling? Nope! This looks kind scary but guess what. All of this is done by a single instruction! The PID instruction. Once again, the Do-more engine does all the heavy lifting for us. So all we need to do is: Make sure the analog input is scaled correctly, add a PID instruction, and add a TIMEPROP instruction to generate the PWM output. Here we go … To set up the analog input, go to the dashboard and configure analog inputs. We’re using a 4-20 mA sensor and we do want to scale it here for 4-20 mA. The RTD sensor we are using goes from 0 to 300 degrees Fahrenheit, so we put that here. Notice that Do-more designer has already taken the 4 mA offset into account. That is, 4 mA corresponds to this digital value. I love that I don’t have to remember how to do that. And the final scaled temperature data is in RX0. We still have the room temperature sensor connected and the BRX PLC will complain if we don’t configure it, so I’ll go ahead and set that up so we can monitor the room temperature if we want to. Now we just put a PID instruction in our ladder code. Fill it out. We’ll need a new PID Structure – let’s call it OvenPID. This is a position PID. We’re monitoring the amount of heat, not how fast it’s changing. Be careful here. If you are measuring a motors speed, for example, do you choose position or velocity? Well, if you are measuring the amount of speed, not how fast it’s changing, then it is still a position algorithm. That does trip up a lot of people so be careful about which one you choose here. This tells PID that when it first starts, it should to set the setpoint at whatever level the process is currently at. That’s to prevent sudden changes when PID starts. In our temperature example that won’t be a big deal, so we’ll come back to this initialization stuff in other videos. We already scaled the process variable in the analog input dialog, but I am going to do it here again anyway, just so I can specify that I want the process variable to come from RX0. Otherwise, we would have to transfer RX0 to the process variable ourselves in the ladder code, right? We’ve already scaled it to 0 to 300 degrees, so we’ll scale it to that, which is no scaling. The beauty of using this scaling, even though we don’t need it, is that we can type the units in right here. Now going forward, everything we display about PID will be in degrees Fahrenheit and we don’t have to fool with raw data values. This is a forward acting process. That is if we increase the output, the temperature increases. A reverse acting process would be like a cooling system where as our control output increases, the process temperature decreases. PID needs to know that to get the math to work out. We’ll cover these options in the Loose Ends video. And as we saw on our block diagram, we don’t need to scale the output. The 0 to 100% that PID naturally sends out is exactly what we need to drive our PWM output. And since the PID output will be controlling the PWM signal, let’s go to the TIMEPROP instruction, fill him out like we did in the previous video, and make sure he gets his input from the OvenPID structure’s output. And let’s add some contacts to enable the various instructions. We need to turn on the exhaust fan, so let’s go to the dedicated First Scan system task and enable the fan so it runs continuously. Accept all of that. Send it to the PLC and put the PLC in RUN Mode. Nothing is happening because PID is in manual mode, which means we are controlling the PID output, not the PID instruction. And that’s a key point. Once the instruction is in place, PID is always running. The Auto Manual selection just decides if PID is automatically controlling the output of the instruction or if we are manually controlling the output of the instruction. Great, we now have our raw temperature data which is scaled to 0 to 300 degrees Fahrenheit for us in the analog input setup. The PID instruction takes that, does its math, then passes a 0 to 100% to the TIMEPROP instruction which creates the PWM signal to control the solid-state relay and ultimately the average heater power. We also enabled the exhaust fan. OK! The PLC is set up. Join me in the next video where we will tune the PID algorithm and then run some live demos to see how well it works! Click here to go directly to that video. Click here to lean about our Free tech 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 > BRX Do-more Autotune PID Temperature Part 3A 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
„