Opening CODESYS project and adding Modbus (TCP/IP) devices

To be able to connect JUMO Modbus devices to the variTRON system via TCP/IP, a free LAN port must be available.

In the following example, the network settings for the LAN2 connection of the variTRON system are configured via the Web Cockpit / JUMO smartWARE Setup. The Method must be set to Manual. The desired addresses for the IP address and the Subnet screen must then be input.

image-20260714-104948.png

Open a new/existing project with smartWARE Setup. The project may be empty or be a Visu template. Select the CODESYS instance which contains the JUMO Modbus devices (package) for the programming system.

image-20260714-105259.png

The CPU settings in the PLC application now have to be opened and the IP address of the variTRON system has to be input.

image-20260714-105310.png

In order to connect the Modbus TCP/IP interface to the CPU, right-click Add Device…

image-20260714-105322.png

The Ethernet interface has to be added under Ethernet Adapter.

image-20260714-105333.png

The Modbus TCP Master then has to be added under Fieldbuses/Modbus TCP Master.

image-20260714-105344.png

The desired JUMO Modbus device, for example JUMO hydroTRANS, can now be selected under Fieldbuses/Modbus/Modbus TCP Slave. A unique name for the device can be input in the name field at the top.

image-20260714-105356.png

The Ethernet interface now also has to be assigned to the configured LAN port.

image-20260714-105409.png

The value for Socket timeout should be set to 100 via Modbus TCP Master and Auto-reconnect activated.

image-20260714-105420.png

The IP address of the device must be input in the "Slave IP address" field for the JUMO Modbus device.

image-20260714-105431.png