25 EKI-1511X/1512X User Manual
Chapter 3 Configuration
3.5.2 Data Mode (USDG Mode)
The device can be Data Server or Data Client either. Both operations support TCP
and UDP protocol. The device makes your serial devices behave just like networking
devices. You can issue commands or transmit data from serial devices, which con-
nected to the device server, to any devices that are connected to the Internet.
The device allows a maximum of 5 host PCs to simultaneously access data via poll-
ing networking architecture. You can use it according to your application. If you want
to access the device, you must ascertain your application software supports standard
networking application programming interface (API) such as: WinSock Socket.
You might select “USDG Mode” as the following figure to change the mode of the port
to TCP server/client or UDP mode.
Protocol
The device provides TCP and UDP two protocols. In settings, you can choose either
TCP mode or UDP mode according to your application.
Data Listen Port
The TCP/UDP port number represents the source port number, and the number is
used to identify the channel for remote initiating connections. Range: 1024-65533. If
an unknown caller wants to connect to the system and asks for some services, they
need to define the TCP/UDP port to carry a long-term conversation.
Each node on a TCP/IP network has an IP address, and each IP address can allow
connections on one or more TCP port. The well-known TCP ports are those that have
been defined; for example, port 23 is used for Telnet connections. There are also
custom sockets that users and developers define for their specific needs. The default
TCP/UDP port of the device is 5300. The example initial 5300 is System Port, and
5301 is Data Port. But users can adjust them by one's preference or application.