Content Safety instructions ....................3 Introduction ......................3 Function of the PN/MQTT Coupler ............... 4 Connection ......................5 Power supply ..........................5 Network ............................5 Install GSDML file ....................6 Configuration in TIA Portal ................... 7 Parameterization of the PN/MQTT coupler ..................7 Operating principle of the PN/MQTT coupler ................
Retrofits, changes, or modifications to the device are strictly forbidden. 2 Introduction This document explains the initial commissioning of the PN/MQTT Coupler. The latest version of the documentation can be found at www.helmholz.de or scan the QR code directly. QuickStart Guide PN/MQTT Coupler | Version 2 | 15.02.2021...
3 Function of the PN/MQTT Coupler The MQTT protocol has become established in recent years as a simple transmission protocol for messages in the IoT world. MQTT stands for "Message Queue Telemetry Transport Protocol" and is an OASIS standard. Information on the MQTT protocol can be found here: mqtt.org The MQTT protocol always uses a central broker for communication between devices, which receives messages from e.g.
Broker). In the cloud, IoT systems such as HiveMQ, Amazon IoT, Microsoft Azure or Siemens Mind-sphere (in preparation) can be connected directly. White papers on the specific configuration settings can be requested from Helmholz Support. 4 Connection 4.1 Power supply The PN/MQTT coupler must be supplied with DC 24 V at the wide-range input DC 18 ...
5 Install GSDML file Please download the GSDML file ("GSDML-V2.35-Helmholz-PN-MQTT-coupler- ____.xml") at www.helmholz.de or scan the QR code. Install the GSDML file in the "Tools" / "Manage device description file (GSD)" menu in the TIA Portal. The PN/MQTT Coupler can be found in the hardware catalog at "Other field devices / PROFINET IO / Gateway / Helmholz GmbH &...
6 Configuration in TIA Portal Add the PN/MQTT coupler to the project and connect the coupler to the PROFINET network. Assign a device name and check the Ethernet address for the device. 6.1 Parameterization of the PN/MQTT coupler The parameterization of the PN/MQTT coupler is performed via the PROFINET hardware configurator (e.g.
Static IP address: If the address mode is set to "Static IP", the static IP address of the X2 network can be specified here. Static IP subnet mask: If the address mode has been set to "Static IP", the subnet mask of the X2 network can be specified here.
Page 9
The value of the input modules is initialized with 0 after restarting the coupler and is permanently taken over into the input area when a new value is received via MQTT. A bit additionally indicates the reception of a value in the PLC. For each module, the Topic name must be defined unambiguously in the module parameters.
If the PN/MQTT coupler has received the correct PROFINET name, it is recognized and configured by the PLC. If the configuration is correct, the PROFINET "BF" LED should be off. To set the PROFINET name, the Helmholz IPSet Tool can also be used, which can be downloaded free of charge from the Helmholz website.
7 Configuration of MQTT connection 7.1 Access to the web page As soon as the PN/MQTT coupler has been configured via the PROFINET PLC, the web page of the device is accessible via the PROFINET network. If the IP address is also available on the MQTT network page (static IP, DHCP successful), the web page is also accessible via the MQTT network.
7.2 MQTT Configuration The configuration to connect the MQTT broker can be done in the "MQTT" menu. In the "IP Address" section, the IP address of the right network port "X2" of the PN/MQTT Coupler is displayed and can be set if it has not been specified via the PROFINET configuration.
MQTT payload data format: The value of a topic is always sent in simple text form. -12345 Example: Some MQTT applications expect a structured form in JSON format. Example: "value": "-12345" Publish interval: An MQTT message is sent automatically when the output value in the PLC changes. If PLC values are sent that change very fast it is possible to limit the send interval.
8 Status and control via the PLC 8.1 Status of PN/MQTT Coupler The PN/MQTT Coupler provides a status (4 bytes) via the PROFINET input image: Byte/Bit PROFINET PS 1 PS 2 X2 network X2 network Input configuration Voltage Voltage IP address cable Byte 0 available...
They are also provided in our download area of the respective products under www.helmholz.de. We also offer to send you or any third party the complete corresponding source text of the respective open source software for an at-cost fee of 10.00 Euro as a DVD upon request. This offer is valid for a period of three years, starting from the date of product delivery.
Need help?
Do you have a question about the 700-162-3MQ02 and is the answer not in the manual?
Questions and answers