UMAX140900. Ethernet to CAN Converter. Version 5
Page: 7-35
2.3.1 Communication Device
The
Communication Device
utilizes a proprietary communication protocol to communicate
CAN messages and other auxiliary information over the Ethernet. It supports a client/server
communication model. In this model, the
Communication Device
has a primary server role,
allowing external clients to establish independent connections with the device.
In addition to the server role, the device can also act as a client, if the
Auto Connect to Remote
configuration parameter is set to
Yes
. In this case, the device will try to establish a connection
with a customer specified remote server.
The total number of remote connections is limited to 10. If the CAN network traffic is high, this
number should be further reduced, or the connections will become unstable due to limited
internal resources of the microcontroller, which are dynamically allocated between open
connections.
The
Communication Device
can use either UDP or TCP internet protocol (IP), depending on
the value of the
Device Port Type
configuration parameter.
2.3.1.1 UDP Protocol
The UDP protocol is set by default. Since it is a connectionless protocol, one data socket
serves all device communication needs, see Figure 3.
New
connection?
Identify new connection
by analyzing incoming
traffic
No
Yes
Input/Output Communication
Up to 10
connections
Connection Maintenance
Server
Client
Server connection will
expire, if inactive
Client connection will
never expire
DeviceIpAddr:DevicePort
Device Communication Flow
Data Socket
Initialize remote connection if
AutoconnectToRemote==True
Figure 3. Communication Device. UDP Protocol