Issue
Customers want to read the device identification of the BMENOC modules to publish this data in their SCADA and this resolution identifies the right configuration of the DATA_EXCH to read this info by Modbus TCP using a Function Code/Subcode .
Product Line
Ecostruxure Control Expert, M580, BMENOC0301, BMENOC0311, BMENOC0321
Environment
Control Expert v14.1, Windows 10 version 1902 (OS Build 18362.30), BMEH586040 v2.90, BMENOC0301 v2.17
Resolution
A Modbus request associated with function code 43 asks the Modbus server BMENOC modules to return vendor name, product name, version number, and other optional fields for the device identification:
Using the table above, you can create a Modbus Explicit message using DATA_EXCH to read this information. The example below is to read the device information of a BMENOC0301 (IP address 192.168.10.10) located on slot 2 of the backplane, using ST language and you can use it as a guide for your own logic.
The result is the information below.
P.S.: Additional information can be found on pages142/372 of the Ethernet Communications Module Installation Guide and on page 42 of the Modbus Application Protocol Specification.