Starting up the device – Basic configuration
Leuze electronic
IPS 208i
42
UDP
The device requires from the user the IP address and the port number of the communication partner. In the
same way, the host system (PC/control) also requires the set IP address of the device and the selected
port number. By assigning these parameters, a socket is formed via which the data can be sent and re-
ceived.
Ä
Activate the UDP protocol.
Ä
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 webConfig tool:
Configuration > Control > Host > Ethernet > UDP
TCP/IP
Ä
Activate the TCP/IP protocol.
Ä
Set the TCP/IP mode of the device.
ð
In TCP client mode, the device actively establishes the connection to the superior host system, e.g.,
PC/control as server. The device 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 de-
vice determines when and with whom a connection is established.
ð
In TCP server mode, the superior host system (PC/control) actively establishes the connection and
the connected device waits for the connection to be set up.
The TCP/IP stack must be informed by the user as to the local port of the device (port number) on
which connection requests from a client application (host system) are to be received.
If there is a connection request and a connection is established by the superior host system (PC/
control as client), the device – in server mode – accepts the connection. Data can then be sent and
received.
Ä
With a device as TCP client, set the following values:
ð
IP address of the TCP server, normally the IP address of the control or the host computer
ð
Port number of the TCP server
ð
Timeout for the wait time for an answer from the server
ð
Repetition time for renewed communication attempt following a timeout
Ä
With a device as TCP server, set the following values:
ð
Port number for the communication of the device with the TCP clients
The corresponding adjustment options can be found in the webConfig tool:
Configuration > Control > Host > Ethernet > TCP/IP
8.4.5
FTP client
To transfer images and log files, you can configure process data output via an FTP server.
Ä
You can set the IP address and the port number of the FTP server with which communication is to oc-
cur.
Ä
Assign user names and password settings or define the direction of communication using the
Passive
mode
option.
ð
When the
Passive mode
option is activated, the FTP client sets up an outgoing connection to the
server.
Ä
Activate the FTP client.
Ä
Select which images (OK/NOK) are transferred. You can assign each one a name.
The corresponding adjustment options can be found in the webConfig tool:
Configuration > Control > Host > FTP client
NOTICE
Ä
You can set the time stamp via
Maintenance > System clock
.
ð
The system clock is reset if the operating voltage is interrupted.