Content Safety instructions ....................3 Introduction ......................3 Function of the PN/ModbusTCP Coupler .............. 4 Connection ......................4 Power supply ..........................4 Network ............................5 Install GSDML file ....................5 Data exchange concept ..................6 Example of a configuration ......................7 Supported ModbusTCP function codes ..................
This document explains the initial commissioning of the PN/ModbusTCP Coupler. The latest version of the document and a detailed manual can be found at www.helmholz.de or scan the QR code directly. QuickStart Guide PN/ModbusTCP Coupler | Version 3 | 16.03.2021...
3 Function of the PN/ModbusTCP Coupler With the PN/ModbusTCP Coupler a simple and uncomplicated connection of a PROFINET network with a ModbusTCP network is possible. The PN/ModbusTCP Coupler allows the data transfer between a PROFINET controller and ModbusTCP stations. Received input data on one of the network sides is made available as output data to the other network side.
5 Install GSDML file Please download the GSDML file ("GSDML-V2.34-Helmholz-PN-ModbusTCP-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...
Data exchange concept The PN/ModbusTCP Coupler is a ModbusTCP server. It receives data via ModbusTCP, which is transferred to the IO image of the PROFINET PLC (inputs in the PLC) and provides data, which it receives from the PROFINET PLC (outputs in the PLC). ModbusTCP distinguishes 4 different data types: Discrete Inputs: Input bits;...
Holding Registers (read/write): • Write Holding Register (16 Bit) • Read Holding Register (16 Bit) All modules have as parameter the register number (Input Register, Holding Register) or the first bit address (Discrete Inputs, Coils). Example of a configuration Supported ModbusTCP function codes The PN/ModbusTCP Coupler supports the following function codes: QuickStart Guide PN/ModbusTCP Coupler | Version 3 | 16.03.2021...
7 Configuration in the TIA-Portal Add the PN/ModbusTCP coupler to the project and connect the coupler to the PROFINET network. Assign a device name and check the IP address on the PROFINET network (X1) for the device. Parameters of the PN/ModbusTCP Coupler The parameterization of the PN/ModbusTCP Coupler can be done completely via the PROFINET hardware configurator.
Page 9
ModbusTCP IP-address mode: Setting the IP address for the ModbusTCP network. Selectable are "DHCP", "Static IP", "use IP from the web page setting". Static IP address: If the address mode is set to "Static IP", the static IP address can be specified here. Static IP subnet mask: If the address mode is set to "Static IP", the subnet mask can be specified here.
Configure ModbusTCP modules For the data exchange between the ModbusTCP memory in the coupler and the PLC EA memory up to 300 modules can be plugged in the PROFINET configuration of the coupler. Now insert the desired modules for Discrete Inputs, Coils, Input Registers or Holding Registers into the slots. All modules have as parameter the register number (Input Register, Holding Register) or the first bit address (Discrete Inputs, Coils).
PLC. If the configuration is correct, the PROFINET "BF" LED should be off. To set the PROFINET name, you can also use the Helmholz IPSet tool, which can be downloaded free of charge from the Helmholz website. Scan the following QR code to download the IPSet tool: QuickStart Guide PN/ModbusTCP Coupler | Version 3 | 16.03.2021...
8 Status and control via PLC program The PN/ModbusTCP Coupler provides a status and a control byte via the PROFINET input image. Status Byte 1: Status-Bits PROFINET ModbusTCP MQTT MQTT configuration Power supply Power supply network has an Network connection connection completed.
9 Web interface of PN/ModbusTCP Coupler The web interface of the PN/ModbusTCP coupler provides an overview of the status and the configuration of the device, as well as the possibility to perform a firmware update. Furthermore, the ModbusTCP configuration can be set in the web interface, if this is not specified by the PROFINET configuration.
Page 14
The "Module config" page shows the IO modules defined by the PROFINET configuration. On the ModbusTCP page the data type and the address are also indicated. The current value is displayed in brackets. On the web page "ModbusTCP server settings" the IP address and the DNS name of the ModbusTCP network interface can be set, as far as these were not fixed by the GSDML configuration.
10 MQTT Publisher The PN/ModbusTCP Coupler provides besides the PROFINET / ModbusTCP communication also a MQTT Publisher. MQTT is a widely used and simple protocol for distributing information in large networks. For all IO modules defined in the PROFINET configuration, the current values can now be sent by the PN/ModbusTCP coupler via MQTT when the value changes.
10.2 MQTT data format Each configured slot sends its own MQTT message. An MQTT message consists of the topic name and the actual data value (payload). Both are usually transmitted in plain text format. The data is transmitted as hexadecimal bytes for coils and discrete inputs or as a 16-bit decimal number for holding registers and input registers.
The firmware remains at the current status. To reset via the website, use the button on the "Firmware upgrade" page: To reset the PN/ModbusTCP Coupler, the Helmholz tool "IPSet" can also be used via the PROFINET network.
13 Technical data Order no. 700-162-3MB01 Article designation PN/ModbusTCP Coupler PROFINET interface (X1) Connection 2x RJ45, integrated switch Protocol PROFINET IO Device as defined in IEC 61158-6-10 Transmission rate 100 Mbit/s full duplex I/O image size Up to 1024 Byte of input and output data Number of configurable slots PROFINET Conformance Class B, media redundancy (MRP-Client), Features...
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-159-3MB01 and is the answer not in the manual?
Questions and answers