CAN bus, ICPDAS has developed a new Ethernet product, the ECAN-240-FD. The ECAN-240-FD module is a Modbus TCP to 2-port CAN FD (CAN with Flexible Data-Rate) Gateway. As its functionality, that provides communications via the Ethernet based on the Modbus TCP industrial protocol, meaning that the module can be easily integrated with an industrial network.
1.3. Web Server Technology Web server technology enables the ECAN-240-FD to be configured via a standard web browser interface, e.g. Google Chrome, Internet Explorer, or Firefox, etc. This means that it is easy to check the configuration of thet ECAN-240-FD via an Ethernet network without needing to install any other software tools, thereby reducing the learning curve required for maintaining the device.
2.2. Appearance Front View LED indicator Once power is supplied to the ECAN-240-FD module, the LED indicator will illuminate. An overview of the LED functions is given below: Color Description When power on the ECAN-240-FD, this Power LED is turned on.
Page 10
Ethernet RJ-45 Jack The ECAN-240-FD module is equipped with an RJ-45 jack that is used as the 10/100 Base-TX Ethernet port and features networking capabilities. When an Ethernet link is detected and an Ethernet packet is received, the Link/Act LED (Green) indicator will be illuminated.
120Ω(or between 96Ω and 144Ω). The bus topology and the positions of these terminal resistors are shown below. The ECAN-240-FD module includes two CAN ports and terminal resistors are provided for each CAN port. The terminal resistor can be enabled or disabled via the terminator DIP-switches as illustrated in following figure.
3. Getting Started for ECAN-240-FD This chapter provides detailed information about how to use the ECAN-240-FD module. Before using the module, Ethernet configuration and eSearch utility installation procedures must first be fully completed. Follow the procedure described below: 3.1. Connecting the Power Supply and the Host PC 1.
Page 15
4. Connect both thet ECAN-240-FD and the Host computer to the same sub-network or the same Ethernet Switch, and then power on the ECAN-240-FD. Refer to following figure for illustrations of how to do this. 5. Verify that the Power LED indicator is illuminated.
2. Open the eSearch Utility and then click the “Search Server” button to search for the ECAN-240-FD module. 3. Once the search process is complete, double-click the name of the ECAN-240-FD module to open the “Configure Server” dialog box. 4. Enter the network settings information, including the IP, Mask and Gateway addresses, and then click “OK”...
“Submit” button to enter the configuration web page. Note: For the first time to use the ECAN-240-FD device, you may need to change the default password to other value. 3. Click the “Port1” tab to display the Port1 Settings page.
(00000). Configure the setting for reading a CAN/CAN FD message from “CAN2 Rx FIFO #1” address (04096). Note: Refer to section 5 for Modbus address definition of ECAN-240-FD. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
Page 21
Select the “Connect…”item from the “Connection”menu to open the “Connection Setup”dialog box. Configure the Ipv4 address and TCP port (default : 502) of ECAN-240-FD click “OK” to connect the ECAN-240-FD for testing. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0...
Page 22
10. Read a CAN/CAN FD message from “CAN2 Rx FIFO #1” address (04096). 11. If there is no “Err” count on the request/response messages, it means the test is success. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
4. Web Configuration Once the ECAN-240-FD module has been correctly configured and is functioning on the network normally, the configuration details can be retrieved or modified using either the eSearch Utility or a standard web browser. 4.1. Logging in to the ECAN-240-FD Web Server The embedded ECAN-240-FD web server can be accessed from any computer that has an Internet connection.
Page 24
“admin”), and then click the “Submit” button to continue. Note: For the first time to use the ECAN-240-FD device, you may need to change the default password to other value. Step 4: Log in to the ECAN-240-FD Web Server After logging into the ECAN-240-FD web server, the main page will be displayed.
4.2. Home Page The Home link connects to the main page, which contains two parts. The first part of this page provides basic information about the ECAN-240-FD hardware and software. The software and hardware information section includes information related to the Model Name, the current Firmware version, the IP Address, the current position of the Initial Switch, the Alias, the MAC Address, and the TCP Port, and the System Timeout values.
The Port1/2 Settings section provides functions allowing items such as CAN port and filter settings to be configured. The following is an overview of the parameters contained in the Port1/2 Settings section: ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
Page 28
& “extended Mask ID” == “extended Filter ID” & “extended Mask ID” Update Settings Click this button to save the revised settings to the ECAN-240-FD. All settings will take effect after rebooting the device. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0...
EXT: using extended (2.0B) CAN ID, valid range: 00000000 ~ 1FFFFFFF. Update Settings Click this button to save the revised settings to the ECAN-240-FD. All settings will take effect after rebooting the device. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0...
LAN configuration. If they do not match, the ECAN-240-FD module will not operate correctly. If the settings are changed while the module is operating, any connection currently in use will be lost and an error will occur.
Page 31
Settings range value: 1 ~ 65535 (seconds); Default value: 180 (seconds); Disabled: 0; Click this button to save the revised settings to the ECAN-240-FD. Update Settings All settings will take effect after rebooting the device. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0...
Step 1: Select the “Static IP” option from the “Address Type” drop-down menu. Step 2: Enter the relevant details in the respective network settings fields. Step 3: Click the “Update Settings” button to complete the configuration. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
Step 1: Select the “DHCP” option from the “Address Type” drop-down menu. Step 2: Click the “Update Settings” button to complete the configuration. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
ECAN-240-FD device to assist with easy identification. AN FD Update Settings Click this button to save the revised settings to the ECAN-240-FD device. All settings will take effect after rebooting the device. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0...
IP header. If one or more IP address are saved to the IP Filter table, only clients whose IP is specified in the IP Filter List can access the ECAN-240-FD. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
4.7. Password Page For the first time to use the ECAN-240-FD device or clicking the Password tab, the Change Password page will be displayed. To change a password, first enter the old password in the “Current password” field (use the default password “admin”) and then enter a new password in the “New password”...
5. Modbus Information The ECAN-240-FD module supports two Modbus function codes (0x04 and 0x10), as described in the table below. Code Function Description 04 (0x04) Read the Input This function code is used to read either the input registers of...
5.1.1.5 Others “Others” information, including firmware version and rotary switch value of ECAN-240-FD module. Others Protocol Words Description Base Address Base Address (0xxxx) (3xxxx) 08193 ~ 08193 38194 ~ 38194 Firmware Version 08194 ~ 08194 38195 ~ 38195 Rotary Switch Value of SW2/SW1 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0...
Modbus Gateway, etc... 6.1. Modbus Gateway The ECAN-240-FD module is a Modbus TCP to CAN/CAN FD gateway that enables a Modbus TCP host to communicate with CAN/CAN FD devices through an Ethernet network, and eliminates the inherent cable length limitations of CAN/CAN FD bus communication.
Be aware that ALL settings will be restored to the factory default values after the module is reset. Step 1 Locate the SW1/SW2 switch that can be found on the top side of the ECAN-240-FD module and set SW2 to “F” and SW1 to “E” position. Reboot the module to load factory default settings including default web password.
Page 59
IP, Mask and Gateway addresses, and then click the “OK” button to save the new settings. Step 4 Reset the SW1/SW2 switch on the ECAN-240-FD module to SW2 to “0” and SW1 to “0” position and reboot the device. Step 5 Log in to the web configuration pages for the ECAN-240-FD module, using the default web password, “admin”.
RARP provides a method of dynamically mapping 48-bit MAC address to the corresponding 32-bit IP address. RARP has now been replaced by the Bootstrap Protocol (BOOTP) and the modern Dynamic Host Configuration Protocol (DHCP). ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
Physically, the Internet is a collection of packet switching networks interconnected by gateways that together with the TCP/IP protocol, allows them to perform logically as a single, large and virtual network. The Internet recognizes hosts using 32-bit IP address. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
A packet is the unit of data sent across a physical network. It consists of a series of bits containing data and control information, including the source and the destination node (host) address, and is formatted for transmission from one node to another. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
UDP is suitable for purposes where error checking and correction is either not necessary or is performed in the application. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page:...
Need help?
Do you have a question about the ECAN-240-FD and is the answer not in the manual?
Questions and answers