DOCA0172EN-13

Addition and Removal of Modbus Devices

Presentation

Modbus TCP/IP and Modbus-SL devices can be added to or removed from the EcoStruxure Panel Server system through the Panel Server webpages.

Discovery of Modbus TCP/IP Devices With a List

In the Settings > Modbus devices > Modbus addition > Modbus TCP/IP > Discovery > Selective list webpage, create a list of devices to be discovered by entering the IP address for each device. The port is always 502 (see Ethernet Communication) and unit ID 255 (see Modbus Gateway Function).

Result: The table shows the following information for each device discovered on the Modbus TCP/IP network:

  • Picture

  • Device name

    NOTE: If applicable, for example for a third-party device, unknown device is displayed. In this case, data not displayed in the webpages.
  • IP address

  • Port

  • Unit ID

The device is displayed in the Modbus devices section.

Manual Addition of Modbus TCP/IP Devices

In the Settings > Modbus devices > Modbus addition > Modbus TCP/IP > Manual addition > IP address webpage, enter the following information for each device:

  • IP address

  • Port

  • Unit ID

  • Device type

    NOTE: If the device type is not available in the drop-down list, for example for a third-party device, select unknown device. In this case, data is not displayed in the Panel Server webpages.

Result: Once the device is discovered, it is displayed in the Modbus devices section.

To manually add a Modbus TCP/IP device applying a custom device model from the drop-down list, select Settings > Modbus Devices > Modbus Addition > Modbus TCP/IP > Manual Addition then:

  • Type the value for Physical Server ID.

  • Select the custom device model name in Device.

Discovery of Modbus-SL Devices With a List

In the Settings > Modbus devices > Modbus addition > Modbus serial > Discovery > Selective list webpage, enter the list of Modbus addresses (1–254) for which the devices must be discovered.

NOTE: If no addresses are entered, discovery is done for addresses 1 to 10.

Result: The table shows the following information for each device discovered on the Modbus-SL network:

  • Picture

  • Device name

    NOTE: If applicable, for example for a third-party device, unknown device is displayed. In this case, data is not displayed in the Panel Server webpages.
  • Virtual server ID (Server ID)

The device is displayed in the Modbus devices section.

Manual Addition of Modbus-SL Devices

In the Settings > Modbus devices > Modbus addition > Modbus Serial > Manual addition > Server ID webpage, enter the physical server ID of the device to be added and select the device type.

NOTE: If the device type is not available in the drop-down list, for example for a third-party device, select unknown device.

Result: Once the device is discovered, it is displayed in the Modbus devices section.

To manually add a Modbus Serial device applying a custom device model from the drop-down list, select Settings > Modbus Devices > Modbus Addition > Modbus Serial > Manual Addition then:

  • Type the value for Physical server ID.

  • Select the custom device model name in Device.

Addition of Modbus-SL Devices Connected to a Child Panel Server Gateway

To add Modbus-SL devices connected to a child/downstream Panel Server (see example), navigate to Settings > Modbus devices > Modbus addition > Modbus TCP/IP > Manual addition > IP address.

Enter:

  • The IP address of the child/downstream Panel Server

  • The virtual server ID of the Modbus device in Unit ID

  • The Modbus device type

    NOTE: If the device type is not available in the drop-down list, for example for a third-party device, select unknown device. In this case, data is not displayed in the Panel Server webpages.

Result: Once the device is discovered, it is displayed in the Modbus devices section.

Modbus Registers Read

To troubleshoot the addition of Modbus devices, navigate to the webpage Settings > Modbus devices > Modbus registers read. Fill in the Modbus device identification parameters described in the following table and click the Read registers button.

NOTE: When a device discovery is in progress, you cannot use the Modbus register reading function.

Result: A table is displayed containing the list of register numbers and the register content in the selected format.

NOTE: When the Panel Server is configured in Reverse gateway mode, the reading register function is supported for Modbus TCP/IP devices only.
Parameter Availability by device Description

Device Type

Modbus Serial

Modbus TCP/IP device

Select from the list either Modbus Serial or Modbus TCP/IP. Other parameters displayed depend on the device type selected.

Device ID

-

Enter the virtual device ID you want to read registers from. Value range 1–254.

IP address

-

Enter the address of the TCP network.

Port

-

Enter the port of the device

Unit ID

-

Enter the ID of the device. Value range 1–255.

Function code

Select from the list the Modbus function to use to read the registers of the identified device:

  • FC01 Read coils status

  • FC02 Read inputs status

  • FC03 Read holding registers

  • FC04 Read input registers

Starting register

Enter the number of the first register to be read.

For function codes FC01 and FC02, use the following calculation to specify the bit number: (Register number - 1) * 16 + (bit offset+1) where offset is the bit order (from 0 to 15)

Number of registers

Enter the total number of consecutive registers to be read.

Result format

For function codes FC03 and FC04, select from the list the format to display the results:

  • Hexadecimal (default format)

  • Binary

  • Signed integer 16

  • Unsigned integer 16

The result of function codes FC01 and FC02 is 1 when true and 0 when false.

Removal of Modbus Devices

Follow this procedure to remove Modbus devices from the system:

  1. Navigate to Settings > Modbus devices > Modbus devices to view the list of connected devices.

  2. Select the device to be removed from the system.

  3. Click the bin icon on the top right side of the webpage.

  4. Confirm removal process.

    Result: Once the Modbus device is successfully disconnected from the Panel Server, it is no longer visible in the list of Modbus devices.

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?