Tcp/Ip; Udp - Leuze electronic MA 208i Technical Description

Modular interfacing unit for leuze ident and rs 232 devices on ethernet tcp/ip
Table of Contents

Advertisement

Fast commissioning / operating principle
3.5.3

TCP/IP

 Set the TCP/IP mode of the MA 208i.
In TCP client mode, the MA
system (PC / PLC as server). The MA
(host system) and the port number on which the server (host system) accepts a connection.
In this case, the MA
 With a MA
• 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
requires information from the user regarding the local port of the MA
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
sent and received.
 With a MA
• Port number for the communication of the MA
The corresponding adjustment options can be found in the configuration tool.
3.5.4

UDP

The MA
208i
cation partner. Correspondingly, the host system (PC / PLC) now also requires the set
IP address of the MA
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.
14
208i
208i
determines when and with whom a connection is established!
208i
as TCP client, set the following values:
208i
waits for the connection to be set up. The TCP/IP stack
208i
208i
as TCP server, also set the following values:
requires from the user the IP address and the port number of the communi-
208i
and the selected port number. By assigning these parameters,
actively establishes the connection to the primary host
208i
requires from the user the IP address of the server
(server mode) accepts the connection. Data can then be
208i
MA
208i
208i
(port number) on
with the TCP client
Leuze electronic

Advertisement

Table of Contents
loading

Table of Contents