315-4PN33
7.5 Basics - IP address and subnet
Exclusively IPv4 is supported. At IPv4 the IP address is a 32bit
address that must be unique within the network and consists of 4
numbers that are separated by a dot. Every IP address is a combina-
tion of a Net-ID and a Host-ID and has the following
Structure: xxx.xxx.xxx.xxx
Range: 000.000.000.000 to 255.255.255.255
The Network-ID identifies a network res. a network controller that
administrates the network. The Host-ID marks the network connec-
tions of a participant (host) to this network.
The Host-ID can be further divided into a Subnet-ID
and a new Host-
ID by using a bit for bit AND assignment with the Subnet mask.
The area of the original Host-ID that is overwritten by 1 of the Subnet
mask becomes the Subnet-ID, the rest is the new Host-ID.
Subnet mask binary all "1" binary all
"0"
IPv4 address Net-ID Host-ID
Subnet mask and IPv4
address
Net-ID Subnet-ID new Host-
ID
At the first start-up of the CPU, the Ethernet PG/OP channel and the
PROFINET IO controller do not have an IP address.
Information about the assignment of IP address data to the Ethernet
PG/OP channel may be found in
Ä
Chapter 5.6 ‘Hardware configura-
tion - Ethernet PG/OP channel’ on page 42.
Information about the assignment of IP address data to the EtherCAT
connection may be found in
Ä
‘Assign IP address parameters’
on page 134
For IPv4 addresses there are five address formats (class A to class
E) that are all of a length of 4byte = 32bit.
Class A 0 Network-ID (1+7bit) Host-ID (24bit)
Class B 10 Network-ID (2+14bit) Host-ID (16bit)
Class C 110 Network-ID (3+21bit) Host-ID
(8bit)
Class D 1110 Multicast group
Class E 11110 Reserved
The classes A, B and C are used for individual addresses, class D for
multicast addresses and class E is reserved for special purposes.
The address formats of the 3 classes A, B, C are only differing in the
length of Network-ID and Host-ID.
IP address structure
Net-ID, Host-ID
Subnet mask
Address at first start-up
Address classes
VIPA System 300SDeployment Ethernet communication - productive
Basics - IP address and subnet
HB140 | CPU | 315-4PN33 | GB | 14-43 112