Hi.
So I finally got my HSC to work with the RA_HSCPlugin thanks to @PLC Pie Guy .
I'm using an AB 2080-LC20-20QWB with a 2080-MOT-HSC extension module.
My next challenge is to get the HSC counter, to measure the flowrate of my flow meter. My meter when at max usage is 100hz/100 pulses pr second, and that's when the flowrate is 15/Liter pr minute. I've done some thinking and my idea as of now, is to reset and store the value of the counter every 1 second.
After 1 second the value determines the flow by simple math. 66pps = 66% usage = 66% of max flow which is 15L = 15 x 0,66 = 9,9 L/Pr minute. The math is super simple, but the execution is not..
I have absolutely no idea how to reset the counter and store/forward the values to a calculation every second. I have tried multiple functions and looked in parameters for a solution, but with no luck.
I've also tried the build in HSC functions, but have not been able to make them work.
I'm trying to attach some pictures in the post.
https://imgur.com/a/QjKLfMw
So I finally got my HSC to work with the RA_HSCPlugin thanks to @PLC Pie Guy .
I'm using an AB 2080-LC20-20QWB with a 2080-MOT-HSC extension module.
My next challenge is to get the HSC counter, to measure the flowrate of my flow meter. My meter when at max usage is 100hz/100 pulses pr second, and that's when the flowrate is 15/Liter pr minute. I've done some thinking and my idea as of now, is to reset and store the value of the counter every 1 second.
After 1 second the value determines the flow by simple math. 66pps = 66% usage = 66% of max flow which is 15L = 15 x 0,66 = 9,9 L/Pr minute. The math is super simple, but the execution is not..
I have absolutely no idea how to reset the counter and store/forward the values to a calculation every second. I have tried multiple functions and looked in parameters for a solution, but with no luck.
I've also tried the build in HSC functions, but have not been able to make them work.
I'm trying to attach some pictures in the post.
https://imgur.com/a/QjKLfMw
Last edited: