![Wiznet W7500S2E-R1 User Manual Download Page 12](http://html1.mh-extra.com/html/wiznet/w7500s2e-r1/w7500s2e-r1_user-manual_990610012.webp)
W7500S2E-R1 serial to Ethernet module
W7500S2E-R1 user manual
8
3
Operating modes
WIZS2E module supports TCP server, TCP client and UDP modes; Below demonstrate
these operating modes.
3.1
TCP server mode
TCP/IP
RS232 Serial
①
Link REQEUST
②
Data
Communication
TCP Client
TCP Server
User Device
Figure 3-1 TCP server mode diagram
Figure 3-1 shows, W7500S2E-R1 module open a local port to listen TCP requests in TCP server
mode. The default port number is 5000 and it is waiting for client connections. After the
connection has created, it will start data communication.
3.2
TCP client mode
TCP/IP
RS232 Serial
①
Link REQUEST
②
Data
Communication
TCP Server
TCP Client
User Device
Figure 3-2 TCP client mode diagram
According to figure 3-2, W7500S2E-R1 module will starts to connect to TCP server that set in
the module for TCP client mode. If connection fails, client will base on reconnection setting
condition and try to connect with the TCP server. After its connected, it will start data
communication.