06.04.2017, 21:11
(This post was last modified: 06.04.2017, 21:14 by Erwin van der Zwart.)
Hi Mr. D,
Try one of the 2 scripts below : (put one of them in a event based script linked to the tag 'alarm')
BR,
Erwin
Try one of the 2 scripts below : (put one of them in a event based script linked to the tag 'alarm')
Code:
-- Without input value check
if grp.getvalue('2/2/2') == true then
grp.write('1/1/1', 50) -- or 128
end
Code:
-- With input value check on event value
if grp.getvalue(event.dst) == true then
if grp.getvalue('2/2/2') == true then
grp.write('1/1/1', 50) -- or 128
end
end
BR,
Erwin