![ZLG CANSwitch-AF2S2 Скачать руководство пользователя страница 47](http://html1.mh-extra.com/html/zlg/canswitch-af2s2/canswitch-af2s2_user-manual_3897400047.webp)
CANSwitch-AF2S2
High-Performance Dual-CAN to Fiber Switch User Manual
©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
43
User Manual
both frames of data USBCAN can be received properly as shown in Figure 4.43.
Figure 4.43 USBCAN receiving data 1
4.5 UDP Mode
4.5.1 System Block Diagram
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. Figure 4.44 shows the
communication process.
Figure 4.44 UDP mode communication