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.

CPU I/O Load capacity LM5-Lite
#4
I disabled my scripts.CPU I/O level is now 0.05 1.65 2.92.I used block editor to create PID control for floor heating script.

Here's my script could help me to find why its looping.


Quote:require('custom.fbeditor20.Control')

Setpoint = grp.getvalue('21/1/0')
Current_value = grp.getvalue('15/1/6')
Manual = nil
Enable_manual_value = nil
Manual_value = nil
Invert = nil
min = 0
max = 100
kp = 200
ki = 10
kd = 0
Output_type = 'bit'
out = fbe_pid_controller(Setpoint, Current_value, Manual, Enable_manual_value, Manual_value, Invert, min, max, kp, ki, kd, Output_type, 'fb__1__Kat_Yerden_Is__tma_1__fbe_pid_controller__id')
if out ~= nil then
grp.write('21/1/5', out)
end
Reply


Messages In This Thread
CPU I/O Load capacity LM5-Lite - by mkaymak - 09.12.2021, 06:29
RE: CPU I/O Load capacity LM5-Lite - by admin - 09.12.2021, 08:39
RE: CPU I/O Load capacity LM5-Lite - by mkaymak - 09.12.2021, 09:19

Forum Jump: