Addressing via DHCP
10.2 DHCP with DNS
Communication
Function Manual, 05/2021, A5E03735815-AJ
367
Configuring a domain in STEP 7
To configure the domain in STEP 7, follow these steps:
1.
Select the S7-1500 CPU in STEP 7.
2.
In the properties of the CPU, navigate to "Advanced configuration" > "Host and domain
name" > "Host and domain name configuration" > "Domain".
3.
For "Domain configuration:" select "Set domain in the project" from the drop-down list.
4.
Enter your desired domain under "Domain:".
Only if you have configured the host and domain name in STEP 7, the full name is displayed
for "Full name:".
Assigning a domain in the user program
To assign the domain in the user program, follow these steps:
1.
Select the S7-1500 CPU in STEP 7.
2.
In the properties of the CPU, navigate to "Advanced configuration" > "Host and domain
name" > "Host and domain name configuration" > "Domain".
3.
Under "Hostname configuration:" select "Set domain directly on the device (for example PLC
program, display)" in the drop-down list.
4.
Call the instruction "CommConfig" in the user program. The DATA parameter must point to a
UDT "Conf_Domainname" where the domain name is specified.
You can find additional information on the "CommConfig" instruction and on the UDT "Conf-
Domainname" in the STEP 7 online help.
Rules for maximum lengths of host name, domain and client ID
Note the following maximum lengths in bytes. One byte corresponds to one character:
•
Host name: Maximum 63 bytes
•
Domain: Maximum 252 bytes
•
Client ID: Maximum 254 bytes
•
Host + Domain name : Maximum 254 bytes
•
Host + Domain name + Client ID: Maximum 260 bytes
Applies only when host name and domain must be sent to the DHCP server.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......