I have one Micro 850 controller and also I have one flowmeter with pulse output. I need to create a program that will count the pulses and after a certain number of pulses the program should stop the pump. I was configure the high speed counter and set High point of pulses to 1500. The problem is that the program does not stop the pump when the counter counts 1500 pulses. I haven’t worked with these controllers so far and any help would mean anything to me.
I think I solved the problem, you cak take a look the attached files. I scaled the integer data and convert it to real data and now it works. I will test program a little more and inform you. Thank you in advance.