RSLogix 5000 PID Setup and Tuning

  Рет қаралды 72,214

Shane Welcher

Shane Welcher

6 жыл бұрын

RSLogix 5000 PID Setup and Tuning | Online PLC Support
In this video, I show how to tune a PID in RSLogix 5000 while using a trend and adjusting the PID loop controls. I show how to make it react to the correct command using a slow control and then a fast control as well to give a very detailed example.
Studio 5000 PIDE Simulation Programming In Function Block
• Studio 5000 PIDE Simul...
Studio 5000 PIDE Auto Tuning
• Studio 5000 PIDE Auto ...
Brought to you by Online PLC Support
Click the subscribe button to keep up with my educational content on my channel.
Subscribe:
/ @shanewelcher
Also, if you have been having a hard time with servo controls, then please feel free to check out the links below, there are FREE SAMPLE VIDEOS to preview.
Servo Motion Mastery
bit.ly/2xJi08L
Advanced Servo Motion Mastery
bit.ly/2zoF6Up
onlineplcsupport.com/
Visit: www.allen-bradley-plc-trainin...
Other social media:
LinkedIn: / shane-welcher-sr
Facebook: / onlineplcsupport
#PID #PIDTuning #PLCPID

Пікірлер: 84
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
*Check out our training center: **allen-bradley-plc-training.teachable.com/*
@yvestj1
@yvestj1 3 жыл бұрын
Hi Shane, i want to congratulate you to this Video. I just found it while I was searching some Themes for tutorial Videos. The reason is that I´m working for the German Rockwell Distributer and make Videotutorials in German. This Video is for sure one of the best about Tuning a PID Loop.
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Thank you very much for the support & glad to see it is helpful
@rahulrpatil3005
@rahulrpatil3005 6 жыл бұрын
Best video on PID available till date... well done SIR... great video ...
@ShaneWelcher
@ShaneWelcher 6 жыл бұрын
RAHUL PATIL Thank you, this is why I make videos and training. I have two servo courses on Udemy and a patreon members group for custom training but again, thank you for the support on my KZfaq channel. Thanks, Shane
@billyfontenot6365
@billyfontenot6365 2 жыл бұрын
i enjoyed this video alot wish you do more pid loops awesome work on showing us
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
I have more PID videos, just use the search tab on my channel then all the videos will appear that I have. Hope that helps
@koffyolomide_mopao4350
@koffyolomide_mopao4350 Жыл бұрын
Truly speaking, this is la creme de la creme. Congrats Shane
@ShaneWelcher
@ShaneWelcher Жыл бұрын
I appreciate your comment, let me know where I can help
@timcombs7646
@timcombs7646 2 жыл бұрын
Very well done PID definition and instruction.
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
Thank you
@AcroReparos
@AcroReparos 2 жыл бұрын
Ola Shane! Ótimo vídeo! Abraço do Brasil 🇧🇷
@ManuelMartinez-fx6ql
@ManuelMartinez-fx6ql 4 жыл бұрын
Hi Shane very nice video, have you got any video where explains how to configure the simulate PV rung?
@ShaneWelcher
@ShaneWelcher 4 жыл бұрын
I think so, just search the channel to see.
@int3rf3ar
@int3rf3ar 6 жыл бұрын
Really thanks !!
@ShaneWelcher
@ShaneWelcher 6 жыл бұрын
Glad to help
@englandrasmussen3111
@englandrasmussen3111 5 жыл бұрын
Good video. Very informative. I am trying to control the PH of a water treatment system. My tolerances are pretty wide so I don't have to get it exact. What is the difference between the Process Variable and the Control Variable? Any tips on using a PID loop in RSLogix5000 with the PH as a process variable to control a mineral injection motor/pump? Upon further research, I have come to the realization that controlling PH is a nonlinear process so it complicates the matter.
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
The PV is the input value to the PID loop. The CV is the control The PID will react based on the set up of the PID loop but to be honest there are tons of more variables that need to be answered if you wanted to a solution to what you are asking. The setup of the loop matters greatly....meaning, physical setup and the PID loop itself
@mdwatkins1968
@mdwatkins1968 5 жыл бұрын
Thanks for sharing. How can you use this if it is a digital output, say to SS Relay controlling a heater with a Thermocouple as the input?
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
Use the PID error for logical control, I have a video on this on my channel, just search PID on my channel. I have the video and it is where I made an AOI to do this exact feature so it may be under and add on instruction search on my channel. If you can't find it then let me know and I will make sure I re-publish it.
@michaelpedersen9728
@michaelpedersen9728 5 жыл бұрын
Shane, first of all thanks for all the helpful and educational videos! A couple of questions about your PID setup: (1) at time 16:00/22:04, why your simulator in rung 2 has a calculated value PV1=1250.3518 while the PID process variable (PV1) shows 500.14243? (2) You use a 100 msec timer to run/control your PID in rung 1. In that context, what is the loop update time that you show at 19:41/22:04 of video? (3) Could you possibly add a video that explains more about the function of the different parameters of the PID configuration? Thanks in advance.
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
I can try but at the time my wife is days away from being induced so my son is about to be born. I will make a note to try to make one but feel free to remind me through my website bit.ly/2D4F2gj
@michaelpedersen9728
@michaelpedersen9728 5 жыл бұрын
@@ShaneWelcher No rush Shane. You should be with your wife during this special life-changing event. Congratulations! There is already a lot of good information in current video, just thought a little more could be said on parameter configuration.
@lambro8052
@lambro8052 6 жыл бұрын
Nice.
@fethilakhdari1078
@fethilakhdari1078 Жыл бұрын
Hello Shane, Is there a rational method to determine what should be changed, by how much and in which direction. It sounds as if we are making changes without any prior guidance or reason, and then if needed, and as often as needed, we are reversing these changes or acting on other parameters, or for that matter, reinforcing the previously made changes? There is a lot of guesswork that is not easily analyzed or planned for in this approach to tunning PID. Thanks anyway for sharing with us your expertise
@ShaneWelcher
@ShaneWelcher Жыл бұрын
First I would ask if you are using a PIDE or PID. Then I would say a lot depends on the actual device set up & the timing of the reaction from the devices used. Meaning, if you are making a lot of changes then it seems more like a mechanical issue. Whether pipe, valve, pump, air, flow, or whatever is being used. The process is very dependent on the process & how it's physically setup
@Douglasngarcia
@Douglasngarcia 3 жыл бұрын
Excelent.
@Rottweilerz
@Rottweilerz 3 жыл бұрын
Just wanted to add my 2 cents given I just went through a troubleshooting exercise with Rockwell. For Logix5000 they do not recommend having any conditions on the PID instruction rung, rather just keeping the instruction inside of a Period Task with the same interval as the Loop Update Time.
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
With your 2 cents accepted, make sure you know that these videos are just showing & teaching experience. Not anything written in stone. These are examples. If you know about PID programming through Rockwell then note that this is their actual sample code from years ago. The sample is just a test method from using conditions. That is a better way to teach. We all know that due to privacy rights, we can't show real life machines unless we own them
@Rottweilerz
@Rottweilerz 3 жыл бұрын
@@ShaneWelcher Right...but in my case, which could easily be the case of others, I ended up at this video as well as other forums where users have incorrectly advised using Timer DN bits as a condition in their PID instruction rung. This wasn't even the point of your video, but nonetheless I wanted to mention it since it was valuable in my particular case.
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
@@Rottweilerz I agree that other points can be said, note that all PID loops are different. They are dependant on the actual devices used & setup. This is what throws a wrench in teaching tuning so that is why I used the same code so that it would handle the tuning knowledge. At least, small piece of knowledge that people can learn from for what the P, The I, & the D stand for.
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Thanks for helping, hope all is well
@AlloyedFrequencies
@AlloyedFrequencies 10 ай бұрын
Thank You
@ShaneWelcher
@ShaneWelcher 10 ай бұрын
Anytime
@edinsonfabianbarbaavila5863
@edinsonfabianbarbaavila5863 5 жыл бұрын
hello Shane, i liked your video, i am working in a college project where i need used the module imc in block diagram but i dont know how tune this block, i have the instruction set manual but it doesnt say so much, i need help , please if you know any about that could you help me?
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
What software are you using exactly?
@JokerAnarchy
@JokerAnarchy 3 жыл бұрын
Hey Shane, I was wondering if a drive could cause a velocity error? I have a machine with 6 axis all set up the same. Only one axis has a high velocity error. We took apart conveyor and inspection all bearing and gearbox? Didn’t find anything to cause the velocity to spike. Could it be a bad drive. They are 25 plus years old?
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Could be the drive or the drive tuning but I would also check for noise. Dirty power from a lost ground or using an oscilloscope to on any speed reference wiring if any is used. Might also be the drive current is higher than expected. Example: Drive outputting double the flux current the motor. The start boost or run boost could be too high. There really could be a number of causes. Depends on the drive & the setup
@bikin3156
@bikin3156 3 жыл бұрын
I set the logic diagram and pid setting exactly the same as yours, but when i put the PID in Auto Operation then the Output strike to 100%, the curve move fast to 2000 (SP set to 250), is there I missed for something here?
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Maybe the PID tuning from what you are saying or either the scan rate of the processor. I used a periodic task at 75ms
@angeltobar5126
@angeltobar5126 5 жыл бұрын
Is posible use this PID in order to control motor speed of the spooler (winder or unwinder )? , if is not posible, which would be the reason ?thansk in advance
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
Angel Tobar Truthfully, I would write a routine for PI and not use a PID. The use of a PI is a natural logic control for winders and speed control
@gftmedia6572
@gftmedia6572 5 жыл бұрын
How i can made PID for 3 analog solid state relay connected to 3 heaters ?To keep the temperature on 50 Celsius
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
Look on my channel and search PID, there should be a video about that....I think PWM
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
It may be under Add on instructions so search that as well
@paulrogers8459
@paulrogers8459 5 жыл бұрын
Can a different formula be put into the compute instruction to allow the PID to simulate a PV - SP control action?
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
Yes, this was just an example. Nothing written is stone
@paulrogers8459
@paulrogers8459 5 жыл бұрын
I have been unsuccessful getting the PID to work in reverse acting PV-SP mode. Have you created a formula for that function?
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
@@paulrogers8459 I do in the sample logic I did in the video
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
@@paulrogers8459 I'm just getting home from my wife having our son, it may take a few days for me to get things situated so I can help out more.
@paulrogers8459
@paulrogers8459 5 жыл бұрын
Congratulations on the birth of your son. Yes, definitely no problem, whenever you may have time. The PID works great in SP-PV mode but not in PV-SP mode with that calculation in the compute instruction.
@angeltobar5126
@angeltobar5126 5 жыл бұрын
Thanks the answer, could share one example of routine for PI ? , and wthat happen with D gain ?
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
Thank you for the suggestion and the question, I will try to put something together. I am currently in process of making a new training environment to have a better place for everyone to learn from.
@namanmaheshwari7643
@namanmaheshwari7643 3 жыл бұрын
Sir, in CONFIGURATION of PID what is role of NO BIAS CALCULATION. does it effect the oscillation.
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
The best way to control oscillating in my opinion is to properly tune to loop. Although, if this is a real system that is currently working then please note. Physical, electrical, & the Proportional, the integral, & the derivative. There are more things to consider than just the program. Just keep that in mind
@namanmaheshwari7643
@namanmaheshwari7643 3 жыл бұрын
@@ShaneWelcher thank you sir.
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
@@namanmaheshwari7643 Welcome my friend
@jesusbrambilla8529
@jesusbrambilla8529 5 жыл бұрын
TB1 tag AS YOU HAVE CONFIGURED?
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
Please be specific, these are my older videos and it would help to know what you need help with.
@edinetgrunhed6000
@edinetgrunhed6000 Жыл бұрын
if you have sample or acd file it will be very good for us,anyway thanks for this helpfulvideo
@ShaneWelcher
@ShaneWelcher Жыл бұрын
Just build the logic that is shown, this way it provides you more value. Or you could join my PIDE training which provides files and a way to easily learn. www.allen-bradley-plc-training.com/p/pide-training-with-trainer-included
@vorapobautomation9760
@vorapobautomation9760 Жыл бұрын
What is the %output meaning in this PID block ?
@ShaneWelcher
@ShaneWelcher Жыл бұрын
That would be used for controlling a device in the field, I didn't show that because I simulated the logic to show how a PID works
@mostafamahmoud8804
@mostafamahmoud8804 3 жыл бұрын
someone give him a Nobel prize, please.
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Thank you for the kind words.
@subha3210
@subha3210 4 жыл бұрын
Best video and great work but need to zoom in the screen little bit
@ShaneWelcher
@ShaneWelcher 4 жыл бұрын
It's a free video, why complain? I can take it down if people don't like it
@subha3210
@subha3210 4 жыл бұрын
No I am not complaining , as a electronics engineer your tutorials bring me to the next level.It's only a request
@ShaneWelcher
@ShaneWelcher 4 жыл бұрын
@@subha3210 No worries, it is an older video & we all have to learn as we go so I have much better quality now
@spk7054
@spk7054 5 жыл бұрын
When use Auto_Req Or Manual_Req ?
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
Auto is for auto mode and standard controls generally but a manual is often used as a maintenance task or is something is wrong.
@spk7054
@spk7054 5 жыл бұрын
Shane Welcher thank you so much
@vorapobautomation9760
@vorapobautomation9760 3 жыл бұрын
What is the difference between Independent and Dependent mode ?
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
The way the PID equation calculates. Quick example is: Independent Changing one gains only affects that term and not any of the others Dependant Changing the controller gains you change the action of all 3 terms, proportional, intergral, derivative, at the same time
@vorapobautomation9760
@vorapobautomation9760 3 жыл бұрын
@@ShaneWelcher Thank you very much
@DeepakKumar-eg7hf
@DeepakKumar-eg7hf 5 жыл бұрын
LOOP UPDATE TIME ?
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
Deepak Kumar Yes, did you not watch the whole video? Please watch again my friend
@irfanghouri2010
@irfanghouri2010 5 жыл бұрын
Pls update new video
@ShaneWelcher
@ShaneWelcher 5 жыл бұрын
What do you want to see? This video is not that old as far as software. Do you mean software version?
@ramchargerxyz
@ramchargerxyz 5 ай бұрын
please use a bright colored pen next time
@ShaneWelcher
@ShaneWelcher 5 ай бұрын
I do in my new videos
PLC Programming a PIDE with a RMPS Instruction Ramp/Soak
12:12
Shane Welcher
Рет қаралды 2,8 М.
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
Хотите поиграть в такую?😄
00:16
МЯТНАЯ ФАНТА
Рет қаралды 3,6 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
Studio 5000 PIDE Simulation Programming In Function Block
42:08
Shane Welcher
Рет қаралды 12 М.
How to Tune a PID Controller
8:43
RealPars
Рет қаралды 771 М.
Set Up PIDE Auto Tuning in Studio 5000
13:41
Tim Wilborne
Рет қаралды 19 М.
Adding a Powerflex 525 to RSlogix 5000 over ethernet
16:56
PLC Automation Training
Рет қаралды 152 М.
Read and Write Data in MS Excel, using RSLinx to and from ControlLogix
15:27
Robotics & Automation - Electro-Mechanical
Рет қаралды 36 М.
Studio 5000 PIDE Auto Tuning
12:47
Shane Welcher
Рет қаралды 10 М.
User Defined Data Types - Studio 5000 Logix Designer
14:12
myplctraining
Рет қаралды 12 М.
Introduction and basic set up for PID Controller using RSLogix 5000
18:35
Matrix Technologies, Inc.
Рет қаралды 3 М.
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47