17.06.2021, 12:42
I am using the PID function in FB editor but it is not calculating a value for valve opening. Anybody experienced this before?
PID in FB editor
|
17.06.2021, 12:42
I am using the PID function in FB editor but it is not calculating a value for valve opening. Anybody experienced this before?
17.06.2021, 14:06
As far I know FB PID is based on our script version. Have a read trough these threads and it should help you to debug it.
https://forum.logicmachine.net/showthrea...0#pid20270 https://forum.logicmachine.net/showthrea...1#pid20501
------------------------------
Ctrl+F5
17.06.2021, 16:34
I get no output at all. I also removed the PID in FB editor and tried with this info https://openrb.com/example-pid-thermostat-with-lm2/
added the PID to the User Libraries Code: PID = { and added the following script to the Resident Scripts Code: -- init pid algorithm But my output stays 0. I want to control a 3 way valve at the output to get a stable temperature at the valve for cooling. Current is the measured flow temperature Setpoint the requested flow temperature and Output is 0-100% (0-10V)
18.06.2021, 07:46
Your setpoint and the output is same group. For PID to work it must be live device with real feedback.
------------------------------
Ctrl+F5
18.06.2021, 09:21
(18.06.2021, 07:46)Daniel. Wrote: Your setpoint and the output is same group. For PID to work it must be live device with real feedback. OK, that was the problem, live feedback was already there as it runs to a selector (different PID in cooling and heating) The problem is in the fact it can't be a virtual object. Still in FB editor it won't work. |
« Next Oldest | Next Newest »
|