Application for the logic hub
Time-controlled switching
On- and off delay, time pulses
This application provides you with a comprehensive overview of the options available for time-controlled switching with timers. The detailed instructions can be found further down on this page.
What you’ll need:
- A W&T logic.hub
- An MQTT capable device with digital in- and output
We are happy to provide you with the logic.hub for 30 days at no cost. Simply fill out the sample order form and we will send you the logic.hub for testing on open invoice. If you return the device within 30 days, we will cancel the invoice.
-
#50506
logic.hub
What’s explained:
1. Setting up the flow
-
Open the web interface of your logic.hub and click on Terminal inventory.
-
Click on ADD W&T TERMINAL, or on the to add devices from other manufacturers.
Click on the images to enlarge.
-
Then click on ADD SELECTED TERMINALS
-
Once all the terminals have been connected, you only need to Save.
Inserting a WEB-IO Digital
-
Please ensure that MQTT is activated on your integrated devices and enter the IP address of the broker (logic.hub).
-
Click in the WEB interface of the logic.hub on Logic Editor.
-
You are now in the Logic Editor. Create a new page by clicking on CREATE NEW PAGE. If you have already set up pages, you need to click on Plus to create a new page.
-
Add the node TON c Node (Turn-on-delay).
The TON node (Turn-on-delay) controls the delayed turn-on in automation systems. It only activates the output after a defined turn-on time, enabling precise control of starting processes. Ideal for applications requiring precise turn-on times.
-
Add an INPUT, a CONST and two OUTPUTS. And connect them as shown in the illustration.
-
To make the turn-on delay effective, you must set the CONST node to Analog and set the desired time: in our case to 5000ms.
-
Now assign the terminals to the inputs and outputs.
-
Optionally, you can connect another output to the analog signal to query the time value.
-
If you now save the configuration, you will already see that the time is running out and the output is switching.
-
In the web interface click on Dashboard.
-
Click on the three dashes on the left Open sidebar
-
Click on ADD DASHBOARD
-
Click on Edit tiles
-
Click on Add fullwidth tile
-
Click on Header label to give the dashboard an appropriate header.
-
Click on ADD SELECTED TILE.
-
Now select two LED labels and two ticker labels. You can also add a spacer in the center to give the whole thing a nice look.
-
Label the tiles and add the same nodes as in the editor. You have now visualized the view.
-
Finally you must save all and your dashboard is complete.
Setting up a dashboard
2. More nodes for similar purposes
-
If you have higher demands on time switching, there are more nodes available. You can find these in the Logic Editor under Timer.
-
The TOF node (turn-off delay) controls delays in automation systems by maintaining a defined turn-off time after a signal. This function is ideal for the delayed turn-off of devices or processes that require precise time control. Perfect for applications where controlled turn-off is crucial.
-
The TP node (timer pulse) controls precisely timed sequences in automation systems. It generates pulses to trigger actions after defined periods of time, such as switching devices on and off or synchronizing processes. Ideal for time-critical control tasks.