Autor Thema: pulse in analogue out  (Gelesen 1140 mal)

Offline srd

  • Jr. Member
  • **
  • Beiträge: 95
pulse in analogue out
« am: Juni 21, 2021, 16:17:49 Nachmittag »
Is it possible to count the pulses from a water meter and use them to vary the opening of a valve (4-20mA) depending on rate of count, if the pulses increase open the valve more and if the pulses slow down close the valve a bit to maintain a good flow. I am trying to write a program in LD. Cheers

Offline Frohnius

  • Jr. Member
  • **
  • Beiträge: 40
Antw:pulse in analogue out
« Antwort #1 am: Juni 22, 2021, 12:35:11 Nachmittag »
of course is it possible ...
use the
frequency counter or the
high speed counter block
you can write your code in
FUP, KOP, ST or EDP