300S / 300V

How to set up a S7 connection between a Siemens OPC-server and a VIPA S7-300 series plc?

1.   Configuration of the PC station

1.1 Set in the Simatic Manager to create a new project with "File -> New"


Figure 1: Assign a project name

Confirm the input of the project name (in the example: "PC_Station") with OK.

1.2 Adding PC Station


Figure 2: Adding PC Station

Add a PC station with the menu item "Insert -> Station -> SIMATIC PC Station".

1.3 Open the hardware configuration of the PC station

Now open the hardware configuration of the PC station. For this, you have to select the PC station, then right mouse click -> "Open Object". If the hardware catalog should not exist then open it now.

1.4 Selection of modules via the hardware catalog

Now place your PC modules in the rack and connect them and assign an IP address. The IP address you assign is the address for your PC.

1.5 OPC server project

Select the OPC server in the hardware catalog and drag and drop into any available slot. Now open the program "NetPro" and place an unspecified S7 connection.

1.6 Object attributes of the S7 connection

As the connection is now created "unspecified", you have to enter the IP address of the partner.

1.7 Address details of the S7 connection

Please fill in the CPU slot of the Simatic S7 control partner.

2. Software "Configuration Editor"

2.1 Configuring and loading via "Import Station"

Open the software "Configuration Editor" which you can find as an icon on your desktop.

Click the "Import Station" button and confirm the next window with "Yes".

2.2 Find the XDB file

Enter the path where the XDB file can be found via the browser window. The XDB is always created in the project from Step 7. (See Figure 1: Creating a project)

2.3 Information from the XDB file

Confirm this window with "OK". The import is now completed and the project engineering is loaded.

3. Start the OPC-Scout

3.1 Start the OPC-Scout by "Start> SIMATIC> SIMATIC NET> OPC Scout"

3.2 Connect with the OPC-Server and create a group

Connect to the OPC server by performing a double click on "OPC.SimaticNet". Enter a suitable group name in the displayed dialog and confirm with OK.

3.3 OPC Navigator

By repeating the double-click on the link and "objects" the tree with the possible objects appears which can be accessed.


Back to category 300S / 300V