TIA Portal: PID Compact - How to program and use it!

  Рет қаралды 252,514

Hegamurl

Hegamurl

Күн бұрын

Пікірлер: 155
@PeteVree
@PeteVree 5 жыл бұрын
This is great! Thanks so much for continuing with the phenomenal Siemens PLC videos. I have learned so much from you. Keep up the awesome content!
@hegamurl7434
@hegamurl7434 5 жыл бұрын
Thanks! I'll continue as much as I can! Also checked your channel, some good stuff on there too!
@Prithvi_Power_Engineers
@Prithvi_Power_Engineers Жыл бұрын
It is educative and simple to learn . Thanks.
@hakuzu88
@hakuzu88 Жыл бұрын
I programed in the past in simatic manager , one line for scale and unscale to read data and control the analog input in fonction of the analog input value. I used scale bloc to read analog input value and used the output real value to the comparaisons blocs. I used compares blocs if input are for exmeple >than 50% so i used move fonction to put 10% to the data type in input and i used this input to the unscale bloc to control the the flow of my tank . At the end i have lot of comparaison bloc , if i have 5% i will open and analogic output to 75% and etc ..., i think the pid bloc work with the same focntion but with others bonus fonctions I can notice i didn't have tia portal in the past this is why i have to programm like that ^^
@ultimatetian
@ultimatetian 2 жыл бұрын
Siemens made really great product, and you made it more easier to use! I never thought PID can be this easy in Siemens PLC. I guess now my fan operation is really depend on my intermediate relay's life.
@imrebaksa7650
@imrebaksa7650 2 жыл бұрын
Köszönjük!
@mohamedadelelridy7033
@mohamedadelelridy7033 3 жыл бұрын
Thank you very much. by end of my headache day, I love to spend one hour on your informative videos releasing all the daily pressure. thank you Hegamurl
@matheusbarros5080
@matheusbarros5080 2 жыл бұрын
Thank you my friend, I've spent almost two days trying to configure the PID control without sucess. Now it's working......
@kishorvalsalan1559
@kishorvalsalan1559 4 жыл бұрын
You are the best instructor with regards to automation tools. They way you present is just awesome.....
@armchairfreedomfighter
@armchairfreedomfighter 5 жыл бұрын
Mate, you're such a good teacher. Thank you for all the uploads!
@hegamurl7434
@hegamurl7434 5 жыл бұрын
Sure thing! As long as it's fun creating the videos and helps out, I'll keep them coming. But gotta take a week break, am on a business trip. But I plan continuing after
@anoop22march
@anoop22march 4 жыл бұрын
One of the best teacher you are Sir
@matt20012000
@matt20012000 3 жыл бұрын
Awesome videos fella, I've used a few now and they have been amazingly helpful. As people have said before you teach the subject really well. Thanks.!
@thomasb4422
@thomasb4422 2 жыл бұрын
That's a very good video! However one thing I'd change is the cycle time of the OB31. 1ms is really fast, and if you're using a slow PLC or a lot of PIDs the PLC could need more than 1ms to run the OB, which would cause an error. "Slow stuff" like this tank level and temperature can easily be controlled with a 100ms OB (this was kind of the "standart" with S7-300 and its OB35). Also if you're not using peripheral access to the In/Outputs there's also nearly no improvement in calling the OB twice as often as your PLC cycle time (e.g. if your average cycle time is 10ms there's almost no point in setting the OB cycle lower then 5ms). (the PLC will only update the values of IW and QW once it starts/finishes the OB1)
@XaviAllueva
@XaviAllueva 3 жыл бұрын
Thank you Sir, I really like the way you explain and elaborate things in your videos
@rafo21pe
@rafo21pe 2 жыл бұрын
hi great teacher i did follow all the configuration but somehow i can not start the pid controller . i can not change to run like you did on the 16:32 minute can you please tell what is the solution ?
@petrkamin
@petrkamin 10 ай бұрын
The Compact PID controller is in disabled mode - 0, regardless of the settings. Only downgrading the Compact PID from V6.0 to V3.0 in Technology blocks enabled the automatic mode. Is this a bug or a feature? Does somebody know?
@beast123im
@beast123im 5 жыл бұрын
Kindly share the link of how did you create this program of tank I couldn't find it in your tutorials. Thankyou for your time, your videos are really helpful. Happy New year from Duomo di Milano.
@hoangviettran4074
@hoangviettran4074 4 жыл бұрын
it's the most mystery of his previous video when he was saying that
@gercekamerika
@gercekamerika 3 жыл бұрын
After a year, did you find it?
@jiiggsj
@jiiggsj 5 жыл бұрын
Cheers mate. Your videos are very informative. All the best and keep passing the knowledge.
@pardeepgupta123
@pardeepgupta123 4 жыл бұрын
Great job. I am chasing you in all tutorials
@mustafardk
@mustafardk 3 жыл бұрын
Thank you very much! Awesome guides! Why didn`t I find your channel earlier...
@industrialautomation3470
@industrialautomation3470 Жыл бұрын
The simulation of PID_Compact V2.x with PLCSIM for CPU S7-1200 is not supported. PID_Compact V2.x can only be simulated for CPU S7-1500 with PLCSIM.
@santoshkumarpatro2772
@santoshkumarpatro2772 5 жыл бұрын
Great Job Sir...superb explanation....Hates off to you... Thanks ..
@MisShooter
@MisShooter 5 жыл бұрын
Great work! I really enjoy your video's.
@hegamurl7434
@hegamurl7434 5 жыл бұрын
You are very welcome! Thanks for watching
@electrocontrol.joseignacio7291
@electrocontrol.joseignacio7291 5 жыл бұрын
Fantastic video. Congratulations!!.
@pvasilavalentin
@pvasilavalentin 4 ай бұрын
Thanks, teachers in my school put videos with your work 😂
@Davidstinton
@Davidstinton 4 жыл бұрын
Thank you awesome break down of how to use a PID
@ГеннадийГрудяев
@ГеннадийГрудяев 3 жыл бұрын
Вы хороший учитель. Спасибо за видео.
@claudio1371
@claudio1371 4 жыл бұрын
Great explanation about pids. Thank you
@dsaasd5381
@dsaasd5381 5 жыл бұрын
Hey, I'm just wondering if you could make source code of the testing environment public. Do you think is it possible? It would help my final a lot.
@karoliskontrimas5118
@karoliskontrimas5118 4 жыл бұрын
Hi I have a question: If I have in my program more then one PID controller, do they have to be in separate cycle interrupts or on the same?
@hegamurl7434
@hegamurl7434 4 жыл бұрын
They can be in the same, no problem
@ajityadav1145
@ajityadav1145 3 жыл бұрын
Thanks a lot...i lerant so many things from your videos
@christian_t7954
@christian_t7954 2 жыл бұрын
Thank you for the incredible explanation !
@wanderajoseph5151
@wanderajoseph5151 3 жыл бұрын
You are very good teacher sir
@bazezikov15
@bazezikov15 3 жыл бұрын
your videos are god sent vielen danke bro
@hegamurl7434
@hegamurl7434 3 жыл бұрын
You are very welcome! Thanks!
@angelrivera3192
@angelrivera3192 9 ай бұрын
The same thing happened to you, the difference is that I was in the start-up with maximum pressure, I think this is part of the Siemens developers who must improve the software.
@alihajiaghaei7424
@alihajiaghaei7424 Жыл бұрын
Hi. It was perfect. I have some problem with tuning. When i start tuning i face with error: the out put value limit are not configured correctly or the actual value does not react correctly. How shoud i put Sampling time
@tanujayaedward2349
@tanujayaedward2349 3 ай бұрын
Hi, i wan't to ask something, so i tried program using pid compact, and i wan't to set the output minimum to 50 and outputt maximum to 100, because i wan't the output limit minimun 50, but it say error, "the output minimum must be -100 to 0", how to solve this error?
@fverboven
@fverboven Жыл бұрын
Hi Great video ! I had just one question Shoud the tme for the cyclic interupt always be set to 1ms? In some video's from siemens they set 100ms What is the correct time ? I m a bit confused as i m a beginner Thank you very mubh
@Sandman777-RTU
@Sandman777-RTU 5 ай бұрын
Sir i have a question for tank behavior DB in your simulation file why is there an array up to 9999?
@HamedAdefuwa
@HamedAdefuwa 2 жыл бұрын
this video would be amazing if we had the previous setup video of all the "already prepared stuff".
@hegamurl7434
@hegamurl7434 2 жыл бұрын
If I remember correctly I made a livestream about just that! Should be this one: kzbin.info/www/bejne/j2WUe6KnYtV6eLM
@Lyrics_And_Harmony
@Lyrics_And_Harmony 3 жыл бұрын
You should mention that its NOT possible to simulate PID with an s7-1200 PLC. Ive been going at it for hours trying to get this to work but finally found out its not possible on the siemens Forums. You would need to use a 1500.
@MarkNante
@MarkNante Жыл бұрын
thank you Sir, That's the information I needed
@petrkamin
@petrkamin 10 ай бұрын
PID_Compact V1.2 is supported by S7-1200 (under Technology blocks Compact PID Version V3.0).
@Lyrics_And_Harmony
@Lyrics_And_Harmony 10 ай бұрын
@@petrkamin i was referring to simulation... as in plcSim
@nitolsaha1924
@nitolsaha1924 4 жыл бұрын
I have a question. How to stop and start PID Block with condition? Example: If my temperature goes out of range PID output is deactivated and then restarts again when temperature is in range.
@stefanhorn2945
@stefanhorn2945 4 жыл бұрын
Thanks for you Videos and the very good explanations. Do you have Videos about Node-Red on plc and Data-Logging on HMI, i need to log ca. 10 values every second to hmi->USB-Stick. Is there a posibility to use e.g. array and move them to USB-Stick?
@andrevangijsel957
@andrevangijsel957 11 ай бұрын
Hey I am playing around with the pid compact in tia V17 on a S7-1200 PLC. What I do not understand is that the control output is still quite high ( 67.50) while the PV is already 31.4 celcius and the SP = 30. Played around with Kp, Ti,Td but the controller output does not return to below 10% if the PV comes close to SP(0.2C). This someout bugs me maybe you can explain. Thanks
@binarynumbers7681
@binarynumbers7681 2 жыл бұрын
Hey thanks for this wonderful tutorial. I’d like to try it out myself but I’m missing out your simulationblocks. Is this something you would like to provide…? 😅 Would be so thankful.
@tarekdableh1174
@tarekdableh1174 10 ай бұрын
please what is the best way to add 48 pid control loop (temperature control) and make it works in groups (so it will not swicth on all together) and thanks
@Juan_Argento
@Juan_Argento Жыл бұрын
Hello how are you...?? This PID and HMI project can be done on S7 1200 1214 ac/dc/rely..? Greetings from Argentina
@albert4704
@albert4704 3 жыл бұрын
i have v16 and a don't know why I cannot open technology objects, each time I try to open add a PID function my appears an error and my program get freeze and close.
@aamirawan7998
@aamirawan7998 3 жыл бұрын
Hello! How are you changing the "setpoint" of PID from HMI? I don't see a setpoint tag in the "plc tags" that i can associate with HMI to change the value from there. How to do it?
@ud9258
@ud9258 Жыл бұрын
Vielen Dank erstmal für deine Videos. Ich habe eine Frage. Wie kann ich bei pid Regler eine mindestdrehzahl programmieren? Der Regler startet fährt auf startdrehzahl danach übernimmt der Regler. Vielen Dank.
@ggchavhan
@ggchavhan 2 жыл бұрын
what if its inputs out of range at that PID block need to start manually from configuration window?
@dmuzina
@dmuzina 3 жыл бұрын
Why PID must be in cyclic interrupt? Why it can not be in normal block? Thanks
@isaacortegaromero5269
@isaacortegaromero5269 4 жыл бұрын
An excellent video! But I`m having some problems for connect the variables with the HMI, specifically with the graph, Please, Could you help me?
@rogeralosilladargent4068
@rogeralosilladargent4068 Жыл бұрын
Hello, one question. Can the 100% output of the PID be scaled in any other FC block?
@505Nur
@505Nur 4 жыл бұрын
I wish the best! Keep doing that!
@abdengineer6225
@abdengineer6225 4 жыл бұрын
hello i have this question let us assume that the pump wich fill the glass had a different behavior during time maybe it related by another store how will the pid treat that
@abdelmalek9682
@abdelmalek9682 2 жыл бұрын
Thanks Alot ma for your great lessons..!
@automatewithcaj
@automatewithcaj 9 ай бұрын
Can you share how you built the display?
@Reaper0931
@Reaper0931 11 ай бұрын
Hey Hegamurl, how can I put the input in temperature and get % ?
@kevinpena105
@kevinpena105 3 жыл бұрын
Thanks so much. Finally put my PID test to work after a long (like seriously a loooong time) trying. But i have a question regarding not the PID itself but your test program (OB1). How do you take an integer from the HMI so you can select what option (Auto, Manual, PID, 0 Value) you want to work with? I was trying with the "Set bit in tag" event but all it was doing was taking the integer and using it as a power of 2 (For example, choosing the option with set as an 3, made the tag take a 8 value). Thank you beforehand
@shinoskv
@shinoskv 3 жыл бұрын
@hegamurl brother can you please help , how can i solve error during pretuning output value limits not configured properly... please help...
@hericonan9
@hericonan9 3 жыл бұрын
How to show PID setting in HMI? Which the tag we can use?
@007Lifo
@007Lifo 5 жыл бұрын
Very Good Lesson. I have searched between videos for the program logic and Hmi screen for this video to apply it , I couldn't find them. Are they available ? I only could find the analogue input and output scaling but i couldnt find the program logic to operate PID. Thank you in advance.
@sanjar.mambetisaev
@sanjar.mambetisaev 5 жыл бұрын
hi, very good videos, now I need to work with PID but I met some problems , PID works just when I press "start" button in comissioning windows, but without this operation it doesn't work.
@martinnjoroge6006
@martinnjoroge6006 4 жыл бұрын
Thanks for the video. How would you configure the runtime wincc
@TT_S90
@TT_S90 5 жыл бұрын
It is a great resource.
@Huyautomation2901
@Huyautomation2901 Жыл бұрын
Could u do the series about making HMI professional
@nanjarsyabanul8301
@nanjarsyabanul8301 4 жыл бұрын
I think you should use ziegler nichols method to get starting parameters. Thank for your great video sir :)
@hegamurl7434
@hegamurl7434 4 жыл бұрын
CHR would also work, but yeah... calculating some parameters beforehand is useful! I also made a video on the "autotuning" function of the PID Block
@nanjarsyabanul8301
@nanjarsyabanul8301 4 жыл бұрын
Sounds good...👍 thanks again sir. I'll watch it
@Alex-pz7kr
@Alex-pz7kr 3 жыл бұрын
What's the method?
@elvisnzekwe3700
@elvisnzekwe3700 Жыл бұрын
Hi Hegamurl, love your vids! I'm currently doing a school project using an S7-300 controller, do you think you could make a vid explaining how Cont_C is used?
@framos9991
@framos9991 Жыл бұрын
Very educational! Thanks! 👌
@hegamurl7434
@hegamurl7434 Жыл бұрын
You are very welcome!
@gregorythompson6499
@gregorythompson6499 3 жыл бұрын
What do you use to simulate the PID. Is it a Lsim function or something you wrote yourself?
@90mantry
@90mantry 4 жыл бұрын
i have a problem with the pid block . i have set all the parameters accordingly but my controller is disable - inactive . how to resolve the issue...kindly guide me
@TomMeeusvd
@TomMeeusvd 4 жыл бұрын
Did you already found the problem?
@kdldllofjfkdkdodkdk4096
@kdldllofjfkdkdodkdk4096 4 жыл бұрын
I have the same problem that u have my output in pid is always 0 why !!!!! What did u do in 5 minute for solve the problem.....'' Sorry for my english ''
@lucianogutierrez5259
@lucianogutierrez5259 3 жыл бұрын
Hi, could you tell me how to change buttons size, in the curves? thanks
@marciocaster1524
@marciocaster1524 3 жыл бұрын
Hello! Great channel and videos! I have learned so much from you! I have a question: how should I configure cyclic interrupt to have 3 simultaneous Pid Compact? By example 3 tanks with different sensor values and set points? I tried to include 3 pid compacts in one cyclic interrupt and also 3 cyclic interrupts with one pid compact each with different phase offsets. But didn't work. They all stuck and stopped controlling the outputs. Thanks in advance!
@ilhamrahmatmuharam8501
@ilhamrahmatmuharam8501 4 жыл бұрын
Sir, if I use PER input and output do I have to make a function block for both?
@adammusthofabillah7762
@adammusthofabillah7762 3 жыл бұрын
how to used redundant system in plc s7-1200 🙏
@levietpro87
@levietpro87 4 жыл бұрын
Kindly explain how to make io field P, I, D value at HMI
@vanjapermiakov6778
@vanjapermiakov6778 4 жыл бұрын
Wonderful tutorial! I wish I had such a teacher
@perceptronsaber4479
@perceptronsaber4479 3 ай бұрын
شكرا جـــــــــــــــــــــــــزيلا ؛ فيديو رائــــــــــــــــــع
@pauldahlman4825
@pauldahlman4825 3 жыл бұрын
what was the video that shows how you created the code for this simulator. Thanks
@romangemo8103
@romangemo8103 4 жыл бұрын
Thank You very much for Your knowlage!
@spartakous
@spartakous 3 жыл бұрын
Hello!!! Could you please explain this to me with a sample? The difference between setpoint and process value is greater than 30% of the difference between process value upper limit and process value lower limit.  The difference between setpoint and process value is >50% of the setpoint
@kaakos9273
@kaakos9273 5 жыл бұрын
splendid video thank you ......... i tried to find in internet an information about the basic parameters for PID in case of (Pressure , Volume , heating ...) which should be used just as start parameters befor doing pre-tunning resp. fine-tunning . would guide me to some usefull resources especially for first time PID commissioning .??? Thx &regards
@Zwiggity
@Zwiggity 5 жыл бұрын
The PID values vary depending on the application, but I advice you to test the values on a simulation model before implementering the control law on a physical system to avoid the potential of damaging components. As far as PID tuning goes, I recommend looking up the "Ziegler Nichols tuning method".
@hegamurl7434
@hegamurl7434 5 жыл бұрын
Yep, ZN is a pretty standard method of tuning your system. It is based on some mathmatical formula, which are not to difficult to apply. The strange thing is that they are also based on some "tested constants"... so basically not 100% accurate (which you can never actually get). In the newest video of this series I show how you can use a "self tuning" method that is integrated in TIA Portal and newer PLC's that I prefer using rather than the manual ZN method
@HamedAdefuwa
@HamedAdefuwa 2 жыл бұрын
unfortunately without all the prepared stuff, i wasnt able to get this working
@RobNO
@RobNO 4 жыл бұрын
When I'm going to the tuning window, the online status of controller is showing the setpoint value but the input stays to 0. I can't start the PID on this window. Hence I'm changing the input in my simulation, it does not move in the tuning window (it moves fine on the PID ladder block). I did not program any "behaviour model" but it should still moves the input and the output right? I have 0 reaction of the controller... Edit: can it be due to the ":P" next to my variable name? Because the input is an ID address form a high speed counter
@TomMeeusvd
@TomMeeusvd 4 жыл бұрын
Did you already find the problem? I have the same issue.
@RobNO
@RobNO 4 жыл бұрын
I don't remember sorry. It was for my master thesis one year ago
@marcodenora8979
@marcodenora8979 4 жыл бұрын
Can i have the full project please?
@masumahmed7978
@masumahmed7978 3 ай бұрын
Have any ABB DCS tutorial
@michaelepstain7946
@michaelepstain7946 4 жыл бұрын
what is the link to last video?
@powervoodoo
@powervoodoo 4 жыл бұрын
Hello Sir, I have two projects at the school where I study, basically upgrading the school's water system. Challenges ... using a pump to pump water into the system but I have a problem with flow and pressure, it is possible to use two PIDs to regulate the speed at the same time that I do not exceed the pressure, the school pipes are no longer new so there is fear of excessive pressure. Second problem I have 10 resistors to heat water for the school gym and I wanted to use PID to individually activate each resistor nowadays the resistors activate all which consumes a lot of energy. Could the Professor help ??? Thank you
@joerg385
@joerg385 4 жыл бұрын
Just my thoughts on your topics: How should the flow be regulated? To maintain a specific working pressure? If so, the problem with the protection against overpressure seems to be solved automatically by just setting a safe setpoint for pressure. But be careful with the possibility by overshooting the pressure setpoint from the PID. Therefore some more details about this part of your project would be helpful. For the heating resistors it should be simple by defining the active number of heating elements at which state of PID-output. So for example your PID-output is 10% -> 1 resistor, 20% -> 2 resistors and so on...some hysteresis might be a good idea, for example: 12% R1 on, 8% R1 off... In this case, you have a cascaded regulation with the PID as a kind of master controller with several 2-point-regulators with hysteresis underneath. Hope this helps.
@powervoodoo
@powervoodoo 4 жыл бұрын
​@@joerg385 Fantastic .... thank you so much for helping. Well for the first question the problem is that the intention is that the entire installation maintains a pressure of 4 bar, whether there is 1 tap or 10 open, but we do not want to exceed 6 bar because there is the possibility of damage to the piping. As they are old installations I have to maintain a flow rate because of the boiler where it heats water for the gym, and thus ensure that there will not be a drop in flow or air entering the resistances. I've been watching and I know that Rockwell has this option of placing two PIDs and using two analog inputs to control an output. But I would like to use Siemens. I already know the programming platform and the equipment that is sold. For the resistors it seems a good idea I will test with simulator because as there are 10 resistors of 45kw and if it is always on and off it causes power failures. I think it is better to have a 10% rise and fall margin, so as not to create a PWM too fast and not have problems with the energy. I know it's complicated but we don't always have the best conditions, I'm Portuguese and we have good facilities but they are already old, this year it was 168 years old, but they work, but the person who is looking after the maintenance of everything is already very old then i am from electronics and i really like to program siemens i am trying to find a solution to help.
@EngASax
@EngASax 4 жыл бұрын
that was a really nice video. I had actually done a similar simulation while learning TIA Portal programming, but I always faced the problem of simulating the input (PV). so I wanna ask, how did you manage to simulate the input to be proportional to the output but does not immediately follow it? thanks in advance
@chitimelasimeaomaunze2578
@chitimelasimeaomaunze2578 4 жыл бұрын
How can i have your course fro the start?
@murillobau
@murillobau 8 ай бұрын
do you have a course?
@georgefouadfahmy2620
@georgefouadfahmy2620 4 жыл бұрын
Thank you for your information
@majidemami9187
@majidemami9187 4 жыл бұрын
i love u so much, thanx teacher
@dennisrubio2375
@dennisrubio2375 Жыл бұрын
we miss u bro
@Mltnzle
@Mltnzle 5 жыл бұрын
das war Klasse danke :)
@mdsajibahmed5611
@mdsajibahmed5611 11 ай бұрын
HMI Desing are not show
@hocmaihocnua9195
@hocmaihocnua9195 5 жыл бұрын
Great! Thank you so much
@danielkliza1945
@danielkliza1945 4 жыл бұрын
You set 1 second instead of 1000ms on PID controller.
@saireddy4469
@saireddy4469 5 жыл бұрын
HI SIR CAN U SPECIFY THE DATATYPES
@IK-qu9hw
@IK-qu9hw 5 жыл бұрын
Very helpful. Thank you..
@Bonniebontleng
@Bonniebontleng 2 жыл бұрын
I would like to inquire if you offer training online? What is your email sir? Doing a great job.
@anirudhnayal4596
@anirudhnayal4596 3 жыл бұрын
which university you are professor
TIA Portal: PID Compact - (Auto-)Tuning a PID Controller!
14:15
PID - What do the parameters mean?! Here's the answer!
14:28
Hegamurl
Рет қаралды 50 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
How to Tune a PID Controller - Made Simple!
14:34
PID Explained
Рет қаралды 8 М.
How to Program a Basic PID Loop in ControlLogix
13:12
RealPars
Рет қаралды 386 М.
PID Controller Implementation in Software - Phil's Lab #6
20:06
Phil’s Lab
Рет қаралды 216 М.
TIA Portal: PID Compact - Analog vs. PWM Output
20:14
Hegamurl
Рет қаралды 47 М.
PLC S7-1200 PID control with temperature full tutorial with WinCC RunTime
1:14:17
General Technology Knowledge
Рет қаралды 18 М.
How to Tune a PID Controller
8:43
RealPars
Рет қаралды 824 М.