Micro800 Counter CTU CTD Explained

Sdílet
Vložit
  • čas přidán 26. 07. 2024
  • In this video we are going to go over the CTU Count Up Counter and CTD Count Down Counter instructions that can be used by the Allen Bradley Micro800 PLC line in Rockwell Automation's Connected Components Workbench software. This includes the Micro810, Micro820, Micro830, Micro850, and Micro870 PLCs.
    View the entire Micro800 Connected Components Workbench lesson series at twcontrols.com/micro800-conne...
    Items used in this video:
    PLC Trainer twcontrols.com/plc-trainers
    The above links make these videos possible. Please use them!
    Support these videos while you advance your skills courses.twcontrols.com/
  • Věda a technologie

Komentáře • 43

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

    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 Před 3 měsíci +1

    Most of time i watch your tutorial in ccw

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

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

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

    Great video Tim, thanks!!

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

    Good video, clearly explained.

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

    you are the best

  • @sudhandiramanisundaram4909

    Thanks Tim,

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

    otimo conteudo.

  • @manelvargas8644
    @manelvargas8644 Před 2 lety +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.

  • @atanquerel
    @atanquerel Před 2 lety +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  Před 2 lety +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.

  • @dennisjiu1771
    @dennisjiu1771 Před 3 lety +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  Před 3 lety +1

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

  • @gregmyers8011
    @gregmyers8011 Před 2 lety +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  Před 2 lety

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

  • @gregmyers8011
    @gregmyers8011 Před 2 lety +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  Před 2 lety +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.

  • @memoriosortiz3615
    @memoriosortiz3615 Před 3 lety +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  Před 3 lety +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!

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

    Teacher you have curse the CCW complet?

    • @TimWilborne
      @TimWilborne  Před 4 lety

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

  • @ethangarrett4193
    @ethangarrett4193 Před 2 lety +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  Před 2 lety +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

  • @sudhandiramanisundaram4909

    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  Před 3 lety +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

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

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

    • @TimWilborne
      @TimWilborne  Před 4 lety

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

  • @gregmyers8011
    @gregmyers8011 Před 2 lety +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  Před 2 lety +1

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

  • @kadreanhasford5911
    @kadreanhasford5911 Před 3 lety +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  Před 3 lety

      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 Před 2 lety +1

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

    • @TimWilborne
      @TimWilborne  Před 2 lety

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

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

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

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

      @@johnrece6622 Which processor did you have selected?

    • @johnrece6622
      @johnrece6622 Před 2 lety

      @@TimWilborne micro 850 sim

    • @atanquerel
      @atanquerel Před 2 lety +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.