Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Ness

  • Rank
  1. Maybe use two PID configurations - one is active when the PV is above a set point, the other active when the PV is below. Or maybe just toggle the 'Reverse Action' bit when the (SP > PV) and back when (SP < PV) if the heating/cooling behavior is similar.
  2. Do you get a status for the drain valve? If not you could just start calculating flow when the tank volume changes by a certain amount. If you get feedback from both valves I would just do something like record the time it takes for each 1% level change when a valve is open. You can then just do: flowrate = (1% tank_volume)/(delta_time) I guess it mostly depends on what you want to use the measurement for. It also sounds like it's either only filling or draining. If both the fill and drain valve can be open at the same time you could have a situation where you're filling at 4 GPM and draining at 4 GPM and calculate a flow rate of 0 GPM.
  3. It looks like you already know the volume (or it's simple to calculate) and you want to calculate the flow rate? Wouldn't it be easier to calculate the flow rate in the PLC and send the result via MQTT?
  4. Thanks for the tip about printing to PDF! It looks like it displays twice the number of tag characters as the editor itself - I wish this was possible in the editor. I've tried installing UniLogic in a Linux VM with Wine and in Windows Sandbox. Sadly SQL Server doesn't work under either.
  • Create New...