30.03.2020, 19:40
(This post was last modified: 31.03.2020, 10:01 by davidchispas.)
I want when the event is executed and an x value to send a true. I can do it with 1 bit objects but I need 07.2 Bytes . what else do i need to get the value?
Code:
Scanner_Rele = event.getvalue()
Scanner_Value = grp.getvalue('50/0/0')
User01 = '50/1/1'
User02 = '50/1/2'
if Scanner_Rele == true and Scanner_Value == 26 then
grp.write (User01, true)
end
if Scanner_Rele == true and Scanner_Value == 36 then
grp.write (User02, true)
end