Link mode: configure se5001 in udp, Tcp server application: enable virtual com – Atop Technology SE5001 Series User Manual
Page 36

User Manual Version 1.6
SE5001 Serial Device Server
Copyright © 2011 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
35
3.3.8. Link Mode: Configure SE5001 in UDP
SE5001 also supports connectionless UDP protocol compared to the connection-oriented TCP protocol. Please be
aware that even though UDP provides better efficiency in terms of response time and resource usage, it does not
guarantee data delivery. It is recommended to utilize UDP only with cyclic polling protocols where each request is
repeated and independent, such as Modbus Protocol. Figure 3.28 shows the UDP settings.
Click on the
“COM1” link on the left hand side.
Select UDP.
Destination IP and Port: Specify the Begin and End IP here. Four groups of range IPs are allowed. This
is the IP address of the UDP program and the Port it is listening to. Note that the maximum number of
UDP nodes that SE5001 can handle would highly depend on the traffic load. We have tested that SE5001
can handle up to 32 UDP nodes (baud rate 9600 bps, request interval 100ms, and data length 30bytes).
Enter the Local Listening Port. This is the port that SE5001 should listen to. Match this setting in the UDP
program (usually called destination port in the UDP program).
Scroll to the bottom of the page and c
lick on “Save Configuration” button to save the changes.
Go to the section
to apply Pair Connection application if applicable. Otherwise go to the COM
) for serial settings directly.
Figure 3.28 UDP Setup
3.3.9. TCP Server Application: Enable Virtual COM
SE5001 will encapsulate control packets on top of the real data when Virtual COM is enabled. This will allow the
Virtual COM port in the Windows/Linux system to access SE5001
’s COM ports. The benefit of using Virtual COM is
that rewriting an existing COM program to read IP packets is unnecessary. In other words, it is possible to use an
ordinary serial (COM) program. The conversion/virtualization of IP to COM is all done in the system driver
transparently. Figure 3.29 shows SE5001 in TCP Server mode with Virtual COM enabled.