×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 21914464, Entry date: 01/18/2010
(0)
Rate

Which settings have to be made in WinCC to communicate with an S7 controller via the TS Adapter?

  • Entry
  • Associated product(s)
Specific settings are required in WinCC to be able to access a controller with SIMATIC WinCC via the TeleService Adapter.

Configuration of TS Adapter:
 

No. Procedure
1 Install the TeleService software.

The default settings of the adapter correspond to the settings of a standard SIMATIC system. It is therefore not necessary to make any changes.

2 Install the adapter on the controller and using a zero modem cable connect it to the serial interface of your computer (default: COM1).

If you connect your adapter to a different serial interface, you must change the configuration of the TS Adapter in the PG/PC interface. Open this and configure the connected serial interface in the Properties of the TS Adapter. The transmission rate should match that set on the TS Adapter.
   


Fig. 01


There are two options for accessing the TS Adapter with WinCC.


Access point MPI:
 

No. Procedure
1 Configure the PG/PC interface.
  • Open this via "Start > Settings > Control Panel > PG-PC Interface".
  • As Access Point you select "MPI (WinCC)" and the TS Adapter as the Interface Parameter Assignment Used.
     


Fig. 02

2 In WinCC you add a new driver in the Tag Management.
  • In WinCC, right-click the Tag Management and then click the menu command "Add new driver".
  • Select the "SIMATIC S7 PROTOCOL SUITE.CHN" driver and click "Open".
     


Fig. 03

3 The TS Adapter communicates via the MPI protocol. Therefore you must set the system parameters of MPI.
  • Open the SIMATIC S7 PROTOCOL SUITE driver in the Tag Management.
  • Right-click the MPI connection and select the "System Parameters" menu command.
     


Fig. 04

4 Set the system parameters as shown in Fig. 05.
  • Click the "Unit" tab and select the "MPI" item in the drop-down list for "Logical device name".
     


Fig. 05

5 Now create your connection and variables. Check the connection properties.
6 Now it is possible to communicate with the TS Adapter.


Access point S7ONLINE:
 

No. Procedure
1 Configure the PG/PC interface.
  • Open this via "Start > Settings > Control Panel > PG-PC Interface".
  • As Access Point you select S7ONLINE (STEP 7) and the TS Adapter as the Interface Parameter Assignment Used.
     


Fig. 06

2 In WinCC you add a new driver in the Tag Management.
  • In WinCC, right-click the Tag Management and then click the menu command "Add new driver".
  • Select the "SIMATIC S7 PROTOCOL SUITE.CHN" driver and click "Open".
     


Fig. 03

3 The TS Adapter communicates via the MPI protocol. Therefore you must set the system parameters of MPI.
  • Open the SIMATIC S7 PROTOCOL SUITE driver in the Tag Management.
  • Right-click the MPI connection and select the "System Parameters" menu command.
     


Fig. 04

4 Set the system parameters as shown in Fig. 07.

If you cannot select S7ONLINE as logical device name, enter it manually. It is important that it is written in uppercase characters.
The WinCC Explorer closes automatically in order to accept these changes.
   


Fig. 07

5 Now create your connection and variables. Check the connection properties.
6 Now it is possible to communicate with the TS Adapter.


Further Information

Why is the connection from WinCC to the S7 controller not established via TCP/IP?
79689088


Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.