Skip to content

Setting up 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 tutorial gives you step-by-step instructions on how to use a Siemens S7-200 PLC to control Factory I/O.

Setting up communication between PC and PLC (PPI)

  1. Connect the PPI cable between your computer and the PLC.

  2. Open the Communications dialog in STEP 7-Micro/WIN.

    open communications

  3. Click on Set PG/PC Interface.

    press set pg/pc interface

  4. Select PC/PPI cable (PPI) interface. Click on Properties.

    open ppi properties

  5. Open the Local Connection tab and choose the port to which the cable is connected.

    set port

  6. Refresh to get a list of available devices.

    list available devices

  7. Check Update PLC type in project. Highlight the device you want to use and click on OK.

    update plc type

Setting up communication between the computer and PLC (Ethernet through CP 243-1)

  1. Install the CP 243-1 module. Connect it to the network.

  2. Open the Ethernet Wizard in STEP 7-Micro/WIN. It can be found under the Tools menu.

    open ethernet wizzard

  3. Press Read Modules when asked to specify the module position.

    press read modules

  4. Then select the version matching your module.

    select module version

  5. Assign an IP address to the PLC.

    assign ip address

  6. Under Peer-to-Peer Connections set up at least one S7 connection.

    setup s7 connection

  7. Edit the previously set up connection as shown in the figure.

    configure s7 connection

  8. Keep pressing Next until you complete the wizard.

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

    press download

    download system block

  10. Reset the PLC by selecting Power-Up Reset under the PLC menu.

    reset plc

    You can also use the newly configured Ethernet connection as the PG/PC interface.

    In order to do it, reopen the Communications dialog. Click on Set PG/PC Interface, select TCP/IP and press OK.

    set pg/pc interface

    Back in the Communications dialog, insert the PLC's IP address into the Remote field. Press OK.

    set remote addresss

Connecting Factory I/O to the PLC

  1. In Factory I/O click on FILE > Driver Configuration to open the Driver Window.

    open driver window

  2. Select Siemens S7-200/300/400 on the driver drop-down list.

    select s7-200 driver

  3. Open the driver Configuration Panel by clicking on CONFIGURATION.

  4. 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

  5. Press Esc to return to the main 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.

    driver connected

Back to top