Troubleshooting
Why a TP700-assigned IP address reverts on an S7-1200 power cycle
Short answer
Yes, with Set IP address in the project the CPU reapplies the downloaded address at every power-up, so a TP700-assigned address cannot persist. Select IP address is set directly at the device under the CPU's PROFINET interface → Ethernet addresses, compile cleanly, download, then assign the address from the panel and update the connection with Set Connection. Fix a 00EC hardware-compile crash in TIA Portal before downloading.
On this page
Yes — the reversion is exactly what Set IP address in the project does. That option makes the downloaded hardware configuration the authority for the interface, so the CPU reapplies 192.168.1.205 at every power-up and discards any address assigned from the panel while it was running. To keep a TP700-assigned address, select IP address is set directly at the device under CPU → PROFINET interface [X1] → Ethernet addresses, compile the hardware configuration cleanly, download, then assign the address from Settings → Service & Commissioning → IP Config → Assign IP and point the connection at it with Set Connection. If selecting the option fails the hardware compile with error 00EC and closes TIA Portal, fix the engineering station first — the address model is not the problem.
Why the assigned address disappears at power-up #
The setting decides who owns the address at startup. With Set IP address in the project, every power-up loads the address from the downloaded project, which is why the CPU comes back at 192.168.1.205 no matter what Assign IP wrote while it was running. The TP700 steps work — discovery, assignment and Set Connection all do what they claim — but they write an operational value that lives only until the next CPU start.
With IP address is set directly at the device, the address written at the device becomes the stored value, so it survives the power cycle. The PROFINET device name (myplc in this project) stays project-owned in both models; the option changes the address source only, so keep assigning and checking the device name exactly as the project defines it.
Change the address source, then commission from the panel #
Do the project change and the field assignment in this order:
- In the project, open
CPU → PROFINET interface [X1] → Ethernet addressesand selectIP address is set directly at the device. - Compile the full hardware configuration. Do not download until the compile completes without errors.
- Download the project to the CPU using the approved method for the installation — here, offline transfer via SD or USB media — and confirm the CPU took the new configuration.
- On the TP700, open
Settings → Service & Commissioning → IP Config → Assign IP, positively identify the intended CPU, and write the new address and subnet mask. - Open
Service & Commissioning → IP Config → Set Connectionand enter the same new PLC address for the HMI connection. - Restart the panel runtime if the edited connection requires it, verify communication, then power-cycle the CPU alone and rediscover it to confirm the address held.
If the panel loses contact after the change while the switch still shows link, run the checks for an S7-1200 that shows link lights but TIA Portal cannot connect before touching the address settings again.
Worked example: moving a CPU from 192.168.1.205 to 192.168.1.210 #
Inputs:
- Project address 192.168.1.205 with subnet mask 255.255.255.0, from the project's PROFINET interface settings.
- New address 192.168.1.210, an example of an address you would assign from
Assign IP. - Panel address 192.168.1.10, an example Comfort panel address on the same machine network.
The rule in words: two devices can talk directly only when the network portions of their addresses are equal after the subnet mask is applied. Equal means same subnet and no gateway needed; different means a gateway and matching local addresses are required.
The arithmetic, ANDing each address with the mask octet by octet: 192.168.1.205 AND 255.255.255.0 = 192.168.1.0, and 192.168.1.210 AND 255.255.255.0 = 192.168.1.0, so the CPU sits on the same network on both sides of the change. The panel address reduces the same way: 192.168.1.10 AND 255.255.255.0 = 192.168.1.0.
The result: all three devices are on the 192.168.1.0 network with a /24 mask. The decision: set the HMI connection to the new address with Set Connection and leave the gateway fields empty — the assignment fits the existing machine subnet. If commissioning assigns an address outside that network, the panel address and a gateway entry must change with it, so keep field assignments inside the machine subnet unless the network plan calls for a move.
Clear the 00EC hardware compile failure before downloading #
The reported sequence on TIA Portal V20 with the CPU 1214C DC/DC/Rly (article number 6ES7 214-1HG40-0XB0, firmware V4.7) is The compilation of the hardware configuration failed (00EC), immediately followed by TIA Portal closing. A compiler rejecting a bad setting produces a diagnostic; it does not kill the application. That shutdown points at the engineering station, its installed packages or the project data — not at the CPU or at device-assigned addressing. Work through this list and do not download until a full compile finishes clean:
- Record the complete 00EC compiler text and the exact operation that triggers it, and archive the project before further edits.
- Bring every installed TIA Portal V20 package to its latest update level; a hardware compiler that terminates the application is usually a tooling fault.
- Restart the engineering station, reopen the project and compile the unchanged hardware configuration, to separate a general compiler failure from one triggered only by the address-source change.
- Select
IP address is set directly at the deviceand compile the hardware configuration again. - If the crash repeats, build the same CPU and firmware selection in a minimal new project and compile there. Success isolates the fault to your project; failure points at the installation or its device-support components.
- Recover from a known-good project copy or rebuild the affected device configuration, and repair or update the TIA Portal installation if the minimal project also fails.
A compile that closes TIA Portal is the same class of engineering-station fault as an HMI project path error that closes TIA Portal during a compile — fix the tool, then commission. Do not work around the failure by downloading the older build that still carries Set IP address in the project: that preserves the exact power-cycle reversion you are correcting.
Stopping the CPU without TIA Portal #
A CPU 1214C at firmware V4.7 can be stopped without an engineering laptop, and commissioning should pick one documented route and use it consistently: an operating-mode control built into the HMI project so the panel switches the CPU between RUN and STOP; the CPU's built-in web server, reached in a browser at the CPU's address, where a sufficiently privileged user can change the operating mode; or SIMATIC Automation Tool where several devices are commissioned as a fleet. The web-server route depends on the protection-level user setup, so create the commissioning user in the project before going to site.
One safety note: stopping the CPU drops its outputs and anything on the network that depends on its logic. Stop a CPU only when the machine is in a safe state, and never use STOP or a mode change as a substitute for proper isolation or an emergency stop.
What each symptom means #
Match what you see to the action:
Assign IPworks, the address reverts after a power cycle — the project owns the address, so switch toIP address is set directly at the device, compile, and download.- The option is selected but the hardware compile fails with 00EC and TIA Portal closes — an engineering-station or project fault, so fix the compile first and keep the old build out of the CPU.
- The new address is assigned but the panel cannot reach the CPU — the connection was not updated or the addresses sit on different networks, so run
Set Connectionwith the new address and check the subnet and gateway. - The CPU will not restart correctly after the change — an address conflict or a device-name mismatch, so confirm the assigned address is unique on the network and the device name still matches the project before restarting.
Questions asked
Does IP address is set directly at the device change the PROFINET device name?
No. The device name stays as configured in the project, because the option changes only where the IP address comes from. Discovery, connection and diagnostics all continue to use the project device name, so leave Generate PROFINET device name automatically and the name itself untouched unless you have a separate reason to rename the device on the network.
What access rights are needed to stop the CPU from the web server?
The operating-mode control on the S7-1200 web server is only available to a user logged in with sufficient rights, and those rights come from the protection-level settings configured on the CPU in its FW V4 security settings. Set up a commissioning user with the required access level in the project before you go to site, so the panel or browser route works without an engineering laptop.
Do I need a default gateway after Assign IP?
Only when the new address leaves the machine subnet. In the worked example every address reduces to the same network under the mask, so no gateway entry is needed on the CPU or the panel. If commissioning moves the CPU onto a different subnet, the panel address and a gateway must change with it, or the HMI-to-PLC connection drops.
Does the same fix apply to other S7-1200 firmware versions?
Yes, across the V4 firmware line including V4.7. The Ethernet addresses page of the PROFINET interface carries the same two options in the TIA Portal versions that support those releases, and the difference between a project-owned and a device-held address behaves the same way. Always compile the full hardware configuration and download before assigning an address from the panel.