Skip to content

# Setting up S7-200

Requirements

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

Sample Project

Sorting by Height with S7-200

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.

3. Click on Set PG/PC Interface.

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

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

6. Refresh to get a list of available devices.

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

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

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

4. Then select the version matching your module.

5. Assign an IP address to the PLC.

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

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

8. Keep pressing Next until you complete the wizard.

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

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

    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.

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

## Connecting Factory I/O to the PLC

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

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

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.

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.

Back to top