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 script
#3
Thanks Erwin,

I'm already a step further and it lookalike the scripts is working.


If I run the diagnostics inside ETS I see that the Logic machine sends an ON and OFF message to the group that has to turn the electrical radiator on... but nothing will happen....

The scripts that I'm using?

Do you have any idea why the group doesn't respond to the On and Off command? Do I have to set a datatype (switch?) somewhere? 

Code:
-- init pid algorithm
if not p then
  p = PID:init({
    current = '12/2/1',
    setpoint = '32/1/1',
    output = '12/0/7'
  })
end

-- run algorithm
p:run()

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
PID script - by josdegroot - 12.12.2019, 21:22
RE: PID script - by Erwin van der Zwart - 12.12.2019, 22:34
RE: PID script - by josdegroot - 24.12.2019, 18:50
RE: PID script - by Erwin van der Zwart - 25.12.2019, 08:42
RE: PID script - by josdegroot - 25.12.2019, 09:21
RE: PID script - by Erwin van der Zwart - 25.12.2019, 11:00
RE: PID script - by josdegroot - 25.12.2019, 16:05
RE: PID script - by Erwin van der Zwart - 25.12.2019, 16:13
RE: PID script - by josdegroot - 25.12.2019, 16:15
RE: PID script - by admin - 25.12.2019, 11:09
RE: PID script - by stavros - 10.06.2022, 12:48
RE: PID script - by admin - 10.06.2022, 12:54
RE: PID script - by stavros - 10.06.2022, 13:57
RE: PID script - by admin - 10.06.2022, 13:58
RE: PID script - by stavros - 10.06.2022, 14:09
RE: PID script - by admin - 10.06.2022, 14:12
RE: PID script - by stavros - 10.06.2022, 14:35
RE: PID script - by manos@dynamitec - 12.02.2024, 21:42
RE: PID script - by Daniel - 13.02.2024, 08:34

Forum Jump: