Addressing via DHCP
10.2 DHCP with DNS
Communication
366
Function Manual, 05/2021, A5E03735815-AJ
For this configuration, you must first activate the host name and domain configuration in
STEP 7. Then configure the host name in STEP 7 and configure that the domain is
obtained via DHCP.
Requirements
•
You have activated the address assignment via DHCP for at least one interface of the S7-
1500 CPU.
Configuration of host and domain name
To activate the host name and domain configuration 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".
3.
Select the "Enable host name and domain" check box.
Configuring the host name in STEP 7
To configure the host name 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"> "Host name".
3.
For "Host name configuration:" select "Set host name in the project" from the drop-down list.
4.
Enter the host name for "Host name:".
–
Enter your desired host name.
–
If you select the "Host name identical to device name" check box, STEP 7 automatically
assigns the device name as the host name.
Only if you have configured the host and domain name in STEP 7, the full name is displayed
for "Full name:".
Assign host name in the user program
To assign the host name 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" > "Host name".
3.
Under "Host name configuration:” select "Set hostname directly on the device (e.g. 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_Hostname" where the host name is defined.
You can find additional information on the "CommConfig" instruction and on the UDT "Conf-
Hostname" in the STEP 7 online help.
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: ......