sLAN_all_UserGuide_Eng_DM v1.1.1

sWiFi/all User Manual
18
Menu
Default
Description
can run as a server. A socket number can be configured from [Local
Port].
If UDP package is received from the socket, the data will be passed
through the serial port. The data from the serial port will be sent to
the client with UDP packet.
UDP Client
When the data is received from the serial port, it will be sent to the
server with UDP packet. The server IP address and the port
number can be set in [Target IP] and [Target Port].
Local Port
4001
The socket number is assigned to the serial port in this device.
This port is used in TCP server and UDP server modes.
Target IP
0.0.0.0
When the device is set to TCP or UDP client mode, the TCP or UDP
server IP address can be entered here.
Target Port
4001
When the device is set to TCP or UDP client mode, the TCP or UDP
server port number can be entered here.
Latency
Time
0
The waiting time interval before sending a continuously received
serial data to socket.
For example, if the value is set to 0, when the serial device sends
100 bytes of ASCII through a sLAN/all to a socket in a server, the
data will be sent to the server immediately. Although this allows for
real-time operations, this will cause a huge amount of network
traffic.
If this value is set to any value except zero, the device will fill the
buffer and send the data according to the waiting time interval.
Although, it will lessen the network traffic, but real-time
communication is not possible when the latency time is not set to
zero.
(Unit: milliseconds)
TCP Alive
Check Time
60
After socket connection is established, the network status is
checked by given time value. If any errors are detected, the socket
connection will be terminated or reset.
If this value is set to zero, this feature is disabled, but network
connection will remain connected.
(Options; From 0 to 65,535 seconds)
TCP No-
delay
Disable
This is an option for the device to set a delay when sending TCP
packet.
When this is disabled, TCP data will be buffered before sent to
serial port. This will cause some delays between the Ethernet and
serial communication. It is suitable for high-speed data or packet