# How to Connect and Download Program to S7 1200 & S7 1500

**URL:** <https://forumautomation.com/t/how-to-connect-and-download-program-to-s7-1200-s7-1500/8995>\
**Category:** Siemens\
**Tags:** plc\
**Created:** [December 22, 2020, 8:46am UTC](https://forumautomation.com/t/how-to-connect-and-download-program-to-s7-1200-s7-1500/8995 "2020-12-22T08:46:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajmal\_ismail](https://forumautomation.com/letter_avatar_proxy/v4/letter/a/e9a140/32.png) [@Ajmal\_ismail](https://forumautomation.com/u/Ajmal_ismail)\
**Post date:** [December 22, 2020, 8:46am UTC](https://forumautomation.com/t/how-to-connect-and-download-program-to-s7-1200-s7-1500/8995/1 "2020-12-22T08:46:26Z")

</div>

**S7 1200**

It is a new modular miniature from the Siemens SIMATIC S7 family

It consists of a controller with an integrated PROFINET interface for communication.

It has signal boards for direct use in a controller

**S7 1500**

It is an advanced version of S7 300.

It’s a modular, expandable design.

By using a DIN rail mount and backplane we can add up to 32 expansion modules.

**How to set up communication between PC and PLC**

In this tutorial, we give you step-by-step instructions on how to set up a communication between PC and PLC for both S7 1200 and S7 1500 PLC.

**Step 1)** Set up a connection between PLC and the network

**Step 2)** Open TIA portal and create new project

 ![image](https://cdn.forumautomation.com/original/2X/9/9950c112c382e8f439c5c72e59b7ef4ef71f3777.png)

**Step 3)** Select the configure a device

 ![image](https://cdn.forumautomation.com/original/2X/6/6b77aa0e178a1e6da3be91c908c7de34e5cc239f.png)

**Step 4)** Click on Add new device.

 ![image](https://cdn.forumautomation.com/original/2X/0/0da7f328a5fc9e894a25d9be0e329fd7653f817e.png)

Note: From the controllers tree expand choose **SIMATIC S7-1200-\> CPU-\> Unspecified CPU 1200.** Click on add.

If you’re using S7-1500, Select SIMATIC S7-1500-\> CPU-\> Unspecified CPU 1200.

**Step 5)** You are already on the Project View of the TIA Portal. Tap on the Detect button to automatically detect the PLC from the list of devices available on the network.

 ![image](https://cdn.forumautomation.com/original/2X/2/2bf888192aec2be9f99a37c1518bd1db9b7d5864.png)

**Step 6)** Select **PN/IE** as that **type of PG/PC interface** and on **PG/PC interface** choose the network adaptor that you are using to connect PLC.

 ![image](https://cdn.forumautomation.com/original/2X/b/b040b2e33a267c5e061a61bdb3611ad5905455b1.png)

**Step 7)** After scanning completes, choose the PLC from the list of compatible devices and click on Detect.

 ![image](https://cdn.forumautomation.com/original/2X/d/d9423ffc76fc5e79ace3791a3e07a6b544537eb2.png)

**Step 8)** The detected PLC is now on the Display screen. Any of the properties need to be modified to enable contact with Factory I/O. Double left-click the controller to access the Properties screen **.**

**Step 9)** Start by assigning an IP address to the PLC. Extend the PROFINET interface on the General tab of the Properties page and pick the Ethernet addresses.

 ![image](https://cdn.forumautomation.com/original/2X/3/3474d0b1a6aeaaefdfa9ec692389501e412aded2.png)

**Step 10)** By default, PLC physical inputs use the first memory address of percent I. In order for Factory, I/O to be able to write the values of the sensors to percent I you need to offset the input addresses, we propose an offset of 10. Click on I/O addresses and change the Input addresses \> Start address to 10.

 ![image](https://cdn.forumautomation.com/original/2X/2/27a62508f8bce6751e7eff1cc69556f6923fdc73.png)

**Step 11)** Finally, certain authentication and security settings are needed in order to be able to connect to the PLC. Click Security and allow access to PUT/GET contact from a remote partner under Connection Mechanisms. Set the standard of access as HMI access or higher (Read access or Full access).

 ![image](https://cdn.forumautomation.com/original/2X/a/a5cc1cfcee9d404d01a774fb7e1f0468900432c4.png)

**Step 12)** Right-click on the device and choose Download to device → Hardware configuration. Then, start CPU

 ![image](https://cdn.forumautomation.com/original/2X/3/3c17b2aa2dc2f287371328c754c45ecce315a8b1.png)

 ![image](https://cdn.forumautomation.com/original/2X/7/7a378a7768a72b3efb12c114932dbbd8794a97b7.png)
