Codesys #6: How to use counters (CTU / CTD / CTUD) in Codesys using Ladder Logic

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 13

  • @michaelcostello6991
    @michaelcostello6991 2 роки тому +1

    This is really good lecture. Thank you

  • @claudiocontardi206
    @claudiocontardi206 2 роки тому +1

    Very good explanation. Thank you!!

  • @aswinajith7747
    @aswinajith7747 2 роки тому +1

    Perfect. Thank you

  • @Flofet
    @Flofet 2 роки тому +1

    Thank you for your video!
    I've got several counters running, is it possible to reset them all with only "one click"?

    • @industrial_automation
      @industrial_automation  2 роки тому +1

      You're welcome.😃
      Yes you need just to assign same variable to the reset inputs of counters. Then in the visuallization use a button from tool box and common controls tab. Open the properties of the button and from input configuration -> tap -> variable select your variable. You can reset all the counters with just a click.

    • @Flofet
      @Flofet 2 роки тому

      @@industrial_automation Oh no so simple....I have thought the wrong way around

  • @danielewskidaniel
    @danielewskidaniel Рік тому

    Why CTU reset value after power loss? How to save value before power off or how to initialize value before ctu start counting

  • @SawekKowalski-st8lk
    @SawekKowalski-st8lk Рік тому

    Hi. Why CTU reset after power loss?

    • @industrial_automation
      @industrial_automation  Рік тому

      Hi. All this kind of variables( counter, Timer,...) will be reset after power loss. You can just use persistent variables and assign the desired value to them, so you will not loss the value with power off.

  • @doditshionza2827
    @doditshionza2827 Рік тому

    hi i cant see to find my CTUD even in libraries

    • @industrial_automation
      @industrial_automation  Рік тому

      Hi, Sorry for my late answer. There isn't any CTUD inside counter folder??? I realy don't have any Idea, why you don't have CTUD in your Codesys. Try to repair your Codesys. Or install it again.