Udp Mode - ZLG CANFDNET-200U User Manual

High-performance dual-channel ethernet to can (fd) converter
Table of Contents

Advertisement

CANFDNET-200U
High-Performance Dual-Channel Ethernet to CAN (FD) Converter User Manual
Click [OK]. The device connects to ZCANPRO. The communication with the device is set up. For
communication information, see TCP Server mode.

5.4.3 UDP Mode

In UDP mode, the UDP protocol is used for data communication. UDP is a non-connection-based
communication method. It cannot guarantee that the data packets sent to the target host will be received correctly.
Therefore, in the scenarios with high reliability requirements, the upper-layer communication protocol must be
used to ensure that the data is correct; however, because UDP is a simple communication method, it will not
increase too much additional communication volume, and can provide a higher communication speed than the
TCP method to ensure the real-time transmission of data packets. In fact, when the network environment is
simple and the network communication load is not too large, the UDP working method is not error prone. The
devices working in this mode are equal, and there is no server and client.
When the device is in UDP mode, the PC should also work in UDP mode. On the [Device Management]
interface of ZCANPRO, set the device type to [CANFDNET-UDP], and start the device.
On the displayed startup device interface (as shown in Figure 5.11), set [local port], [IP address], and
[working port]. For example, if the current device IP address is "192.168.0.178", the connection target IP address
is "192.168.0.55", the target port is 8000, and the local port is 4001, set [Local Port] to the device target port 8000,
[IP Address] to the device IP address "192.168.0.178", and [Working Port] to the device local port 4001.
Figure 5.10 Starting the CANFDNET-TCP server
17
©2021 Guangzhou ZLG Electronics Co., Ltd.
User Manual

Advertisement

Table of Contents
loading

Table of Contents