Modbus TCP and EtherNet/IP DTM Connectivity

Overview

The connection to your device via Modbus TCP or EtherNet/IP depends on many settings:

oDevice settings

oPC settings

oController settings

oNetwork infrastructure

oArchitecture

How to Connect

Step

Action

1

Build and download the application into the controller.

2

Configure the device IP address or the addressing method (DHCP, BOOTP).

3

Perform a device power cycle. It is necessary for some devices to take the correct network settings.

4

If needed you can edit the connection for accessing the device.

5

Select the required DTM function in the contextual menu of the device (upload from device, download to device,...). Refer to DTM Contextual Menu.

DTM on Modbus TCP and EtherNet/IP are only reachable via Ethernet directly.

NOTE: A transparent USB to Ethernet connection via the controller to the device is not supported.

Manual IP Address Setting

oThe IP address in the DTM configuration must match the actual IP address of the device. Verify the IP address of the device itself (display or similar).

oVerify that the IP address is not been occupied by another device in the network (verify by pinging the address over Ethernet, or consult your Information Systems manager).

oVerify that the IP address of the Ethernet port of the controller is set as a gateway address in the device.

oVerify that your device is in the same subnet as defined by the IP address settings of the Ethernet port of the controller.

G-SE-0036626.1.gif-high.gif

 

 

Automatic IP Address Setting by DHCP

oIf the IP address was set automatically by the DHCP server of the M251 controller, verify the Network Manager table of the M251 controller (see Network Manager).

oVerify that the IP address of the Ethernet port is set as the gateway address of the device in the Network Manager table.

Routing and IP Forwarding

oRegard your controller as a gateway or router between your PC (control network) and the device (Industrial Ethernet port).

oVerify that the IP forwarding service is enabled (check box Enable IP forwarding, refer to Security Parameters).

oVerify that the IP address of the Ethernet port of the controller is set as a gateway address in the device.

oVerify that your device is in the same subnet as defined by the IP address settings of the Ethernet port of the controller.

oVerify that your PC is in the same subnet as one of the Ethernet ports of the controller.

Modbus TCP to Modbus SL Gateway and Unit ID

If a device is connected via Modbus SL behind a Modbus TCP/Modbus SL gateway, the Unit ID must match the Modbus SL address of the device.

Modbus TCP Device and Unit ID

The DTM Unit ID must be set to 248.