How to Download an HMI Program in TIA Portal
This guide shows you how to download an HMI program in TIA Portal to a KTP400 Basic panel, starting from a base PLC program for an S7-1200 PLC. You open the base project, set the PLC network address, and add the HMI device. You then set the HMI and PC IP addresses, connect the devices in the network view, download the configuration to the panel, and save the project.
Video: Siemens TIA Portal & KTP400 HMI (Downloading your first HMI project) by PLC Automation Academy (2018). All credit for the demonstration goes to the creator; watch the original on YouTube. The written guide below was generated from this video by Docsie. Creator? Request a change or removal.
This guide shows you how to download an HMI program in TIA Portal to a KTP400 Basic panel, starting from a base PLC program for an S7-1200 PLC. You open the base project, set the PLC network address, and add the HMI device. You then set the HMI and PC IP addresses, connect the devices in the network view, download the configuration to the panel, and save the project.
Prerequisites
Before you start, make sure you have the following:
- Siemens TIA Portal installed on your computer, with your license materials ready.
- An S7-1200 PLC (CPU 1212C AC/DC/Rly in this guide) and a KTP-400 HMI panel.
- Ethernet cables. You need one from your PC to your router, and one each from the router to the PLC and the HMI panel.
- An existing project named
Base PLC Program.ap14. - A written list of the IP addresses you assign to each device on your network.

Open your base PLC program
Step 1. Open the base project
- Launch Siemens TIA Portal.
- On the start screen, select Open existing project.
- In the "Recently used" list, select
Base PLC Program.ap14. - Click Open.

Step 2. Wait for the project to load
A dialog box displays "Opening project...". Wait until the project is fully loaded before you continue.
Step 3. Switch to the project view
When the project is open, the "First steps" screen appears. In the lower left corner, click Project view to access the detailed project structure.

Step 4. Open the PLC device configuration
- In the project tree on the left, expand the node for your project (for example, "Base PLC Program").
- Expand Devices & networks, and then expand PLC_1 [CPU 1212C AC/DC/Rly].
- Double left-click Device configuration to open the device configuration window.
Step 5. Select the PLC image and show the Properties pane
- In the device configuration window, click the image of the PLC (SIMATIC S7-1200).
- If the Properties pane does not appear, check whether it is minimized at the bottom of the screen.
- Drag the minimized Properties pane upward to make it visible.
Step 6. Open the PROFINET interface settings
In the Properties pane, select the PROFINET interface [X1] tab. You can review or edit these fields:
- Name: PROFINET interface_1
- Author: Peter
- Comment: Leave blank or add a comment as needed.
Scroll down to view additional settings.
Step 7. Configure the IP protocol and router settings
Under IP protocol, make sure the following settings are in place:
- Set IP address in the project is selected.
- IP address: 192.168.0.10
- Subnet mask: 255.255.255.0
If you work from home, select Use router and enter the router address. If you work in a school environment with a switch, leave the router option cleared.

Step 8. Enable router usage for a home setup
- In the IP protocol section of the PROFINET interface settings, select Use router.
- Enter the router address. Most default router IP addresses are
192.168.0.1. - Make sure the PLC's IP address is in the same subnet as the router (for example,
192.168.0.10for the PLC and192.168.0.1for the router).
You can assign other devices, such as the HMI, addresses like 192.168.0.2 or 192.168.0.3. Keep a written list of all the IP addresses you assign to the devices in your network.

Step 9. Select the PLC for download
Click the PLC image in the device configuration window to make sure it is selected.

Right-click the PLC image, and then select Download to device from the context menu.
Step 10. Download the hardware configuration to the PLC
- If TIA Portal searches for the PLC on the network, wait for the search to complete.
- In the Load preview dialog, make sure the status for your PLC is "Ready for loading."
- Review any warnings or informational messages, such as those about protection, stop modules, or device configuration.
- Click Load to begin downloading the configuration to the PLC.

If a dialog prompts you to "Start all" or "Finish," select Start all to activate the configuration. Then click Finish to complete the process.

Add a new HMI device
Step 11. Go to Devices & networks
- On the main project screen, click Devices & networks in the left navigation pane.
- Confirm that only the PLC is currently connected.

Step 12. Choose the HMI panel size
- Click Add new device.
- In the Add new device dialog, select HMI (Human Machine Interface).
- Expand the SIMATIC Basic Panel section.
- Choose the display size that matches your hardware.
- For a 4-inch display, select 4" Display > KTP400 Basic.
- For a 7-inch display (common in schools), select 7" Display and then the appropriate model.
The main difference between display sizes is the physical size and the number of function buttons. A 4-inch panel has 4 buttons, and a 7-inch panel has 7 buttons.
Step 13. Select the correct HMI model
- For the KTP400 Basic, select the model number 6AV2 123-2DB03-0AX0.
- Make sure the Start device wizard checkbox is selected.
- Enter a device name, for example
HMI_1. - Click Add.

Step 14. Complete the HMI Device Wizard
The HMI Device Wizard opens. It may show options for PLC connections, screen layout, alarms, screens, system screens, and buttons. For this initial setup, do not change any options. Click Finish to complete the wizard and add the HMI device to your project.
Step 15. Locate the Root screen tab
- Look at the bottom of the TIA Portal workspace for a row of tabs.
- Find the tab labeled Root screen. This tab gives you access to the main HMI screen for editing and configuration.
- If the root screen is not displayed, click the Root screen tab to bring it into focus.
The workspace above updates to show the HMI root screen layout.

Step 16. Verify the HMI device is listed
In the project tree on the left, confirm that HMI_1 [KTP400 Basic PN] is listed under Local modules. Expand the HMI device node to see configuration options such as Device configuration, Online & diagnostics, Runtime settings, Screens, Screen management, HMI tags, and New alarms.
Step 17. Review the message log
At the bottom of the screen, check the message log for confirmation messages such as:
- "Wizard: successfully configured KTP400 Basic PN."
- "Loading completed (errors: 0, warnings: 0)."
Make sure there are no errors or warnings before you continue.
Set the HMI network address
Step 18. Open the HMI device configuration
In the project tree, under HMI_1 [KTP400 Basic PN], click Device configuration. The device view shows a graphical representation of the KTP400 Basic PN HMI panel.

Step 19. Open the HMI PROFINET interface settings
- With the HMI device selected, find the Properties pane at the bottom.
- Scroll down in the properties until you find the PROFINET Interface [X1] section.
- Click PROFINET Interface [X1] to display its settings.
The right pane shows fields for Name, Author, and Comment.
Step 20. Set the HMI IP address
- In the IP protocol section, make sure Set IP address in the project is selected.
- Enter 192.168.0.12 as the IP address.
- Enter 255.255.255.0 as the subnet mask.
These values assign the HMI panel a unique IP address on your network.
Step 21. Enable the router and set its address
- Select Use router.
- Enter 192.168.0.1 as the router address.
This allows the HMI to communicate through the specified router.

Step 22. Compile the HMI configuration
- Right-click the HMI device (KTP400 Basic PN) in the device view.
- Select Compile from the context menu.
- Choose Hardware (rebuild all) to compile all hardware settings.
- Wait for the compilation to complete.
Step 23. Verify the compilation
After compiling, check the Compile tab at the bottom of the screen. The message "Compiling finished (errors: 0; warnings: 0)" confirms a successful build.
Match your PC's IP address to the HMI and PLC network
Your PC's IP address must be in the same subnet as the HMI and PLC for communication to work. The HMI is set to 192.168.0.12, with subnet mask 255.255.255.0 and router/gateway 192.168.0.1.
Step 24. Open the Windows Control Panel
Open the Windows Control Panel on your PC. It shows categories such as "System and Security," "Network and Internet," "Hardware and Sound," and "Programs."

Step 25. Open the Network and Sharing Center
- In the Control Panel, click Network and Internet.
- Select Network and Sharing Center. The window shows your active networks and connections.
- Locate your Ethernet connection (for example, "Ethernet 2").

Step 26. Verify the physical network connections
- Connect your PC to your router with an Ethernet cable.
- From the router, connect additional Ethernet cables to both the PLC and the HMI panel.
This creates a local network that lets all devices communicate.
Step 27. Open the Ethernet adapter properties
- In the Network and Sharing Center, click the blue link for your Ethernet connection (for example, "Ethernet 2"). The "Ethernet 2 Status" window appears.
- Click Properties at the bottom of the window.

Step 28. Configure the IPv4 settings
- In the Ethernet Properties window, select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- Select Use the following IP address:.
- Enter 192.168.0.2 as the IP address.
- Enter 255.255.255.0 as the subnet mask.
- Enter 192.168.0.1 as the default gateway.
These settings place your PC on the same subnet as the HMI and PLC, with a unique address.

Step 29. Apply and close the network settings
- Click OK to save the IPv4 settings.
- Click OK again in the Ethernet Properties window.
- Click Close in the Ethernet Status window.
Your PC's network configuration now matches the HMI and PLC subnet.

Create an Ethernet connection between the PLC and HMI
Step 30. Return to Devices & networks in TIA Portal
In TIA Portal, double left-click Devices & networks in the project tree on the left to open the network configuration view. The workspace shows graphical representations of your PLC (CPU 1212C) and HMI (KTP400 Basic PN).

Step 31. Confirm or cancel a deletion prompt (optional)
If a "Confirm deleting" dialog appears, read the message: "Do you really want to delete the selected objects? The contents of the objects (programs, modules and data) will also be deleted." Click Yes to remove a previous configuration, or No to cancel. This ensures you are working with a clean network setup.

Step 32. Connect the PLC and HMI
- In the network view, locate the green Ethernet port on the PLC (CPU 1212C).
- Hold down the left mouse button on the Ethernet port labeled "Ethernet."
- Drag the connection line to the green Ethernet port on the HMI (KTP400 Basic PN).
- Release the mouse button to establish the connection.
The connection visually links the PLC and HMI and indicates network communication.

Step 33. Verify the network link
Make sure a blue line now connects the PLC and HMI, labeled with the network name (for example, PN/IE_1). Both devices should show green Ethernet ports, which confirms the connection.

Download the HMI program in TIA Portal
Step 34. Open the HMI device configuration and select the panel
- In the project tree under your HMI (for example, HMI_1 [KTP400 Basic PN]), double left-click Device configuration. Alternatively, double left-click the HMI device in the network view.
- Click the graphical image of the HMI (KTP400 Basic PN) in the main workspace to make sure it is selected.
You must select the HMI before you download the configuration to the device.
Step 35. Start the HMI program download
With the HMI device selected, click the Download to device button (downward arrow icon) in the toolbar at the top of the TIA Portal window. This starts the process of transferring your configuration to the HMI panel.
Step 36. Search for the HMI on the network
- In the "Extended download to device" dialog, set Type of PG/PC interface to PN/IE.
- Set PG/PC interface to Surface Ethernet Adapter, or to your PC's Ethernet adapter.
- Set Connection to interface/subnet to PN/IE_1.
- Click Start search to scan for connected devices.

Step 37. Select the detected HMI device
- When the search completes, find your HMI device in the results list (for example, hmi_1, SIMATIC-HMI, PN/IE, 192.168.0.12).
- Confirm that the IP address 192.168.0.12 is shown for the HMI.
- Check that the online status information at the bottom says "Found accessible device HMI 192.168.0.12."
- Select the HMI device from the list to prepare for download.

Step 38. Flash the HMI LED to confirm communication
Click Flash LED in the dialog. Watch the physical HMI screen. It begins flashing, which indicates successful communication.

Step 39. Load the configuration to the HMI
Click Load to start the download.

If a window asks whether to overwrite objects that exist online, select Overwrite all, and then click Load again to proceed.

Monitor the progress dialog, which shows "Loading configuration" and "Project download," until the configuration finishes loading to the HMI device.
Step 40. Confirm the HMI shows the welcome message
The HMI shows "Root screen" and a message such as "Welcome to HMI_1 (KTP400 Basic+ PN)!" No push buttons or other controls are present yet. This result confirms only that communication is set up.

Save the project in TIA Portal
Step 41. Save the project under a new name
Open the Project menu and select Save as.
In the "Save current project as..." dialog, set the following:
- Set the file name to "PLC HMI Router Setup."
- Set the save location to the "Automation" folder.
- Make sure the file type is "TIA Portal projects."
Click Save to complete the save.

Step 42. Check the message log for confirmation
Check the message window at the bottom of the TIA Portal interface for status updates. Look for a message such as "The project Base PLC Program was saved..." to confirm the save. The project tree, device overview, and details view remain visible for further configuration or review.

Summary
You opened your base PLC project and set the PLC's PROFINET interface and router settings. You downloaded the hardware configuration to the PLC, and added a KTP400 Basic HMI with its own IP address. You matched your PC's IPv4 settings to the same subnet and connected the PLC and HMI in the network view. Then you downloaded the HMI program in TIA Portal, confirmed the welcome message on the panel, and saved the project.
What's next
The HMI currently shows only the root screen and a welcome message, with no push buttons or other controls. Your hardware and network setup is now ready for you to edit the HMI screens or continue with further project setup.
Generation details: cost, quality tiers
Docsie billed 6,500 credits ($4.55) to analyze this 13-minute video at standard quality. The rewrite, template fill and Word/PDF exports were included. The same video at each quality tier:
| Quality | Frames sampled | Credits | Approx. cost |
|---|---|---|---|
| Draft | every 16-30 s | 3,250 | $2.27 |
| Standard (this guide) | every 8-15 s | 6,500 | $4.55 |
| Detailed | every 4-7 s | 13,000 | $9.10 |
| Ultra | every 1-3 s | 26,000 | $18.20 |
Credits priced at $0.70 per 1,000; plans include a monthly allowance. Enterprise customers on on-premise or bring-your-own-model deployments run this on their own inference and pay no per-video credits.
Generated by Docsie Video-to-Docs on 2026-11-24 from a 12-minute video. Screenshots are frames from the source video and belong to their creator, PLC Automation Academy, whose original is embedded above. If you own this video and want the guide removed or credited differently, contact us and we will act within one business day.