
Commissioning and configuration
126
BCL 548
i
Leuze electronic
10.4.7.3 TCP/IP
Activate the TCP/IP protocol
Set the TCP/IP mode of the BCL 548
i
.
In
TCP client mode
, the BCL 548
i
actively establishes the connection to the superior host
system (PC / PLC as server). The BCL 548
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 BCL 548
i
determines when and with whom a connection is
established!
With a BCL 548
i
as TCP client, also set the following values:
• IP address of the TCP server (normally the PLC/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
In
TCP server mode
, the superior host system (PC / PLC) actively establishes the connec-
tion and the connected BCL 548
i
waits for the connection to be setup. The TCP/IP stack
requires information from the user regarding the local port of the BCL 548
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 superior host system
(PC / PLC as client), the BCL 548
i
(server mode) accepts the connection. Data can then be
sent and received.
With a BCL 548
i
as TCP server, also set the following values:
• Port number for the communication of the BCL 548
i
with the TCP client
The corresponding adjustment options can be found:
• Via webConfig:
• Configuration -> Communication -> Host communication
• Or, alternatively, via the display