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.

Cancel Telegram
#1
Hello
I would need to cancel a telegram that was transmitted on the bus if a virtual address had a value of 1.
Example:
if the group address
1/1/1 Virtual Control = 1

that will cancel all the telegrams of the address:
2/1/1 Door opening = 1

so that the door does not open, I would also like to be able to cancel a telegram for hours, that is to say from 22:00 to 07:00 the address
2/1/1 Door opening = 1
it does not execute the opening when it is transmitted on the bus.

Thanks for helping, greetings
Reply
#2
Hi,

You can’t cancel telegrams, but what you can do is create a logic gate, if the virtual object is true then input -> output.

In script it would like this:

if grp.getvalue(‘32/1/1’) == true then
grp.write(‘1/1/2’, event.getvalue())
end

Put this as event on your input object, 1/1/2 is the output.

BR,

Erwin
Reply


Forum Jump: