No Copy


No Right Click

Selamat Datang di Situs Belajar PLC dan SCADA

Blog gratis yang menyajikan berita seputar PLC dan SCADA.

Microsoft Windows 10

Berita seputar Microsoft Windows 10. Membahas berbagai informasi mengenai Microsoft windows terbaru.

Apple OSX

Artikel yang membahas tentang OSX terbaru dari Apple tentu sangat menarik untuk dibaca. Tak kalah serunya jika kita paham mengenai tips dan trik yang ada didalamnya.

Photography

Photography asik dan menarik jika kita mengetahuinya lebih dalam. Disini kita bisa melihat berbagai hal dari sudut pandang photo. Menarik untuk dipahami.

Thursday, March 5, 2009

What is the difference between the PC Adapter and the TS Adapter in communication between the PC and the S7?

Configuration Notes:
The PC Adapter and TS Adapter differ with regard to their firmware, function and in the way they are parameterized:

  • The MPI/DP/PPI interface for the PC Adapter is parameterized directly in the STEP 7 software using the Set PG/PC interface... function.
  • The MPI/DP/PPI interface of the TS Adapter is parameterized from the TeleService software via the function Extras > Parameterize adapter. Unlike with the PC Adapter, the parameters are stored directly in the TS Adapter.

There are two types of application:

  • Modem connection
  • Direct connection (serial or USB)

Only direct connection is possible via the PC Adapter (6ES7 972-0CA2X-0XA0) and PC Adapter USB (6ES7 972-0CB20-0XA0). The table below explains which PC Adapters can be used for transfer and communication between the PC and the S7.

No. PC/TS Adapter
1 SIMATIC PC Adapter (serial RS232)
You can use the following PC Adapter for communication between a PC (COM interface) and a SIMATIC S7 (MPI/DP interface):
  • PC Adapter (serial conforming to MPI) - order number 6ES7 972-0CA23-0XA0

Conversion from RS232 to RS485 takes place in the PC Adapter. The PC adapter must be supplied with current via the MPI connector. More information on the power supply and connection required is available in our Entry ID: 20279422.

Note:
This PC Adapter is not approved for transferring the ProTool configuration to the operator panel.

2 SIMATIC PC Adapter USB
The SIMATIC PC Adapter USB connects a PC (also for notebooks) via a USB interface with the MPI/DP interface of an S7/C7 systems and can also be used with PRODAVE MPI as from version V5.6.
  • PC Adapter USB - order number 6ES7 972-0CB20-0XA0

Note:
Please note that PRODAVE MPI V5.6 does not work with the S7-200 USB/PPI Multi-Master Cable (6ES7 901-3DB30-0XA0).

3 TS Adapter II
You can parameterize the TS Adapter II for both modem and direct connection.
  • Modem connection: The TS Adapter II permits a component running on a PC (e.g. STEP 7) to access automation components (S7 and C7) on an MPI/DP/PPI bus via the telephone network. You need the TeleService application to set up a remote connection.
  • Direct connection: With a direct connection, the TS Adapter II permits data exchange between the PG/PC and an S7/C7 via the Universal Serial Bus (USB). In the case of a direct connection, the TS Adapter II functions like a PC Adapter USB.

You need at least TeleService V6.0 to parameterize the TS Adapter II. You can also use previous versions to set up a remote connection and, if necessary, log on on the TS Adapter II.

4 TS Adapter IE
The TS Adapter IE adapter has the following functions:
  • Teleservicing via the telephone network: Applications running on a PG/PC, e.g. STEP 7, can access the automation components S7 and C7 that are connected to the Industrial Ethernet.
  • For this, the TS Adapter IE requires
  • A connection to the automation components via the Industrial Ethernet,
  • A modem connection to the PG/PC.
  • Sending e-mails from a SIMATIC CPU via the TS Adapter IE. For this the TS Adapter IE sets up an outgoing modem connection to a dial-up server, for example an Internet Service Provider, and sends the e-mails via a mail server that is available there.
  • Standard routing: You can set up a modem connection to an Internet Service Provider and then access Internet data using a browser.

You need the application TeleService V6.1 or higher, or the Windows dial-up network to set up a remote connection via the telephone network.

Note:
Helmholtz PC adapters cannot be used for online operation in conjunction with the FM353 and the FM354.

TS Adapter (6ES7 972-0CA3X-0XA0) and TS Adapter II (6ES7 972-0Cx35-0XA0) support both types of application (direct and modem connection). Information on the two types of connection follows.

Operating the TS Adapter with direct connection

Direct connection:
The direct connection is primarily for parameterizing the TS Adapter. In the same configuration you can also go online in STEP 7 and in this way you can check the MPI/PROFIBUS/PPI parameters for bus compatibility. In this way it is possible to access S7/C7 systems via the MPI/DP interface (as with a PC Adapter).
With the direct connection there is no access protection active for the TS Adapter. Thus it is possible to change the TS Adapter's parameters without any problem, e.g. by importing adapter parameters.

Setting up the direct connection:
With the direct connection a connection is set up directly via the TS Adapter between the PG/PC on which TeleService is installed and the automation system. You do not need a modem.
With the direct connection you can work with transmission rates of 19200 bit/s or 38400 bit/s at the TS Adapter's serial interface. To switch between transmission rates you must change the switch on the TS Adapter and also change the parameters in the software using the "Set PG-PC interface..." function. In the case of direct connection, TS Adapter II works via the USB. Here there is no transmission rate to set.

The following figure shows the TS Adapter in the direct connection configuration.


Fig. 01

Operating the TS Adapter with modem connection

Setting up a modem connection:
The connection between the PG/PC on which TeleService is installed and the automation system at whose MPI/DP/PPI interface the TS Adapter is slotted is set up via a modem route.
Thus the configuration connects the PG/PC via the telephone network and the TS Adapter at the MPI/DP/PPI interface of the automation system.
The following figure shows the TS Adapter in the modem connection configuration.


Fig. 02

There are two options for the TS Adapter IE:

  1. TS Adapter IE Modem;
    with internal modem and connection for an external modem or ISDN TA.
  2. TS Adapter IE ISDN;
    with internal ISDN TA and connection for an external modem or ISDN TA.


Fig. 03

Purpose:
This configuration permits you to dial into a remote system. For this you use TeleService to set up a teleconnection via the telephone network to a remote system. Once the modem connection is set up you can then process the dialed-up system as usual with STEP 7.

Note:
The drivers for the TS Adapter are supplied with the TeleService software. Installation of TeleService is thus obligatory for setting the TS Adapter in the PG/PC interface. It is not possible to use the TS Adapter without TeleService, not even for a direct connection (as with the PC Adapter). In a direct connection configuration via the USB interface TS Adapter II can be used for communication with the automation system even without TeleService. The requirement is that the relevant driver is installed and prior correct setting of the adapter's parameters. PC Adapter USB and TS Adapter II are supplied with a driver CD.

Keywords:
Adapter, Teleservicing

Wednesday, March 4, 2009

STEP 7 in 7 Steps - A Practical Guide to Implementing S7-300/S7-400 Programmable Logic Controllers


Clarence T. Jones, “STEP 7 in 7 Steps - A Practical Guide to Implementing S7-300/S7-400 Programmable Logic Controllers”
Patrick-Turner Publishing | 2006 | ISBN: 1889101036 | 464 pages | PDF | 44,5 MB

This unique new book has done it all! The book is uniquely organized to include seven practical steps associated with getting the job done efficiently and painlessly. A task-oriented guide to configuring, programming, deploying, troubleshooting, and maintaining S7-300/S7-400 PLCs and Simatic Networks. Each of the seven task areas are introduced with a brief tutorial that is followed up with a number of actual task examples. Each task is presented in an identical two-page spread layout. On the left-hand page, the task is described using a Basic Concept, Essential Elements, and Application Tips. On the right-hand page, the task is presented in a step-by-step table format. With over 175 example tasks, your tasks are surely already done! A great side-kick for every STEP 7 user! Book Highlights - 464 pages - Appendix, Glossary and Index - Brief Tutorial on each Key S7 Concept - Over 175 Examples of S7-300/S7-400 Tasks - Each Example Presented in a 2-Page Layout - Concise and Easily Read Language - STEP 7 Project/Library Tasks - Hardware Configuration Tasks - Program Design and Development Tasks - Online Operations Tasks - Monitoring and Diagnostics Tasks - Network Configuration Tasks Book Chapters (Steps) Step 1: Getting Started with STEP 7 Step 2: Working with Projects and Libraries Step 3: Working with Hardware Configurations Step 4: Working with Programs and Data Step 5: Managing Online Interactions with the CPU Step 6: Working with Monitoring and Diagnostic Tools Step 7: Working with Simatic Network Configurations

depositfiles.com
http://www.mediafire.com/?vynygmgwzlu

Automating with SIMATIC: Controllers, Software, Programming, Data Communication Operator Control and Process Monitoring


Hans Berger, "Automating with SIMATIC: Controllers, Software, Programming, Data Communication Operator Control and Process Monitoring"
Wiley-VCH | 2006-10-03 | ISBN: 3895782769 | 223 pages | PDF | 34,8 MB

Totally Integrated Automation is the concept by means of which SIMATIC controls machines, manufacturing systems and technical processes. Taking the example of the S7-300/400 programmable controller, this book provides a comprehensive introduction to the architecture and operation of a state-of-the-art automation system. It also gives an insight into configuration and parameter setting for the controller and the distributed I/O. Communication via network connections is explained, along with a description of the available scope for operator control and monitoring of a plant.
As the central automation tool, STEP 7 manages all relevant tasks and offers a choice of various text and graphics-oriented PLC programming languages. The available languages and their respective different features are explained to the reader.
For this third edition, the contents of all sections of the book have been revised, updated and the new data communications with PROFINET IO have been added. The STEP 7 basic software is explained in its latest version.
The book is ideal for those who have no extensive prior knowledge of programmable controllers and wish for an uncomplicated introduction to this subject.


Uploading
Depositfiles
Uploadbox

Tuesday, March 3, 2009

Industrial Automation Exibition 2009



HANNOVER MESSE remains the world's leading showcase for industrial technology. Please find here all trade fairs of HANNOVER MESSE 2008.

Better, faster, more effective: to survive and prosper in the face of global competition companies need to constantly maintain and improve their performance potential. Leading-edge technology plays a pivotal role in corporate competitiveness.

HANNOVER MESSE is the ideal place to obtain the latest industrial know-how. Established sixty years ago, HANNOVER MESSE today ranks as the leading international showplace for industrial technologies, materials and product ideas.

Over the years the focus has shifted from stand-alone components to end-to-end solutions. Technical innovation is one key element in the success of HANNOVER MESSE. Another is its sharp focus on the creative application of existing knowledge. Only at Hannover can the visitor experience complete value chains and swap information with experts from a complete spectrum of industrial sectors.

For More Information please check at http://www.hannovermesse.de

What should you watch out for when configuring an unspecified S7 connection for data communication between an S7-300 and an S7-400?

Configuration Notes:
For data communication between an S7-300 station and an S7-400 station, you use S7 Communication with communication blocks FB/SFB12 "BSEND" and "FB/SFB13 "BRCV". In this case, the S7 connection must be configured bilaterally, i.e. in the S7-300 and in the S7-400.
Furthermore, the S7-300 station and the S7-400 station are configured in different STEP 7 projects. For this reason, you configure an unspecified S7 connection in the S7-300 station and in the S7-400 station respectively.


Fig. 01: Configuration

Please follow the instructions below for configuring the S7 connections.
In this example, S7 communication is via Industrial Ethernet. An Industrial Ethernet CP is used in the S7-300 station and in the S7-400 station.

Note:
These instructions also apply for S7 communication via PROFIBUS.

Configuring the S7 connection in the S7-300 station:
Open the STEP 7 project of the S7-300 station. Then open NetPro via the menu "Options > Configure Network" or via the "Configure Network" button in the toolbar.


Fig. 02: Open NetPro

You configure the connection in NetPro. Mark the CPU of the S7-300 station. Insert a new connection via the menu "Insert > New Connection".


Fig. 03: Insert a new connection

In the dialog that opens you now select "unspecified" under Connection Partner and "S7 connection" as the connection type. Accept the settings with "OK".

You configure the connection partner and the type of connection in the "Insert New Connection" dialog. Select "unspecified" as connection partner and "S7 connection" as the connection type. Click "Apply" to apply the settings.


Fig. 04: "Insert New Connection" dialog

In the Properties dialog of the S7 connection you enter the address of the partner. In this example you enter the IP address of the S7-400 station.
In this example, the S7-300 station actively sets up the S7 connection. For this you enable the "Establish an active connection" function. Then click the "Address Details..." button. The "Address Details" dialog opens.


