I’d like to write one tag twice, but the function isn’t works. When gateway tag change script be triggered, the tag value will change to 1, but can’t back to 0. Is there something wrong?
Version: 8.1.13
The script is as below:
system.tag.write("Temp/ReplyBit", 1)
time.sleep(1) # Delay for 1 second
system.tag.write("Temp/ReplyBit", 0)