ICP DAS USA ECAN-240-FD User Manual

ICP DAS USA ECAN-240-FD User Manual

Modbus tcp to 2-port can fd gateway

Advertisement

Quick Links

User Manual
Version 1.0.0, July. 2022
ECAN-240-FD
(Modbus TCP to 2-port CAN FD Gateway)
1
ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual
Version 1.0.0
Page:
Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved
E-mail: service@icpdas.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ECAN-240-FD and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ICP DAS USA ECAN-240-FD

  • Page 1 User Manual Version 1.0.0, July. 2022 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 2: Table Of Contents

    ..........................39 ONITOR 4.7..........................41 ASSWORD 4.8........................... 42 OGOUT 5. MODBUS INFORMATION ..................43 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 3 ROTOCOL APPENDIX C. VALID DATA PHASE BIT RATE OF CAN FD ..........64 APPENDIX D. REVISION HISTORY .................. 66 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 4 Contact us If you encounter any problems while operating this device, feel free to contact us via mail at: service@icpdas.com. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 5: Introduction

    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.
  • Page 6: Features

    1.2. Applicaitons  Control System  Building Automation  Factory Automation  Distributed data acquisition ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 7: Web Server Technology

    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.
  • Page 8: Hardware Information

    -25 °C ~ +75 °C Storage Temperature -30 °C ~ +80 °C Relative Humidity 10 ~ 90% RH, Non-condensing ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 9: Appearance

    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.
  • Page 11 The ECAN-240-FD is equipped with a +10 V to +30 V 3-pin terminal block that can be used to connect a DC power supply. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 12: Dimensions

    2.3. Dimensions The following diagrams provide the dimensions of the ECAN-240-FD module. All dimensions are in millimeters. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 13: Terminal Resistor Notes For Can Interface

    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.
  • Page 14: Getting Started For Ecan-240-Fd

    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.
  • Page 16: Configuring The Network Settings

    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”...
  • Page 17 Factory Default Settings of ECAN-240-FD Module: IP Address 192.168.255.1 Subnet Mask 255.255.0.0 Gateway 192.168.0.1 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 18: Configuring The Can Port

    “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.
  • Page 19 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 20: Self-Test

    (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:...
  • Page 23: Web Configuration

    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.
  • Page 25: Home Page

    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.
  • Page 26: Can Port Page

    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 27 Mask ID setting of extended CAN frame, valid range: 00000000 00000000 (Hex) ~ 1FFFFFFF. A filter that accepts frame whose identifier verifies: ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • 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...
  • Page 29: Specific Can Id Settings

    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...
  • Page 30: Network Page

    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...
  • Page 32: Manual Configuration

    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:...
  • Page 33: Dynamic Configuration

    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:...
  • Page 34: General Settings

    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...
  • Page 35: Restore Factory Defaults

    Utility. Refer to Chapter 3 Getting started for ECAN-240-FD for more details. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 36 Subnet Mask 255.255.0.0 DHCP Disabled The Forced Reboot function: can be used to force the ECAN-240-FD to reboot the device. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 37: Filter Page

    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:...
  • Page 38 Click this button to save the revised settings to the Submit 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 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 39: Monitor Page

    Both error counters are below the Error_Warning limit of 96 At least one of error counter has reached the Error_Warning limit of 96 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 40 CAN1/CAN2 to Modbus receive software buffer status Receive software buffer underrun Receive software buffer overrun 31:9 Reserved ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 41: Password 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”...
  • Page 42: Logout Page

    Logout tab, you will be immediately logged out from the system and be returned to the login page. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 43: Modbus Information

    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...
  • Page 44: Input Data Area

    CAN2 Rx Buffer Message #0 ~ #9 Reserved 08193 ~ 08194 Others: Firmware version, rotary switch value…etc. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 45: Can/Can Fd Rx Message Format

    CAN Data 50, 51 CAN Data 52, 53 CAN Data 54, 55 CAN Data 56, 57 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 46 *NOTE1: dlc ( Data Length Code) of CAN/CAN FD frame data length Frame data length Frame data length (Hexadecimal) (Decimal) (Hexadecimal) (Decimal) ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 47: Can Rx Fifo Address

    When there is no data in Rx FIFO #N, the corresponding 40 words data content will be 0. ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 48: Can Status Address

    Bit 9-31: reserved Bit 8: Modbus Tx FIFO overflow Bit 7: reserved Bit 6: CAN bus off ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 49 34615 ~ 34615 CAN2 Tx FPS 04615 ~ 04615 34616 ~ 34616 CAN2 Rx FPS ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 50: Can Rx Buffer Address

    CAN2 Rx Buffer Message #8 05480 ~ 05519 35481 ~ 35520 CAN2 Rx Buffer Message #9 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 51: Others

    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...
  • Page 52: Output Data Area

    Reserved 02049 ~ 02052 Others “System Reboot”, “Restore default setting”, Clear CAN status … etc ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 53: Can/Can Fd Tx Message Format

    CAN Data 48, 49 CAN Data 50, 51 CAN Data 52, 53 CAN Data 54, 55 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 54 *NOTE1: dlc ( Data Length Code) of CAN/CAN FD frame data length Frame data length Frame data length (Hexadecimal) (Decimal) (Hexadecimal) (Decimal) ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 55: Can Tx Fifo Address

    “Word No: 36 * N”, you can set N CAN messages to CAN2 Tx FIFO (N: maximum 5 messages). ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved...
  • Page 56: Others

    Others: do nothing 02052 ~ 02052 42053 ~ 42053 Clear CAN2 status 1: clear Others: do nothing ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 57: Typical Applications

    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.
  • Page 58: Appendix A. Troubleshooting

    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”.
  • Page 60: Appendix B. Glossary

    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:...
  • Page 61: Clients And Servers

    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:...
  • Page 62: Ip (Internet Protocol) Address

    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:...
  • Page 63: Ping

    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:...
  • Page 64: Appendix C. Valid Data Phase Bit Rate Of Can Fd

    458.0153 454.5455 451.1278 447.7612 444.4444 441.1765 437.9562 434.7826 431.6547 428.5714 425.5319 422.5352 419.5804 416.6667 413.7931 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 65 … 120.9677 120.7243 120.4819 120.2405 120.000 495 ~ 590 … 100.6711 100.5025 100.3344 100.1669 100.000 ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...
  • Page 66: Appendix D. Revision History

    The table below shows the revision history. Revision Date Description 1.0.0 July. 2022 Initial issue ECAN-240-FD (Modbus TCP to 2-port CAN FD Gateway) User Manual Version 1.0.0 Page: Copyright © 2022 ICP DAS Co., Ltd. All Rights Reserved E-mail: service@icpdas.com...

Table of Contents