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.

TESTI NEI LAYOUT
#19
THANK YOU !!
happy birthday!

.. I applied it also using an and filter, here is what I wrote in the script:
value_2 = grp.getvalue ('3/3/2') - set speed
value_1 = grp.getvalue ('7/0/0') - summer / winter
value_3 = grp.getvalue ('6/0/2') - master command

temp = grp.getvalue ('2/2/7')
setpoint = grp.getvalue ('2/2/17')
delta = grp.getvalue ('3/1/202')


if delta <= (temp - setpoint) and (value_1 == false) and (value_3 == false) then

grp.write ('2/0/92', true)
grp.write ('6/0/92', value_2)

else
   grp.write ('2/0/92', false)
   grp.write ('6/0/92', 0) - byte to 0
  
  
end
Reply


Messages In This Thread
TESTI NEI LAYOUT - by Hosutech - 22.11.2019, 18:55
RE: Layout Text - by Erwin van der Zwart - 22.11.2019, 19:13
RE: Layout Text - by Hosutech - 23.11.2019, 18:43
RE: Layout Text - by Erwin van der Zwart - 23.11.2019, 23:54
RE: TESTI NEI LAYOUT - by Hosutech - 24.11.2019, 10:12
RE: TESTI NEI LAYOUT - by admin - 24.11.2019, 11:03
RE: TESTI NEI LAYOUT - by Hosutech - 25.11.2019, 05:48
RE: TESTI NEI LAYOUT - by admin - 25.11.2019, 07:32
RE: TESTI NEI LAYOUT - by Hosutech - 02.12.2019, 18:21
RE: TESTI NEI LAYOUT - by Hosutech - 25.11.2019, 21:59
RE: TESTI NEI LAYOUT - by admin - 03.12.2019, 07:18
RE: TESTI NEI LAYOUT - by Hosutech - 06.12.2019, 08:04
RE: TESTI NEI LAYOUT - by Daniel - 06.12.2019, 11:33
RE: TESTI NEI LAYOUT - by Hosutech - 18.12.2019, 19:35
RE: TESTI NEI LAYOUT - by Daniel - 19.12.2019, 08:37
RE: TESTI NEI LAYOUT - by Hosutech - 19.12.2019, 22:18
RE: TESTI NEI LAYOUT - by Hosutech - 20.12.2019, 06:36
RE: TESTI NEI LAYOUT - by Daniel - 20.12.2019, 08:50
RE: TESTI NEI LAYOUT - by Hosutech - 26.12.2019, 14:00
RE: TESTI NEI LAYOUT - by Hosutech - 14.01.2020, 08:23
RE: TESTI NEI LAYOUT - by Daniel - 14.01.2020, 08:48
RE: TESTI NEI LAYOUT - by Hosutech - 21.01.2020, 06:30

Forum Jump: