One Ethernet port and two CAN ports are integrated on the Ethernet CAN device, which can realize the intercommunication between computer and CANBUS communication equipment.

Before using the device, we need to set the communication mode of the gateway.

At present, the common Ethernet CAN gateway communication modes include TCP and UDP.

The following introduces the UDP communication mode of Ethernet CAN devices.

Unlike TCP mode, which needs to establish a connection relationship, the Ethernet gateway and computer in UDP mode do not distinguish between clients and servers.

One of them sends data, regardless of whether the other party receives it.

It is an open-loop communication method. There are not many restrictions, the bus communication speed of UDP mode is faster.

Of course, because it is not known whether the data is sent to the destination, the communication reliability is poor, and it is easier to lose data when encountering interference.

Therefore, in the case of high reliability requirements, it is necessary to use the upper layer communication protocol to ensure the correct data.

찾고 계십니까? 다음 프로젝트를 위한 확장 가능한 PLC ? 자세히 알아보려면 클릭하세요!