Fig. 05: Properties dialog of the S7 connection (S7-300)

In the "Address Details" dialog you specify the local TSAP of the S7-400 station as Partner TSAP. For this, you enter the slot of the CPU in the S7-400 station under Partner Rack/Slot.


Fig. 06: Address Details (S7-300)

Close the "Address Details" dialog and the Properties dialog of the S7 connection with "OK".
Mark the S7-300 station in NetPro. Save and compile the complete configuration and load it into the CPU of the S7-300 station. Then you call communication blocks FB12 "BSEND" and FB13 "BRCV in the user program of the S7-300. These communication blocks are available in the Standard Library -> Communication Blocks.

Now configure the S7 connection in the S7-400 station.

Configuring the S7 connection in the S7-400 station:
Open the STEP 7 project of the S7-400 station. In NetPro, likewise you configure an unspecified S7 connection.
In the Properties dialog of the S7 connection you enter the address of the partner. In this example you enter the IP address of the S7-300 station.
Since in this example the S7-400 station participates passively in setting up the connection, you disable the "Establish an active connection" function. You must also disable the "Operating state messages" function.
Then click the "Address Details..." button. The "Address Details" dialog opens.


Fig. 07: Properties dialog of the S7 connection (S7-400)

In the "Address Details" dialog you specify the local TSAP of the S7-300 station as Partner TSAP. For this, you enter the slot of the CP in the S7-300 station under Partner Rack/Slot.


Fig. 08: Address Details (S7-400)

Close the "Address Details" dialog and the Properties dialog of the S7 connection with "OK".
Mark the S7-400 station in NetPro. Save and compile the complete configuration and load it into the CPU of the S7-400 station. Then you call communication blocks FB12 "BSEND" and FB13 "BRCV in the user program of the S7-400. These communication blocks are available in the Standard Library -> System Function Blocks.

Note:
For data communication via bilaterally configured S7 connection, you can also use communication blocks FB/SFB14 "GET" and FB/SFB15 "PUT". These communication blocks are based on the client-server principle, i.e. you can also use a unilaterally configured S7 connection for data communication. In the case of a unilaterally configured S7 connection, the "Establish an active connection" function is enabled. You specify the following Partner TSAP: 03.0x (x = slot of the CPU).

The following entries contain sample programs for the following communication blocks:

The following entry contains information on which modules support S7 Communication as server and client: 24352751.

More information is also available in the Online Help of STEP 7 under:

  • Creating cross-project subnetworks.
  • Configuring cross-project connections.
  • Creating a new connection to an unspecified partner.
  • Creating a connection to "Another Station", "PG/PC", "SIMATIC S5".

How can you load projects to a memory card and back again to a PG/PC?

Instructions:
From STEP 7 V5.1, you can save all the data for a project on a memory card using the "Store on memory card..." function and then retrieve it again, to use later on for example, with "Retrieve from memory card...". To do this, you can insert the memory card into a CPU or into the memory card programming device on a PG or PC. However, project data storage and retrieval on a memory card is only available for modules which support this function. At present, they are S7-400 CPUs and S7-300 CPUs with MMC memory cards".

Before being saved to memory card the project data is compressed and decompressed when retrieved. Here you must choose the size of the memory card that is able to store not only the project data, but also the user data. The size of the project data to be saved corresponds to the size of the project's archive file. If the capacity of the memory card is not sufficient, you are informed of this by a message.

The table below describes the procedure for a number of applications.

No. Procedure:
1 Memory card is located in the CPU
If the memory card is located in a module which supports this function, only the complete content (user program and project data) can be transferred when applying the two "Store on memory card..." and "Retrieve from memory card..." functions for technical reasons.

In the project window of the SIMATIC Manager you select a project level that is uniquely assigned to the CPU (e.g. CPU, program, sources or blocks) and select the menu command "PLC > Save to Memory Card..." or "PLC > Retrieve from Memory Card...". Now the complete project data is written to the memory card or retrieved from it.


Fig. 01

2 Project data not available in the programming device (PG/PC)
If the project data is not available in the programming device (PG/PC), then the source CPU can be selected in the "Accessible Nodes" dialog.
  • Open the "Accessible Nodes" dialog via the menu command "PLC > Show Accessible Nodes" and select the desired connection/CPU with the project data on the memory card.
  • Now select the menu command "Retrieve from Memory Card...".
3 Memory card in the memory card programming device
If the memory card is in the memory card programming device of a PG or PC, then proceed as follows:
  • Open the S7 memory card window with the menu command "File > S7 Memory Card > Open".
  • Select the menu command "PLC > Save to Memory Card..." or "PLC > Retrieve from Memory Card..." (see Fig. 01).

In the dialog that then opens you can select the source project or target project respectively.


Fig. 02

4 "Download User Program to Memory Card" function
The "Download User Program to Memory Card" function downloads a user program to the memory card of a CPU. Under the following conditions you can also save the STEP 7 project to the memory card:
  • The CPU must have a slot for a memory card.
  • The CPU must support this function (e.g. CPU416).
  • A memory card must be slotted.

This function can only be executed in the STOP mode of the CPU. During the transfer, all the blocks in the load memory of the CPU and on the memory card are deleted. Proceed as follows:

  1. Slot the memory card into the CPU.
  2. In the "Offline" view, mark the block folder whose blocks are to be copied to the memory card.
  3. Select the menu command "PLC > Download User Program to Memory Card".


Fig. 03

More information on the memory card is also available in the STEP 7 Online Help.

5 "Upload Station to PG" function
With the menu command "PLC > Upload Station to PC..." you can read back the complete project data from the CPU to a PG/PC. For this, however, a new station is created in the current project and the configuration and blocks copied into the new station. In the blocks in the uploaded station there are no symbolic designations like temporary tags, markers, formal parameters and all comments.

Therefore it is only useful to use this function for service when there is no offline project available, for example. More information on the restrictions when using the above-mentioned function is available in the STEP 7 Online Help.

6 "Upload to PG" function
With the menu command "PLC > Upload to PG" you can copy blocks from the online block container to the offline block container on the PG. In contrast to the "Upload Station to PG" function, this function permits you to retrieve blocks from the CPU to the data management of the original project on the PG/PC. Similarly you can copy blocks from the online block container to the offline block container.

Note:
A user program contains all the functions required for processing the specific solution for the automation task. The user program's tasks are:

  • To define the requirements for rebooting and restarting the CPU.

  • To process the process data (link binary signals and define them for output, read, evaluate and output analog values).

  • To respond to alarms and process faults in the normal course of the program.

A project is the entirety of all the data and programs of an automation solution and is at the top of the object hierarchy. The project contains the following objects:

  • S7 hardware setup (hardware configuration) of the S7-300/400 station.

  • Programmable modules CPUxx, CPxx and FMxx.

  • S7 program (folder for the software).

  • Source folder (with the source programs) and the block folder (SDBs, DBs, UDTs, FBs, FCs and OBs).

Keywords:
Data backup, Project backup, Read-back, MMC

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

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?

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

How do you send short messages (SMS) from an SIMATIC WinCC flexible HMI station to a mobile phone?

With WinCC flexible it is possible to send e-mails as short messages (SMS) to a mobile phone. You can send short messages with the following panels:
  • OP/TP177B color PN/DP
  • Mobile TP177 PN, Mobile Panel 277
  • 270 series
  • 370 series
  • PC with WinCC flexible Runtime

Example:
In case of failure the operator panel sends an e-mail (1) to the mixing station. The service technician responsible receives the message from the operator panel (2). The service technician then connects to the operator panel (3) from his service PC.

( 62 KB )
Fig. 01 - Example

Note:
More information on the topic of "Teleservice via the Internet" is also available in the following entry: 19865167.

You have the following options for sending text messages or alarms via SMS to a mobile telephone or to a pager:

  • External providers make it possible to convert e-mails into SMS messages for mobile telephones and pagers.
  • Your own SMTP server supports forwarding of e-mails via SMS message to a mobile phone or pager.

Example for sending a message via SMS:

So that an SMS can be received the service must be registered beforehand with the provider, e.g. T-Mobile (in Germany).

  1. Activating e-mail reception with a provider (Example: T-Mobile):
    Send an SMS message from your mobile phone with the text "OPEN" to the T-Mobile abbreviated dialing number 8000. This opens your T-Mobile number for e-mail reception.
    Your e-mail address is then:
    T-Mobile number (incl. prefix)@t-mobile-sms.de
    e.g. 017100000000@t-mobile-sms.de.

    Up to 160 characters are transferred.

  1. Deactivating e-mail reception (Example: T-Mobile):
    If you no longer wish to receive e-mails, send an SMS message from your mobile phone with the text "CLOSE" to the T-Mobile abbreviated dialing number 8000.

Note:
More information is available on the websites of the providers concerned.
Examples of other providers.

  1. Configuration in WinCC flexible:

Note:
The e-mail functionality requires the license key "SIMATIC WinCC flexible / Sm@rtService".

In the WinCC flexible project tree "Bediengerät_1 > Device Settings > Device Settings", under "Name of SMTP server" you enter the name of the external provider or the name of your own SMTP server.

Note:
The provider must function without authentication. This means that the provider must work without user name and password.

You must make the settings under "Project > Device Settings" of the WinCC flexible project:

  • Name of the SMTP server
  • Name of the SMTP sender (as from WinCC flexible 2005)
  • SMTP authorization (as from WinCC flexible 2005)

Note:
The "Sm@rtService" option is required to implement this. To enable messages to be sent as e-mails as well, the HMI system must possess an e-mail client.

In the project attached "mailto.t-online.de" has been selected as SMTP server, because it doesn't need authentication.

( 118 KB )
Fig. 02 - Device Settings

Note:
The "Name of the SMTP sender" input field serves as the Return Address, in which you can specify the designation of the HMI operator panel or plant designation or its location, for example. You have the option of entering an e-mail address in the "SMTP Authentication" input field. If authentication at the provider is required, you must specify a valid e-mail address in the "SMTP Authentication" input field, e.g. "John.Doe@gmx.net".
Providers that require an authentication with user name and password are not supported.

Alternatively you can also define the e-mail settings on the operator panel in "WinCC Internet Settings" in the "E-mail" tab. On the Windows CE Panel the same settings are to be found in the "Control Panel". Then deselect the "Use the default of the project file" option and enter the name of the SMTP server in the input field. This makes it easier to change the server name.

( 12 KB )
Fig. 03 - Windows XP - WinCC Internet Settings

Note:
Please note that settings on the panel or PC override settings in the project. Therefore, if the settings on the panel or PC are deleted, the defaults configured in the WinCC flexible project apply!

  1. Assignment of the e-mail address for alarm classes:

In order to send an SMS or e-mail when an alarm is triggered you must specify the mobile phone provider's e-mail address in the alarm class.

You can specify an e-mail recipient for each alarm class in the menu under "Project > Device > Alarm Management > Settings > Alarm Classes".

( 140 KB )
Fig. 04 - Alarm Classes

Note:
You can specify any valid e-mail address as recipient e-mail address (see Fig. 04) and it doesn't necessarily have to be an e-mail address of the same provider as the SMTP server. For example, you can specify the e-mail address "John.Doe@vodafone-sms.de" as recipient e-mail address and use the SMTP server (outgoing mail server) of T-Mobile ("mailto.t-online.de").

  1. Assigning the "SendEMail" system function:

If you wish to have an e-mail sent only in the case of a specific alarm, you should use the "SendeEMail" system function. In the project tree under "Device_1 > Alarm Management > Discrete Alarms" you can assign the "SendEMail" system function to each alarm under "Events". Analog alarms are configured in the same way.

( 121 KB )
Fig. 05 - Discrete Alarms

Assigning parameters for "SendEMail"
For the parameters of the system function "SendEMail" you can assign predefined texts and addresses or assign "Tags" to each parameter.

In the example attached tag names have been assigned for the parameters "Address" and "Return address". In this way you have the option of changing the address (recipient of message) and the return address (address to which the message might have to be forwarded) later.

Note:
Not all the parameters of the "SendEMail" system function have to be assigned a text/tag.

( 78 KB )
Fig. 06 - Sample project

Other providers:
The list is only a small selection of possible providers. Contact your provider for detailed information. Obtain information via the function:
"Enable mobile phone to receive e-mails from the Internet".

Configuration file:

The download contains the functions described above for sending e-mails to a mobile telephone.

SMS_Versand_PC.zip ( 2408 KB )

IMPORTANT
The sample program is freeware. Any user can use, copy and forward this program FREE OF CHARGE. The authors and owners of this program take no responsibility whatsoever for the functionality and compatibility of this software. Use of the software is at the user's own risk. Since this software is free of charge, there is no warranty nor entitlement to error correction and hotline support.

