CAN-bus network and Ethernet, and further expand the scope of CAN-bus network. The CANET-8E-U is an industrial grade product and works in the temperature range of -40° C to +85° C. It has 100M/1000M adaptive Ethernet interface. The highest baud rate of CAN port communication is 1 Mbps.
High-Performance Four-Channel CANFD Bus-to-Ethernet Converter User Manual User Manual 1.4 Mechanical Dimensions To install CANET-8E-U, refer to the appearance and mechanical dimensions (unit: mm) provided in Figure 1.2. The figure specifies the length, width, height, and part of the mechanical structure of the product.
If the power is fully connected, the "PWR" indicator will remain red. The power port of CANET-8E-U also has a ground terminal, which is used to connect to the ground for static electricity or surge discharge.
Improve signal quality. CANET-8E-U uses a mechanical switch to select a terminal resistor. The DIP switch is at the bottom of the device, as shown in Table 2.2. The device's DIP switch is "ON" by default; that is, the default access terminal resistance is 120 ohm.
2.6 CAN Communication Interface The commonly used electrical connectors for CAN-bus communication interface are: DB9 socket, OPEN5 socket, OPEN3 socket, etc. The CANET-8E-U interface card integrates 1 to 8 CAN channels, which can be used to connect CAN-bus network or devices equipped with CAN-bus interface.
User Manual 2.7 Signal Indicators The CANET-8E-U interface card has a power indicator PWR and a SYS indicator. Each corresponding channel has two CAN interface status indicators to indicate the operating status of the channel. Table 2.5 describes the indicators.
User Manual 3. Hardware Connection In general, the CANET-8E-U can be used to bridge CAN_Bus and Ethernet, which interconnects your CAN_Bus and Ethernet and allows PCs to control the devices on the your CAN_Bus network through the Ethernet. Figure 3.1 shows a typical application.
4.2 TCP Client Mode Figure 4.2 TCP Client mode communication In TCP Client mode, the CANET-8E-U will actively connect to the preset TCP server. If the connection fails, the client continuously tries to establish a connection with the TCP server based on the preset connection conditions. After establishing a TCP connection with the TCP server, two-way data communication can be carried out.
Tip: In this mode, CANET-8E-U uses "working port (see Table 6.1)" to receive UDP packets sent by user equipment; the data received by the CAN port of the CANET-8E-U device will be sent to the "destination port (see Table 6.1)" of six groups of valid "destination IP (see Table 6.1)".
High-Performance Four-Channel CANFD Bus-to-Ethernet Converter User Manual User Manual 5. Quick Instructions This chapter describes the basic usage of CANET-8E-U and the installation settings of related software and hardware. Before using the CANET device, learn about the network parameters such as the IP address of the device.
Figure 5.11 Software used to test communication The following communication operations are based on the premise that the parameters have been configured for CANET-8E-U. The device IP address is changed to the IP address of the same network segment of the test computer, 192.168.7.190. The CAN0 port is configured as TCP Server, and the working port is 4001.
ZNetCom software. 6.1 Installing Configuration Software Search for "ZNetCom" at the ZLG Electronics official website www.zlg.cn to download the latest version. Double-click the unzipped EXE file. The welcome window shown in Figure 6.1 appears.
Page 36
Device IP an address on a network assigned by a network device 192.168.0.178 address (such as a PC and CANET-8E-U). It is unique on the same network. The subnet mask is very important to the network. Device subnet Within the same network, the IP address and subnet addre 255.255.255.0...
Page 37
(10 ms) every time interval filled in this item. The CANET-8E-U will disconnect the connection if the other party does not respond to three consecutive heartbeat packets. If you fill in "0", the "heartbeat packet"...
Page 40
CANFDNET-400U High-Performance Four-Channel CANFD Bus-to-Ethernet Converter User Manual User Manual When CANET-8E-U works in TCP Sever, each CAN port can have a maximum of 255 TCP connections by default without configuration; Number of When working in TCP Client mode, this item is used to...
Page 41
End address 1 192.168.0.55 address, multiple network devices will communicate with CANET-8E-U at the same time. The first three bytes of the IP address segment must conform to the subnet mask 1 limit, and the fourth byte of the ending address must be greater than or equal to the fourth byte of the starting IP address.
Socket link will only display 13 bytes of data (for the specific meaning, see Section 8.1); follow the rules to write a program for analysis. If you choose the first method, ZLG Electronics provides 32-bit and 64-bit CAN card application programming interface functions to support most mainstream development environments;...
Page 47
The CAN interface card secondary development interface function library provides 32-bit and 64-bit versions, including a kerneldlls folder and a ControlCAN.dll file. The CANET-8E-U upper computer routine provides related demonstration codes, which helps you learn the calling process of interface functions.
CANFDNET-400U High-Performance Four-Channel CANFD Bus-to-Ethernet Converter User Manual User Manual 8.2 CANET-8E-U Data Conversion Format of TCP Notification Port in CAN Port State 某路CAN对应的TCP通知端口被连接后,如果此路CAN发生错误, 通知端口将向主机定时发出状态警告,TCP包数据段格式如下: CMD Time1 Time2 Time3 Time4 55h 固定格式。包头AAh 00h,包尾55h 状态码 Time1 Time2 Time3 Time4 错误计数(32bit),高字节在前,即Time1为高字节 Status meaning (both are CANET devices)
ZLG Electronics does not guarantee the applicability of this document at any time. ZLG Electronics shall reserve the right to update this manual without prior notice. To get the latest version, please visit the official website of ZLG Electronics regularly or contact ZLG Electronics. Thank you!
Need help?
Do you have a question about the CANET-8E-U and is the answer not in the manual?
Questions and answers