GCAN -212 User Manual

Industrial ethernet-can converter

Advertisement

Quick Links

GCAN-212
Industrial Ethernet-CAN converter
User manual
Version: V3.80 (2120/10/20)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GCAN-212 and is the answer not in the manual?

Questions and answers

Summary of Contents for GCAN GCAN-212

  • Page 1 GCAN-212 Industrial Ethernet-CAN converter User manual Version: V3.80 (2120/10/20)
  • Page 2: Table Of Contents

    4.3 Configure basic communication information ..........15 4.4 Configuration is complete ................17 4.5 Save/load configuration files ............... 18 4.6 Upgrade GCAN-212 firmware kernel (please use this function under guidance) ......................18 5. CANET device test ....................19 6. Network debugging assistant ................. 20 6.1 Preparation before commissioning ..............
  • Page 3: Function Introduction

    GCAN-212 support TCP server, TCP client, UDP work mode, if user uses PC to connect to the GCAN-212 module, users can develop their own PC software. 1.2 Performance characteristics 1.2.1 Hardware features...
  • Page 4: Typical Application

    Vhandy Technology GCAN-212 user manual ● Integrated 2 CAN bus interfaces, using Phoenix terminal wiring mode; ● CAN bus signals include: CAN_H, CAN_L, CAN_GND; ● The CAN bus supports CAN2.0A and CAN2.0B frame formats, conforming to the ISO/DIS 11898 specification;...
  • Page 5: Installation

    The overall size of the device: (length, including terminal) 118mm * (width) 93mm * (height) 22mm, the schematic diagram is shown in Figure 2.1 and Figure 2.2, the user can design the installation and fixing holes of GCAN-212 according to this size.
  • Page 6: Interface Definition And Function

    Figure 2.2 GCAN-212 installation dimensions 2.2 Interface definition and function The GCAN-212 module (CANET-II) integrates one DC9-24V power interface, two standard CAN bus interfaces, and one Ethernet interface. The power interface is led out by a 3 PIN plug-in terminal (orange). The position and...
  • Page 7 DC power input negative Table 2.1 Definition of power interface The CAN bus interface of GCAN-212 module is led by two 3PIN plug-in terminals (green), which can be used to connect 2 CAN bus networks or devices with CAN bus interface. The interface position and interface definition are shown in Figure 2.4 and Table 2.2.
  • Page 8: Device Use

    IP address and forgot, then you can reset its parameters by long pressing the reset button. After GCAN-212 is powered on, find the reset button in the device as shown in the figure above, press the button for about 5-6 seconds, wait until the SYS indicator, CAN1, CAN2 indicator, and LAN indicator flash, it means that The system parameters have been reset.
  • Page 9: Connect With Ethernet

    Click Modify in the "IP Address" column, and enter the IP address of the same network segment as GCAN-212, as shown in the figure 3.2 You can complete the operation of adding and modifying the IP address of the PC.
  • Page 10 Figure 3.1 Schematic diagram of TCP Server mode 3.2.2 TCP Client mode In TCP Client mode, GCAN-212 will actively connect with the preset TCP server. If the connection is unsuccessful, the client will continue to try to establish a connection with the TCP server according to the set connection conditions.
  • Page 11: Connect With Can Bus

    Figure 3.3 Schematic diagram of UDP mode communication 3.3 Connect with CAN bus GCAN-212 is connected to CAN bus by connecting CAN_H to CAN_H and CAN_L to CAN_L to establish communication. The CAN bus network adopts a linear topology, and the two farthest terminals of the bus need to be installed with 120Ω...
  • Page 12: System Status Indicator

    CAN2 data indication Table 3.2 GCAN-212 Indicator After GCAN-212 interface card is powered on, PWR is on, and the system status indicator SYS is on, indicating that the device is powered and the system is initializing; otherwise, it indicates that there is a system power failure or a...
  • Page 13 Stop flashing Equipment failure Steady red CAN bus communication failure Flashing green CAN bus has data transmission CAN1、CAN2 Flashing with SYS The device enters the reset state light and LAN light Table 3.3 GCAN-212 indicator status...
  • Page 14: Use Of Canet-Wifi-Config Software

    (Refer to 3.1.1 for details about restoring factory settings) 4.2 GCAN-212 connection When configuring the GCAN-212 device, you only need to connect the power supply and connect the Ethernet port to the computer. Open the CANet-Wifi- Config software, select GCAN-212 (CANET) as the device type, and enter the IP address of GCAN-212 (default IP: 192.168.1.10, see 3.1.1 for details on...
  • Page 15: Configure Basic Communication Information

    'Download'-download the configuration information to the device's Flash. 'Open'- Opens a stored configuration file from the computer. 'SaveAs'-save the configuration information file to the computer. 'UpDate App'-upgrade the GCAN-212 (CANET) firmware kernel. (Please use this function under guidance) 4.3 Configure basic communication information After the connection is successful, click 'UpLoad' to upload the parameters in the device to the computer.
  • Page 16 Vhandy Technology GCAN-212 user manual 'IP Address'——Set GCAN-212 IP address. 'GateWay'——Set GCAN-212 gateway. 'Subnet Mask'——Set GCAN-212 subnet mask. 4.3.2 CAN bus parameter setting Click "CAN1/CAN2 Info" to enter the CAN bus parameter setting interface. 'TCP Port'——Set CAN bus communication port.
  • Page 17: Configuration Is Complete

    (please refer to the last page for contact information) 4.4 Configuration is complete When the user modifies a certain parameter, this part will turn red in the software. After the user completes the configuration, click "Download Parameters" to download the configuration information to the GCAN-212 Flash.
  • Page 18: Save/Load Configuration Files

    This configuration file can also be opened through the software 'Open' for future use. 4.6 Upgrade GCAN-212 firmware kernel (please use this function under guidance) This function can upgrade the kernel program of GCAN-212, please use it under the guidance of GCAN engineers.
  • Page 19: Canet Device Test

    The software using VB language, we provide users with the software source code for reference. You can enter the IP address of GCAN-212 in the "IP" field, and the port number of the CAN channel in the "Port" field, and click "Connect" to connect to the device.
  • Page 20: Network Debugging Assistant

    Before debugging, please make sure that you have configured GCAN-212. If you use a PC to connect to the GCAN-212 device, you can enter the cmd command prompt of the computer after the GCAN-212 device is powered on (press 'windows+R'-enter 'cmd' and click OK) , Input the 'arp -d' command and the 'ping 192.168.1.10' command (or other IP configured by you) in turn to...
  • Page 21: Tcp Server Mode Communication Test

    In the configuration software, set the TCP Mode of the CAN1 channel to 1, that is, GCAN-212 is in TCP Server mode, and the CAN baud rate (CAN Baud) is 5, which is 250k. Enter the network debugging assistant, select the protocol type as TCP Client;...
  • Page 22: Tcp Client Mode Communication Test

    In the configuration software, set the TCP Mode of the CAN1 channel to 2, that is, GCAN-212 is in TCP Client mode; the remote IP address (Remote IP) is the IP address of the PC, and the remote port number (Remote Port) is the port number of the IP address , The default value is 8001.
  • Page 23: Udp Mode Communication Test

    In the configuration software, set the TCP Mode of the CAN channel to 3, that is, GCAN-212 is the UDP mode; the remote IP address (Remote IP) is the IP address of the PC, and the remote port number (Remote Port) is the port number of the IP address.
  • Page 24: Ethernet Heartbeat Data

    GCAN-212 user manual 6.5 Ethernet Heartbeat data When the GCAN-212 device working in TCP Server mode and successfully connects to the PC via Ethernet, if there is no CAN data transmission on a CAN channel, the receiving window of the network debugging assistant will display a status message, for example,"...
  • Page 25 Vhandy Technology GCAN-212 user manual interval is 2 seconds. This message can help you detect whether the connection status of the TCP port is normal. When the CAN channel transmits data normally, the status message will be suspended.
  • Page 26: Modifying Parameters Online

    Vhandy Technology GCAN-212 user manual 7. Modifying Parameters Online The GCAN-212 supports online modification of configuration parameters over Ethernet. If you need to use this function, contact Guangchen technical support engineers.
  • Page 27: Secondary Development

    Vhandy Technology GCAN-212 user manual 8. Secondary development We also provides GCAN-212 simple test software routine source code, users can develop the host computer debugging and analysis software based on this code or integrate this function into the existing software system.
  • Page 28: Technical Specifications

    Vhandy Technology GCAN-212 user manual 9. Technical specifications Connection method Ethernet side RJ45 CAN terminal OPEN3 Phoenix terminal Interface characteristics Ethernet interface 10/100M adaptive CAN interface Follow ISO 11898 standard, support CAN2.0A/B CAN baud rate 5Kbit/s~1Mbit/s Electrical isolation DC1500V CAN terminal...
  • Page 29: Frequently Asked Questions

    Please check whether the IP address of the software connection is in the same network segment as GCAN-212, or whether the computer IP is set to a static IP and is in the same network segment as GCAN-212.
  • Page 30 When using GCAN- 212, please disable the standby and sleep functions of the system.
  • Page 31: Disclaimer

    Vhandy Technology GCAN-212 user manual 11.Disclaimer Thank you for purchasing the GCAN series of software and hardware products from Vhandy Technology. GCAN is a registered trademark of Shenyang Vhandy Technology Co., Ltd. This product and manual are copyrighted by Vhandy Technology. Without permission, it is not allowed to reproduce in any form.
  • Page 32: Gcan-212 (Canet) Data Definition

    Vhandy Technology GCAN-212 user manual 12. GCAN-212 (CANET) data definition One piece of Ethernet data can contain multiple pieces of CAN bus data, each piece of CAN data converted to Ethernet is 13 bytes, so the length of an Ethernet packet must be a multiple of 13.
  • Page 33 Vhandy Technology GCAN-212 user manual 0x12345678, and it contains 8 bytes of valid data (11h, 22h, 33h, 44h, 55h, 66h, 77h, 88h). 88h 12h 34h 56h 78h 11h 22h 33h 44h 55h 66h 77h 88h The following example is a UDP standard data frame, the frame ID is 0x123,...
  • Page 34: Sales And Service

    Vhandy Technology GCAN-212 user manual Sales and Service Shenyang Vhandy Technology Co., Ltd. Address: ROOM 401, BOLOCK D11, SISP., HUNNAN DISTRICT, SHENYANG CITY, LIAONING PROVINCE, CHINA E-mail:info@gcanbus.com Tel/ Whatsapp: +86 13644001762 Skype:live:sygckj WeChat : gckj777 Website: www.gcanbus.com...

Table of Contents