Micro800 Counter CTU CTD Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.ค. 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/
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 43

  • @TimWilborne
    @TimWilborne  3 ปีที่แล้ว +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 2 หลายเดือนก่อน +1

    Most of time i watch your tutorial in ccw

    • @TimWilborne
      @TimWilborne  2 หลายเดือนก่อน +2

      Great!

  • @willthethrill521
    @willthethrill521 3 ปีที่แล้ว +2

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

  • @alnaseri3622
    @alnaseri3622 4 ปีที่แล้ว +1

    Great video Tim, thanks!!

  • @rangaswamy8604
    @rangaswamy8604 3 ปีที่แล้ว +1

    Good video, clearly explained.

    • @TimWilborne
      @TimWilborne  3 ปีที่แล้ว +1

      Glad it was helpful!

  • @sudhandiramanisundaram4909
    @sudhandiramanisundaram4909 3 ปีที่แล้ว

    Thanks Tim,

  • @nematalla1
    @nematalla1 2 ปีที่แล้ว +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.

  • @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.

  • @flaviomartins48
    @flaviomartins48 2 ปีที่แล้ว +1

    otimo conteudo.

  • @atanquerel
    @atanquerel 2 ปีที่แล้ว +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.

  • @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!

  • @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

  • @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 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.

  • @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

  • @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.

  • @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.

  • @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

  • @wandsonmarques9741
    @wandsonmarques9741 4 ปีที่แล้ว +1

    Teacher you have curse the CCW complet?

    • @TimWilborne
      @TimWilborne  4 ปีที่แล้ว

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

  • @johnrece6622
    @johnrece6622 2 ปีที่แล้ว +1

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

    • @TimWilborne
      @TimWilborne  2 ปีที่แล้ว

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

    • @johnrece6622
      @johnrece6622 2 ปีที่แล้ว +1

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

    • @TimWilborne
      @TimWilborne  2 ปีที่แล้ว +1

      @@johnrece6622 Which processor did you have selected?

    • @johnrece6622
      @johnrece6622 2 ปีที่แล้ว

      @@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.