@@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
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.
@@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 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
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
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.
The totalize function works fine but up to a certain accumulated value. Any ideas how to solve this?
I will check
@@faridautomation I already sent you the video. Thank you
Hope your problem is solved
Thanks sir, but why are you deviding the flow which is already in( L/h ) by the period which will also be 1
To make the flow unity , later multiplied by sample time
@@faridautomation what do you mean by unity
@@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
How to know the flow rate from my device.. U used 50L/M..
How do I calculate the flow rate of the flow?
Can you please elaborate a little more ...
@@faridautomation I want to calculate the flow when there is a pulse
@@ThanhNguyen-wp8wj Yes it is possible ,give the spec of that flow sensor
Sir hello, you dont have like this program for ladder logic not scl much better if you do this too in ladder thank you
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.
@@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
I will try to make it
@@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
Hi why you are not using 1Hz
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
@@faridautomation thanks
Please you didn’t change the cycle real data type to Real
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.