Tcp Client 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
So far, the basic use of CANFDNET equipment has been realized.

5.4.2 TCP Client Mode

In TCP Client mode, the device will actively connect to the preset TCP server. If the connection is
unsuccessful, the client will continue to try 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.
When the device acts as a TCP Client, the PC should act as a TCP server. Open the [Device Management]
interface of ZCANPRO, select CANFDNET-TCP as the device type, and start the device.
On the pop-up startup device interface (as shown in Figure 5.10), set [Work Mode] to [Server], and enter
[Local Port]. For example, the current device IP address is "192.168.0.178", the target IP address of the client
connection is "192.168.0.55", and the target port is 8000. On the ZCANPRO startup interface, set [local port] to
8000, and change the IP address of the PC to "192.168.0.55".
Figure 5.9 Message sending interface
16
©2021 Guangzhou ZLG Electronics Co., Ltd.
User Manual

Advertisement

Table of Contents
loading

Table of Contents