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.

Delay script
#1
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 Smile.

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?
Reply


Messages In This Thread
Delay script - by josdegroot - 08.12.2022, 10:41
RE: Delay script - by admin - 08.12.2022, 10:59
RE: Delay script - by josdegroot - 08.12.2022, 11:29
RE: Delay script - by admin - 08.12.2022, 13:02
RE: Delay script - by KoBra - 15.08.2023, 16:32
RE: Delay script - by josdegroot - 08.12.2022, 15:49
RE: Delay script - by josdegroot - 10.12.2022, 07:56
RE: Delay script - by admin - 10.12.2022, 11:27
RE: Delay script - by josdegroot - 11.12.2022, 07:42
RE: Delay script - by admin - 16.08.2023, 06:19
RE: Delay script - by KoBra - 17.08.2023, 13:43
RE: Delay script - by myg - 17.08.2023, 10:27
RE: Delay script - by admin - 17.08.2023, 10:31
RE: Delay script - by sjfp - 15.11.2023, 12:02
RE: Delay script - by admin - 15.11.2023, 14:26
RE: Delay script - by ErkinVural - 23.01.2024, 09:26
RE: Delay script - by sjfp - 15.11.2023, 14:35
RE: Delay script - by Daniel - 17.11.2023, 13:34
RE: Delay script - by sjfp - 17.11.2023, 13:48
RE: Delay script - by admin - 22.11.2023, 09:52
RE: Delay script - by sjfp - 22.11.2023, 11:27

Forum Jump: