Fast commissioning / operating principle
14
MA 20
8
i
Le
u
ze electronic
3.5.3
TCP/IP
Set the TCP/IP mode of the MA 208
i
.
In
TCP client mode
, the MA 208
i
actively establishes the connection to the primary host
system (PC / PLC as server). The MA 208
i
requires from the user the IP address of the server
(host system) and the port number on which the server (host system) accepts a connection.
In this case, the MA 208
i
determines when and with whom a connection is established!
With a MA 208
i
as TCP client, set the following values:
• IP address of the TCP server (normally the PLC/host computer)
• Port number of the TCP server
• Optional: Timeout for the wait time for an answer from the server
• Optional: Repetition time for renewed communication attempt following a timeout
In
TCP server mode
, the primary host system (PC / PLC) actively establishes the connec-
tion and the connected MA 208
i
waits for the connection to be set up. The TCP/IP stack
requires information from the user regarding the local port of the MA 208
i
(port number) on
which the connection requests of a client application (host system) are to be accepted. If
there is a connection request and a connection is established by the primary host system
(PC / PLC as client), the MA 208
i
(server mode) accepts the connection. Data can then be
sent and received.
With a MA 208
i
as TCP server, also set the following values:
• Port number for the communication of the MA 208
i
with the TCP client
The corresponding adjustment options can be found in the configuration tool.
3.5.4
UDP
The MA 208
i
requires from the user the IP address and the port number of the communi-
cation partner. Correspondingly, the host system (PC / PLC) now also requires the set
IP address of the MA 208
i
and the selected port number. By assigning these parameters,
a socket is formed via which the data can be sent and received.
Set the following values:
• IP address of the communication partner
• Port number of the communication partner
The corresponding adjustment options can be found in the configuration tool.