13.01.2023, 09:26
Up 100% is 9, down 100% is 1. Stop can be 8 (up) or 0 (down).
Dim up event script:
Dim down event script:
It is also possible to do alternate up/down by checking the state of the 4-bit object.
Dim up event script:
Code:
value = event.getvalue()
grp.write('1/1/2', value and 9 or 8)
Dim down event script:
Code:
value = event.getvalue()
grp.write('1/1/2', value and 1 or 0)
It is also possible to do alternate up/down by checking the state of the 4-bit object.