WIZ127SR User’s Manual
26
modes supports both of Server and Client. The communication process of each mode is as
below.
TCP server mode Communication
At the TCP Server mode, WIZ127SR waits for the connection requests.
TCP Server mode can be useful when the monitoring center tries to connect to the device
(where WIZ127SR is installed) in order to check the status or provide the commands. In normal
time WIZ127SR is on the waiting status, and if there is any connection request (SYN) from the
monitoring center, the connection is established (ESTABLISH), and data communication is
processed (Data Transaction). Finally connection is closed (FIN).
In order to operate this mode, “Device IP”, “Subnet mask”, “Gateway” and “Local port” should be
configured first.
The Data transmission proceeds as follows,
1. The host connects to the WIZ127SR which is configured as TCP Server mode.
2. As the connection is established, data can be transmitted in both directions
– from the
host to the WIZ127SR, and from the WIZ127SR to the host
TCP client mode Communication
If WIZ127SR is set as TCP Client, it tries to establish connection to the server.
To operate this mode, “Device IP”, “Subnet mask”, “Gateway”, “Remote host”, and “Remote port”
should be set. If “Remote host” has domain name, you should be confirmed the “DNS server”
field.
In TCP Client mode, WIZ127SR can actively establish a TCP connection to a host computer
when power is supplied.
The Data transmission proceeds as follows:
1. As power is supplied, WIZ127SR board operating as TCP client mode actively establishes
a connection to the server.
2. If the connection is complete, data can be transmitted in both directions
– from the host to
the WIZ127SR and from WIZ127SR to the host
Mixed mode Communication
In this mode, WIZ127SR normally operates as TCP Server and waits for the connection request
from the peer. However, if WIZ127SR receives data from the serial device before connection is
established, it changes to the client mode and sends the data to the server IP. Therefore, at the
mixed mode, the server mode is operated prior to the client mode.
As like TCP Server mode, the Mixed mode is useful for the case that the monitoring center tries
to connect to the serial device (in which WIZ127SR is used) to check device status. In addition
Содержание WIZ127SR
Страница 10: ...WIZ127SR User s Manual 4 2 2 Dimension Figure 2 Dimension ...
Страница 50: ...WIZ127SR User s Manual 44 ...