Skip to content

Sorting by Height with S7-200


  • Siemens Edition or Ultimate Edition
  • S7-200 PLC
  • CP 243-1 communications processor
  • STEP 7-Micro/WIN (version 3.2.3 or higher)

This sample provides you with a STEP 7-Micro/WIN project ready to download to the PLC and control the Sorting by Height (Basic) scene.

  1. Download the zip archive (top of this page), extract it and open the project in STEP 7-Micro/WIN.

  2. Run the Ethernet Wizard to configure the CP 243-1 module for your hardware. Please repeat the steps described in Setting up communication between PC and PLC (Ethernet through CP 243-1).

  3. Edit the project to match your controller's hardware. Select Type... from the PLC menu.

    plc type menu

  4. Press Read PLC to update the PLC type in the project.

    read plc type

  5. Download and transfer the new configuration to the PLC.

    press download

    download system block

  6. Start Factory I/O, press Ctrl+O, select Scenes on the left panel and open the Sorting by Height (Basic) scene.

    open scene

  7. Press F4 to open the Driver Window. Select Siemens S7-200/300/400 on the driver drop-down list.

  8. Click on CONFIGURATION, make sure S7-200 is selected on the Model drop-down list and insert the PLC's IP address into the Host field.

    driver config

  9. Press Esc to return to the Driver Window. Now, click on CONNECT to connect to the PLC.

    driver connected

  10. Switch to Run mode and enjoy.


Back to top