Siemens S7-200 Ethernet Connection Guide

Help Contents

Introduction

Siemens S7-200 PLC Devices with firmware version 1.21 and higher fully support the CP-243-1 Ethernet communication modules. Fernhill SCADA can monitor and control S7-200 PLC Devices using a CP-243-1 module.

Communication Overview

A communication scenario is shown in this diagram:

Diagram showing a Siemens S7 CP-243-1 communication module used to connect an S7-200 PLC to a Personal Computer (PC)

To establish communications between Fernhill SCADA and a Siemens S7-200 PLC Device in this scenario, you need to configure:

The rest of this article describes how to do this in more detail.

Setting up the Siemens S7-200 PLC

1. Start Siemens Step 7-Micro/Win and load your PLC project:

Siemens Step 7-Micro/Win

Note: This tutorial assumes you have an CP-243-1 module (1EX00 variant) attached to the PLC and powered up.

2. Expand Wizards and double click Ethernet. The Ethernet Wizard opens:

Siemens Step 7-Micro/Win Ethernet Wizard

Note: If you have the CP-243-1-IT module (6GK7-243-1GX00-0XA0) you would use the Internet wizard instead of the Ethernet wizard.

3. Click Next > to start the wizard. The Specify Module Position page opens:

Siemens Step 7-Micro/Win Ethernet Wizard; Specify Module Position page

4. Click Read Modules to read the position and type of module attached to the PLC. If successful the Module ID will show the module:

Siemens Step 7-Micro/Win Ethernet Wizard; Specify Module Position page

5. Click Next> to show the module version page:

Siemens Step 7-Micro/Win Ethernet Wizard; Select module version page

6. Select the module type. Click Next> to show the Module Address page:

Siemens Step 7-Micro/Win Ethernet Wizard; Specify Module Address page

7. Enter suitable values for IP Address and Subnet Mask. Click Next> to show the Peer-to-Peer connections page:

Siemens Step 7-Micro/Win Ethernet Wizard; Module Command Byte and Peer-to-Peer Connections page

Note: The CP-243-1 has one open connection using TSAP 4D.57, but this is reserved for Step 7-Micro/Win. Fernhill SCADA could use this TSAP, but using it would block access from Step 7-Micro/Win. To support connection from Fernhill SCADA (and other software), you need to set up a number of connections.

8. Enter 2 in the Number of connections field. Click Next> to start configuring the first peer-to-peer connection:

Siemens Step 7-Micro/Win Ethernet Wizard; Edit the first peer-to-peer connection

Note: Keep the default value of 10.00 for the Client TSAP.

9. Select This is a Server Connection. Select Accept all connection requests. Click Next Connection> to start configuring the second peer-to-peer connection:

Siemens Step 7-Micro/Win Ethernet Wizard; Edit the second peer-to-peer connection

Note: Keep the default value of 10.00 for the Client TSAP.

10. Select This is a Server Connection. Select Accept all connection requests. Click OK to return to the Ethernet Wizard:

Siemens Step 7-Micro/Win Ethernet Wizard; Generate CRC protection and define keep alive interval

11. Click Next> to show the Allocate Memory for Configuration page:

Siemens Step 7-Micro/Win Ethernet Wizard; Allocate memory for configuration

12. Choose a suitable V memory address to avoid conflicts. Click Next> to show the final wizard page:

Siemens Step 7-Micro/Win Ethernet Wizard; Completing the wizard

12. Click Finish to complete the wizard. To complete the configuration:

  1. Compile the project
  2. Download the project to the PLC
  3. Power cycle the PLC

Once the PLC has restarted, the Ethernet module will be configured with its IP address and S7 Connections.

Configuring Fernhill SCADA

There are two options for configuring Ethernet communications from Fernhill SCADA to a Siemens S7-200 PLC:

Further Information

Siemens S7 TCP Autodetect Wizard

For how to automatically configure Fernhill SCADA to communicate with Siemens S7 PLC Devices using Ethernet.

Siemens S7 Ethernet channel

For information about Siemens S7 Ethernet channel tag.

Siemens S7 TCP/IP PLC

For information about Siemens S7 TCP/IP PLC tag.

Siemens S7 Driver

For information about the Siemens S7 Driver.

Glossary

For the meaning of terms used in Fernhill SCADA.