Vous êtes sur la page 1sur 5

19/4/2018 Setting up S7-PLCSIM V13/14 - FACTORY I/O

Setting up S7-PLCSIM V13/14

 Requirements
Siemens Edition or Ultimate Edition

TIA Portal V13/14

S7-PLCSIM V13/14

 Sample Project
Sorting by Height with S7-PLCSIM V13/14 [../sample-s7-plcsim-v13/]

This tutorial gives you step-by-step instructions on how to use Siemens S7-PLCSIM V13/14 to control FACTORY
I/O.

You will start with a template to create a new TIA Portal project. There are speci c templates for either S7-1200 or
S7-1500 PLCs, as well as for different TIA Portal versions.

TIA Portal Template Projects


Note that you must use a TIA Portal template project when connecting to S7-PLCSIM v13/14. FACTORY I/O will not
be able to communicate with S7-PLCSIM v13/14 otherwise.

 Downloads for TIA Portal V13


FactoryIO_Template_S7-1200_V13.zip [https://factoryio.com/downloads/templates/FactoryIO_Template_S7-1200_V13.zip]
FactoryIO_Template_S7-1500_V13.zip [https://factoryio.com/downloads/templates/FactoryIO_Template_S7-1500_V13.zip]

 Downloads for TIA Portal V14


FactoryIO_Template_S7-1200_V14.zip [https://factoryio.com/downloads/templates/FactoryIO_Template_S7-1200_V14.zip]
FactoryIO_Template_S7-1500_V14.zip [https://factoryio.com/downloads/templates/FactoryIO_Template_S7-1500_V14.zip]

Setting up S7-PLCSIM with TIA Portal


1. Download and Open the template project corresponding to the TIA Portal version and PLC family you will be
simulating.

2. Save the project with a new desired name.

https://factoryio.com/docs/tutorials/siemens/setting-up-s7-plcsim-v13/ 1/5
19/4/2018 Setting up S7-PLCSIM V13/14 - FACTORY I/O

3. You can now write your program.

 Warning
In the existing OB1 there is already a Network 1.
Do not delete this network. Otherwise the connection will not work.

1. Select the device and turn on the simulation by pressing Start Simulation.

2. Choose PN/IE (1) as the type of PG/PC interface and on PG/PC interface select PLCSIM S7-1200/S7-1500
(2). Press Start search (3). When scanning completes, select the device (4) and press Load (5).

https://factoryio.com/docs/tutorials/siemens/setting-up-s7-plcsim-v13/ 2/5
19/4/2018 Setting up S7-PLCSIM V13/14 - FACTORY I/O

3. On S7-PLCSIM select RUN to set the CPU to Run Mode.

Connecting FACTORY I/O to S7-PLCSIM


1. In FACTORY I/O click on FILE > Driver Con guration to open the Driver Window.

https://factoryio.com/docs/tutorials/siemens/setting-up-s7-plcsim-v13/ 3/5
19/4/2018 Setting up S7-PLCSIM V13/14 - FACTORY I/O

2. Select Siemens S7-PLCSIM on the driver drop-down list.

3. Open the driver Con guration Panel by clicking on CONFIGURATION.

4. Select a corresponding CPU model for your project on the Model drop-down list (either S7-1200 or S7-1500).

https://factoryio.com/docs/tutorials/siemens/setting-up-s7-plcsim-v13/ 4/5
19/4/2018 Setting up S7-PLCSIM V13/14 - FACTORY I/O

5. Press Esc to return to the main driver window. Now click on CONNECT to connect to the simulator. A
successful connection is indicated by a green icon next to the selected driver, as well as next to the driver
name displayed on the status bar.

https://factoryio.com/docs/tutorials/siemens/setting-up-s7-plcsim-v13/ 5/5

Vous aimerez peut-être aussi