TIA Portal: Counting Seconds

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

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

  • @hegamurl7434
    @hegamurl7434  5 лет назад +17

    Two more hints:
    1. If you only want to count the seconds in a specific szenario, just put that before the clock memory in the LAD diagram (so as an "AND" combination)
    2. As the Clock memory works ASYNCHRONOUSLY it is not going to be 100% precise on each millisecond... the precision should be fine for every frequency

  • @legobricksbe
    @legobricksbe 6 месяцев назад +2

    This man is a legend, thanks for helping me with all these video :)

  • @Olavotemrazaodenovo
    @Olavotemrazaodenovo 5 лет назад +1

    Congratulations from Brazil. Thank you.

    • @hegamurl7434
      @hegamurl7434  5 лет назад

      Greetings back to Brazil from Germany!

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

    Hega, hi, can you help me with something? , I want to display the time it takes in each production cycle to know how many parts I'm doing per hour, any example approaching this?

  • @ptecheducation8200
    @ptecheducation8200 3 месяца назад

    hi, how to use 1hz for two functions to count two machine working time

  • @tungtrinhuc5742
    @tungtrinhuc5742 5 лет назад

    thank you Hegamurl ... i'm from Viet Nam. Your video is very useful !

  • @AmolBhombe
    @AmolBhombe Год назад

    Hello @hegamurl, Just had a doubt. Is it possible to work with multiple counters using only one DB? May be like, we could be able to use different structures or datatype blocks in a single DB for different counters???

  • @EricBalcon
    @EricBalcon Год назад

    If I choose a CPU from a S7-1200 is it possible that the system and clock memory is not available ?

  • @MBMech1986
    @MBMech1986 4 года назад +2

    Great job. Can I ask you what is the hardware of your computer?
    It works very fast and not much loading.

  • @jacquedreyer5479
    @jacquedreyer5479 6 месяцев назад

    Would be interesting to develop a run-hour-meter that could be used to, for example, count the number of hours a compressor or generator runs. From that the next service interval can be determined etc.

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

    how to make a stop watch from counters please explain for example i want to make a stop watch with functions get ready for 5 minutes then start work for 40 minutes the take a break of 15 mins and start again... Thank u

  • @amrabdellatif3736
    @amrabdellatif3736 Год назад

    how can i only count , I want to leave the PV empty in the counter

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

    Danke schön! Very well explained

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

    Hi ,
    Please explane how this NO Contact with a bit address is M0.5 is closing every second to activate the counter?
    I want to know how to program a running time of a machine.

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

      If you didn't find the answer by now: In the hardware configuration of the CPU you can activate clock timers and assign them to a specific byte, MB0 by default. Then M0.0 to M0.7 will switch in different speeds.

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

    Have a doubt while adding Counter to View runtime of a Pump

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

    HAY THERE
    THANKS FOR THE VIDEO
    I TRIED TO DO THE SAME AS YOU BUT THE MEMORY CLOCK BIT IS NOT COUNTING
    WHAT IS MAY BE THE CAUSE?

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

      same here. are you already solve the problem?

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

      @@pikoprasetyo8550 Did you set clock memory in the device settings

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

      Try as following:
      1.) Disconnect the online connection between your PC and the PLC (go offline)
      2.) Right click on your device in the project tree beneath devices & networks
      3.) Translate hardware and software
      4.) Upload your software to the PLC

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

    Can't seem to make it work for some. Did it just as you showed. The Clock Signal does not seem to cross neither a closed switch or open switch

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

      So i restarted the project and it worked ! Thanks for the Tutorial.

  • @tejas2175
    @tejas2175 Год назад

    How to make timer cound seconds in decrement like 60..59...58 like this if any idea share

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

    Hello ,
    Can you give me advice on how to count MS / milliseconds?
    Best regards,
    Boris

  • @raajpatil4918
    @raajpatil4918 Год назад

    Can I convert sec into milisec in Tia portal

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

    Muchas gracias, fue un gran video. 👌🏼

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

    In the first frequency range (1 Hz) we didn't observe any output bu in the second we are observing the output is setted, could you explain why?

    • @ylidzfatih
      @ylidzfatih Год назад +1

      As you see the CTU Block's PV its over than 60 thats why you are recieving an ouput signal

  • @kaakos9273
    @kaakos9273 5 лет назад +1

    since you are experienced in PLC how short should cycle time be from Safety perspective ?? for example in sorting devices or machines ?? and what the longest cycle time have you ever experienced ?? although i am very familiar with PLC but i watch your videos always :))) please make videos about implementing PID in Tia portal but as you would do it in practice
    Thx ®ards

    • @hegamurl7434
      @hegamurl7434  5 лет назад +2

      Hi Nedaa and thanks for your support!
      My next series will be leading to a PID controlled system, so stay tuned!
      About your questions on cycle time and safety perspective:
      If you have processes that need safety (e.g. emergency stop circuits, overload circuits,...) then you would use a so called "F-CPU" (Failsafe)... they have integrated modules that react on specific szenarios immediately (without looking at any cycle times, they are "event" triggered). Those PLC's are a HUGE topic on their own.
      As for cycle time: S7-1500 PLC's have a preset minimum cycle time of 1ms and a maximum cycle time of 150ms... everything between those two values is possible and highly depends on your program.
      Best regards!

  • @framos9991
    @framos9991 Год назад

    Thanks!

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

    Hey friend
    I have project with counter and I want to show the data on the webpage I want to create it.
    the project is project to count how many person go in locale every day, and i want to create HTML page to make chart with those data...
    Please who can help me with this.... and how can i make it if I can..........
    i work on CPU 1215 DC/DC/Rly
    Best regards

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

      Hi Hadi,
      What you need is to work with the "Webserver" function that 1200s support.
      There is a lot to it, but I explain the basics here:
      ruclips.net/video/4ntdj2VQOIA/видео.html

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

      @@hegamurl7434 thanks friend. But how to show or appear the number of the counter on website?? .. just to be know, i dont create html file yet because i dont know witch elements i want to code it on html file

  • @younesskaram9043
    @younesskaram9043 5 лет назад

    Hi I m karam from morocco, I m using s7 1200 and tow sinamic v90 servo drivers to drive tow cnc axes. I want to draw a cyrcle with it. So i calculate x and y position theoraticlly with trigonomtry but i coudn't implement it in ladder porogramme. Because i m using motion control object to create the axes and i m using realtive move bloc. Please help me

    • @hegamurl7434
      @hegamurl7434  5 лет назад +1

      Hi Youness... Unfortunately I have not really done anything yet with the Driver Technology Objects... so unfortunately can't help (yet) with this. But I wish you best of luck finding a good answer on the internet!

    • @younesskaram9043
      @younesskaram9043 5 лет назад +1

      @@hegamurl7434 thanx for your replay and continue your videos are very helpful. Thanx again.bro

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

    Hello Sir
    Need help from Dubai

  • @olimpiskeigre
    @olimpiskeigre Год назад

    It doesn reset after 60 sekunds. Output is allvays on.

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

    Danke Schön mate.

  • @kara96raza
    @kara96raza Год назад

    can you speak louder?

  • @jask320
    @jask320 6 месяцев назад

    Mine does not work and says "%M0.5 Adress to clock with ambiguous address" in the orange colour...
    - Fixed my tags in existing program... works