Ethernet via GCAN-202, which makes the interconnection easier and extends the application scope of CAN-Bus. The GCAN-202 is a professional tool with CAN-Bus product development and data conversion. Computer can connect to the CAN-Bus network by the Ethernet interface quickly.
Page 5
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 1.2.2 CAN Features Integrate two CAN-Bus channels, with terminal connection Support CAN2.0A and CAN2.0B, conform to ISO/DIS11898 Support communication baud rate: 5Kbps~1Mbps Electric isolation, insulation level: DC 3000V ...
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 2 Installation This chapter introduces the dimension of GCAN-202, the method connected to computer and some attentions first used. 2.1 Fix and installation Figure2.1 Dimensions of GCAN-202 2.2 Software installation The software has no need for installation, just double-click to open and use.
2.3 Connect with computer The LAN interface of GCAN-202 make communication with Ethernet interface of computer directly. 2.4 CAN-Bus connection The GCAN-202 has two CAN-Bus channels, and it can connect one or two devices of CAN-Bus network or CAN-Bus interface. Port Name...
Figure 3.1 Restore Factory Settings of GCAN-202 3.1.2 Change the computer’s IP address Please ensure the computer with an Ethernet card. And the computer and GCAN-202 must be in the same network segment. If not, users must change the computer's IP address.
Page 9
Figure 3.2 TCP Server mode 3.2.2 TCP Client mode In TCP Client mode, GCAN-202 will take the initiative to establish connection with the pre-set TCP server. If failed, client will keep trying to connect TCP according to the setting condition. The process of building the connection as Figure 3.3 shows.
Figure 3.4 UDP mode 3.3 CAN-Bus connection The GCAN-202 converter must be installed two 120 ohms terminal resistance at the farthest end of CAN-Bus network. If the node number is more than 2, intermediate nodes needn’t to install 120 ohms terminal resistance. For branch connections, the length should not exceed 3 meters.
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 5 kbit/s 13km Table 3.1 the relationship between CAN-Bus length and baud rate 3.4 System status indicator light GCAN-202 has five indicator lights as shown in Table 3.2. Indicator Colour State Green Power indicator...
IP address, CAN working mode, CAN’s baud rate and other basic parameters. 4.1 Connection IP address must be filled when connecting to GCAN-202. If forget it, please restore factory settings and the default IP is 192.168.1.10. See chapter 3.1.1 for details. Click "Connect", and it shows the following software interface.
Industrial-grade Ethernet-CAN converter-GCAN-202 "Open" – open and read the configuration information file in the computer. "SaveAs" - save the configuration information file into computer. "UpDate App" - upgrade the GCAN-202 firmware kernel. (Please use this function under guidance) 4.2 Configure basic information After finished the connection, click "UpLoad"...
Page 14
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 "IP Address" - set the GCAN-202 IP address. "Gateway" - set the GCAN-202 gateway. "Subnet Mask" - set the GCAN-202 subnet mask. 4.2.2 CAN-Bus parameter setting Click "CAN1/CAN2 Info" to enter the interface of CAN-Bus parameters setting.
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 "TCP Port" - set the CAN-Bus communication port. "Can Baud" - set the CAN-Bus communication baud rate; details in Table 4.1. "Can Mode" - set the CAN-Bus working mode. "Can Filter" - not open, the default is 0.
4.4 Save/load configured files "SaveAs" - save the configured files in your computer for later using. "Open" - open the earlier configured files from your computer. 4.5 Update firmware kernel of GCAN-202. Please contact us. Product data sheet...
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 5 Usage of "CANet test" software This software can test some basic functions of GCAN-202 if are normal in TCP Server mode. User will be supplied some basic VB routine to develop testing system by themselves.
6.1 Preparatory work Before the testing, please make sure: GCAN-202’s CAN_H & CAN_L have been connected to CAN interface of the target equipment GCAN-202 has finished the configuration Two 120 ohms terminal resistance must be installed at the both end of CAN-Bus network ...
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 6.2 Test in TCP Sever mode Make sure GCAN-202 is in TCP Sever mode. Open "Net Assist" Choose protocol of "TCP Client" Fill in the "Local host addr" Fill in the "Remote host address" (default: 192.168.1.10:4001) If there isn’t CAN-Bus data transmission, the message will show:...
Note: re-power after completed configuration, need to check "hex display" and "send as hex". 6.3 Test in TCP Client mode Make sure GCAN-202 is in TCP client mode. Open "Net Assist" Choose protocol of "TCP Sever" Fill in the "Local host add"...
Industrial-grade Ethernet-CAN converter-GCAN-202 Note: re-power after complete configuration. "Receive as hex" and "send as hex" must be ticked. 6.4 Test in UDP mode Make sure GCAN-202 is in UDP mode. Open "Net Assist" Choose protocol of "UDP" Product data sheet...
Page 22
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 Fill in the "Local host addr" Fill in the "Local host port" (default: 8001) Please note: re-power after complete configuration. "Receive as hex" and "send as hex" must be ticked. Product data sheet...
Industrial-grade Ethernet-CAN converter-GCAN-202 7 Baud rate modification online 7.1 Function Description In TCP Sever mode, GCAN-202 supports CAN-Bus baud rate modification online via Ethernet. Write the instructions into the upper computer to achieve modification of baud rate. It’s more concise and faster.
Page 24
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 take effect immediately. GCAN-202 will transmit: 10 00 00 08 01 02 01 01 00 05 00 00 earlier modified take effect immediately. Note: these three group data should be sent in order. If the message of "take effect immediately"...
8 Secondary development Depend on needs, Ethernet can achieve the function configuration of integrating with GCAN-202 in the specific upper computer by configuration protocol. Meanwhile detail library and explanation can be offered to secondary development. Also the source code of "CANet test" software provided can achieve secondary development.
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 Appendix A: CAN2.0B protocol frame format CAN2.0 standard frame CAN standard frame information is 11 bytes, including two parts: information and data parts. The three bytes at the beginning are the information parts.
Page 28
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 CAN2.0 extend frame CAN extend frame information is 13 bytes, including two parts, information and data parts. The five bytes at the beginning are the information parts. Figure A2 Byte 1: frame information...
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 Appendix B: definition of data flow Multiple data of CAN-Bus is in one Ethernet data. Definition of Ethernet & CAN-Bus data flow: One frame data contains 13 bytes. Frame information include length & type,1 byte in length.
Page 30
Shenyang Guangcheng Technology Co., Ltd. Industrial-grade Ethernet-CAN converter-GCAN-202 Note: Every frame must be 13 bytes, must complement 0 if don’t have enough 13 bytes in both case: frame ID is less than 4 bytes or frame data is less than 8 bytes.
Need help?
Do you have a question about the GCAN-202 and is the answer not in the manual?
Questions and answers