TIA Portal: How to make and use a flow totalizer ? | Using SCL language

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

КОМЕНТАРІ • 23

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

    The totalize function works fine but up to a certain accumulated value. Any ideas how to solve this?

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

    Thanks sir, but why are you deviding the flow which is already in( L/h ) by the period which will also be 1

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

      To make the flow unity , later multiplied by sample time

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

      @@faridautomation what do you mean by unity

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

      @@ahmedatef5563 supposed you by 10 banana by 100... So find each banana price divided 100 by 10.... Same way flow divided by hour (ms) make it unity then multiplied by sample time 100ms which will give you 100ms total flow

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

    How to know the flow rate from my device.. U used 50L/M..

  • @ThanhNguyen-wp8wj
    @ThanhNguyen-wp8wj Рік тому

    How do I calculate the flow rate of the flow?

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

      Can you please elaborate a little more ...

    • @ThanhNguyen-wp8wj
      @ThanhNguyen-wp8wj Рік тому

      @@faridautomation I want to calculate the flow when there is a pulse

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

      @@ThanhNguyen-wp8wj Yes it is possible ,give the spec of that flow sensor

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

    Sir hello, you dont have like this program for ladder logic not scl much better if you do this too in ladder thank you

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

      Yes , I like Ladder also it is a common love for all. But some functions are not available in Ladder. SCL has all types of functions and can be written easily as math equation.

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

      @@faridautomation hello Sir Farid you dont have ladder for this flow totalizer i cannot understand scl language i love your video sir i hope you granted me thank you

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

      I will try to make it

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

      @@faridautomation appreciated sir farid for those people just starting in plc programming that dont know scl language thank you sir if you do sir LITERS PER SECOND the totalizer or what ever you like i hope you do for us sir thank you VERY much

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

    Hi why you are not using 1Hz

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

      1 hz means 1pulse per second,
      But if you take less samples then your data may miss because it changes in between that pulse. If you take more sample data missing rate will be low. 10hz means 10 samples per second. That's the highest rate of Siemens system clock pulse. You take more samples just watch my OBs videos

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

      @@faridautomation thanks

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

    Please you didn’t change the cycle real data type to Real

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

      Thanks for your comments, If I understand rightly I shouldn't change the data type real to real.
      Yes I did not change the data type real to real . I did change from Time to Dint then Dint to Real. Because our input Flow is a real format. So it needs to convert other variables in real.