08.12.2022, 10:41
Hopefully someone here can help me with the following. My programming skills are very bad, but sometimes I can go a long way with some cutting and pasting .
I am looking for a scrypt for my LogicMachine with the following function.
If an ON is given at group address 0/0/1, a timer must start running for 6 minutes, after which an ON must be given to group address 0/0/2.
However, when an OFF arrives on 0/0/1, it must be passed on to 0/0/2 with 30 seconds delay.
So a delay of 6 minutes needs to be given when switching on and 30 seconds when swithcing Off may be right.
Does anyone have an example of this perhaps?
I am looking for a scrypt for my LogicMachine with the following function.
If an ON is given at group address 0/0/1, a timer must start running for 6 minutes, after which an ON must be given to group address 0/0/2.
However, when an OFF arrives on 0/0/1, it must be passed on to 0/0/2 with 30 seconds delay.
So a delay of 6 minutes needs to be given when switching on and 30 seconds when swithcing Off may be right.
Does anyone have an example of this perhaps?