Tiny modbus tcp to rtu/ascii security gateway (101 pages)
Summary of Contents for ICP DAS USA ECAT-2610
Page 1
ECAT-2610 EtherCAT to Modbus RTU Gateway User Manual English Ver. 1.1, May 2018 WARRANTY All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.
Package List The shipping package includes the following items: Quick Start x 1 ECAT-2610 x 1 CA-0915 Cable x 1 If any of these items is missing or damaged, please contact your local distributor for more information. Keep the shipping materials and overall package in case you want to NOTE ship the module back in the future.
Just connect, configure and it’s finished. The ECAT-2610 Communicator is a proven and trusted protocol converter gateway that connects non-networked industrial devices and equipment to EtherCAT. The gateway performs an intelligent protocol conversion and presents the serial data to the Master PLC/Controller as easily processed I/O data.
EtherCAT to Modbus RTU Gateway 2. Hardware Information 2.1 Appearance The front panel and top panel of the ECAT-2610 module contain the Modbus COM Port, PC COM port, LEDs, Ethernet Port and power connector. Top Panel 1. DC Power Input Connector Figure 2-1 2.
Page 9
Indicators 4. ECAT-2610 Status Indicators 5. COM1 (Console Port) 6. COM2/COM3 (Modbus RTU) Figure 2-2 Front panel of ECAT-2610 EtherCAT bus Status Indicators Notation Color States Description The device is in state INIT Blinking The device is in state PRE-OPERARIONAL...
Page 10
EtherCAT to Modbus RTU Gateway ECAT-2610 Status Indicators Notation Color States Description Normal Blinking Error Flashing for 0.3 sec DC enable Flashing for 1 sec Normal Mode Green No configuration file or configuration file Flashing for 2 sec error Flashing for 4 sec...
EtherCAT to Modbus RTU Gateway 2.2 Specification Model ECAT-2610 Protocol EtherCAT Communication RJ-45 x 1 Distance between Stations: Max. 100 m (100BASE-TX) RJ-45 Port Data Transfer Medium: Ethernet/EtherCAT Cable (Min.CAT 5e) The RS-232, RS-422 and RS-485 cannot be used simultaneously...
EtherCAT to Modbus RTU Gateway 2.4 Wiring Connections 3-wire RS-232 Wiring 4-wire RS-422 Wiring NOTE 1. Usually, you have to connect all signal grounds of RS-422/485 devices together to reduce common-mode voltage between devices. 2. Twisted-pair cable must be used for the DATA+/- wires.
2. Short the TxD and RxD pins on the COM3 to Init mode. 3. Run the 7188ECAT.exe, and power on the ECAT-2610 module to verify that enter the Init mode. 4. Disconnect the TxD and RxD pins on the COM3 to normal mode.
EtherCAT to Modbus RTU Gateway 2.6 Dimensions The following diagrams provide the dimensions of the ECAT-2610 module and can be used as a reference when defining the specifications for any custom enclosures. All dimensions are in millimeters. Front Rear Left Side...
This chapter provides detailed information about the Self-test process, which is used to confirm that the ECAT-2610 is operating correctly. 3.1 Factory Default Settings The following is an overview of the factory default settings for ECAT-2610 module: Item Default Settings...
3.2 Connecting the Power and the Host PC Step 1 Connect both the IN port of ECAT-2610 module and RJ-45 Ethernet port of Host PC. Ensure that the network settings on the Host PC have been correctly configured and are functioning normally.
Page 18
EtherCAT to Modbus RTU Gateway Step 3 Verify that LEDs indicator on the ECAT-2610 module is given as follows: RUN = Red IN = Green Flashing NOTE Mode = Green Flashing The Run indicator is ON when ECAT-2610 connected to EtherCAT Master.
This can be downloaded from the ICP DAS website (http://ftp.icpdas.com/pub/cd/fieldbus_cd/ethercat/slave/ecat-2000/software/) and installed according to the installation instructions. Step 1 Install the ESI file Copy the “ICPDAS ECAT-2610.xml” file to the Master Tools installation folder, as indicated in the table below. Software Default Path Beckhoff EtherCAT Configuration C:\EtherCAT Configurator\EtherCAT Beckhoff TwinCAT 3.X...
Page 20
(I/O Devices-> right-click-> Scan Devices…) Figure 3-2.3 Step 3 Verify that status of the ECAT-2610 In the left-hand of the TwinCAT System Manager, click on the branch of the EtherCAT Box you wish to configure. Click TxPDO 0x00-0x7F to get and configure state.
3.3.1 Module Status and Error Mode The “FF 03 00 00 00 02” is a special command designed to read the system status of ECAT-2610 module in the default configuration file. Under this command, once power is supplied to the ECAT-2610 module, the ECAT-2610 module will read and check the configuration file from EEPROM.
Page 23
EtherCAT to Modbus RTU Gateway (Read) Table 3-3.2: InTxPDO[01] = 2610SYS1 = Sys_hi is defined as follows: Description Exec Baud Rate 3 Valid Range: Refer to following table 3-3.3 Exec Baud Rate 2 Valid Range: Refer to following table 3-3.3 Exec Baud Rate 1 Valid Range: Refer to following table 3-3.3 Exec Baud Rate 0...
Page 24
EtherCAT to Modbus RTU Gateway The OutRxPDO[00] and OutRxPDO [01] provides system control (e.g., clear sys_low and sys_hi… etc.). The following table will list the control items. (Write) Table 3-3.4: OutRxPDO[00] = 2610CTL0 and OutRxPDO[01] = 2610CTL1 are defined as ...
EtherCAT to Modbus RTU Gateway 4. Modbus RTU Device Setup Before beginning the “Modbus RTU device Setup” process, ensure that your ECAT-2610 module is operating correctly, refer to Chpater 3 “Getting Started” for more NOTE detailed information. Here, the M-7050D module is used as an example. For other Modbus RTU device or third party Modbus RTU device, refer to the specific Quick Start Guide or User Manual for that Modbus RTU device.
EtherCAT to Modbus RTU Gateway 4.1 Configure the Modbus RTU Device The following configure method for ICP DAS Modbus RTU device. If your device is a third party Modbus RTU device, please refer to the specific Quick Start Guide or User Manual for that Modbus RTU device to setting Modbus ID (Net ID), Baud Rate and Data Format…etc.,.
Page 27
EtherCAT to Modbus RTU Gateway Step 3 Search Module Click “COM Port” button to select COM Port (e.g., COM1) depends on Host PC COM Port that connects to M-7050D and click “OK” button. Figure 4-1.2 Click “Start Search” button to search Modbus RTU device. Figure 4-1.3 ...
Page 28
EtherCAT to Modbus RTU Gateway Step 4 Configuring the Net ID , Baud Rate and Data Format Click the module name to open the configuration dialog box. Set the Address (Net ID), Baud Rate and Data Format for Modbus RTU device. ...
Configuration file. The ECAT-2610 will communicate with the Modbus RTU device through this file. Using COM1 of Host PC to download the configuration file to ECAT-2610. Using COM2 of Host PC to download the configuration file to ECAT-2610. Step 2 Double-click the“commands.txt”to open configuration file.
Page 30
EtherCAT to Modbus RTU Gateway Step 3 Set the Baud Rate and Data Format depend on Modbus RTU device (e.g., M-7050D). Figure 4-2.2 Command Description 115200 Baud Rate Valid Range: 1200 ~ 115200 Parity Valid Range: N, E, O Stop Bit Valid Range: 1, 2 Step 4 Set the Number of Modbus commands.
Page 31
EtherCAT to Modbus RTU Gateway Step 5 Modify the Modbus command, and save the new configuration. Figure 4-2.4 PDO[Addr] Update Special Modbus Command Description Mode Code For detailed information about the 01 0F 00 00 00 08 01 00 Modbus command, refer to Chapter 5 “Modbus Information”...
EtherCAT to Modbus RTU Gateway 4.2.1 Configuration Data Formats (Commands.txt) The commands.txt provides a simple command set to controlling Modbus RTU device. A syntax rule consists of a left to right, separated by a colon “,”. The data format of commands.txt, each of which will be described in more detail below.
Page 33
EtherCAT to Modbus RTU Gateway Set the timeout, delay time and address range of InTxPDO/OutRxPDO. Command Description Set the timeout for Modbus command. Settings Range: 0 ~ 255. Unit = 0.01 second, 0.01 x 100 = 1 second, Max. = 2.55 second. Set the end_delay time.
Page 34
Set the Modbus commands depend on Modbus RTU device. Modbus Command Description The factory default command is used to read the status of the ECAT-2610 module, refer to Section 3.3.1 “Module Status and Error Mode” for more FF 03 00 00 00 02 detail.
Page 36
Using COM2 of Host PC to download configuration data (commands.txt) to ECAT-2610. Step 3 Modify COM Port number in execCOM1.bat file, depend on your Host PC COM Port (e.g., COM4) that connect to ECAT-2610. NOTE If your Host PC has COM1 or COM2 can directly execute execCOM1.bat or execCOM2.bat file, you can skip this step.
Page 37
In the Search field, type “cmd” and the press Enter. Figure 4-3.3 Step 5 Downloading the Configuration file (commands.txt) to the ECAT-2610. A Command Prompt windows will be displayed and type “E:” (7188ECAT folder location on your hard drive) and the press Enter.
Page 39
EtherCAT to Modbus RTU Gateway Press keyboard [Ctrl] + [F4] at the same time to download commands.txt to ECAT-2610 module. Starting download Figure 4-3.7 Reboot (Power off and Power on) the ECAT-2610 module. The download is complete and new configuration file will be displayed here.
Page 40
EtherCAT to Modbus RTU Gateway NOTE If there is any error in the commands.txt, the ECAT-2610 module will stop and wait to power OFF and ON to continue as Figure 4-3.9, you can refer to Section 4.2.1 “Configuration Data Format (Commands.txt)”...
Section 3.2 “Connecting the Power and the Host PC” for more details. Connect the ECAT-2610 module with Modbus RTU device (e.g., M-7050D, optional) using the RS-485 bus. Supply power to the Modbus RTU device (e.g., M-7050D, +10 ~ +30 V power used).
Page 42
EtherCAT to Modbus RTU Gateway Step 2 Open the TwinCAT Master Software. Install the ESI file (ICPDAS ECAT-2610.xml) and run the EtherCAT Master software (e.g., Beckhoff TwinCAT 2.X), refer to Section 3.3 “Configuration and Operation” for more details. Step 3...
Page 44
EtherCAT to Modbus RTU Gateway Verify the test results of the DO functions for M-7050D module in the following manner. In the left-hand of the window, click the “Out02”. In the right-hand of the window, click the “Online”. ...
EtherCAT to Modbus RTU Gateway 5. Modbus Information Modbus is a communication protocol developed by Modicon in 1979. You can also visit http://www.modbus.org to find more valuable information. The Different versions of Modbus used today include Modbus RTU (based on serial communication interfaces such as RS-485 and RS-232), Modbus ASCII and Modbus TCP, which is the Modbus RTU protocol embedded into TCP packets.
Page 46
EtherCAT to Modbus RTU Gateway Net ID (Station Number) The first byte in the message structure of Modbus is the receiver’s address. The valid addresses are in the range of 0 to 247. Addresses 0 is used for broadcast, while addresses 1 to 247 are given to individual Modbus devices.
Page 47
EtherCAT to Modbus RTU Gateway Data Field Data is transmitted in 8-, 16- and 32-bit format. The data for 16-bit registers is transmitted in high-byte first format. For example: 0x0A0B ==> 0x0A, 0x0B. The data for 32-bit registers is transmitted as two 16-bit registers, and is low-word first. For example: 0x0A0B0C0D ==> 0x0C, 0x0D, 0x0A, 0x0B.
EtherCAT to Modbus RTU Gateway FC1(0x01) Read Multiple Coils (0xxxx) for DO This function code is used to read either the current status of the coils or the current digital output readback value. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code...
EtherCAT to Modbus RTU Gateway FC2(0x02) Read Multiple Input Discrete (1xxxx) for DI This function code is used to read the current digital input value. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code 1 Byte 0x02 Refer to the Modbus address depends on your...
EtherCAT to Modbus RTU Gateway FC3(0x03) Read Multiple Registers (4xxxx) for AO This function code is used to readback either the current values in the holding registers or the analog output value. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code...
EtherCAT to Modbus RTU Gateway F4(0x04) Read Multiple Input Registers (3xxxx) for AI This function code is used to read either the input registers or the current analog input value. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code 1 Byte...
EtherCAT to Modbus RTU Gateway FC5(0x05) Write Single Coil (0xxxx) for DO This function code is used to set the status of a single coil or a single digital output value. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code...
EtherCAT to Modbus RTU Gateway FC6(0x06) Write Single Register (4xxxx) for AO This function code is used to set a specific holding register to store the configuration values. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code 1 Byte 0x06...
EtherCAT to Modbus RTU Gateway FC15(0x0F) Force Multiple Coils (0xxxx) for DO This function code is used to set multiple coils status or write multiple digital output values. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code 1 Byte 0x0F...
EtherCAT to Modbus RTU Gateway FC16(0x10) Write Multiple Registers (4xxxx) for AO This function code is used to set multiple holding registers that are used to store the configuration values. [Request] Byte Description Size Value Net ID (Station Number) 1 Byte 1 to 247 Function Code 1 Byte...
Page 56
EtherCAT to Modbus RTU Gateway FC255(0xFF) Special Commands This function code is special command that applies only to the ECAT-2610 module. In the factory default configuration file (commands.txt) includes the following three special commands. Commands Description Reference Refer to Section 3.3.1 “Module Status and Error Mode”...
6. Download Commands.txt Operation If the ECAT-2610 module is not function correctly (e.g., the module is no response, or if the LED is always displayed as either off or on), please short the TxD and RxD pins of the ECAT-2610 module (See Figure 6-1.1), the ECAT-2610 module will enter the “Init”...
Page 58
EtherCAT to Modbus RTU Gateway Step 2 Run the 7188ECAT.exe (Configuration/Diagnostic Utility) 1. In the Search field, type “cmd” and the press Enter to open the Command Prompt window. Figure 6-1.2 2. A Command Prompt window will be displayed and type “e:” (7188ECAT folder location on your hard drive) and the press Enter.
Page 59
EtherCAT to Modbus RTU Gateway Step 3 Power on the ECAT-2610 module to enter the Init Mode Init Mode Figure 6-1.4 There are 10 commands designed for download and diagnostic as follows: CTRL+F4 ERASE Only the are designed to download configuration file (commands.txt) to EEPROM.
Page 60
1. Type “Erase” and the press Enter to erase the EEPROM. Key-in erase and press Enter Figure 6-1.6 2. Reboot (Power off and Power on) the ECAT-2610 module. 3. Pressing keyboard [Ctrl]+[F4] to download new configuration file (commands.txt) to the ECAT-2610 module.
Page 61
EtherCAT to Modbus RTU Gateway 4. Reboot (Power off and Power on) the ECAT-2610 module. 5. Then click the icon on the right-top corner of the window to close it. The download is complete and new configuration file will be displayed here.
EtherCAT to Modbus RTU Gateway 7. Distributed Clocks (DC) “Distributed Clocks” (DC) refers to a logical network of synchronized, distributed local clocks in the EtherCAT fieldbus system. By using distributed clocks, EtherCAT, the real-time Ethernet protocol, is able to synchronize the time in all local bus devices within a very narrow tolerance rang. Further and more detailed information about EtherCAT in general and distributed clocks in particular can be found under http://www.ethercat.org/.
Page 63
Figure 7-1.2 The ECAT-2610 will send command 01 0F 00 00 00 08 01 00 FE 95 to the M-7050 first, then read response 01 0F 00 00 00 08 54 0D from the M-7050. The send_ then_read process will not stop and repeat one by one.
Page 65
EtherCAT to Modbus RTU Gateway The ECAT-2610 will send command 01 02 00 00 00 07 39 C8 to the M-7050 first, then read response 01 02 01 00 A1 88 from the M-7050. The send_ then_read process will not stop and repeat one by one.
Page 66
EtherCAT to Modbus RTU Gateway Write DO + Read DI Write DO Command_01 = (send) 01 0F 00 00 00 08 01 00 FE 95 + (read) 01 0F 00 00 00 08 54 0D Read DI Command_02 = (send) 01 02 00 00 00 07 39 C8 + (read) 01 02 01 00 A1 88 The M-7050 will send_read command_01 first, then send_read command_02.
Page 67
DC Cycle Time The ECAT-2610 module will auto detect and synchronized to DC signal at every first command. The cycle time of Write DO is about 7 ms and the cycle time of Write DO + Read DI is about 13.2 ms.
EtherCAT to Modbus RTU Gateway 7.2 DC Configuration and Operation The image below shows an example of the setup for Distributed Clocks (DC) test: DC is active One DI = ECAT-2052 One DO1=M-7055 slave1, another DO2=M-7055 slave2 DO1=DI, DO2=DI ...
Page 70
EtherCAT to Modbus RTU Gateway Step 3 Activate PLC PCL -> Right click-> Add New Item… on left side. Figure 7-2.4 Enter the project name (e.g., Task1) Click Add Figure 7-2.5 Task1 -> Right click-> Activate Boot Project…...
Page 71
EtherCAT to Modbus RTU Gateway Step 4 Mapping M-7055 Output variables Double click MAIN.M7055_DO_SLAVE1_0 Select Out000 from Box1 [ECAT-2610] Click OK Figure 7-2.7 Step 5 Cycle time settings Click PlcTask Click Task Set cycle time to 10 ms Figure 7-2.8...
Page 74
EtherCAT to Modbus RTU Gateway If the DC-Synchrony is disabling, the DO1 and DO2 is independent, the typical timing diagram is about some ms given as follows: DO1 to DO2 = 2 ms Figure 7-2.14 DO1 to DO2 = 5 ms ...
Page 75
EtherCAT to Modbus RTU Gateway If the DC-Synchrony is active, the DO1 and DO2 will be sync to DC together, the typical timing diagram is about some us given as follows: DO1 to DO2 = 6 us Figure 7-2.16 DO1 to DO2 = 100 us ...
UINT16 Assigned to TxPDO 1A00h Assigned TxPDO UINT16 Assigned to TxPDO 1A01h Table 8-1: The PDO mapping of ECAT-2610 module is static and looks as follows: Corresponding Object Internal Memory TxPDO 1A00h Index 2000h, sub-index 1 to 128 Input Data, bytes 0 to 127...
EtherCAT to Modbus RTU Gateway Appendix A1. How do I get the Modbus Command via DCON Utility? The following configure method for ICP DAS Modbus RTU device. Please connect the Modbus RTU device (e.g., M-7050) to Host PC and supply power to the Modbus RTU device, refer to Section 4.1 “Configure the Modbus RTU Device”...
EtherCAT to Modbus RTU Gateway A2. Configuration Files Reference In the 7188ECAT folder, the more commands folder provides many examples of configuration file (commands.txt) for the DI, DO, AD and DA … etc., each of which will be described in more detail below.
(00) Modbus Command, PDO[Addr], Update Mode, Special Code FF 03 00 00 00 02, This command will read the system status of ECAT-2610 module, refer to Section 3.3.1 “Module Status and Error Mode” for more details. (01) Modbus Command, PDO[Addr],...
EtherCAT to Modbus RTU Gateway 01. DIO The 01_DIO folder provides configure sample for set the Digital Input (DI) and Digital Output (DO), each of which will be described in more detail below. DIO_Addr01_1.txt The DIO_Addr01_1.txt supports a typical Modbus command that write DO, as follows: Figure A2-7 For Example, The M-7050 module is used as an example.
EtherCAT to Modbus RTU Gateway DIO_Addr01_2.txt The DIO_Addr01_2.txt supports 2 typical Modbus commands that write DO and read DI, as follows: Figure A2-8 For Example, The M-7050 module is used as an example. Number of command = 2, Modbus Command, PDO[Addr], Update Mode, Special Code...
EtherCAT to Modbus RTU Gateway 02. DA The 02_DA folder provides configure sample for set the Analog Output (DA), each of which will be described in more detail below. DA_Addr02_1.txt The DA_Addr02_1.txt supports 4 typical Modbus commands that write AO0 to AO3, as follows: Figure A2-11 For Example, Number of command = 4,...
EtherCAT to Modbus RTU Gateway DA_Addr02_2.txt The DA_Addr02_2.txt supports a typical Modbus command that write all AO, as follows: Figure A2-12 For Example, Number of command = 1, Modbus Command, PDO[Addr], Update Mode, Special Code (00) 02 10 00 00 00 04 08 12 34 12 34 12 34 12 34, ...
EtherCAT to Modbus RTU Gateway 03. AD The 03_AD folder provides configure sample for set the Analog Input (AD), each of which will be described in more detail below. AD_Addr03_1.txt The AD_Addr03_1.txt supports 8 typical Modbus commands that read AI0 to AI7, as follows: For Example, Figure A2-16 Number of command = 8,...
EtherCAT to Modbus RTU Gateway 04. DIO_DA_AD The 04_DIO_DA_AD folder provides configure sample for set the Digital Input (DI), Digital Output (DO), Analog Input (AD), Analog Output (DA) and delay the Modbus command, each of which will be described in more detail below. DIO_DA_AD_1.txt The DIO_DA_AD_1.txt supports 5 typical Modbus commands that set the DO, DI, DA, AD and delay 2 ms, as follows:...
EtherCAT to Modbus RTU Gateway 05. Rising_Trigger The 05_Rising_Trigger folder provides configure sample for set the read/clear Counter and high/low_Latch of Digital Input, each of which will be described in more detail below. RisingTrigger _1.txt The RisingTrigger_1.txt is very similar to DIO_Addr01_2.txt except the read/clear DI0 Counter as follows:...
EtherCAT to Modbus RTU Gateway RisingTrigger _2.txt The RisingTrigger_2.txt is very similar to RisingTrigger_1.txt except the read/clear DI0 to DI6 Counters as follows: Figure A2-20 For Example, The M-7050 module is used as an example, it support seven event counters. The commands (02) to (15) that read these seven event counters cyclically.
EtherCAT to Modbus RTU Gateway RisingTrigger _3.txt The RisingTrigger_3.txt is very similar to RisingTrigger_2.txt except the read/clear DI latch as follows: Figure A2-21 For Example, The M-7050 module is used as an example, its DI can latch the High_pulse or Low_pulse. These latches can be clear to 0.
EtherCAT to Modbus RTU Gateway 06. Initial_Value The 06_Initial_Value folder provides configure sample for set the Power-on value function, each of which will be described in more detail below. Init_Value _1.txt The Init_Value_1.txt supports 8 typical Modbus commands that use special code “01”...
Page 103
EtherCAT to Modbus RTU Gateway When the ECAT-2610 is power-on, the OutRxPDO[00]=2610CTRL0.bit0 is reset to 0. So the output of DA0/1/2/3 is set to the initial value as follows: DA0 = 0x0123 DA1 = 0x0234 DA2 = 0x0345 DA3 = 0x0456 The OutRxPDO[02/03/04/05] is set to new value.
EtherCAT to Modbus RTU Gateway 07. Swap_Byte_Word The 07_Swap_Byte_Word folder provides configure sample for set the swap function, each of which will be described in more detail below. Both_Swap _1.txt The Both_Swap_1.txt supports 2 typical Modbus commands that use special code “06”...
EtherCAT to Modbus RTU Gateway Byte_Swap _1.txt The Byte_Swap_1.txt supports 8 typical Modbus commands that use special code “02” to set the byte-swap function, as follows: Figure A2-24 For Example, Number of command = 8, Modbus Command, PDO[Addr], Update Mode, Special Code (00) 02 06 00 00 00 00,...
EtherCAT to Modbus RTU Gateway Word_Swap _1.txt The Word_Swap_1.txt supports 2 typical Modbus commands that use special code “04” to set the word-swap function, as follows: For Example, Figure A2-25 Number of command = 2, Modbus Command, PDO[Addr], Update Mode, Special Code (00) 02 10 00 00 00 04 08 12 34 12 34 12 34 12 34,...
EtherCAT to Modbus RTU Gateway 08. State_Change_Trigger The 08_State_Change_Trigger folder provides configure sample for set the state change trigger function, each of which will be described in more detail below. State_Change _1.txt The State_Change_1.txt supports 4 typical Modbus commands that use special code “08”...
EtherCAT to Modbus RTU Gateway State_Change _2.txt The State_Change_2.txt support a typical Modbus command that use special code “08” to set the state change trigger function for all AO, as follows: Figure A2-27 For Example, The address mapping is given as follows: DA channel PDO[Addr] OutRxPDO[02]...
EtherCAT to Modbus RTU Gateway 09. Constant_Output The 09_Constant_Output folder provides configure sample for set the constant output function, each of which will be described in more detail below. Constant _1.txt The Constant_1.txt supports 4 typical Modbus commands that use special code “10”...
EtherCAT to Modbus RTU Gateway 10. Bit_Command The 10_Bit_Command folder provides configure sample for set the Bit command, each of which will be described in more detail below. Bit _Cmd_1.txt The Bit_Cmd_1.txt supports 8 typical Modbus commands that write the DO Bit0 to Bit7, as follows: For Example, Figure A2-29 The M-7050 module is used as an example, its support 8 channels Digital Output.
EtherCAT to Modbus RTU Gateway 11. Delay_Command The 11_Dealy_Command folder provides configure sample for set the delay time, each of which will be described in more detail below. Delay_Cmd_1.txt The Delay_Cmd_1.txt is very similar to DIO_DA_AD_1.txt except the delay time as follows: For Example, Figure A2-30 Modbus Command,...
EtherCAT to Modbus RTU Gateway 12. TxPdo_RxPdo_0x80_0xFF The 12_TxPdo_RxPdo_0x80_0xFF folder provides configure sample for set the address is 0x80 to 0xFF for the InTxPDO and OutRxPDO, each of which will be described in more detail below. TxPdo_RxPdo_0x80.txt The TxPdo_RxPdo_0x80.txt supports 2 typical Modbus commands that set the InTxPDO[Addr] and OutRxPDO[addr] is 0x80 for the DI and DO, as follows: Figure A2-31 TxPdo_RxPdo_0xFF.txt...
EtherCAT to Modbus RTU Gateway TxPdo_RxPdo_DA_0x80_0xFF.txt The TxPdo_RxPdo_AD_0xFF.txt supports 5 typical Modbus command that set the InTxPDO[Addr] and OutTxPDO[Addr] is 0x80 to 0xFF for the AO0 to AO3, as follows: Figure A2-35 13. Commands_128_202 The Commands_128_202 folder provides configure sample (commands_128.txt and commands_202.txt) for set the 128 and 202 commands line.
Set the end_delay to 200, unit = 0.01 sec, so 200 x 0.01 sec = 2 sec for slow speed debug. ECAT-2610 will delay extra 2 seconds in the end of every command. This will make the scan speed is down to slow for debug.
EtherCAT to Modbus RTU Gateway 15. TxPdo_RxPdo_Max The 15_TxPdo_RxPdo_Max folder provides configure sample for set the InTxPdoMax/2 and OutRxPdoMax/2, each of which will be described in more detail below. NOTE The InTxPdoMax/2 and OutRxPdoMax/2 can be set to special value for debug. It is recommended to set these 2 values to 0 (Automatic settings).
EtherCAT to Modbus RTU Gateway TxRxPdo_Max_2.txt The TxRxPdo_Max_2.txt supports set the IntxPdoMax/2 and OutRxPdoMax/2 to 64, as follows: Figure A2-38 For Example, Set the InTxPdoMax/2 to 64, so InTxPdoMax = 64 x 2 =128 that means InTxPDO[00] to InTxPDO[7F]. Set the OutRxPdoMax/2 to 64, so OutRxPdoMax = 64 x 2 =128 that means OutRxPDO[00] to OutRxPDO[7F]. TxRxPdo_Max_3.txt The TxRxPdo_Max_3.txt supports set the IntxPdoMax/2 and OutRxPdoMax/2 to 128, as follows: Figure A2-39...
EtherCAT to Modbus RTU Gateway A3. Support in ICP DAS Modbus RTU Products The following is a summary of Modbus RTU slave device produced by ICP DAS that support the ECAT-2610 module. Model Description RS-485 Remote I/O Modules M-7000 Series WebSite:http://www.icpdas.com/root/product/solutions/remote_io/rs-485/i-7000_m-7000/i-7000_...
Need help?
Do you have a question about the ECAT-2610 and is the answer not in the manual?
Questions and answers