Wiesemann & Theis GmbH

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

Application for logic.hub

An example in detail

Correct handling of the logic.hub

Here we would like to familiarize you with how the logic.hub works. Read the description on this page where we provide an overview of the Editor sections and explain the Dashboard.



What you’ll need:

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. The terminal inventory
2. Orientation in the Logic Editor - Nodes
3. Orientation in the Logic Editor - Workspace
4. Orientation in the Logic Editor - Info column
5. Creating an example flow

1. The terminal inventory

  • Click on the images to enlarge!

    Save terminals
    • After successfully logging on to the web interface of the logic.hub you will see in the left column the tab Terminal inventory.
    • Click on ADD W&T TERMINAL, or on the Plus sign to add devices from other manufacturers.
  • Set up terminals
    • Then enter the device article number, e.g. 57730 as well as the device name. This can be found either on the web interface of the W&T device under Communication Paths and then under MQTT, or using the last 6 places of the MAC address: wut-(last 6 places of the MAC). Now click on "Determine terminals" and save. Your W&T device is now linked to the logic.hub. Don’t forget to activate MQTT under the communication channels and enter the IP address of the broker (logic.hub).
  • Set up terminals
    • To link third-party devices, simply click on the plus symbol Add device
  • Set up terminals
    • All you have to do is enter the name, an optional description and the MQTT topic and fill in the remaining fields to get started.
  • It is essential to include each device in the terminal inventory, otherwise you will not be able to work with these devices on the logic.hub.


2. Orientation in the Logic Editor - Nodes

  • Save terminals
    • You can access the editor via the corresponding link on the overview page of your logic.hub.
    • On the left-hand side of the editor, you will find a list of nodes that are categorized according to their functions.
    • To use a node, simply drag and drop it onto your workspace.
    • To obtain a short description, drag the node onto the workspace; a short description now appears on the right.
    • By clicking on the node, you can also adjust it to your requirements on the right-hand side.
    • Depending on the type of node, many other properties can be configured.

3. Orientation in the Logic Editor - Workspace

  • Save terminals
    • The workspace is located in the center of the logic editor and is used to create your flows.
    • New pages can be added using the plus symbol Create new page in the middle of the workspace.
    • The page can be edited in the right-hand column, e.g. to change the name.

4. Orientation in the Logic Editor - Info column

  • The information column on the right-hand side shows you information on the elements you have selected, depending on the work step.

  • You will also find two additional symbols in the information column:

  • The error log Error log can alert you to possible errors or problems.

  • The check mark Runner shows you whether the Runner is connected.


5. Creating a sample flow

  • The logic.hub requires no additional nodes or links to be downloaded.

  • Click on the images to enlarge!

    Save terminals
    • For example, to synchronize a temperature, you can add a web thermometer to the page and use the node CONST.
    • For the node CONST select the analog mode and enter the temperature that the sensor should not exceed.
  • Set up terminals
    • Add an INPUT. For the terminal select the sensor which measures the temperature, in our case a W&T #57715.
  • Set up terminals
    • To compare the value, we use the node GE This switches to True (1) as soon as the value on the input is equal to or greater than the comparison value. In our case CONST(22).
  • Set up terminals
    • Alternately you can connect the GE output with a Web-IO digital output, for example to activate a lamp or trigger an acoustic signal if the thermometer value is exceeded. You can also visualize the output of the Web-IO in the dashboard. Connect the nodes as shown in the illustration and save the flow.
  • Set up terminals
    • Value exceeded, output is True(1).
  • Creating a dashboard

    Set up terminals
    • Click on Dashboard on the web interface of the logic.hub.
    • Create a new dashboard by clicking on ADD DASHBOARD.
  • Set up terminals
    • Insert a Ticker label and an LED label. The Ticker label is assigned to the sensor terminal and the LED label to the digital output terminal, then you can also see in the dashboard when a limit value is exceeded.
  • Set up terminals
    • For the Ticker label you can for example also select whether the value should have a decimal place. In our case we do not require one.
  • Set up terminals
    • You can also add a Header label in order to give the dashboard a header. You can add this under "Full-width tile".
  • Set up terminals
    • After saving your dashboard is complete and limit value monitoring is automated.
^