Summary of Contents for Siemens SIMATIC S7-1200 CP 1242-7 V2
Page 1
Application Example 10/2016 TeleService of a S7-1200 station via mobile network CP 1242-7 V2, CP 1243-7 LTE, TCSB V3 https://support.industry.siemens.com/cs/ww/en/view/56720905...
Application Examples at any time and without prior notice. If there are any deviations between the recommendations provided in this Application Example and other Siemens publications – e. g. catalogs – the contents of the other documents shall have priority.
Table of Contents Table of Contents Warranty and Liability ....................2 Task ........................4 Solution....................... 5 Overview....................5 Hardware and software components ........... 7 2.2.1 Validity ....................7 2.2.2 Components used ................7 Function principle ....................9 Connection buildup between remote station and central station via TCSB V3 ..................
1 Task Task Introduction The infrastructure of a plant contains a SIMATIC S7-1200 sub-station. The sub- station communicates wirelessly with a central station via the internet. Additionally, a service operator monitors the sub-station and communicates with it via remote access. The communication is realized via the TeleControl Server Basic V3 (TCSB V3) software installed in the central station.
2 Solution 2.1 Overview Solution Overview Schematic layout The figure below shows a schematic overview of the most important components of the solution. Figure 2-1 TCSB Remote Station S7-1200 with CP 1242-7 V2 Mobile network TCSB V3 Process value transmission Teleservice Central Station Programming Unit...
Page 6
2 Solution 2.1 Overview Note The connection between the engineering station and the GPRS network can also be established via a TeleService gateway. The TeleService gateway only serves the “TeleService” function via the mobile network. With the TeleService gateway, no connections to remote stations can be monitored and no process data can be transferred (see \5\).
2 Solution 2.2 Hardware and software components Hardware and software components 2.2.1 Validity This application example is valid for the following software versions: CP 1242-7 V2 CP 1243-7 LTE STEP 7 V13 SP1 S7-1200 CPU V4.1 or higher ...
Page 8
2 Solution 2.2 Hardware and software components Software components Table 2-3 Component Article number Note STEP 7 Professional 6ES7822-1AA03-0YA5 STEP 7 Basic can also be V13 SP1 used. Software TCSB V3 6NH9910-0AA21-0AA0 A maximum of eight connectable stations. The product is available in further stages of development and licenses, (see document \3\).
3 Function principle 3.1 Connection buildup between remote station and central station via TCSB V3 Function principle This application example shows the following core elements: Configuration of a S7-1200 station with CP 1242-7 V2 for communication with the central station via mobile communications network and the internet. ...
Page 10
3 Function principle 3.1 Connection buildup between remote station and central station via TCSB V3 Note The APN user name and the APN user password are provider-dependent 3. Fixed IP address The CP 1242-7 V2 sends a connection request to the central station. The static IP address of the internet connection for accessing the central station is required.
3 Function principle 3.2 Teleservice connection between remote station and engineering station Teleservice connection between remote station and engineering station As engineering station and remote station always communicate via the central station, the central and the remote station need to be connected via the TCSB V3 in this application example.
Page 12
3 Function principle 3.2 Teleservice connection between remote station and engineering station 4. TeleService user name and password For protection against an unauthorized access to the CP 1242-7 V2, the TeleService user name and password are requested during the start-up of the TeleService session.
4 Configuration and Settings 4.1 Configuring the remote station Configuration and Settings Note The project included in this application example has already been configured for you. Chapter 4 explains the implemented work steps again. The configuration is done with the following configuration tools: ...
Page 14
4 Configuration and Settings 4.1 Configuring the remote station Action Activate the following control boxes under Properties of the CP 1242-7 GPRS V2 > General > Communication types: “Activate telecontrol communication” “Activate online functions” Under “Properties of the CP 1242-7 GPRS V2 > Mobile wireless communications settings”, make the required mobile communication settings marked in the following figure.
Page 15
4 Configuration and Settings 4.1 Configuring the remote station Action Under “Properties of the CP 1242-7 GPRS V2 > Partner stations > Connection to partner”, configure the CP parameters required to configure the TCSB V3: Partner IP address (static IP address / provider-dependent) ...
Page 16
4 Configuration and Settings 4.1 Configuring the remote station Action Adopt the global security settings that are required or the TeleService access. Under “Global security settings > User management > Roles”, create a new user-defined role. Under “Global security settings > User management > Roles”, create a user that is allowed to execute the TeleService functions for CP.
Configuring the TCSB V3 Table 4-2 Action Under “Windows Start menu > All Programs > Siemens Automation > SIMATIC > TCS Basic > Config and Monitoring Tool”, start the configuration and monitoring interface of TCSB (CMT). After the program has started, the login dialog of the CMT appears.
Page 18
4 Configuration and Settings 4.2 Configuring the TCSB V3 Action Fill in the parameters “Project name”, “Project number” and “Server password” of the project. Click on “Create”. Note: The server password is required for the TeleService access. In this example, the server password is “Teleservice”. “Save &...
Page 19
4 Configuration and Settings 4.2 Configuring the TCSB V3 Action Save the changes and activate the project. Select the connection and in the object pane, select the “Connections” tab. In the parameter area, various parameter groups are displayed for this connection. In the “General”...
5 Installation and Commissioning 5.1 Installing the hardware Installation and Commissioning Installing the hardware The necessary hardware components are listed in Chapter 2.2. Note The installation guidelines of all components have to be observed. NOTICE Before you switch on the power supply, complete and check the installation! 5.1.1 Hardware setup of the remote station...
5 Installation and Commissioning 5.1 Installing the hardware 5.1.2 Hardware setup of central station Figure 5-2 below shows the hardware setup of the central station. Figure 5-2 Central Station DSL Router TCSB V3 Fixed IP address Internet (DSL connection) 172.16.61.100 172.16.0.1 Industrial Ethernet Table 5-2...
5 Installation and Commissioning 5.2 Installing the software Note The engineering station and the central station are realized with a single device in this application example. Installing the software Engineering PC/PG Table 5-4 Action Remark Install STEP 7 V3 SP1. Follow the instructions of the installation program.
5 Installation and Commissioning 5.3 Installing the example project Installing the example project Unzip the “*zip” file “56720905_S7_1200_TeleService_PROJ_V10”. This folder contains the following files: The archived STEP 7 project “56720905_S7-1200_TeleService_CODE_V10.zip”. The TCSB configuration file “56720905_S7-1200_TeleService.bak”. Commissioning 5.4.1 Setting the IP addresses The following table shows the configured IP addresses.
5 Installation and Commissioning 5.4 Commissioning Action If your PG has an IWLAN interface, disable it. 5.4.3 Configuring the DSL router For the configuration, no specific router will be discussed as the screen forms will differ from router to router. Note To configure the router, you have to assign an IP address to your PG/PC that is in the router’s internal network.
5 Installation and Commissioning 5.4 Commissioning Inserting a backup copy of the “56720905_S7 1200_TeleService.bak” 5.4.4 database into TCSB V3 Table 5-9 Action Stop the existing database by stopping the service "TSC Basic Database Service" by means of the Windows Task Manager in the “Services" tab (as administrator). TeleService with TCSB Entry-ID: 56720905, V1.0,...
Page 26
5 Installation and Commissioning 5.4 Commissioning Action As administrator, start the SQL Server Management Studio under “Start > All Programs > Microsoft SQL Server 2008 R2 > SQL Server Management Studio”. The "Connect to server" dialog opens with the following settings: ...
Page 27
5 Installation and Commissioning 5.4 Commissioning Action Select the context menu (right mouse button) "Restore Database...". The “Restore Database - TCSB” dialog opens. In the "Destination for restore" field, select the database ("To database") "TCSB". In the "Source for restore" field, activate the option ("From device") and open the "Specify Backup"...
Action Start the configuration and monitoring interface of TCSB (CMT) under “Windows Start menu > All Programs > Siemens Automation > SIMATIC > TCS Basic > Config and Monitoring Tool”: After the program has started, the login dialog of the CMT appears.
5 Installation and Commissioning 5.4 Commissioning 5.4.6 Loading the remote station Prerequisites There is an existing connection between your engineering station and the CPU (e. g. via the PROFINET interface). The CPU must be in an operation mode that allows loading. ...
Page 30
5 Installation and Commissioning 5.4 Commissioning Action Under “Properties of the CP 1242-7 GPRS V2 > Partner stations > Connection to partner”, adjust the partner IP address (fixed IP address of your DSL router) required for the connection to the TeleControl server in the central station. „WAN-IP-ADDRESS“...
6 Operating the Application Example 6.1 Polling diagnostic data from the station Operating the Application Example The following chapters show how to wirelessly monitor and control the remote station. An existing connection of the remote station to the central station is required for this (TCSB V3) (see Table 5-11, step no.
Page 32
6 Operating the Application Example 6.1 Polling diagnostic data from the station Action Enter the following values and then click on “Connect”: IP address of the server (172.16.61.100) The server password (Teleservice) The port (55097) The TeleService user name (SiemensOS) ...
Page 33
6 Operating the Application Example 6.1 Polling diagnostic data from the station Action Start searching for accessible participants by clicking on “Start search”. Select the remote station and establish the online connection. Remote maintenance of the station is now possible. TeleService with TCSB Entry-ID: 56720905, V1.0,...
Page 34
6 Operating the Application Example 6.1 Polling diagnostic data from the station Action Open the device configuration of the station “CP1242-7_V2_Teleservice”. Select the CP 1242-7 V2 and open the online diagnostics (right mouse-click). Now select the respective topic in “Diagnostics” to call up the information of the CP 1242-7.
6 Operating the Application Example 6.2 Downloading project and program data from the STEP 7 project into the remote station Downloading project and program data from the STEP 7 project into the remote station Table 6-2 Action Ensure that the engineering station is connected to the internet. Note: Check the internet connection at your engineering station with the help of the internet browser by calling up a random internet page.
Page 36
6 Operating the Application Example 6.2 Downloading project and program data from the STEP 7 project into the remote station Action Establish the TeleService connection between engineering and remote station by clicking on the mobile phone symbol. Enter the following values and then click on “Connect”: ...
Page 37
6 Operating the Application Example 6.2 Downloading project and program data from the STEP 7 project into the remote station Action The TeleService connection has been established: Start searching for accessible participants by clicking on “Start search”. Select the remote station and load the project or program data by clicking on “Load”.
7 Links & Literature Links & Literature Table 7-1 Topic Siemens Industry Online Support http://support.industry.siemens.com Download page of the entry https://support.industry.siemens.com/cs/ww/en/view/56720905 SIMATIC NET Industrial Remote Communication -TeleControl TeleControl Server Basic V3 https://support.industry.siemens.com/cs/ww/en/view/107536367 SIMATIC NET S7-1200 – TeleControl CP 1242-7 GPRS V2 – Manual https://support.industry.siemens.com/cs/ww/en/view/109476700...