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
Career
Company
Version 1.0
·
Last edited on 2025-09-04

Send BVS Inspection results to CMTK MQTT Broker

1. Prerequisites

    1. SD Card Inserted and Portainer Setup
    2. BVS Inspection Program Setup
    3. Node Red Container Configured and running
    4. MQTT Broker Container Configured and running

2. BVS Configuration

    1.  

A blue and black rectangular object with white textAI-generated content may be incorrect.

      1. Select the “CONFIGURE” Tab
      2. Select the Settings Gear () in the top right corner
    1. A screenshot of a computerAI-generated content may be incorrect.
      1. Go to the “Process Communication” tab
      2. Enable MQTT
      3. Select “MQTT” as the Mode
      4. Input the broker address (CMTK address)
      5. Input the Broker port, 50008
        1. If you followed the document for setting up an MQTT broker container on the CMTK, the Broker Port is 50008.  If you used a different port when setting up the container, you will use the port number that you input.
      6. Set the “Broker Authentication” to anonymous; however, if you set “allow_anonymous false” in the MQTT Broker Container, then you will need to set this to “Username/Password” and input the credentials that you selected.
        1. A computer screen with white textAI-generated content may be incorrect.
      7. Press “Reconnect”
      8. If configure properly, you should see a  in the connection status.

3. Node Red Configuration

    1. Drag and drop an “MQTT IN” node into your Flow
      1. A black box with white textAI-generated content may be incorrect.
    2. Configure the “MQTT IN” node A screenshot of a computerAI-generated content may be incorrect.
      1. Input a name into the Server field.  This name can be one of your choosing.
      2. Select “Subscribe to single topic” for the Action
      3. Input the Topic
        1. balluff/D800005867700889/vision/inspection/data/fromdevice
          1. The Serial Number “D80005867700889” will need to be changed to the Serial Number of your BVS camera. 
      4. Select the “Edit mqtt-broker config node” button.
        1. A screenshot of a computerAI-generated content may be incorrect.
          1. Select the “Connection” tab
          2. Input the server IP address (CMTK IP address)
          3. If you followed the document for setting up an MQTT broker container on the CMTK, the Broker Port is 50008.  If you used a different port when setting up the container, you will use the port number that you input.
          4. Select “MQTT V5” as the Protocol
          5. If you set the MQTT Broker Container with “allow_anonymous true”, you do not need to configure the “Security” tab; however, if you used “allow_anonymous false” and created login credentials, those credentials will need to be input under the “Security” tab.
            1. A screenshot of a computerAI-generated content may be incorrect.
          6. Press the “Update” button in the top right corner
      5. Select “Done” in the top right corner
    3. Add a debug node to the output of the MQTT In NodeA screenshot of a computerAI-generated content may be incorrect.
      1. Connect a “debug” node to the “MQTT In” node that we just configured.
      2. Press “Deploy”
        1. Make sure the debug node tab is on before pressing Deploy
          1. ON
          2. Off A green tag with black textAI-generated content may be incorrect.

4. Test the MQTT-In Node

    1. Trigger an inspection programA screenshot of a computerAI-generated content may be incorrect.
      1. Make sure the camera is in “Monitor” mode
      2. Trigger an inspection
    2. Confirm data was received in Node Red A screenshot of a computerAI-generated content may be incorrect.
      1. Select the “debug” button in Node Red
      2. Once you trigger the inspection program, data should be populated based on the data that your inspection program is sending.  The inspection program in this example is for detecting that the plastic caps are inserted into an IO hub.  The data shown in the debug window is going to be dependent on what data you have selected for the results data in your inspection program.
        1. A screenshot of a computerAI-generated content may be incorrect.
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, delivery times, our inside sales department will be happy to support you.

Contact us directly by phone: +49 7158 173-555


Balluff GmbH

Zabergäustraße 8
73765 Neuhausen a.d.F.

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