Skip to content

Sorting by Height with S7-PLCSIM Advanced

Requirements

  • Siemens Edition or Ultimate Edition
  • TIA Portal V14-19
  • S7-PLCSIM Advanced V3.0-6.0

This sample provides you with TIA Portal projects ready to download to the simulator and control the Sorting by Height (Basic) scene.

Starting S7-PLCSIM Advanced

  1. Open the PLCSIM Advanced control panel.

    plcsim advanced control panel

  2. Specify the name of the instance. S7-PLCSIM Advanced must be configured with an instance name set to factoryio.

    plcsim advanced instance name

  3. Click on Start. After a few seconds the active instance can be viewed below.

    plcsim advanced instance name

Opening the sample in TIA Portal

  1. Download the zip archive (top of this page) corresponding to your TIA Portal version. Extract it and open it.

  2. Open the Project View and right-click on the device name. Select Download to device > Hardware and software (only changes).

    tia portal download

  3. In the Load Preview window click on Load.

    S7-PLCSIM Advanced V4.0

    In the Load Preview window you'll be asked to enter your password. Enter it and click on Load.

    tia portal load

  4. In the Load results window select Start module in the drop-down list.

    tia portal load2

  5. Click on Go online.

    tia portal go online

Opening and running the scene in Factory I/O

  1. Start Factory I/O and select Scenes > Sorting by Height (Basic).

    factoryio scenes

  2. Press F4 to open the Driver Window. Select Siemens S7-PLCSIM on the driver drop-down list.

    factoryio drivers

  3. Open the driver Configuration Panel by clicking on CONFIGURATION. Make sure S7-PLCSIM Advanced is selected on the Model drop-down list.

    factoryio plcsim

  4. Press Esc to return to the Driver Window. Now, click on CONNECT to connect to the PLC. A successful connection is indicated by a green icon next to the selected driver, as well as next to the driver's name displayed on the status bar.

    factoryio connect

  5. Switch to Run mode and enjoy.

    factoryio run