
Communication
6.5 Communication via PROFINET
Control Units CU240S
168 Operating Instructions, 10/2007, A5E00766042B AC
IP address assignment
The TCP/IP protocol is a prerequisite for establishing a connection and parameterization.
This is the reason that an IP address is required.
The IP addresses of IO devices can be assigned by the IO controller and have always the
same sub-network mask as the IO controller. The IP addresses can be consecutively
assigned from the IP address of the IO controller.
If the IP address is set by the IO controller, it is saved in a volatile fashion. Furthermore, you
can change the IP address manually. In this case, the IP address is saved in non-volatile
fashion.
If the IP address is to be stored in a non-volatile memory, the address must be assigned
using the Primary Setup Tool (PST).
This can also be carried out in HW Config in STEP 7, where the function is called "Edit
Ethernet node".
Note
If the network is part of an existing Ethernet company network, obtain the information from
your network administrator (IP address, sub-network mask and a router that is possibly being
used.)
Sub-network mask
The bits set in the sub-network define the part of the IP address that contains the address of
the (sub-) network. The subnet mask provides a filter function for the Ethernet telegrams.
The following generally applies:
● The network address is obtained by an AND operation on the IP address and sub-
network mask
● The node address is obtained by an AND NOT operation on the IP address and sub-
network mask.
Example of the sub-network mask
Sub-network mask: 255.255.0.0 (decimal) = 11111111.11111111.00000000.00000000
(binary) IP address: 140.80.0.2 significance: The first 2 bytes of the IP address decide the
sub-network - in other words 140.80. The last two bytes address the node - in other words
0.2.
Default Gateway
The default gateway enables communication via an internal server.
Comentários a estes Manuais