Runnability and test environment:
The following table lists the components that have been used to create and verify this entry.

Components Product and version
PC operating system Microsoft Windows XP SP2
Standard Tools -
Engineering Tools -
HMI Software WinCC flexible 2005 SP1
HMI system -

What are the options for remote maintenance of a WinCC flexible Runtime system (Panel/PC) via the Internet (WAN)?

Introduction:
Using the options WinCC flexible / Sm@rtAccess and Sm@rtService you can also access a WinCC flexible Runtime system via the Internet. The connection can be made on the basis of an ISDN or DSL network.

Sample application:
Your customer wants you to set up external teleservicing of an operator panel in order to be able to access the operator panel via the Internet if there is a fault and if necessary, change the parameters via the operator panel and monitor the system values online.

The following questions arise concerning implementation of the configuration/task depicted:

  • How do I connect the panel to the WAN (Wide Area Network)?
  • Which hardware components are required?
  • What is the IP address of the panel to be accessed?
  • How reliable is the connection?
  • What settings have to be made?

Answers to these questions and basic know-how are available in the following document.

Basic Know-how ( 650 KB )

Requirements for the operator panel:

  • HMI operator panels with Ethernet interface
  • HMI operator panel based on WinCC flexible
  • HMI Runtime with the option "WinCC flexible /Sm@rtService" or "WinCC flexible /Sm@rtAccess"

Solutions:
In order to implement the configuration depicted you must first define the dimensions of the network connection (analog/ ISDN/ DSL) on the service PC/operator panel concerned. You can then branch to practical examples of implementation via the links in the following table.

  1. Service PC communicates with an operator panel

PC (Service/Maintenance) <--> Operator Panel (Machine/System)
(point-to-point)

Service/Maintenance

Internet Service Provider

Operator Station
Machine/System

PC communicates with WAN via analog modem ( 978 KB )

For example:
Arcor, AOL, T-Online, Freenet, RTLnet

Operator panel communicates via ISDN with router
( 4760 KB )

PC communicates with WAN via ISDN modem ( 1336 KB )

Operator panel communicates via DSL with router
( 4722 KB )

PC communicates with WAN via DSL modem ( 1309 KB )

The service engineer is linked to the Internet via a modem connection.
The operator station of the machine/system is linked to the Internet via a router.

  1. Communication between two operator panels
    If two operator panels are to be linked together directly via the Internet, both operator panels are connected to the Internet via a router.
    The links in the following table branch you to practical examples of implementation.

PC/Panel (Operator Station 1) <--> PC/Panel (Operator Station 2)
(point-to-point)

Operator Station
Machine 1

Internet Service Provider

Operator Station
Machine 2

Operator panel communicates via ISDN with router
( 4760 KB )

Panel communicates via router
(ISDN, DSL)

Operator panel communicates via DSL with router
( 4722 KB )

  1. Service PC communicates with n operator panels
    If several operator panels of a system are connected to the Internet via a router connection, it is possible to have different types of connection.

    This document considers two types of connection:

a) Communication between two networks on the basis of a standard router connection (port forwarding).
For this type of connection the standard functionality of the components implemented (router, PC etc.) is generally sufficient.

b) Communication between two networks based on a Virtual Private Network (VPN).
The characteristics of a VPN are high transmission reliability and high transparency when accessing the remote network.
Router requirements are higher and additional software is required.

The table provides practical examples of implementation for port forwarding and VPN.

PC (Service/Maintenance) <--> n Operator Panels (Machine/System)
(point-to-point)

Service/Maintenance

Internet Service Provider

Operator Station
Machine/System

PC communicates with WAN via analog modem ( 978 KB )

For example:
Arcor, AOL, T-Online, Freenet, RTLnet

Port Forwarding
( 1279 KB )

PC communicates with WAN via ISDN modem ( 1336 KB )
PC communicates with WAN via DSL modem
( 1309 KB )

VPN ( 2899 KB )

Further information:
You can find further information on this topic in the following entries.

Functions of the TS Adapter IE 24532849
Which settings do you have to make on the TS Adapter IE to transfer a WinCC flexible project via Teleservice? 26999934
Cluster FAQ entries:
Industrial Ethernet network components (security) -- Setting up and parameterizing hardware -- Initializing and parameterizing modules
24533194

Keywords:
Remote access, Remote diagnosis

#