Login

Please login for an individual price calculation.

Forgot Password?

Always stay up to date

With our e-mailings you will receive regular information about products, events, services and Balluff.

REGISTER AS A COMPANY

We will check whether you already have a customer number with us in order to link your new online account with it.

Register
Products
Service & Support
Industries & Solutions
Company
Version 2.0
·
Last edited on 2024-12-17

SIEMENS PLC data in CMTK's Grafana - via MQTT data source

1. Introduction

In this application, we will display the data of the PLC SIEMENS in CMTK's Grafana via an MQTT database available with a new firmware version of CMTK, with a NodeRED container installed in CMTK.

2. Pre-Setup

  1. Install Docker on the SD Cart
  2. Install NodeRed Container on the Docker.
  3. Install a palette S7-Contrib on NodeRED -> See the NodeRed S7 Interface
  4. Install the Mosquitto container (Additional Broker) on the Docker -> See the CMTK Additional MQTT broker for BNI connection

3. NodeRED settings

In NodeRED, configure all input nodes for reading and add an MQTT Out node to enter the values in a Grafana MQTT database

Configure the broker (Mosquitto) in MQTT Out:

Create a topic according to your needs:

Set up this flow.

4. Grafana settings

Open a data source configuration in Grafana.

Open a Grafana mqtt-datasource.

Configure the URI connection according to your broker.

Click on Save and test.

Click on "Create a dashboard".

Select a grafana-mqtt data source.

Under "Topic", enter the topic that you have created in the MQTT Out node of NodeRED.

Save and apply.

The data is displayed on the dashboard

Energy consumption labeling
Energy consumption labeling

EPREL - European Product Database for Energy Labeling

Do you have any questions or suggestions? We are at your disposal.

For all questions concerning commercial topics such as quotations, orders, and delivery times, our inside sales department will be happy to support you: [email protected]

For Aftersales, Technical Support, Applications and
Product Inquiries we will be happy to support you: [email protected]

Feel free to contact us directly by telephone:

Inside Sales 859-727-2200 - press 1
Presales Tech Support 859-727-2200 - press 2
Aftersales Tech Support 859-727-2200 - press 3


Balluff Inc.

8125 Holton Dr.
Florence, KY 41042

Free sample product

In order to add a free sample product to the cart we will need to remove all the normal products from the cart. Are you sure you want to continue