1. The HT5S-ECM-MTP is a communication gateway with EtherCAT master station functionality. Its main function is to connect EtherCAT slave devices (servos, valves, instruments, frequency converters, etc.) to the MODBUS TCP network for data transmission.
2. The HT5S-ECM-MTP gateway connects to the EtherCAT bus as a master and to the MODBUS TCP bus as a slave. The HT5S-ECM-MTP gateway integrates a dual-port switch on the MODBUS TCP side, enabling a daisy-chain linear topology. Device configuration and firmware updates are performed via Ethernet.
3. This test primarily focused on establishing communication between the EtherCAT air flow meter and the MODBUS TCP host computer tool MODBUS POLL via the HT5S-ECM-MTP gateway. The HT5S-ECM-PNS gateway was used as the master station for the EtherCAT air flow meter, while the gateway on the MODBUS TCP side acted as a slave station, enabling the host computer tool MODBUS POLL to read the data from the EtherCAT air flow meter.
4. Configuration of EtherCAT slave devices
Before importing the configuration file, please confirm:
Prepare the configuration file (XML) for the EtherCAT slave device ( air flow meter in the current example ) .
Ensure that the XML file fully matches the EtherCAT slave device (Vendor ID and Product Code). Please confirm with the device manufacturer.
There cannot be a "." character before the "." suffix in an XML filename.
Operating steps
Import XML file:
( 1) Click to enter the ET-File interface, click Upload, and select the file in the pop-up file selection box.
Prepared XML files for EtherCAT slave devices
Click the Open button.
Click the "Upload Configuration File" button, and a dialog box will pop up indicating that the configuration file was successfully uploaded.
Click on the ECAT-Generate interface and check if devDesc is 0. If it is 0, the current XML file is invalid and you should re-import it.
Click on the ECAT-Model-RX and ECAT-Model-TX interfaces to check if the PDO table is empty.
If empty, the current XML file contains no PDO content; please re-import it.
( 2) Click to enter the ECAT-Model-RX interface.
Click the Configuration button, then click the PDO checkbox in the pop- up window and select the PDOs you want to map.
Click the OK button, and a dialog box will pop up indicating that the operation was successful.
( 3) Click to enter the ECAT-Model-TX interface .
Click the Configuration button, and in the pop-up PDO checkbox, click the PDO you want to map .
Click the OK button, and a dialog box will pop up indicating that the operation was successful.
( 4) Click to enter the ECAT-Generate interface and click the checkbox on the left side of the device entry.
Click the configuration button and set the scan cycle in the pop-up configuration dialog box.
Click the OK button, and a dialog box will pop up indicating that the operation was successful.
Check the syncCycle field to see if it matches the parameter you just set.
( 5) Click to enter the topology scan interface, click the topology scan button, and the topology scan in progress will be displayed.
Wait a moment, the number of online slave devices will be automatically refreshed.
5. HT5S -ECM-MTP gateway as a MODBUS TCP slave
( 1) Parameters of MODBUS TCP set in the configuration interface
( 2) Open MODBUS POLL: Connect to the gateway's TCP interface
( 3) Read register 03 , starting from address 0 of RX , which contains 32 registers.
6. The data exchange results are displayed as follows: