Sie sind auf Seite 1von 48

Cover

Communication over long Distances with WinCC


WinCC Application Description July 2011

Applications & Tools


Answers for industry.

Industry Automation and Drives Technologies Service & Support Portal This article is taken from the Service Portal of Siemens AG, Industry Automation and Drives Technologies. The following link takes you directly to the download page of this document. http://support.automation.siemens.com/WW/view/en/42922061

If you have any questions about this document, please contact us at the following e-mail address: online-support.automation@siemens.com

Copyright Siemens AG Copyright-Jahr All rights reserved

Remote Control with WinCC Version V1.0, Entry ID: 42922061

s
The "Table of contents for the manual" is added here.

Automation Task Overview of the Automation Solution Automation Solutions in Detail

1 2 3 4

SIMATIC Communication over long Distances with WinCC


Comparison of the possible solutions

History

Copyright Siemens AG Copyright-Jahr All rights reserved

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

Warranty and Liability

Warranty and Liability


Note The application examples are not binding and do not claim to be complete regarding configuration, equipment and any eventuality. The application examples do not represent customer-specific solutions. They are only intended to provide support for typical applications. You are responsible for ensuring that the described products are used correctly. These application examples do not relieve you of the responsibility to use sound practices in application, installation, operation and maintenance. When using these Application Examples, you recognize that we cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these application examples at any time 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 have priority.

We accept no liability for information contained in this document. Any claims against us based on whatever legal reason resulting from the use of the examples, information, programs, engineering and performance data etc., described in this Application Example shall be excluded. Such an exclusion shall not apply in the case of mandatory liability, e.g. under the German Product Liability Act (Produkthaftungsgesetz), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract (gwesentliche Vertragspflichten). The damages for a breach of a substantial contractual obligation are, however, limited to the foreseeable damage, typical for the type of contract, except in the event of intent or gross negligence or injury to life, body or health. The above provisions do not imply a change in the burden of proof to your detriment. It is not permissible to transfer or copy these Application Examples or excerpts thereof without express authorization from Siemens Industry Sector.

Copyright Siemens AG Copyright-Jahr All rights reserved

Remote Control with WinCC Version V1.0, Entry ID: 42922061

Table of Contents

Table of Contents
Warranty and Liability ................................................................................................. 4 1 Automation Task................................................................................................ 6 1.1 2 Overview .............................................................................................. 6

Overview of the Automation Solution ............................................................. 7 2.1 2.2 2.3 2.4 2.5 Differences to the SIMATIC TELECONTROL product for WinCC....... 7 Urgent requirements for the individual solutions.................................. 7 Advantages of the individual solutions ................................................. 7 Advantages of the individual solutions ................................................. 8 Typical fields of application .................................................................. 9

Automation Solutions in Detail ...................................................................... 10 3.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.4 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 Automation solution: Dedicated line................................................... 10 Overview of the general solution........................................................ 10 Description of the core functionality ................................................... 11 Used hardware and software components......................................... 12 Alternative solutions ........................................................................... 12 Basic information................................................................................ 13 Startup of the Application ................................................................... 13 Operation of the application ............................................................... 16 Links & Literature ............................................................................... 17 Automation solution: GPRS ............................................................... 18 Overview of the general solution........................................................ 18 Description of the core functionality ................................................... 19 Used hardware and software components......................................... 20 Alternative solutions ........................................................................... 21 Basic information................................................................................ 21 Startup of the Application ................................................................... 23 Operation of the Application............................................................... 28 Links & Literature ............................................................................... 29 Automation solution: Ethernet ............................................................ 30 Overview of the general solution........................................................ 30 Description of the core functionality ................................................... 31 Used hardware and software components......................................... 31 Alternative solutions ........................................................................... 32 Basic information................................................................................ 33 Starting up the Application ................................................................. 33 Operation of the Application............................................................... 36 Links & Literature ............................................................................... 37 Automation solution: EGPRS ............................................................. 38 Overview of the general solution........................................................ 38 Description of the core functionality ................................................... 40 Used hardware and software components......................................... 41 Alternative solutions ........................................................................... 42 Basic information................................................................................ 43 Startup of the Application ................................................................... 43 Operation of the Application............................................................... 47 Links & Literature ............................................................................... 48

Copyright Siemens AG Copyright-Jahr All rights reserved

History............................................................................................................... 48

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

1 Automation Task

1
1.1

Automation Task
Overview
A requirement for plants with distributed or remote stations is to integrate these stations into the control system.

Introduction

Overview of the automation task The illustration below provides an overview of the automation task.
Figure 1-1

Control System

Copyright Siemens AG Copyright-Jahr All rights reserved

Remote Station 1

Remote Station 2

Remote Station n

Description of the automation problem Geographically remote stations shall be connected to a control system. In this example various options, further described in chapter 3, shall be used as communication media for data exchange between control systems and remote stations.

Remote Control with WinCC Version V1.0, Entry ID: 42922061

2 Overview of the Automation Solution

2
2.1

Overview of the Automation Solution


Differences to the SIMATIC TELECONTROL product for WinCC
SIMATIC TELECONTROL for WinCC V7.0 SP2 enables connecting remote stations (Remote Terminal Units = RTUs) into a WinCC-SCADA system via telecontrol protocols. SIMATIC TELECONTROL supports the following telecontrol protocols: SINAUT ST7, IEC 60870-5 101/104 and DNP 3. The solutions described in the following application example have no data buffer as opposed to SIMATIC TELECONTROL. This may cause a data loss for all solutions described here.

2.2

Urgent requirements for the individual solutions


Dedicated line Dedicated line (2-wire copper cable) existing or rented Transmission speed of 19.2 kBit/s sufficient for the expected data volume GPRS Sufficient GSM/GPRS reception quality Transmission speed of 9.6 kBit/s sufficient for the expected data volume EGPRS (VPN) Sufficient GSM/GPRS reception quality Transmission speed of 9.6 kBit/s sufficient for the expected data volume Ethernet Ethernet cable existing or will be installed. The distance limitations of the Ethernet transmission or protocol apply.

Copyright Siemens AG Copyright-Jahr All rights reserved

2.3

Advantages of the individual solutions


Dedicated line Existing dedicated lines can be used GPRS No direct connection of the head station and the substations via a dedicated cable necessary Low costs for minimal usage EGPRS (VPN) No direct connection of the head station and the substations via a dedicated cable necessary Low costs for minimal usage Ethernet Existing Ethernet lines can be used

Low costs for intensive usage Low costs when using own dedicated lines Constant transmission speed Very high availability. Transparent PROFIBUS network at all modems There is the option to connect several substations directly at a dedicated line modem.

Low costs for intensive usage High transmission speed (10/100 Mbit/s)

Constant transmission speed High availability. The wireless infrastructure also enables mobile substations.

Constant transmission speed High availability. The wireless infrastructure also enables mobile substations. Higher security through VPN tunnel

Constant transmission speed Very high availability.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

2 Overview of the Automation Solution

2.4

Advantages of the individual solutions


Dedicated line Low transmission speed of 19.2 Kbit/s Based on MD2 dedicated line modem High costs for minimal usage GPRS Low transmission speed in OPC mode of 9.6 Kbit/s GSM/GPRS reception required High costs for intensive usage It is not possible to connect several substations directly to a GPRS modem. No transparent network at all modems Susceptibility against possible failure sources from radio transmission Contract with mobile phone provider required for each substation. Data encoding not at the highest technical level. EGPRS (VPN) Low transmission speed GSM/GPRS reception required High costs for intensive usage It is not possible to connect several substations directly to a GPRS modem. No transparent network at all modems Susceptibility against possible failure sources from radio transmission Contract with mobile phone provider required for each substation. Data encoding not at the highest technical level, however, better than mere GPRS solution with VPN tunnel A server infrastructure accessible from the internet is required (internet connection and fixed IP or dynamic DNS). Based on SINAUT ST7 TIM modules Ethernet Cable-based solution

Based on SINAUT ST7 TIM modules High costs for minimal usage It is not possible to connect several substations directly to a GPRS modem. No transparent network at all modems

Copyright Siemens AG Copyright-Jahr All rights reserved

A server infrastructure accessible from the internet is required (internet connection and fixed IP or dynamic DNS).

Remote Control with WinCC Version V1.0, Entry ID: 42922061

2 Overview of the Automation Solution

2.5

Typical fields of application


Table 2-1 Machine or branch Waste water treatment Function e.g. communication to the individual sedimentation tanks Screenshot

Water supply

e.g. communication to the individual pump stations

Copyright Siemens AG Copyright-Jahr All rights reserved

Energy distribution

e.g. communication to the individual distribution stations

Oil / gas pipeline

e.g. communication to the individual maintenance / pump stations

Offshore plants

e.g. communication to the individual wind turbines

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

3 Automation Solutions in Detail

3
3.1
3.1.1

Automation Solutions in Detail


Automation solution: Dedicated line
Overview of the general solution

Schematic layout The following figure displays the most important components of the solution:
Figure 3-1

Copyright Siemens AG Copyright-Jahr All rights reserved

Head-end station The head-end or central station consists of one (or several) WinCC PCs. The process connection is handled via PROFIBUS. The PROFIBUS network is connected to the dedicated line via the MD2 dedicated line modem via RJ12 cable (provided for the dedicated line modem). An LTOP is installed as over-voltage protection between the RJ12 cable and the dedicated line (transformer and overvoltage protection). Substations The MD2 modem and LTOP are connected with the dedicated line. One or several substations are connected to the MD2 modem. If a MD2 modem is used as tapping point (see station 1), a second LTOP (LTOP2) must be used. (The dedicated line is looped through here.)

10

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

Characteristics of the solution


Table 3-1 Characteristic Transmission medium S7 communication WinCC communication Possible substations Max. possible distance S7-200, S7-300, S7-400, IM151-7 see table in Dedicated-line modem MD2 operating instruction manual (Chapter 2.2.6 Maximal reach (in km)) Limited by the number of PROFIBUS addresses low high Description Private dedicated line / 2-wire copper cable PROFIBUS/MPI

Max. possible number of substations Security (information) Availability

Advantages / disadvantages
Copyright Siemens AG Copyright-Jahr All rights reserved

Table 3-2 Advantages Existing dedicated lines can be used Low costs for intensive usage Low costs when using own dedicated lines Constant transmission speed Very high availability. Transparent PROFIBUS network at all modems There is the option to connect several substations directly at a dedicated line modem. Disadvantages Low transmission speed of 19.2 Kbit/s Based on MD2 dedicated line modem High costs for minimal usage

3.1.2

Description of the core functionality

Hardware and communication The communication is transparent, i.e. at all modems it is possible to connect PROFIBUS nodes to the PROFIBUS. Furthermore there is the option to connect several nodes, such as CPUs or PROFIBUS slaves to each modem. PROFIBUS network on RS485 basis, i.e. the dedicated-line modem modulates the signals and transfers them to the dedicated line via LTOP. There is the option to use the LTOP as tapping point. In this situation, the LTOP2 must be used instead of the LTOP1. The dedicated line modem MD2 can also be used as repeater.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

11

3 Automation Solutions in Detail

Example project This application example shows the advantages and disadvantages as well as the requirements existing for the communication between WinCC and a CPU through PROFIBUS extension via dedicated line. This means that the WinCC project has the task of testing (and ensuring) the communication.

3.1.3

Used hardware and software components


The application document was generated using the following components:

Hardware components
Table 3-3 Component SIMATIC S7-300, PS 307 5A SIMATIC S7-300, CPU 3152DP SINAUT ST7, MD2 DEDICATED LINE MODEM
Copyright Siemens AG Copyright-Jahr All rights reserved

No. 3 3 3 1 1

MLFB/order number 6ES7307-1EA00-0AA0 6ES7315-2AG10-0AB0 6NH7810-0AA20 6GK1561-3AA00

Note

COMMUNICATION PROCESSOR CP 5613 Industrial PC for WinCC

Industrial PC

Standard software components


Table 3-4 Component STEP 7 V5.4 SP5 WinCC V7.0 SP1 1 1 No. MLFB/order number 6ES7 810-4CC08-0YA5 6AV6 381-2BM07-0AX0 (128 power tags) Note Version depends on the subsequent configuration. 128 tags are sufficient for the demo project.

Example files and projects The following list includes all files and projects used in this example.
Table 3-5 Component Remote_S.zip WinCC_Remote_Control_en.pdf Note <This zip file contains the STEP 7 and WinCC project.> This document.

3.1.4

Alternative solutions

Micro Automation: Remote control and remote monitoring via dedicated line modem In this application example the automation task was realized with WinCC flexible and S7-200 stations.

12

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

3.1.5

Basic information

Dedicated line A dedicated line is a permanent connection between two communication partners via a telecommunication network or an existing line. This connection must be provided by the respective provider and, as opposed to a dial-up connection, it is always available. It can therefore not be established by one a node in dialup mode. MD2 dedicated line modem The MD2 dedicated line modem is a tapping-capable FSK dedicated line modem for half-duplex data transmission via 2-wire or duplex data transmission via 4-wire multipoint dedicated lines. Furthermore, the MD2 can be used as repeater on 2wire and 4-wire dedicated lines. The MD2 dedicated line modem is supplied with 24V. In this application example, the MD2 dedicated line modem is used as interface between dedicated line and PROFIBUS.
Copyright Siemens AG Copyright-Jahr All rights reserved

Further information on the MD2 dedicated line modem is available in the entry 17163799.

Line transformer with overvoltage protection (LTOP) Automation islands are increasingly networked, whereby this networking is currently largely realized on private telephone lines via modems. Metallic lines, however, are highly susceptible to electromagnetic interference. The coupling of extraneous voltages can be inductive or capacitive, for example due to the effects of lightning. Direct conductive coupling is also possible due to bad insulation. The LTOP limits external voltage and overvoltage to a non-critical level. The floating transformer additionally provides electrical isolation, and the transfer of voltages to other cable sections is therefore prevented. LTOP protects people and investments, and is therefore an essential safety element in private trunk line networks. Further information on the LTOP is available in the entry 19993350. In this manual the difference between LTOP1 and LTOP2 is described in detail.

3.1.6
Preparation
Table 3-6 No. 1 2

Startup of the Application

Action Install the hardware according to the figure in chapter 3.1.1 Overview of the overall solution. Extract the project data (Remote_S.zip) to your computer and adjust the PROFIBUS addresses if necessary.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

13

3 Automation Solutions in Detail

No. 3

Action Configure the MD2 dedicated line modem and the LTOPs using the DIP switch following the instruction below: Parameters for the MD2 dedicated line modem It is required to parameterize the following switch positions for MD2. Top of the modem (SW1) SW1 Switch ON/OFF 1 0 2 1 3 0 4 1 5 1

Top of the modem (SW1) SW2 Switch ON/OFF 1 0 2 0 3 1 4 1 5 0 6 0 7 0 8 0 9 0 10 0

Copyright Siemens AG Copyright-Jahr All rights reserved

SW2 SW1 Bottom of the modem (SW3)


SW3 to end position (beginning/end) Switch ON/OFF 1 0 2 1 3 0 4 1 1 0 SW3 to tapping point (center) 2 1 3 0 4 0

Bottom of the modem (SW4)


Switch ON/OFF 1 0 2 0 3 0 4 0

14

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

No.

Action

SW4 SW3

Parameterization of LTOPs (DIP switch)


Copyright Siemens AG Copyright-Jahr All rights reserved

The LTOPs are equipped with DIP switches 1 and 2 for parameterization. Set the switch as described in the following table Location Beginning, LTOP1 Tapping point, LTOP2 End LTOP1 Switch left Position 1 Position 1 Position 1 Position 2 Switch right

Note

The following figure illustrates the states of the DIP switches. Switch 1 has the state 1 Switch 2 has the state 0

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

15

3 Automation Solutions in Detail

Commissioning
Table 3-7 No. 1 2 3 4 Action Adapt the WinCC computer name in the OS project. Compile and download the CPUs. Compile and load the OS. Set the communication parameters in your WinCC project according to the conditions. Note

3.1.7

Operation of the application


Figure 3-2

Copyright Siemens AG Copyright-Jahr All rights reserved

Start picture button Pressing this button displays an overview of the structure of the application example.

Overview button Pressing this button displays the picture represented in Figure 5-1. It contains an overview of the stations existing in the application example. Here you can change the value randomly by moving the slide control. The buttons + and -also give you the option to change the values. An OnlineTrendControl as well as a GaugeControl are used to display the values.

16

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

Station_1, Station_2_1 and Station_2_2 button Pressing this button gives you the option to individually operate the stations, as described for the Overview button.

Support button Pressing this button opens the Industry Automation and Drive Technologies Service & Support page in the WebbrowserControl.

Stop WinCC RT button Pressing this button terminates WinCC Runtime.

3.1.8

Links & Literature

Internet links The following list is by no means complete and only provides a selection of appropriate sources.
Copyright Siemens AG Copyright-Jahr All rights reserved

Table 3-8 Topic \1\ PROFIBUS DP Communication with SINAUT Modem MD2 ST7 manual Line transformer with overvoltage protection (LTOP) Manual Dedicated Line Modem MD2 Operating Instructions Title
http://support.automation.siemens.com/WW/view/en/23671172

\2\

http://support.automation.siemens.com/WW/view/en/19993350

\3\

http://support.automation.siemens.com/WW/view/en/17163799

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

17

3 Automation Solutions in Detail

3.2
3.2.1

Automation solution: GPRS


Overview of the general solution

Schematic layout The following figure displays the most important components of the solution:
Figure 3-3

Copyright Siemens AG Copyright-Jahr All rights reserved

Head-end station The head-end or central station consists of one (or several) WinCC PCs. Process connection from WinCC PC to the controller occurs via the Ethernet interface of the PC. Via Ethernet cable the interface is connected with the router which communicates with the GPRS modem (MD720-3) via the internet and GSM/GPRS. Furthermore, the SIMATIC Software SINAUT MICRO SC (OPC Routing Software with special communication functions) is installed on the WinCC PC. This software is responsible for the communication with the controllers. Substations The MD720-3 Modem generates the connection of the substation to the provider. The communication from modem to communication module CM 1241 RS232 is created via the serial interface using a RS232C cable. This communication module is then directly connected with the CPU (S7-1200). Characteristics of the solution
Table 3-9 Characteristic Transmission medium S7 communication WinCC communication Possible substations Max. possible distance Description Internet or GSM/GPRS RS232 TCP/IP (GPRS) S7-1200, S7-200, S7-300, S7-400, IM151-7 No distance restriction since a GSM/GPRS network exists virtually everywhere

18

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

Characteristic Max. possible number of substations

Description The maximal possible number of connections is limited by the available system resources and their performance data, especially CPU, RAM, Ethernet connection. low high

Security (information) Availability

Advantages / disadvantages
Table 3-10 Advantages No direct connection of the head station and the substations via a dedicated cable necessary Low costs for minimal usage Constant transmission speed
Copyright Siemens AG Copyright-Jahr All rights reserved

Disadvantages Low transmission speed in OPC mode of 9.6 Kbit/s GSM/GPRS reception required High costs for intensive usage It is not possible to connect several substations directly to a GPRS modem. No transparent network at all modems Susceptibility against possible failure sources from radio transmission Contract with mobile phone provider required for each substation. Data encoding not at the highest technical level. A server infrastructure accessible from the internet is required (internet connection and fixed IP or dynamic DNS).

High availability.

The wireless infrastructure also enables mobile substations.

3.2.2

Description of the core functionality

Hardware and communication The communication via the MD720-3 modem can occur in connection with the quad band antennae ANT 794-4MR via all four band widths of the GSM network and can hence be employed world-wide. The communication between CPU and modem occurs via the CM1241 communication module, which has a serial interface and is connected with the modem via RS232C cable.

Example project This application example shows the advantages and disadvantages as well as the requirements existing for the communication between WinCC and a CPU via GSM/GPRS. This means that the WinCC project only has the task of testing (and ensuring) the communication.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

19

3 Automation Solutions in Detail

3.2.3

Used hardware and software components


The application document was generated using the following components:

Hardware components
Table 3-11 Component SIMATIC S7-1200, PM1207 SIMATIC S7-1200, CM 1241 RS232 SIMATIC S7-1200, CPU 1214C GPRS/GSM modem SINAUT MD720-3 Quad band GSM antenna SINAUT 794-4MR
Copyright Siemens AG Copyright-Jahr All rights reserved

No. 2 2 2 2 2 1 1

MLFB/order number 6EP1332-1SH71 6ES7241-1AH30-0XB0 6ES7214-1AE30-0XB0 6NH9720-3AA00 6NH9860-1AA00

Note

Industrial PC for WinCC and SINAUT MICRO SC Industrial PC for Step 7

Industrial PC Industrial PC

Standard software components


Table 3-12 Component STEP 7 Basic V10.5 SP2 1 No. MLFB/order number 6ES7822 -0AA00-0YA0 Note Service Pack 2 for Step 7 Basic V10.5 is available in the following entry. Version depends on the subsequent configuration. 128 tags are sufficient for the demo project. Version depends on the subsequent configuration. For the demo project the SINAUT MICRO SC 8 package is sufficient.

WinCC V7.0 SP1

6AV6 381-2BM07-0AX0 (128 power tags)

SINAUT MICRO SC

6NH9910-0AA10-0AA3

Example files and projects The following list includes all files and projects used in this example.
Table 3-13 Component REMOTE_GPRS.zip Remote_GPRS_WinCC.zip WinCC_Remote_Control_en.pdf Note <This zip file includes the STEP 7 Basic project.> <This zip file contains the WinCC project.> This document.

20

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

3.2.4

Alternative solutions

Remote control and remote monitoring via GSM/GPRS In this application example the automation task was realized with WinCC flexible and SINAUT MICRO SC as well as a S7-300 station. In this application example the automation task was realized with WinCC flexible and SINAUT MICRO SC as well as a S7-1200 station.

3.2.5
GSM/GPRS

Basic information

GPRS (General Packet Radio Service) or is the service for data transmission in the GSM network (Global System for Mobile Communications). The advantage of a GPRS connection is that the radio space is only occupied during a data transmission which only generates costs if this is the case. GPRS modem MD720-3
Copyright Siemens AG Copyright-Jahr All rights reserved

The GPRS modem SINAUT MD720-3 transmits data between S7 devices and an OPC server SINAUT MICRO SC over radio through a GSM network via GPRS. The GPRS modem is here configured by a program block of the connected CPU and automatically establishes the connection between the CPU and the OPC server. The GPRS modem is supplied with 24V. In this application example the GPRS modem MD720-3 is employed as interface between CPU and OPC server / WinCC station. Further information on GPRS modem SINAUT MD720-3 is available in the entry 23117745.

Port forwarding Port forwarding is the forwarding of a connection with arrives at a certain port of a switch / router and is then forwarded to a certain computer in the network. This means the data are not sent to all computers.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

21

3 Automation Solutions in Detail

Monitoring the registration process of GPRS modem MD720-3 using the LEDs
Table 3-14 No. 1. Action After activation of the voltage supply, the LEDs S and C start blinking at oneor two-second intervals.
1s
S Q C

Note

2s

2.

If the initialization was triggered, the modem will check the parameters.
1s
S Q C

3.

The modem tries to establish a GSM connection.


1s

Copyright Siemens AG Copyright-Jahr All rights reserved

4.

The modem successfully logs into the providers GSM network

5.

The modem has successfully established the GPRS connection.

6.

The modem attempts to login to the Central Station.


1s
S Q C

7.

The modem has successfully logged in to the Central Station.

22

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

3.2.6
Preparation
Table 3-15 No. 1 2 3

Startup of the Application

Action Install the hardware according to the figure in chapter 3.2.1 Overview of the overall solution. Extract the project data (REMOTE_GPRS.zip) to the computer with STEP 7 Basic V10.5 and adjust the IP addresses of your CPUs. Extract the project data (Remote_GPRS_WinCC.zip) to the computer with WinCC and configure the OPC server of the SINAUT MICRO SC as described in table 3-16.

Configuration of the SINAUT MICRO SC server


Table 3-16 No. 1
Copyright Siemens AG Copyright-Jahr All rights reserved

Action Open the configuration user interface of the server. Press the Add button to add a new station

Note Start -> Simatic -> SINAUT MICRO SC -> Configuration

The Properties window opens. Here you enter Station name, Station number as well as Login data for the modem. Confirm your configuration with OK.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

23

3 Automation Solutions in Detail

No. 4

Action Repeat steps 2 and 3 for the other station.

Note

Copyright Siemens AG Copyright-Jahr All rights reserved

Determine a server port at Extras -> Settings Note: In this screenshot the standard port is used, however, any other port may also be used.

Commissioning
Table 3-17 No. 1 Action Open the STEP 7 Basic project (REMOTE_GPRS) and configure the com_DB blocks of each station in the OB1 of the project with your initialization parameters. A description of the inputs and outputs is available in Table 3-14. The GPRS modem MD720-3 uses these initialization parameters to establish the connection with the provider, after a positive edge is pending at input cmd_init_start. Compile and download both stations. Set the communication parameters in your WinCC project according to the conditions. Adapt the WinCC computer name in the OS project and start the WinCC Runtime. Initialize the modem via the value of the com_DB.cmd_init_start block in the chart_cmd-return monitoring table. In this monitoring table further values can be monitored to see whether the initialization runs through without errors. Both return values are explained, for example, in Table 3-18 at point 14 and 15. Note

2 3 4 5

24

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

No. 6

Action After the initialization, the modem establishes the connection to the router via the provider. The data is then forwarded directly to the IP address set at your central station via the Port forwarding set at the router. This means that all data arriving at port 26862 (set in Table 3-16 step 5) are forwarded to the IP address set at the central station. This rule for the port forwarding must also be defined at the router.

Note

Description of the inputs and outputs of the com_DB block


Table 3-18 No. 1. Designation cmd_init_start Transfer IN Data type Bool Description/note Enables the initialization process Responds to a positive edge The start command is stored as long as the com function block is already processed. The block always saves only one start command provided it cannot be processed instantly. Enter the size of the array in the global data block "data_DB[144]" Default value: 1000; no entry required, if the global data block is not modified Hardware ID of the RS232 communication module Default value: 11; no entry required, if the RS232 CM is placed in the first slot on the left side of the S7-1200 PLC Specific and unique station number Permissible values: from 1 to 256 Corresponds to the station number allocated in the SINAUT Micro SC software Static IP address of the Internet connection to the Central Station or host name, if DynDNS is used Permissible value: Maximum 50 characters
U U

Copyright Siemens AG Copyright-Jahr All rights reserved

2.

cmd_init_size_ of_array

IN

Int

3.

cmd_init_hw_id

IN

PORT

4.

cmd_init_STAT ION_ID

IN

Int

5.

cmd_init_IP_A DDRESS

IN

String

6.

cmd_init_DES T_PORT

IN

String

Port number used for routing to the Central Station Corresponds to the port number allocated in the SINAUT Micro SC software Permissible value: Maximum 6 characters Modem name for authentication Corresponds to the modem name used in the SINAUT Micro SC software Permissible value: Maximum 16 characters Modem password for authentication Corresponds to the modem password used in the SINAUT Micro SC software Permissible value: Maximum 16 characters

7.

cmd_MODEM_ NAME

IN

String

8.

cmd_MODEM_ PW

IN

String

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

25

3 Automation Solutions in Detail

No. 9.

Designation cmd_init_SIM_ PIN

Transfer IN

Data type String

Description/note PIN number of the SIM card inserted in the modem If the PIN number is disabled, 0000 has to be entered GPRS access point address of the relevant provider Allocated by the provider Permissible value: Maximum 30 characters List:
HU H

10.

cmd_init_APN

IN

String

http://www.unlocks.co.uk/gprs_settings.php

11.

cmd_init_APN_ USER cmd_init_APN_ PW cmd_init_DNS

IN

String

User name for login to GPRS, allocated by the provider Permissible value: Maximum 30 characters User password for login to GPRS, allocated by the provider Permissible value: Maximum 30 characters DNS name server of the provider in the form of IP addresses Up to two IP addresses, separated by a semicolon Only relevant in combination with a host address instead of a static IP address Example: IP1;IP2 Gives feedback, if modem initialization has been successfully completed. This does not imply, that the PLC is also logged in to SINAUT Micro SC After this output has been set, it takes at least 20 seconds until the station will be logged in to SINAUT Micro SC Stays TRUE until initialization is triggered again Default value: FALSE
U U

12.

IN

String

13.
Copyright Siemens AG Copyright-Jahr All rights reserved

IN

String

14.

return_init_ok

OUT

Bool

15.

return_init_abo rted

OUT

Bool

Gives feedback when initialization of modem terminated incorrectly Stays TRUE until initialization is triggered again Default value: TRUE

Note

When selecting the APN address, please note that the provider makes a distinction between APN access points for WAP and for the "real" Internet. WAP access point will not function with this system.

Note

With the solution based on this S7-1200 PLC, a teleservicing function cannot be realized. For this reason, the parameter "CLIP", as known from the GPRS solution based on the S7-200 unit, has been omitted.

26

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

Monitoring the SINAUT MICRO SC server Apart from the configuration screens, the SINAUT MICRO SC user interface also offers dialogs for status monitoring.
Table 3-19 No. 1 Action You receive an overview of the status of all configured remote stations via the Status Matrix button. Note

Copyright Siemens AG Copyright-Jahr All rights reserved

Select a configured station and click the Test Status button. The small Status window displays the current connection status. The connections between ServerModem and Server PLC are viewed separately.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

27

3 Automation Solutions in Detail

3.2.7

Operation of the Application

Figure 3-4

Copyright Siemens AG Copyright-Jahr All rights reserved

Start picture button Pressing this button displays an overview of the structure of the application example.

Overview button Pressing this button displays the picture represented in Figure 5-1. It contains an overview of the stations existing in the application example. Here you can change the value randomly by moving the slide control. The buttons + and -also give you the option to change the values. An OnlineTrendControl as well as a GaugeControl are used to display the values.

Station_1 and Station_2 button Pressing this button gives you the option to individually operate the stations, as described for the Overview button.

28

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

Support button Pressing this button opens the Industry Automation and Drive Technologies Service & Support page in the WebbrowserControl.

Stop WinCC RT button Pressing this button terminates WinCC Runtime.

3.2.8

Links & Literature

Internet links The following list is by no means complete and only provides a selection of appropriate sources.
Copyright Siemens AG Copyright-Jahr All rights reserved

Table 3-20 Topic \1\ System Manual GPRS/GSM Modem SINAUT MD720-3 SIMATIC S7-1200 Easy Book Manual Quad band GSM antenna SINAUT 794-4MR SINAUT MICRO SC System Manual Application: Wireless Communication via GPRS with S7-1200 controllers Application: Wireless data communication based on GPRS between S7-300 stations and SINAUT Micro SC Server Title
http://support.automation.siemens.com/WW/view/en/23117745

\2\ \3\

http://support.automation.siemens.com/WW/view/en/39710145 http://support.automation.siemens.com/WW/view/en/23119005

\4\

http://support.automation.siemens.com/WW/view/en/23119827

\5\

http://support.automation.siemens.com/WW/view/en/39863979

\6\

http://support.automation.siemens.com/WW/view/en/27038105

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

29

3 Automation Solutions in Detail

3.3
3.3.1

Automation solution: Ethernet


Overview of the general solution

Schematic layout The following figure displays the most important components of the solution:
Figure 3-5

Copyright Siemens AG Copyright-Jahr All rights reserved

Head-end station The head-end or central station consists of one (or several) WinCC PCs. Process connection from WinCC PC to the controller occurs via the Ethernet interface of the PC. It is connected with a SINAUT ST7 TIM4R IE module via Ethernet cable which acts as router to the TIM modules of the substations. Substations Each substation (CPU) is connected with a SINAUT ST7 TIM3V IE module via the backplane bus which communicates with the SINAUT ST7 TIM4R IE module via a SCALANCE switch. The communication in this automation solution takes place via SINAUT ST7. Characteristics of the solution
Table 3-21 Characteristic Transmission medium S7 communication WinCC communication Possible substations Max. possible distance Ethernet cable SINAUT ST7 TCP/IP (Ethernet) S7-1200, S7-200, S7-300, S7-400, IM151-7 This detail depends on the used Ethernet standard Description

30

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

Characteristic Max. possible number of substations Security (information) Availability

Description Limited by the number of possible Ethernet addresses low high

Advantages / disadvantages
Table 3-22 Advantages Existing Ethernet lines can be used Low costs for intensive usage High transmission speed (10/100 Mbit/s) Constant transmission speed Very high availability.
Copyright Siemens AG Copyright-Jahr All rights reserved

Disadvantages Cable-based solution Based on SINAUT ST7 TIM modules High costs for minimal usage It is not possible to connect several substations directly to a GPRS modem. No transparent network at all modems

3.3.2

Description of the core functionality

Hardware and communication The communication between the central station and SINAUT ST7 TIM 4RIE takes place via a standard Ethernet cable. The communication between the CPU and SINAUT ST7 TIM 4R-IE takes place via a standard Ethernet cable connected to a SINAUT ST7 TIM 3V-IE. This module is connected to the CPU via a backplane bus.

Example project This application example shows the advantages and disadvantages as well as the requirements existing for the communication between WinCC and a CPU via an Ethernet cable. This means that the WinCC project only has the task of testing (and ensuring) the communication.

3.3.3

Used hardware and software components


The application document was generated using the following components:

Hardware components
Table 3-23 Component SIMATIC S7-300, PS 307 5A SIMATIC S7-300, CPU 3152DP SCALANCE X208 SINAUT ST7, TIM 4R-IE SINAUT ST7, TIM 3V-IE Industrial PC No. 3 2 1 1 2 1 MLFB/order number 6ES7307-1EA00-0AA0 6ES7315-2AG10-0AB0 6GK5208-0BA10-2AA3 6NH7800-4BA00 6NH7800-3BA00 Note

Industrial PC

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

31

3 Automation Solutions in Detail

Standard software components


Table 3-24 Component STEP 7 V5.4 SP5 WinCC V7.0 SP1 1 1 No. MLFB/order number 6ES7 810-4CC08-0YA5 6AV6 381-2BM07-0AX0 (128 power tags) Note Version depends on the subsequent configuration. 128 tags are sufficient for the demo project. SINAUT ST7 - ProTool V5.0 SP1 as well as SINAUT ST7 - TD7 Library Basic01 V2.2 SP1 were used This MLFB is for usage of maximal 6 SINAUT stations

SINAUT ST7 Software package 2009

6NH7997-0CA50-0AA0

SINAUT ST7cc V2.7 SP1

6NH7997-7CA15-0AA1

Example files and projects


Copyright Siemens AG Copyright-Jahr All rights reserved

The following list includes all files and projects used in this example.
Table 3-25 Component Remote_Ethernet.zip Remote_Ethernet_WinCC.zip REMOTE_Ecc_Ethernet.zip WinCC_Remote_Control_en.pdf Note <This zip file includes the STEP 7 project.> <This zip file contains the WinCC project.> <This zip file contains the ST7cc project.> This document.

3.3.4

Alternative solutions

Remote control and remote monitoring via Ethernet In this application example the automation task was realized with WinCC and SINAUT ST7 (ST7cc) as well as a S7-300 station.

32

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

3.3.5

Basic information

SINAUT ST7 TIM 4R-IE In this case, SINAUT ST7 TIM 4R-IE is used in stand-alone-mode as communication processor for the control center PC. The module enables interconnecting two different networks. The TIM module separates these tow networks. Only SINAUT and PG communication with the stations is allowed to pass, which prevents unnecessary network traffic. Further information on SINAUT ST7 TIM 4R-IE is available in the entry 25695481. SINAUT ST7 TIM 3V-IE In this case, SINAUT ST7 TIM 3V-IE is used as communication module of the CPU. The CPU is connected with the TIM module via the backplane bus and is therefore connected to the Ethernet network. Further information on SINAUT ST7 TIM 3R-IE is available in the entry 39026870.

Copyright Siemens AG Copyright-Jahr All rights reserved

3.3.6
Preparation
Table 2-36 No. 1 2 3 4

Starting up the Application

Action Install the hardware according to the figure in chapter 3.3.1 Overview of the overall solution. Extract the Step 7 project data (Remote_Ethernet.zip) to your computer. Extract the EinCC project data (Remote_Ethernet_WinCC.zip) to your computer. Extract the ST7cc project data (Remote_Ecc.zip) to your computer.

Commissioning
Table 3-27 No. 1 2 3 Action Open the WinCC project (Remote_Ethernet_WinCC) and adjust the WinCC computer name accordingly. Set the communication parameters in your WinCC project according to the conditions. Open the STEP 7 project (REMOTE_Ethernet) and adjust the IP addresses of the CPUs, the OS and the TIM modules. Note

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

33

3 Automation Solutions in Detail

No. 4

Action Open the dialog for the configuration of ST7cc via Start > SIMATIC > ST7cc > ST7cc Config.

Note

Copyright Siemens AG Copyright-Jahr All rights reserved

Select the ST7cc project (st7_project in the REMOTE_Ecc folder) via the Open dialog.

34

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

No. 6

Action Open the project settings via Edit > Project Settings and go to the Communication tab; there you set the communication partner and acknowledge the dialog with OK.

Note

Copyright Siemens AG Copyright-Jahr All rights reserved

Save the changes via File > Save and acknowledge the dialog with Save, then close the ST7cc Config dialog.

8 9

Compile and download all stations, TIM modules and the WinCC station. Now start the WinCC project.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

35

3 Automation Solutions in Detail

3.3.7

Operation of the Application


Figure 3-6

Copyright Siemens AG Copyright-Jahr All rights reserved

Start picture button Pressing this button displays an overview of the structure of the application example. Overview button Pressing this button displays the picture represented in Figure 5-1. It contains an overview of the stations existing in the application example. Here you can change the value randomly by moving the slide control. The buttons + and -also give you the option to change the values. An OnlineTrendControl as well as a GaugeControl are used to display the values. Station_1 and Station_2 button Pressing this button gives you the option to individually operate the stations, as described for the Overview button. Support button Pressing this button opens the Industry Automation and Drive Technologies Service & Support page in the WebbrowserControl. Stop WinCC RT button Pressing this button terminates WinCC Runtime.

36

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

3.3.8

Links & Literature

Internet links The following list is by no means complete and only provides a selection of appropriate sources.
Table 3-30 Topic \1\ Sales and Delivery Release SINAUT ST7 Communication Module TIM 4R-IE SINAUT ST7 System Manual Application: SINAUT ST7 Telecontrol with TIM4R-IE and TIM3V-IE in an Ethernet-based environment Title
http://support.automation.siemens.com/WW/view/en/25695481

\2\ \3\

http://support.automation.siemens.com/WW/view/en/39026870 http://support.automation.siemens.com/WW/view/en/23810112

Copyright Siemens AG Copyright-Jahr All rights reserved

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

37

3 Automation Solutions in Detail

3.4
3.4.1

Automation solution: EGPRS


Overview of the general solution

Schematic layout The following figure displays the most important components of the solution:
Figure 3-7

Copyright Siemens AG Copyright-Jahr All rights reserved

Table 3-3 Module Internal Station 2 Station 3 Control center TIM 3V-IE MD741-1 TIM 3V-IE MD741-1 DSL router SCALANCE S612 TIM 4R-IE PC/ PG 140.70.0.1 172.16.0.1 172.17.3.1 172.18.4.1 172.18.4.2 --Dynamic from APN 140.70.0.2 Dynamic from APN Fixed IP from provider 172.16.37.135 172.17.3.2 IP Address External

38

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

Head-end station The head-end or central station consists of one (or several) WinCC PCs. Process connection from WinCC PC to the controller occurs via the Ethernet interface of the PC. Via Ethernet cable it is connected with a SINAUT ST7 TIM4R IE module which acts as router to the SCALANCE S612. Substations Each substation (CPU) is connected with a SINAUT ST7 TIM3V IE module via the backplane bus. This SINAUT ST7 TIM3V IE communicates with a SCALANCE S612 via a SINAUT MD741-1 modem (EGPRS). Characteristics of the solution
Table 3-21 Characteristic Transmission medium S7 communication WinCC communication Possible substations
Copyright Siemens AG Copyright-Jahr All rights reserved

Description GPRS (Industrial Ethernet cable) SINAUT ST7 TCP/IP (GPRS) S7-1200, S7-200, S7-300, S7-400, IM151-7 This detail depends on the used Ethernet standard. Transmission via GPRS does not depend on the distance. Limited by the number of possible Ethernet addresses low high

Max. possible distance

Max. possible number of substations Security (information) Availability

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

39

3 Automation Solutions in Detail

Advantages / disadvantages
Table 3-22 Advantages No direct connection of the head station and the substations via a dedicated cable necessary Low costs for minimal usage Constant transmission speed High availability. The wireless infrastructure also enables mobile substations. Higher security through VPN tunnel Disadvantages Low transmission speed

GSM/GPRS reception required High costs for intensive usage It is not possible to connect several substations directly to a GPRS modem. No transparent network at all modems Susceptibility against possible failure sources from radio transmission Contract with mobile phone provider required for each substation. Data encoding not at the highest technical level, however, better than mere GPRS solution with VPN tunnel A server infrastructure accessible from the internet is required (internet connection and fixed IP or dynamic DNS). Based on SINAUT ST7 TIM modules

Copyright Siemens AG Copyright-Jahr All rights reserved

3.4.2

Description of the core functionality

Hardware and communication The communication between the central station and SINAUT ST7 TIM 4R-IE takes place via a standard Ethernet cable. The communication between the CPU and SINAUT ST7 TIM 4R-IE takes place via GPRS. SINAUT ST7 TIM 3V-IE is connected to the CPU via the backplane bus. A SINAUT MD741-1 modem has been connected to the SINAUT ST7 TIM 3VIE which establishes a VPN tunnel to the SCALANCE S612.

Example project This application example shows the advantages and disadvantages as well as the requirements existing for the communication between WinCC and a CPU via EGPRS (VPN tunnel). This means that the WinCC project only has the task of testing (and ensuring) the communication.

40

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

3.4.3

Used hardware and software components


The application document was generated using the following components:

Hardware components
Table 3-23 Component SIMATIC S7-300, PS 307 5A SIMATIC S7-300, CPU 3152DP SCALANCE S612 SINAUT ST7, TIM 4R-IE SINAUT ST7, TIM 3V-IE SINAUT MD741-1 Quad band GSM antenna SINAUT 794-4MR Industrial PC
Copyright Siemens AG Copyright-Jahr All rights reserved

No. 2 1 1 1 1 1 1 1 1

MLFB/order number 6ES7307-1EA00-0AA0 6ES7315-2AG10-0AB0 6GK5612-0BA00-2AA3 6NH7800-4BA00 6NH7800-3BA00 6NH9741-1AA00 6NH9860-1AA00

Note

Industrial PC

DSL Router

Standard software components


Table 3-24 Component STEP 7 V5.4 SP5 WinCC V7.0 SP1 1 1 No. MLFB/order number 6ES7 810-4CC08-0YA5 6AV6 381-2BM07-0AX0 (128 power tags) Note Version depends on the subsequent configuration. 128 tags are sufficient for the demo project. SINAUT ST7 - ProTool V5.0 SP1 as well as SINAUT ST7 - TD7 Library Basic01 V2.2 SP1 were used This MLFB is for usage of maximal 6 SINAUT stations Included in the delivery scope of SCALANCE S612

SINAUT ST7 Software package 2009

6NH7997-0CA50-0AA0

SINAUT ST7cc V2.7 SP1 Security Configuration Tool V02.02

6NH7997-7CA15-0AA1

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

41

3 Automation Solutions in Detail

Example files and projects The following list includes all files and projects used in this example.
Table 3-25 Component Remote_EGPRS.zip WinCC_EGPRS_Remote.zip Sec Tool.zip Note This zip file contains the STEP 7 project. This zip file contains the WinCC project and the ST7cc project. This zip file contains the Security Configuration Tool project. (Configuration of SCALANCE S612) This zip file contains the configuration file for the MD741-1 modem. This document.

MD741-1_Konfig.zip

WinCC_Remote_Control_en.pdf

Copyright Siemens AG Copyright-Jahr All rights reserved

3.4.4

Alternative solutions

Remote control and remote monitoring via Ethernet In this application example the automation task was realized with WinCC and SINAUT ST7 (ST7cc) as well as a S7-300 station.

42

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

3.4.5

Basic information

SINAUT ST7 TIM 4R-IE In this example the SINAUT ST7 TIM 4R-IE is used in stand-alone-mode as communication module for the control center PC. Two different networks are connected to the SINAUT ST7 TIM 4R-IE and interconnected to each other. Via the SINAUT ST7 TIM 4R-IE only the SINAUT and PG communication which takes place between the connected stations can pass. This prevents unnecessary network traffic. Further information on SINAUT ST7 TIM 4R-IE is available in the entry 25695481. SINAUT ST7 TIM 3V-IE In this example the SINAUT ST7 TIM 3V-IE is used as communication module of the CPU. The CPU is connected with the SINAUT ST7 TIM 3V IE via the backplane bus and is therefore connected to the Ethernet network. Further information on SINAUT ST7 TIM 3R-IE is available in the entry 39026870. SINAUT MD741-1
Copyright Siemens AG Copyright-Jahr All rights reserved

In this case, SINAUT MD741-1 is used as communication module of SINAUT ST7 TIM 3V-IE. SINAUT MD741-1 is required for the communication via GPRS. Further information on SINAUT MD741-1 is available in the entry 31385703.

3.4.6
Preparation
Table 4- 36 No. 1 2 3 4 5

Startup of the Application

Action Install the hardware according to the figure in chapter 3.4.1 Overview of the overall solution. Unzip the Step 7 project (Remote_EGPRS.zip) on your computer. Unzip the WinCC project (WinCC_EGPRS_Remote.zip) on your computer. Unzip the configuration file for the SINAUT MD741-1 (MD741-1_Konfig.zip) on the PC. Unzip the Security Configuration Tool (Sec Tool.zip) on the PC.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

43

3 Automation Solutions in Detail

Commissioning
Table 3-27 No. 1 Action Connect your PC/PG to the MD741-1 modem and adjust the IP address of your PC/PG so you can access the modem. Start a browser and enter the address https://[ip-adresse MD741-1]. Enter user name and password. Note According to the factory settings the MD741-1 modem has the address 192.168.1.1. After successful connection, a security dialog appears which you acknowledge with Yes. The default settings are: User name: admin Password: sinaut

In the Web Based Management of the MD741-1 modem you select the menu Maintenance Configuration Profiles.

Copyright Siemens AG Copyright-Jahr All rights reserved

Click the Browse button and select configuration file Remote1.tgz from the MD741-1_Konfig folder. Then click the Submit button.

Click the Activate button to open the configuration profile.

Now the MD741-1 has been configured with IP address, VPN connection and the respective certificates for setting up the VPN connection. In the Web Based Management of the MD741-1 modem you select the Ethernet Network EDGE/EGPRS menu and enter the PIN of your SIM card as well as the APN (Access Point Name) of your provider according to the specifications. Connect your PC/PG to the external port of the SCALANCE S612.

Further information is available: in the manual of the SINAUT MD741-1 modems under the following link:

http://support.automation.siemens.com/WW/view/ en/31385703
in the application SINAUT ST7 Telecontrol configuration examples in Ethernet, secure Internet and (E)GPRS environment (Configuration 8) under the following link:

http://support.automation.siemens.com/WW/view/ en/23810112
The SCALANCE S has no default IP Address. Download occurs via the given MAC address

44

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

No. 9

Action Select Start SIMATIC SCALANCE Security Security Configuration Tool in the menu to open the SIMATIC Security Configuration Tool. Then open the project (Konfiguration-1.smp) in the Sec Tool folder. If necessary adjust the IP address and MAC address of the SCALANCE S612 as well as the IP address of the used router and MD741-1 according to your specifications.

Note The user data for the security project are: User name: admin Password: VPN

10

After you have changed the configuration of the SCALANCE S you have to reload the SCALANCE S as well as regenerate the certificates for the MD741-1 modem via the Security Configuration Tool and download them to the modem. Further information is available: in the manual of the SINAUT S612 under the following link:

http://support.automation.siemens.com/WW/view/ en/21718449
in the application SINAUT ST7 Telecontrol configuration examples in Ethernet, secure Internet and (E)GPRS environment (Configuration 8) under the following link:

Copyright Siemens AG Copyright-Jahr All rights reserved

http://support.automation.siemens.com/WW/view/ en/23810112
11 Select the SCALANCE S612 and click on the Download button to download the configuration into the SCALANCE S612. Connect your PC/PG to the SINAUT TIM4R IE. Open the STEP 7 project and download the hardware configuration and the connections into the TIM4R IE. Repeat steps 12 and 13 for the SINAUT ST7 TIM 3V-IE and the CPU. Connect your PC/PG with the TIM4R IE according to Figure 3-7 and download the configuration of the ST7cc PC station into the components configurator on your PC/PG. On the PC/PG in Windows you chose START SIMATIC SIMATIC NET to open the Configuration Console. In the Configuration Console you set the following interface configuration for the CP_H1_1 access point: TCP/IP Network card. On your PC/PG you open the WinCC project WinCC_EGPRS_Remote.MCP. In the WinCC Explorer you use the right mouse-button to clock on the ST7cc Config editor and open it via the menu. In the ST7cc Config editor you open the ST7cc project in the WinCC_EPGRS_Remote\ST7cc folder.

12 13

14 15

16

17

18 19

17

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

45

3 Automation Solutions in Detail

No. 18

Action Now open the Global settings of the ST7cc Config via the F3 button or the Edit Global Settings menu. In the Global Settings dialog you go to the Computer tab. Press the Add server information to system button. In the Global Settings dialog you go to the Project tab. Click the Activate current project for ST7cc Runtime button. Start the ST7cc Runtime via the menu Start SIMATIC ST7cc ST7cc Runtime. In the SINAUT-LOG-Server you check whether the SINAUT ST7cc server reaches all nodes / stations successfully. Check the network connections using the figure in 3.4.1 Overview of the overall solution and start the WinCC Runtime. Now you can test the connection to the CPU.

Note

19

20

21

22

22

Copyright Siemens AG Copyright-Jahr All rights reserved

46

Remote Control with WinCC Version V1.0, Entry ID: 42922061

3 Automation Solutions in Detail

3.4.7

Operation of the Application


Figure 3-8

Copyright Siemens AG Copyright-Jahr All rights reserved

Start picture button Click the Start picture button to display an overview of the structure of this application example. Overview button Click the Overview button. The picture displayed in Figure 3-8 is displayed. It contains an overview of the stations existing in the application example. Here you can change the value randomly by moving the slide control. When clicking the + or - buttons, the values also change. An OnlineTrendControl as well as a GaugeControl are used to display the values. Station_1 button Pressing the Station_1 button then gives you the option to operate the station as described for the Overview button. Support button Press the Support button to open the Industry Automation and Drive Technologies Service & Support page in the WebbrowserControl. Stop WinCC RT button Click the Stop WinCC button to terminate WinCC Runtime.

Remote Control with WinCC Version 1.0 , Entry ID: 42922061

47

4 History

3.4.8

Links & Literature

Internet links The following list is by no means complete and only provides a selection of appropriate sources.
Table 3-30 Topic \1\ Sales and Delivery Release SINAUT ST7 Communication Module TIM 4R-IE Sales and Delivery Release SINAUT ST7 Communication Module TIM 3R-IE SINAUT ST7 System Manual SINAUT MD741-1 System Manual Application: SINAUT ST7 Telecontrol with TIM4R-IE and TIM3V-IE in an Ethernet-based environment SCALANCE S and SOFTNET Security Client Title
http://support.automation.siemens.com/WW/view/en/25695481

\2\

http://support.automation.siemens.com/WW/view/en/22386084

\3\ \4\ \5\

http://support.automation.siemens.com/WW/view/en/39026870 http://support.automation.siemens.com/WW/view/en/31385703 http://support.automation.siemens.com/WW/view/en/23810112

Copyright Siemens AG Copyright-Jahr All rights reserved

\6\

http://support.automation.siemens.com/WW/view/en/21718449

History
Table 5-1 Version V1.0 Date 05.07.2011 First issue Revisions

48

Remote Control with WinCC Version V1.0, Entry ID: 42922061

Das könnte Ihnen auch gefallen