show the entry list
WinCC flexible ES -- Configuring and programming communication -- Configuring communication to S7
What should you watch out for when connecting a SIMATIC HMI device configured with WinCC flexible ES to a SIMATIC ET 200 CPU?
How do you configure a connection between WinCC flexible Runtime (PC/Panel) and a SIMATIC S7-300/S7400 via PROFIBUS/MPI?
How do you integrate a WinCC flexible project in STEP 7?
How can you use one and the same WinCC flexible operator panel configuration for multiple controllers?
How can you visualize the current status of the CPU on a WinCC flexible operator panel?
How can you have any number of automation systems addressed one after the other by the "Change Connection" function with WinCC flexible PC Runtime or a Panel?
How do you use WinCC flexible to configure communication between an operator panel and an S7 station via S7 routing?
What should you watch out for when setting up a connection between S7-200 and SIMATIC Panels or WinCC flexible PC Runtime and what are the options?
Which ports are used by WinCC flexible?
How can you increase the performance of HMI devices?
Which settings do you need to make to access a panel and an S7-200 controller via TeleService?
How do you configure a connection between WinCC flexible Runtime (PC or Panel) and a SIMATIC S7-300 / S7-400 via Industrial Ethernet?
How do you configure a PROFINET connection to an S7 controller in WinCC flexible?
How do you specify the MPI address of an FM in the HMI configuration tool if the address doesn't appear in the HW Config and is thus unknown?
How do you connect a panel to a SIMATIC H station?
What settings have to be made for a PROFIBUS DP connection between a panel or a PC with WinCC flexible Runtime and an S7-200?
Why is the communication driver marked "orange" in WinCC flexible when another Ethernet communication is added to an existing MPI/DP?
PROFIBUS communications between Windows-based operator panel (configured with WinCC flexible 2004) and WinAC Basis / WinAC RTX V4.0
How do you configure communication between the WinCC flexible Runtime and WinLC via SOFTBUS on a PC?
How do you configure communication between WinCC flexible Runtime or a Windows-based operator panel and an S7-200 (CP 243-1) via Ethernet?
STEP 7 Micro/WIN -- Configuring and programming communication -- Using Ethernet protocols and services
How can you graphically display a variable of the PLC via EXCEL as OPC client with PC Access as OPC server?
How do you configure communication between WinCC flexible Runtime or a Windows-based operator panel and an S7-200 (CP 243-1) via Ethernet?
Ethernet communication between a ProTool/Pro Runtime (PC) and a CP243-1 (S7-200)
WinCC flexible RT -- Configuring and programming communication -- Configuring communication to S7
How do you configure a connection between WinCC flexible Runtime (PC/Panel) and a SIMATIC S7-300/S7400 via PROFIBUS/MPI?
How do you use WinCC flexible to transfer a project to an operator panel via S7 routing?
How do you access S7-1200 tags with a panel or RT configured with WinCC flexible 2008 SP2?
How can you visualize the current status of the CPU on a WinCC flexible operator panel?
How can you have any number of automation systems addressed one after the other by the "Change Connection" function with WinCC flexible PC Runtime or a Panel?
What should you watch out for when setting up a connection between S7-200 and SIMATIC Panels or WinCC flexible PC Runtime and what are the options?
Which settings do you need to make to access a panel and an S7-200 controller via TeleService?
How do you configure a connection between WinCC flexible Runtime (PC or Panel) and a SIMATIC S7-300 / S7-400 via Industrial Ethernet?
How do you configure a PROFINET connection to an S7 controller in WinCC flexible?
How do you specify the MPI address of an FM in the HMI configuration tool if the address doesn't appear in the HW Config and is thus unknown?
How do you connect a panel to a SIMATIC H station?
What settings have to be made for a PROFIBUS DP connection between a panel or a PC with WinCC flexible Runtime and an S7-200?
What should you watch out for when connecting a SIMATIC HMI device configured with WinCC flexible ES to a SIMATIC ET 200 CPU?
How do you configure communication between WinCC flexible Runtime or a Windows-based operator panel and an S7-200 (CP 243-1) via Ethernet?
PROFIBUS communications between Windows-based operator panel (configured with WinCC flexible 2004) and WinAC Basis / WinAC RTX V4.0
How do you configure communication between the WinCC flexible Runtime and WinLC via SOFTBUS on a PC?
Why is the communication driver marked "orange" in WinCC flexible when another Ethernet communication is added to an existing MPI/DP?
How do you configure communication between WinCC flexible Runtime or a Windows-based operator panel and an S7-200 (CP 243-1) via Ethernet?
Part number:

