This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

pid heating cooling
#1
Hello to everynone,
I have completed a project using 13 pid control in one script. Everything is working except from the invert function in pid. for example one pid control is the following

if not p then
    p = PID:init({
      current = '0/0/1',
      setpoint = '0/0/2',
      manual = '32/1/1',
      inverted = true,
      output = '32/1/2',
      min=0,
      max=100,
      kp=1,
      ki=1,
      kd=1
    })
  end


p:run()

but when i an writhing false in the field inverted nothing is happened.
how i will invert the logic (heating cooling)?
Thank you in advance
Reply


Messages In This Thread
pid heating cooling - by stavros - 08.07.2022, 11:56
RE: pid heating cooling - by admin - 08.07.2022, 13:22
RE: pid heating cooling - by stavros - 08.07.2022, 14:00
RE: pid heating cooling - by admin - 08.07.2022, 15:27

Forum Jump: