Showing posts with label wincc. Show all posts
Showing posts with label wincc. Show all posts

How do you integrate an existing WinCC project into a STEP 7 project?

Labels:

Configuration Notes:
The following WinCC components must be installed to be able to import a WinCC project into a STEP 7 project:

  • SIMATIC Device Drivers
  • Object Manager
  • AS-OS Engineering

These components are on the WinCC Installations CD (Fig. 01). Furthermore, WinCC and STEP 7 have to be installed on the same computer. By importing the WinCC project into a STEP 7 project you can use the existing compression tool (packer) for archiving the WinCC project.


Fig. 01

Instructions:
You have the following options for importing a previously separate WinCC project into your STEP 7 project:

1. Procedure for WinCC V6.0 SP4 and higher

No. Procedure
1 In the SIMATIC Manager you execute the menu command "Options > OS Import...".


Fig. 02

2 Press the button marked to open the selection window shown in Fig. 04.


Fig. 03

3 Select the Projectname.mcp file that you wish to import and press the "Open" button.


Fig. 04

4 Check the project path for the OS to be imported and press the "Import OS" button.


Fig. 05

Note:
More information on importing WinCC projects with the SIMATIC Manager is available in the WinCC Information System > Working with WinCC > The Integration of WinCC in SIMATIC Manger > Managing WinCC Projects and Objects with SIMATIC Manager > Importing a WinCC Project with SIMATIC Manager.

2. General procedure for all versions of WinCC

No. Procedure
1 Insert an Operator Station (OS) into your STEP 7 project.


Fig. 06

2 Change the name of the OS to the one in your WinCC project.


Fig.07

3 In the Windows Explorer, delete the WinCC project created in the STEP 7 project path, which is generated because of the newly created OS.
Sample project path:
C:\Programs\Siemens\Step7\EXAMPLES\exie\wincproj\'Name of the OS'
4 Now store the existing WinCC project in the STEP 7 project path using the Project Duplicator via the menu item "Save as...". You start the Project Duplicator in the Start menu under "Start > Simatic > WinCC > Tools".

Note:
More information on importing WinCC projects with the SIMATIC Manager is available in the WinCC Information System > Working with WinCC > The Integration of WinCC in SIMATIC Manger > Managing WinCC Projects and Objects with SIMATIC Manager > Importing a WinCC Project with SIMATIC Manager.







How can you link WinCC to S7 PLCSIM?

Labels: ,

Instructions:
In order to be able to access a simulation of S7 PLCSIM you must execute steps 1 to 3:

You must install the programs in the following order:

No. Procedure
1 STEP 7
2 S7 PLCSIM
3 WinCC

In WinCC, in the user-defined installation dialog Select Components you must select "Communication" and the component "Object Manager":

( 12 KB )
Fig. 01

Starting the STEP 7 applications:

No. Procedure
1 Start SIMATIC Manager.
2 Start S7 PLCSIM.
3 Open the project to be simulated or create a new project.
4 Insert an OS in the project.
5 Load the project in S7 PLCSIM.
6 In S7 PLCSIM set the MPI address of the CPU configured in HW Config via "PLC > MPI Address".
7 Open the OS in the STEP 7 project.

Working in WinCC:

No. Procedure
1 Insert a "SIMATIC S7 PROTOCOL SUITE" in the Tag Management.
2 Create a new connection under MPI.
3 Right-click the connection and select "Properties".
4 Click on the "Properties" button.
5 In the "Connection" tab you specify the MPI address and the slot of the CPU that you have configured in STEP 7.

( 5 KB )
Fig. 02
6 Acknowledge the entries with "OK".
7 Activate the WinCC project.
8 Under "Start > SIMATIC > WinCC > Tools > Channel Diagnosis" the status of the connection is displayed under "Channels Connection".
9 If the connection is not set up, check the setting of the MPI Unit in the WinCC Explorer under "Tag Management > SIMATIC S7 PROTOCOL SUITE > MPI > System Parameters".
Go to the "Unit" tab and enable the option "Set automatically".

( 6 KB )
Fig. 03