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
#18
Google translator didn't work well here Smile

Based on your description do it like that.
Tag objects v1,v2,v4  as you want  but not v4.  In my example it is setpiont, temp and delta but not switch.
Create event based script which will be triggered by your tag.
Code:
temp = grp.getvalue('Thermostat Temperature')
setpoint = grp.getvalue('Thermostat setpoint')
delta = grp.getvalue('Thermostat delta')



if temp >= (setpoint + delta) then

grp.write('Thermostat Switch', true)

else
  grp.write('Thermostat Switch', false)
end
Change group addresses as needed.

Attached Files Thumbnail(s)
   
------------------------------
Ctrl+F5
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: