Wiesemann & Theis GmbH

Networking, sensors and interface technology for industry, office and IT

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:

Diagram: logic.hub as controller for light

Do you not yet have a logic.hub but would like to try out the example with no obligation?

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
    Product illustration: logic.hub

    logic.hub


What’s explained:



1. Setting up the flow

  • Click on the images to enlarge!

    Save terminals
    • Open the web interface of your logic.hub and click on Terminal inventory.
    • Click on ADD W&T TERMINAL, or on the Plus sign to add devices from other manufacturers.
  • Set up terminals
    • Then click on ADD SELECTED TERMINALS.
  • Save terminals
    • Once all terminals have been added, you only need to save.
  • Save terminals
    • Adding a Web-IO Digital
    • Make sure that MQTT is activated and that the IP address of the broker (logic.hub) matches.
    • Publish and Subscribe must also be activated, as shown in the image.
  • In the web interface of the logic.hub click 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 the Plus to create a new page.

  • Create comparison
    • Add the node TON c Node (Turn-on-delay).
    • The TON node controls the delayed switch-on in automation systems. It only activates the output after a defined switch-on time, enabling precise control of starting processes. This is ideal for applications that require precise timing when switching on.
  • Create comparison
    • Add an INPUT, a CONST and two OUTPUTS. And connect them as shown in the illustration.
  • Create comparison
    • 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.
  • Create comparison
    • Now assign the terminals to the inputs and outputs.
  • Create comparison
    • Optionally, you can connect another output to the analog signal to query the time value.
  • Create comparison
    • If you now save the configuration, you will already see that the time is running out.
  • Create comparison
    • Time expired: Output switches to "1"(True.)
  • Setting up the dashboard

    Create comparison
    • Click on Dashboard on the web interface of the logic.hub.
    • Create a new dashboard by clicking on ADD DASHBOARD.
  • Create comparison
    • Click on Edit tiles.
  • Create comparison
    • Click on Add fullwidth tile.
  • Create comparison
    • Click on Header label to give the dashboard an appropriate header.
  • Create comparison
    • Click on ADD SELECTED TILES.
  • Create comparison
    • 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.
  • Create comparison
    • Label the tiles and add the same nodes as in the Logic Editor. You have now visualized the view.
  • Create comparison
    • Finally you must save all and your dashboard is complete.

2. More nodes for similar purposes

If you have other requirements for a time switch, there are other nodes available. You can find these in the Logic Editor under Timer.

  • Set up terminals
    • The TOF node (switch-off delay) controls delays in automation systems by maintaining a defined switch-off time after a signal. This function is suitable for delayed switch-off of devices or processes that require precise time control. It is perfect for applications where controlled switch-off is crucial.
  • Set up terminals
    • 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, and is ideal for time-critical control tasks.
^