25.11.2024, 11:58
Create event script on your object which is triggering counter and change group address in this script to your counter object
Code:
counterObject = '1/1/1'
value = event.getvalue()
if value then
value = grp.getvalue(counterObject)
grp.write(counterObject, value +1)
end
------------------------------
Ctrl+F5
Ctrl+F5