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 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
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
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
webpage, enter the list of Modbus addresses (1–254) for which the devices must be discovered.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
webpage, enter the physical server ID of the device to be added and select the device type.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
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 .
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 Read registers button.
. Fill in the Modbus device identification parameters described in the following table and click theResult: A table is displayed containing the list of register numbers and the register content in the selected format.
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:
|
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:
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:
-
Navigate to
to view the list of connected devices. -
Select the device to be removed from the system.
-
Click the bin icon on the top right side of the webpage.
-
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.