AXIOMATIC AX140940 User Manual

Can to modbus tcp/ip converter

Advertisement

Quick Links

User Manual UMAX140940
Version 1
Firmware 1.xx
USER MANUAL
CAN to Modbus TCP/IP Converter
P/N: AX140940
In Europe:
In North America:
Axiomatic Technologies Oy
Axiomatic Technologies Corporation
Höytämöntie 6
5915 Wallace Street
33880 Lempäälä - Finland
Mississauga, ON Canada L4Z 1Z8
Tel. +358 103 375 750
Tel. 1 905 602 9270
Fax. +358 3 3595 660
Fax. 1 905 602 9279
www.axiomatic.fi
www.axiomatic.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AX140940 and is the answer not in the manual?

Questions and answers

Summary of Contents for AXIOMATIC AX140940

  • Page 1 User Manual UMAX140940 Version 1 Firmware 1.xx USER MANUAL CAN to Modbus TCP/IP Converter P/N: AX140940 In Europe: In North America: Axiomatic Technologies Oy Axiomatic Technologies Corporation Höytämöntie 6 5915 Wallace Street 33880 Lempäälä - Finland Mississauga, ON Canada L4Z 1Z8 Tel.
  • Page 2 VERSION HISTORY Version Date Author Modification September 30 , 2021 Meera Patel Initial Draft for Rev 1 hardware March 8 2022 Meera Patel Solved the Bug of CAN RX message ON/OFF Added Standard ID CAN Messages for CAN Rx. Added CAN Shared PGN support for CAN Tx.
  • Page 3 Conversion Method Diagnostic Message (from SAE J1939 standard) Diagnostic Trouble Code (from SAE J1939 standard) ® Electronic Assistant . PC application software from Axiomatic Electronic Control Unit (from SAE J1939 standard) EEPROM Electrically Erasable Programmable Read-Only Memory Electromagnetic Compatibility Electrostatic Discharge...
  • Page 4 Service Pack Suspect Parameter Number (SAE J1939) Software Transmission Control Protocol UDP/IP User Datagram Protocol / Internet Protocol Underwriters Laboratories (safety organization) Universal Serial Bus Volt Volt Direct Current Watt or Width (for size) Wide Area Network UMAX140940. CAN to Modbus TCP/IP Converter. Version 1...
  • Page 5: Table Of Contents

    TABLE OF CONTENTS 1. CONVERTER DESCRIPTION ..................... 6 1.1 Hardware Block Diagram ....................6 1.2 LED Indicators ......................... 7 1.3 Firmware Organization ....................7 1.3.1 Communication Device ....................8 1.3.1.1 TCP/IP Protocol ......................8 1.3.2 Web Server ......................... 8 1.3.3 Firmware Updates ....................... 8 CONVERTER CONFIGURATION ..................
  • Page 6: Converter Description

    1. CONVERTER DESCRIPTION The CAN to Modbus TCP/IP Converter is a simple device converting CAN frames into MODBUS TCP/IP datagrams and sending them over the Ethernet network. The device can also convert Modbus TCP/IP datagrams into CAN frames. The converter has one CAN and one Ethernet port. It supports a high-speed CAN with baud rate up to 1Mbit/s and a fast 100Mbit/s Ethernet.
  • Page 7: Led Indicators

    1.2 LED Indicators There are three LED indicators on the front panel of the converter. A bi-color “Power” indicator shows whether the unit is powered. It turns red when there is an error on the CAN power output. The two Ethernet LED indicators are hardwired to the PHY chip and show the transmission speed “Ethernet 10/100”...
  • Page 8: Communication Device

    1.3.1 Communication Device The Communication Device supports a master/slave communication model to communicate CAN messages and other auxiliary information over the Ethernet. In this model, the Communication Device has a primary slave role, allowing external clients to establish independent connections with the device. In addition to the slave role, the device can also act as a master, if the Ethernet Master Enabled configuration parameter is set to YES.
  • Page 9: Converter Configuration

    CONVERTER CONFIGURATION The converter supports configuration over the internal website running on the device embedded web server. The default “Device IP Address” is 192.168.1.25 and the default Web Server Port is 80. Please, make sure that there are no other devices on this IP address when connecting the converter for the first time to your LAN for configuration.
  • Page 10 Figure 3. Converter Home Page The home page shows the device information, including the converter part number, serial number, and firmware version. It also shows Ethernet and CAN main configuration parameters including some communication statistics (number of messages for each interface). You will need to allow the site to run JavaScript (this setting is default in most web browsers).
  • Page 11: Changing Configuration Parameters

    Figure 4. Enable JavaScript Prompt The Ethernet configuration parameters are combined into Slave (Server) and Master (Client) groups for convenience. The Ethernet and CAN configuration parameters have tooltips clarifying their meaning, see Figure 55. Figure 5. A Tooltip for the “Auto Connect to Remote” Configuration Parameter 2.1 Changing Configuration Parameters All configuration parameters except the Modbus TCP/IP Master/Slave and CAN RX/TX settings can be changed through the Main Settings web page.
  • Page 12 The configuration pages can be reached by clicking on their links on the left side of the website. Each configuration web page has fields to enter values of the configuration parameters and three buttons: “Save Settings”, “Discard Settings” and “Set Defaults”. The “Save Settings”...
  • Page 13: Ethernet Configuration

    After pressing the “Save Settings” button and saving the configuration parameters, the converter replies with a confirmation message showing a result of the saving operation. For example, if the user has successfully changed the CAN RX settings, the following message will appear: Figure 7.
  • Page 14: Can Configuration

    2.3 CAN Configuration The CAN configuration parameters can be changed through the “Main Settings”, “CAN Rx Settings”, and “CAN Tx Settings” web pages. The main CAN configuration parameters are available through the “Main Settings” web page, see Table 3. Table 3. Main CAN Configuration Parameters Configuration Default Value Range...
  • Page 15 directed accordingly. To make an internal CAN loop by configuring ‘CAN RX message’ as data destination for CAN RX. The ‘Timeout’ value specifies the amount of time for which CAN data will be stored in the input buffer after receiving the data. Setting ‘Timeout’ to 0 will allow us to use the last CAN input data continuously until we receive a new message.
  • Page 16: Can Tx Configuration / Can_Tx_Settings.html

    The user can independently configure ‘CAN RX Message’ Settings for each CAN Message, through ‘CAN Receive Message Select’ – ‘Next’, ‘Previous’ or ‘Jump to’. “CAN RX Settings” for each message run in parallel. It is sufficient to satisfy requirements of any active filter to pass the CAN message to the Ethernet network.
  • Page 17 Figure 10. Converter CAN ID Mask Filters Page UMAX140940. CAN to Modbus TCP/IP Converter. Version 1 Page: 17-35...
  • Page 18: Modbus Tcp/Ip Settings

    Modbus TCP/IP Settings The CAN to Modbus TCP/IP Converter supports Modbus TCP/IP slaves running on Ethernet port. The number and start address for each of the Modbus TCP/IP slave’s inputs, coils and registers can be specified, see Figure 11. Please note that the slave interface is enabled only if the Modbus TCP/IP master implementation is not running on that interface.
  • Page 19: Modbus Tcp/Ip Master Settings

    3.1 Modbus TCP/IP Master Settings The CAN to Modbus TCP/IP Converter supports Modbus TCP/IP master running on its Ethernet port. The ‘Ethernet Master Enable’ options need to be set to YES for enabling the Modbus TCP/IP master, see Figure 12. Please note that enabling the Modbus TCP/IP master will disable the Modbus TCP/IP slave for that device.
  • Page 20: Diagnostics Routing

    3.2 Diagnostics Routing J1939 DM1 configurable diagnostics frames can be routed to Modbus TCP/IP slave interfaces using the Diagnostics routing configuration. There are 16 configurable diagnostics messages. The routing options include routing all received diagnostics to Modbus TCP/IP or only routing the specified ones.
  • Page 21: Upload/Download Settings

    3.3 Upload/Download Settings The settings can be downloaded from the CAN to Modbus TCP/IP Converter as a binary file. When a settings file is uploaded to the CAN to Modbus TCP/IP Converter, the settings are checked using a CRC32 checksum. In case the checksum is not correct, the uploaded settings will not be stored to non-volatile memory.
  • Page 22: Firmware Update

    Then the user selects the new firmware file using the Browse… button. The firmware file is provided by Axiomatic in a proprietary binary format with extension: .af. The file name should have the following format: AF-21124-X.XX.af, where the <X.XX> field wildcard reflects the firmware version number.
  • Page 23: Applying The New Firmware

    When the file is selected, the user should press the Upload button. The user will see the dynamic message: “Loading…” in the bottom of the screen and then, if everything is in order, the converter will switch automatically to the “Firmware Update” page. 4.2 Applying the New Firmware On the Firmware Update page, the user will see the new firmware file information.
  • Page 24 Figure 17. Firmware Update Countdown has been Started. The countdown timer is set for 30 seconds necessary to complete the flashing process and reboot the unit, after which the converter home page will be displayed. The user will see the new application firmware version number in the Device Information section on the converter home page.
  • Page 25: Converter Deployment

    CAN to Modbus TCP/IP Converter. The majority of Axiomatic PC software tools support the Ethernet to CAN converter. They can connect to the CAN bus using the Ethernet to CAN converter the same way as they connect to ®...
  • Page 26: Converter Configuration

    Ethernet to CAN Converter Ethernet cable Internet Cloud Ethernet to CAN Converter Ethernet cable Figure 19. Global Internet Connection through the WAN In the simplest scenario, two pre-configured converters can be connected by an Ethernet cable, see: Figure 20. Due to the Auto-MDIX feature, both: the straight and crossover cables can be used.
  • Page 27: Client Configuration

    For the CAN network, configure the necessary ‘Baud Rate’ and Set ‘Auto baud rate enable’ to YES. An example of the converter configuration as a server is presented in Figure 21. Figure 21. The Converter Server Configuration Example 5.1.2.2 Client Configuration In the client configuration, the user should set ‘Device IP Address’...
  • Page 28 in the server mode and activate the client mode by setting the ‘Modbus TCP/IP Master Enable’ to YES. The CAN network setup is done similarly to the server mode; the ‘Baud Rate’ is set to the desired baud rate (not necessarily the same as on the server). An example of the converter configuration in a client mode is presented in Figure 22.
  • Page 29 Please note, that if the converters are connected over the internet, the ‘Remote IP Address’ of the client will be a public IP address of the server, not the internal server IP address presented as the ‘Device IP Address’ on Figure 21. The network administrator on the server side will be required to configure port forwarding to open internet access to the converter in the server mode.
  • Page 30: Technical Specifications

    TECHNICAL SPECIFICATIONS 6.1 Power Supply 6.1.1 Input Power supply input is located on the Ethernet connector. The power supply uses automotive battery power. It is not compatible with the PoE (Power over Ethernet) IEEE 802.3 standard. Table 4. Power Supply Input Parameter Value Remarks...
  • Page 31: Ethernet Connector

    6.2.1 Ethernet Connector M12 socket, 8-pin, A-coded, female connector, Phoenix Contact, P/N: 1441817. Table 7. Ethernet Connector Pinout PIN # Description BAT + (9-36V) BAT – (GND) BAT – (GND) ETH_TX – ETH_RX + ETH_TX + BAT + (9-36V) ETH_RX – Use A-coded mating connectors compliant with IEC 61076-2-101:2012.
  • Page 32: General Specifications

    CAN Cable - 1.5 m (5 ft.), 5-pin M12 A-coded, Unterminated Leads. AX140940K Service tool kit, contains: • AX140940 CAN to Modbus TCP/IP Converter: • AX070531 Ethernet and Power Cable - 1.7m (5.5 ft.), 8-pin M12 A-coded, Unterminated Leads, Ethernet Jack;...
  • Page 33: Housing

    6.6 Housing Injection molded enclosure and cover. Material: PA66, 30% glass fiber reinforced, flame retardant UL 94 V-0. Ultrasonically welded. For dimensional drawing, see Figure 24. Figure 24. Dimensional Drawing UMAX140940. CAN to Modbus TCP/IP Converter. Version 1 Page: 33-35...
  • Page 34: Third Party Software License Notices

    THIRD PARTY SOFTWARE LICENSE NOTICES This section contains Third Party Software License Notices and/or Additional Terms and Conditions for licensed third-party software components included in the Ethernet to CAN Converter firmware. Table 12. Third Party Software License Notices Third Party Software License Notice/Terms STMicroelectronics COPYRIGHT(c) 2015 STMicroelectronics...
  • Page 35 *************************************************************************** FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Full license text is available on the following link: http://www.freertos.org/a00114.html LwIP v2.0.2 Copyright (c) 2001-2004 Swedish Institute of Computer Science.
  • Page 36 Any inquiries should be sent to sales@axiomatic.com. Fan Drive Controllers SAFE USE Gateways, CAN/Modbus Protocols All products should be serviced by Axiomatic. Do not open the product and perform the service yourself. Gyroscope Inclinometers This product can expose you to chemicals which are known in the Hydraulic Valve Controllers State of California, USA to cause cancer and reproductive harm.

Table of Contents