Micro800 Counter CTU CTD Explained

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024

Комментарии • 48

  • @TimWilborne
    @TimWilborne  3 года назад +1

    Thanks for watching! If you are looking for the complete Connected Components Workbench PLC Training series, visit twcontrols.com/micro800-connected-components-workbench-lessons

  • @ridoychandraray2413
    @ridoychandraray2413 4 месяца назад +1

    Most of time i watch your tutorial in ccw

  • @willthethrill521
    @willthethrill521 3 года назад +1

    you made this so easy and fun to learn THANK YOU!

  • @rangaswamy8604
    @rangaswamy8604 3 года назад +1

    Good video, clearly explained.

  • @alnaseri3622
    @alnaseri3622 4 года назад +1

    Great video Tim, thanks!!

  • @stevedishon3663
    @stevedishon3663 13 дней назад +1

    Tim, I have very limited experience with CCW. I am trying to replicate an averaging routine I use in RS Logix 500, but I am yet able to get it to work. I use a timer, counter, addition, and divider routine and usually grab a value every five seconds for a total of ten grabs, the divide by ten so that I can average out a "bouncy" input. It would be awesome if you could cover this in one of your videos. These are very helpful videos, and it is clear that you pretty much have to throw out any RS Logix program procedure because trying to do it the same way just messes you up.

    • @TimWilborne
      @TimWilborne  13 дней назад +1

      While not for CCW, watch this video, it is likely a similar problem. Are you working with real numbers throughout you math?
      ruclips.net/video/oXMF1rDRtEM/видео.html

    • @stevedishon3663
      @stevedishon3663 13 дней назад +1

      @@TimWilborne Yes, except for where it insists on Double integers.

    • @stevedishon3663
      @stevedishon3663 13 дней назад +1

      This is very helpful, but the issue that we have is interference, not resolution. There is a radio tower close by and it seems to cause issues with analogs at the site. Using RS Logix 500 I was able to smooth these as musch as possible making the site successful in its operations, but haven't been able to pull off the same procedure for CCW.

    • @TimWilborne
      @TimWilborne  13 дней назад +1

      Double integers will result in rounding errors. Check out the Any _To_Real

  • @sudhandiramanisundaram4909
    @sudhandiramanisundaram4909 3 года назад

    Thanks Tim,

  • @nematalla1
    @nematalla1 3 года назад +1

    you are the best

  • @manelvargas8644
    @manelvargas8644 2 года назад +1

    Why numeric data entry with decimals are LREAL? Is possible to introduce a number directly as a real? I mean without using any to. Thank you.

  • @wandsonmarques9741
    @wandsonmarques9741 4 года назад +1

    Teacher you have curse the CCW complet?

    • @TimWilborne
      @TimWilborne  4 года назад

      Hi Wandson. I'm not sure I understand your question.

  • @atanquerel
    @atanquerel 3 года назад +1

    Hi Tim, great videos! Is there a way to not have the text for an input crammed into the symbol? I've tried having the Alias selected only, but this leads to issues with editing/viewing timer PTs etc?

    • @TimWilborne
      @TimWilborne  2 года назад +2

      Yes, it is a little tricky when it happens. Right click the shortcut to CCW and select properties, then compatibility, then it is one of the DPI settings.

  • @gregmyers8011
    @gregmyers8011 2 года назад +1

    I want to enter the PV value from the HMI. Since I can't browse tags, like FTV, what is the shortest easiest way to get a bool or numeric value to and from the HMI.

    • @TimWilborne
      @TimWilborne  2 года назад

      This series touches on that. twcontrols.com/allen-bradley-panelview-lessons

  • @dennisjiu1771
    @dennisjiu1771 3 года назад +1

    Great video as always. What can CU bit do? Can not understand 12:42 , "instead there are ten things again " part, Thank you very much

    • @TimWilborne
      @TimWilborne  3 года назад +1

      The CU bit is a "storage" bit so that the counter knows that it has already counted the current false to true transition.

  • @ethangarrett4193
    @ethangarrett4193 2 года назад +1

    Sir, do you know if the Micro 800 platform is capable of importing tags from a 750 or 525 series Allen Bradley drive the way a Compact or Control Logix can?

    • @TimWilborne
      @TimWilborne  2 года назад +1

      Hi Ethan, not sure what you mean by import tags from a Powerflex. Do you mean as in the tags that appear when you add a Powerflex to the I/O configuration? The easiest way is to program a User Defined Function Block such as in this lesson.
      twcontrols.com/lessons/control-an-ab-powerflex-525-drive-with-a-micro800-micro820-plc-with-a-user-defined-function-block

  • @gregmyers8011
    @gregmyers8011 2 года назад +1

    Hey Tim, I am trying to write a value from a T4T HMI "Numeric Entry" to the "CTUD_1.PV" preset value but it gives me a "Illegal access to function block instance parameter" fault. The data types are the same, DINT, on my MOV instruction. How do I use the HMI to set a counter preset value?

    • @TimWilborne
      @TimWilborne  2 года назад +1

      You wouldn't use a MOV, you need to assign that tag...such as myHMIPreset...to the counter preset.

  • @gregmyers8011
    @gregmyers8011 2 года назад +1

    Hey Tim, I tried sending the CTUD_1.CV to the HMI but no luck. I need to know more about the data structures of the micro800. I have a little trouble getting what I need to and from the HMI. I have to admit...I am surprised that A-B made a low cost product that is very useful.

    • @TimWilborne
      @TimWilborne  2 года назад +1

      Open up the Local Variables for that program and you will see the counter, a CTU would default to CTU_1. Open it up and you will see all of the data structures, the CV is a DINT.

  • @galihtanu
    @galihtanu 4 года назад +1

    Hi i've been purchasing master K10si LG PLC (10 years old PLC, ²nd hand) . Please🙏 make some tutorial about it. 😁

    • @TimWilborne
      @TimWilborne  4 года назад

      Can't say I've ever heard of that PLC.

  • @memoriosortiz3615
    @memoriosortiz3615 3 года назад +1

    Great video! I have one question sir! What if I want to select (from the screen) a value and this pass to the preset of the counter? Good bye from México

    • @TimWilborne
      @TimWilborne  3 года назад +2

      Hi Memo. I have a video coming on this in our HMI series but you will need to create two tags. One is a DINT, lets call it DintPre, and another with a type of TIME, lets call it TimePre. Set the time in milliseconds in your HMI to DintPre. Then use the Any_to_Time instruction to convert this to TimePre. The on your timer, put the TimePre in the PT. I hope that helps Meme and good luck!

  • @flaviomartins48
    @flaviomartins48 2 года назад +1

    otimo conteudo.

  • @sudhandiramanisundaram4909
    @sudhandiramanisundaram4909 3 года назад +1

    Hi , Could you please advice counter values (Preset & Accum) can be use DINT - can be use for compare comments, Appreciate your help thanks

    • @TimWilborne
      @TimWilborne  3 года назад +1

      Great question. then preset and accumulated values are in the TIME format. You can use the ANY_TO_DINT instruction to convert it to a DINT

  • @kadreanhasford5911
    @kadreanhasford5911 3 года назад +1

    How do I make the count go up if I'm using a simulator? I don't have a physical button that corresponds to the counter like that. I tried clicking on the counter and that doesn't do anything.

    • @TimWilborne
      @TimWilborne  3 года назад

      You can toggle the inputs on your simulator. See if this video helps.
      twcontrols.com/lessons/how-to-use-the-allen-bradley-micro800-simulator-in-connected-components-workbench

  • @johnrece6622
    @johnrece6622 3 года назад +1

    so far on these exercises my controller keeps getting program time exceeded the watchdog timeout value fault. code 0x0000.

    • @TimWilborne
      @TimWilborne  3 года назад

      That is strange John. You are just using the counter instruction?

    • @johnrece6622
      @johnrece6622 3 года назад +1

      @@TimWilborne yea, probably because I was using the using the simulator I guess.

    • @TimWilborne
      @TimWilborne  3 года назад +1

      @@johnrece6622 Which processor did you have selected?

    • @johnrece6622
      @johnrece6622 3 года назад

      @@TimWilborne micro 850 sim

    • @atanquerel
      @atanquerel 2 года назад +1

      @@johnrece6622 I get this too John. I haven’t got a fix for it, I tried changing the Windows affinity (in Task manager) as suggested in other videos but didn’t work for me. My system is running on a boot camp Mac.