Contents:  

  1. Requirements
    1.1 Requirements for S7-200 and WinCC flexible PC Runtime
    1.2 Requirements for S7-200 and Windows-based operator panel
  2. Configuring the CP 243-1 with STEP 7 Micro/WIN
  3. Configuring a WinCC flexible PC Runtime
  4. Configuring a Windows-based operator panel
    4.1 Operator panel settings
    4.2 Creating a WinCC flexible configuration
     
1. Requirements

1.1 Requirements for communication between the S7-200 and a WinCC flexible PC Runtime via Ethernet:

Software:

  • SIMATIC NET CD 11/2003
  • STEP 7 Micro/WIN V4.0
  • WinCC flexible Advanced

Hardware:

  • CPU 22x:
    CPU 222 or 224 release 1.1 or higher, CPU 226 or CPU 226 XM release 1.00 or higher
  • CP 243-1: (order number 6GK7 243-1-1EX00-0XE0) or CP 243-1IT (order number 6GK7 243-1GX00-0XE0)
  • PC with a standard Ethernet card
  • Network cable
  • Hub or switch
1.2 Requirements for communication between the S7-200 and a Windows-based operator panel via Ethernet:

Software:

  • STEP 7 Micro/WIN V4.0 or higher
  • WinCC flexible standard

Hardware:

  • CPU 22x: CPU 222 or 224 release 1.1 or higher, CPU 226 or CPU 226 XM release 1.00 or higher
  • CP243-1: (Order number: 6GK7 243-1-1EX00-0XE0) or CP 243-1IT (order number 6GK7 243-1GX00-0XE0)
  • Network cable
  • Hub or switch
  • Windows-based operator panel as of 170 series with Ethernet interface

Note:
The OP270 and TP270 do not have an on-board Ethernet interface. You can use a CF Ethernet card to extend the OP270 and TP270 by an Ethernet interface.
 

2. Configuring the CP 243-1 with STEP 7 Micro/WIN
The settings for the CP 243-1 are defined in STEP 7 Micro/Win via the Ethernet Wizard. For assistance with all the information go to STEP 7 Micro/WIN Online Help via F1.
 
No. Procedure
1 Starting the Ethernet Wizard 
  • Open STEP 7 Micro/WIN.
  • Start the Ethernet Wizard via "Tools > Ethernet Wizard...."
  • Click on "Next".


Fig. 01 - Ethernet Wizard

2 Confirm message
  • Click "Yes" to confirm the message that appears.

      => Your STEP 7 Micro/WIN configuration is compiled, and the symbolic addressing is activated.


Fig. 02 - STEP 7 Micro/WIN message

3 Specifying module position
If your PC is connected to the S7-200, click the "Read modules" button to determine the position of the CP 243-1 module automatically. Otherwise, the module position can also be entered manually.

Important:
WinCC flexible Runtime or the Windows-based operator panel can only establish a connection with a CP243-1 if the module is configured to "position 0". The TSAP for the remote station must be set to 02.00

  • Check if the CP is connected in the module position "ZERO" and change the module position if necessary.
  • Identify or enter the module position "ZERO".
  • Click on "Next".


Fig. 03 - Enter module position

4 Specifying IP address
  • Define an IP address for the CP 243-1. 

    Caution: 
    The IP address for this application may not be taken automatically from a server because the WinCC flexible Runtime or the Windows-based operator panel requires a fixed reference partner (CP 243-1) for the Ethernet communication.

    Note:
    The communication connection type for this module can be defined by the "Automatic Setting".

  • Click on "Next" to continue.


Fig. 04 - Set IP address


Note:
The BOOTP server is a pared-down DHCP server.

5 Parameterizing PtP connection
  • Specify the command byte for the module and the number of point-to-point connections with the CP 243-1.
  • Click on "Next".


Fig. 05 - Number of connections

6 Configuring connection 
  • The configuration for connecting the CP 243-1 to WinCC flexible Runtime or to a Windows-based operator panel must be defined as in Fig. 06.
  • Click OK to confirm the entries.

    Warning:  
    The TSAP must always be specified in four-digit format, with a leading zero (02.00).


Fig. 06 - Configuring connections

7 Using CRC protection
Set the CRC protection the way you want it. It is advisable to work without CRC protection first of all. The "Keep Alive Interval" can be specified with the default time.
  • Activate the CRC protection and change the time of the "Keep Alive Interval" if required.
  • Click on "Next".


Fig. 07 - CRC protection and Keep Alive Interval

8 Assigning memory
  • Specify a memory area for the configuration of the CP 243-1.
     
    Recommended:  
    If you click on Suggest address, the Wizard can identify a variable memory area.
     
  • Click on "Next".


Fig.08 - Memory for the configuration

9 Creating project components
If you click on "Close", the Ethernet Wizard generates the project components for the set configuration. Among other things, subprograms and the variable memory are created in the data block.
  • Click the "Close" button.


Fig. 09 - Creating the project components

10 Confirm message
  • Click "Yes" to confirm the message that appears.


Fig. 10 - Close Ethernet Wizard

11 Call ETH0_CTRL
  • In your STEP 7 Micro/WIN program, you must call the ETH0_CTRL subroutine in each cycle.
  • Finally, load the entire configuration into the S7-200.


Fig. 11 - Example of calling the ETH0_CTRL subroutine


3. Configuring a WinCC flexible PC Runtime
 
No. Procedure
1 Creating a PC project
  • Run WinCC flexible.
  • Create a project with the device type "PCs > WinCC flexible RT".


Fig. 12 - Creating WinCC flexible RT

2 Specifying connection parameters
  • Navigate to "Communication > Connections" and create a new connection in the right pane of the project window.
  • Select the communication driver "SIMATIC S7 200".
  • Under interface, select "ETHERNET".
  • Enter the IP address and the subnet mask for the WinCC flexible RT and the S7-200 (see Fig. 04 ( 56 KB ) ).


Fig. 13 - Setting connection parameters

3 Select access point
  • Open the PG/PC interface under "Start > Control panel > Set PG/PC interface
  • In the PG/PC interface you must set the access point S7ONLINE to "TCP/IP -> [Used network card]".


Fig. 14 - Set PG/PC interface

4 Configuring network card
The IP address and subnet mask for the PC, which are defined via the control panel, need to match the IP address and subnet mask in WinCC flexible (Fig. 13 ( 35 KB ) ).
  • Enter the IP address and the subnet mask that you have parameterized in Fig. 13 ( 35 KB ) .


Fig.15 - Parameterizing network card

5

Start WinCC flexible Runtime
  • Once you have completed the configuration in WinCC flexible, you can start the Runtime.

4. Configuring a Windows-based operator panel
The connection to the S7-200 must be configured in the WinCC flexible project. You must parameterize the configuration of the Ethernet adapter directly in the operator panel.

4.1 Operator panel settings
 
No. Procedure
1 Select Ethernet adapter
  • Open the Network menu command in the "Control Panel".
  • Select the driver for the Onboard Ethernet card in the "Adapters" tab and click on "Properties"


Fig. 16 - Network configuration

2 Specifying connection parameters
  • Select "Specify an IP address".
  • Set your IP address as 192.168.1.50 and your subnet mask as: 255.255.255.0 (see Fig. 17).

    Note:
    The IP address and subnet mask must match the IP address and subnet mask specified in WinCC flexible - as in Fig. 17.
     
  • Click "OK" to close the dialog. 


Fig. 17 - Setting IP address

3 Changing the device name
  • Click "OK" to confirm the message that appears.
  • Switch to the "Communication" menu in the "Control Panel".

    Note:
    In the "Device Name" tab, the device name must be changed (for example, ID7803) to enable communication.
     
  • Change the device name under "Device Name".
  • Click "OK" to close the dialog. 


Fig. 18 - Changing the device name

4 Saving the settings
  • Open the "OP" menu.
  • Click on the "Save Registry" button in the "Persistent Storage" tab in order to save the tab settings. 
  • Reboot the MP270B.


Fig. 19 - Saving settings


4.2 Creating a WinCC flexible configuration
 
No. Procedure
1 Select operator panel
  • Run WinCC flexible.
  • Create a project, for example for the device type "MP 270B 6" Touch".


Fig. 20

2 Specifying connection parameters
  • Navigate to "Communication > Connections" and create a new connection in the right pane of the project window.
  • Select the communication driver "SIMATIC S7 200".
  • Under interface, select "ETHERNET".
  • Enter the IP address and the subnet mask for the MP 270B and the S7-200 - as in Fig. 04 ( 56 KB ) .


Fig. 21 - Enter connection parameters

3 Transfer configuration
  • Once you have completed the configuration in WinCC flexible, you can transmit this to the MP270B.

 

 Entry ID:19724696   Date:2008-07-03 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour