Micro800 PID instruction in CCW

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • In this lesson we show you how to configure the IPIDCONTROLLER function block in Rockwell Automation's Connected Components Workbench to do a Proportional Integral Derivative control in an Allen Bradley Micro800 Micro820 PLC.
    Get the full details of this lesson at controls.tw/yt...
    Items used in this video:
    PLC Trainer controls.tw/yt...
    PID Trainer controls.tw/pi...
    PLC Tools SIM-ALP2 Analog Simulator controls.tw/yt...
    The above links make these videos possible. Please use them!
    Support these videos while you advance your skills controls.tw/yt...

Komentáře • 86

  • @ShaneBowman-de8xr
    @ShaneBowman-de8xr Před 5 měsíci +2

    Hi Tim, Thanks for this video but in case nobody has pointed it out it is incorrect. You have the "Process" Input and the "Feedback" input switched. The "Provess" is actually the PV and Feedback is the feedback of the control output (CV or MV). The Rockwell Documentation confirm this.

    • @TimWilborne
      @TimWilborne  Před 5 měsíci +1

      Do you have a link? Check out page 537 of this manual from Rockwell.
      literature.rockwellautomation.com/idc/groups/literature/documents/rm/2080-rm001_-en-e.pdf

  • @chrisjonesTheOfficial
    @chrisjonesTheOfficial Před 4 lety +3

    Thank you Tim, it is very much appreciated for the time it takes to do this after a full day of work.

    • @TimWilborne
      @TimWilborne  Před 4 lety +2

      You are welcome Chris. As long as you keep watching, we'll make the time to make them.

  • @alonsohdzf
    @alonsohdzf Před 4 lety +2

    Like always great content! This is really helpful. Thanks for doing this and for having it available on CZcams, I can only imagine all the time and effort spent on your channel, keep it up Tim!

    • @TimWilborne
      @TimWilborne  Před 4 lety +3

      Thank you for your kind words Alonso. As long as you keep watching, we'll keep putting in the time.

  • @fredriklarsson997
    @fredriklarsson997 Před 3 lety +1

    Hi Tim.
    I have a suggestion for a video.
    Let's say you have a valve (normally closed) the PID will increase the value to start from closed to open, exactly like your fan.
    Now, lest say you want to start this normally closed valve in fully open state and then PID will lower the value to get the setpoint.
    I like your videos!

  • @rodrigomartinez4218
    @rodrigomartinez4218 Před 3 lety +3

    Muy buen video, gracias. Desde Córdoba Argentina.

  • @ardenburns8718
    @ardenburns8718 Před rokem +1

    Great video Tim! I have been having trouble retaining my setpoints after edits. I use a real tag for setpoints so I can edit them from an HMI but they wont save when I go offline, do edits and than reload program.

    • @TimWilborne
      @TimWilborne  Před rokem +1

      What do you mean by "reload the program". Upload or download?

  • @gar232010
    @gar232010 Před 4 lety +1

    Good job!! Excellent explanation!!

  • @PINOYTECHMARLON
    @PINOYTECHMARLON Před 4 lety +1

    Thanks your content is very useful

  • @bonniekelly5657
    @bonniekelly5657 Před 3 lety +4

    First, thanks for these excellent videos. I have a question, forgive me if you have already answered elsewhere. The topology looks different between when you initially built the project (reference 17:00) and what shows up when you are online (reference 17:30). Specifically it looks like the sources connected to the PID inputs "Process" and "Feedback" have been swapped. Did I miss something? OK, I guess I have two questions; does "Feedback" serve the same purpose as the "Tieback" input on the PID blocks in the old PLC5/SLC controllers?

    • @TimWilborne
      @TimWilborne  Před 3 lety +2

      Hi Bonnie, 17:30 is correct. I accidentally removed the part where I corrected it. I plan on making a supplemental video about it next time I have it setup.

  • @robertcain4643
    @robertcain4643 Před rokem +2

    i am curious how to configure a cascade loop control using a micro850 plc

  • @davem5392
    @davem5392 Před 3 lety +1

    I understand why you type variables and did not like to link function blocks with lines. But for beginners like me its much easier to understand.

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      Hi Dave. I wouldn't say that I don't like it as much as on more complicated function blocks, you may end up on multiple sheets and at that point you must use references to connect the function blocks between sheets.

  • @davezz19
    @davezz19 Před 2 lety

    Your a legend Tim, love your videos. Ive got a funny one for you. I dont have ANY_TO_REAL or ANY_TO_INT function blocks available to select. there are ANY_TO_LREAL and ANY_TO_LINT. Any thoughts?

    • @TimWilborne
      @TimWilborne  Před 2 lety +1

      Yes you do, this left me scratching my head for a while too! See video below.
      czcams.com/video/mhwkCTCU7As/video.html

    • @davezz19
      @davezz19 Před 2 lety

      @@TimWilborne Legend alright. Bit of a weird one problem aye, thanks for replying 😀

  • @heribertoruiz6591
    @heribertoruiz6591 Před rokem +1

    Tim. I am using RA_TEMP_CONTROLLER function block, everything working good, I can make autotuning and PID works perfect, but once I turn the power off and on again I am loosing the PID values, all of them are "0". I do not understand, because set point and other values the PLC is holding them (I am using retained option). How can I hold the PID gains once I turn the power off? thanks!

  • @jimbass924
    @jimbass924 Před 3 lety +1

    Great content!

  • @barryb3476
    @barryb3476 Před měsícem +1

    Hey Tim, I am trying to insert values into my gains, but it will not accept any values I put in there and reset them to 0. I try while online and offline. I am assuming that is why I cannot get my PID active and get an output. The AutoManual is true. Any clue what I am doing wrong? My rung is true up to the PID.

    • @TimWilborne
      @TimWilborne  Před měsícem +1

      Make sure your are trying to change the tag associated with the gains on the left side of the instruction and not the OutputGains on the right side.

    • @barryb3476
      @barryb3476 Před měsícem +1

      @TimWilborne I was but did notice that I was trying to use PID and not the IPID with the built-in auto tune. I think I got it now. Thank you sir!!!!

    • @TimWilborne
      @TimWilborne  Před měsícem +2

      That is great to hear! We are getting ready to freshen up the PID videos and I'll detail out the CCW more.

  • @amar5269
    @amar5269 Před 4 lety +1

    Please make training video on hsc control with pid

    • @TimWilborne
      @TimWilborne  Před 4 lety +2

      Hi Amar. I'm trying to work out some hardware to do this with.

    • @amar5269
      @amar5269 Před 4 lety

      @@TimWilborne tim please don't mind but my previous problem isn't solve

  • @jacobhanberg8657
    @jacobhanberg8657 Před 2 lety +1

    Thank you Tim, all your videos are very helpful. Im having a a problem with my the any to word function, it doesnt seem to convert for my AO and just transfers the the real number number across. got any ideas why this is?

  • @user-ww2yo7kv6e
    @user-ww2yo7kv6e Před 3 lety +1

    Hi Tim, I am a little bit confuse about the value put into the Process. Before you download the program, I saw the Process tag name is PID_Command_Speed. After the downloading I found that the Process tag name is Actual_Position. Did you switch those two tags before you download the program? Thank you very much

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      17:30 is correct. I accidentally removed the part where I corrected it. I plan on making a supplemental video about it next time I have it setup.

  • @Hamptoniasty
    @Hamptoniasty Před 4 lety +1

    Hi, thx for videos for micro 800, its soo hard to find anything in english on youtube about it. Any chance for something about modbus and reading or writing registers?

    • @TimWilborne
      @TimWilborne  Před 4 lety

      Hi Hampton, yes we have videos on Modbus coming. Stay tuned and thanks for watching!

  • @rousannuman
    @rousannuman Před 3 lety +1

    QUICK question, why did you have to turn the potentiometer to run the fan???

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      It has a trim potentiometer. In some upcoming videos I'm going to use it to "upset" the PID process, simulating corroded terminals.

  • @hrc100
    @hrc100 Před 3 lety +1

    Hi Tim. your video is really good!, I would like to know how to use the PID for temperature control using micro 820.

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      It would be the exact same as this video.

    • @hrc100
      @hrc100 Před 3 lety +1

      @@TimWilborne you are right, but you are controlling an analogic output and I want to controller a digital output (solid state relay).

    • @TimWilborne
      @TimWilborne  Před 3 lety +2

      Gotcha. You would need to convert it to a PWM. That would make a good video.

    • @darshitsurti
      @darshitsurti Před 2 lety

      czcams.com/video/rBQVfCUuhfs/video.html. This video could help you.

    • @KarlaSanchez-tr7vz
      @KarlaSanchez-tr7vz Před rokem

      @@TimWilborne Did you ever make a video over this?

  • @hrc100
    @hrc100 Před 3 lety +1

    Hi Tim. I have a project in the company where I work, is about a temperature control. i already did a project using any_to_real and comparators just to activate outputs, but the temperature is taken to much time to stabilize. do you believe the PID could help me? do you give any personalized training?

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      Hi Heriberto. It is possible but there are too many variables to say for sure. We do training on Studio 5000 and while we may touch on PIDs, it isn't designed to help you program them. twcontrols.com/plc-lab

  • @ceiecentroeducativo8439
    @ceiecentroeducativo8439 Před 2 lety +1

    Hello Tim... is there a way to write the Kc, I and D gains remotely? I've been trying but the "PID_GAINS" variable is not in a "Write mode". There is not much information in the RA manuals. Thanks a lot.

    • @TimWilborne
      @TimWilborne  Před 2 lety +2

      Make sure you are specifying the element such as PID_Gains.Kc. Then you would just move a REAL number to it.

    • @ceiecentroeducativo8439
      @ceiecentroeducativo8439 Před 2 lety

      @@TimWilborne Thanks! I'll try it!

  • @johnarroz2327
    @johnarroz2327 Před 4 lety +2

    Hey Tim, if you don't mind me ask, what's the name of the game your son is playing?

    • @TimWilborne
      @TimWilborne  Před 4 lety +2

      I don't think much of most of them. By my videos, you would think they play all the time but they get to play while I make videos. It is difficult to keep two kids quiet for hours 😅

  • @PINOYTECHMARLON
    @PINOYTECHMARLON Před 4 lety +1

    Sir can u make video how to configure, control and monitor the plc I/o through webserver ..

    • @TimWilborne
      @TimWilborne  Před 4 lety +1

      That is a little out of our channel norm but we do have a modbus series planned which may be able to include this. Let me do some brainstorming.

    • @PINOYTECHMARLON
      @PINOYTECHMARLON Před 4 lety +1

      @@TimWilborne ok sir thank you so musch

    • @PINOYTECHMARLON
      @PINOYTECHMARLON Před 4 lety +1

      @@TimWilborne Bec..i already try in Siemens..

  • @maxwellschaphorst8050
    @maxwellschaphorst8050 Před 4 lety +1

    Hey Tim could you make a video on how to use the Micro800 Simulator to simulate a PID control loop with CCW? Is this even possible to do? I'm guessing having the output affect the PV would be difficult to do without any direct correlation. Maybe using an equation to do it.

    • @TimWilborne
      @TimWilborne  Před 4 lety +1

      We have some exercises in the series that can be done in the simulator but eventually you need to get some hardware. Stay tuned.

  • @fjfiallo001
    @fjfiallo001 Před 2 lety

    Hi, Tim I am trying to change my PID Gains like you did in the video but they keep changing back to 0.0. Any ideas?

    • @TimWilborne
      @TimWilborne  Před 2 lety

      Does it change back immediately? Cross reference and it something is writing to it.

    • @fjfiallo001
      @fjfiallo001 Před 2 lety

      @@TimWilborne it changes immediately back as well as there is nothing in the cross reference

  • @xXDarkz_IluzionXx
    @xXDarkz_IluzionXx Před 3 měsíci

    Hi Tim, I hope you respond :D
    Look, I am trying to make a temperature PID, but on a Micro850, I see that in that PLC I do not have WORD outputs, how can I solve this?? Also to see if it is necessary to make other types of adjustments for the PID, I have a PT100 as a sensor and an SSR to activate my resistors.
    Thank you in advance for your answer.

    • @TimWilborne
      @TimWilborne  Před 3 měsíci +2

      Look at the Any_To instructions fir conversions

    • @xXDarkz_IluzionXx
      @xXDarkz_IluzionXx Před 3 měsíci +1

      @@TimWilborne Okay, any more points I should consider? Thanks for your prompt response

    • @TimWilborne
      @TimWilborne  Před 3 měsíci +2

      Points as far as what? But should solve your data conversion

    • @xXDarkz_IluzionXx
      @xXDarkz_IluzionXx Před 3 měsíci +1

      @@TimWilborne I mean, should I change any other aspect of the PID so that it is temperature, taking into account the sensor and the SSR?

  • @deepakkar418
    @deepakkar418 Před 3 lety +1

    sir i have a problem during build the ladder showing input variable unwired

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      Hi Deepak. Check out 17:30 for the corrections. I accidentally removed the part where I corrected it. I plan on making a supplemental video about it next time I have it setup.

  • @julianarias8947
    @julianarias8947 Před 4 lety +1

    How many control loops can an Micro850 run at the same time?

    • @TimWilborne
      @TimWilborne  Před 4 lety +1

      That's a loaded question. It would mostly depend on the memory available. Let's turn the question around. How many are you hoping to control?

    • @julianarias8947
      @julianarias8947 Před 4 lety

      Thanks for your response. I hope it can manage at least 8 PID control loops.

  • @lewblabencol
    @lewblabencol Před 3 lety +1

    You switched your feedback and process variable near the end right?

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      I don't recall doing that but it has been a while since I watched this one. What time in the video are you seeing it?

    • @lewblabencol
      @lewblabencol Před 3 lety +1

      17:00 you can see what the Function Block looks like off then when it’s on the inputs are switched.

    • @TimWilborne
      @TimWilborne  Před 3 lety +1

      @@lewblabencol I went through it and I don't see where the feedback and process variables are switched at any time.

    • @lewblabencol
      @lewblabencol Před 3 lety

      17:00
      Process = PID Speed Command
      Feedback = Actual Position
      17:27
      Process = Actual Position
      Feedback = PID Speed Command

    • @TimWilborne
      @TimWilborne  Před 3 lety

      Ah, you are right. Looks like I had an error and didn't note where I fixed it. I'll pin a comment about that. Thanks Benjamin.