23.10.2017, 20:39
(This post was last modified: 23.10.2017, 20:40 by Erwin van der Zwart.)
Hi,
Just attach this as event based script to your object 1/1/6, it will be triggered on every event update / change so there is no need to cyclic check the object:
BR,
Erwin
Just attach this as event based script to your object 1/1/6, it will be triggered on every event update / change so there is no need to cyclic check the object:
Code:
value = event.getvalue()
if value == true then
alert('Fire alarm received')
else
alert('Fire alarm not active')
end
Erwin