show the entry list
WinCC flexible Options -- Product information -- WinCC flexible /Sm@rtService (Teleservicing)
What options are there for creating a screenshot in WinCC flexible ES, WinCC flexible Runtime or on panels?
How do you have csv archive files exported from WinCC flexible RT or a panel displayed graphically on the PC?
How can you use a PC to simulate or realize sending e-mails in the case of an HMI station message?
What should you watch out with regard to licenses for WinCC flexible and panels?
What are the options for remote maintenance of a WinCC flexible Runtime system (Panel/PC) via the Internet (WAN)?
Connection to the SIMATIC WinCC flexible Sm@rtServer gets lost (with active screensaver or "Shut Down")
Why are not all the tabs visible under "Internet Settings" of the SIMATIC operator panels (only Windows CE devices)?
Why do you get the message "Under Construction" in WinCC flexible 2004/2005 when attempting to connect to the MiniWeb via the HTML viewer?
Why, when you call the Sm@rtClient, is only an empty page displayed in the Internet Explorer?
How do you send e-mails from a Windows CE panel or PC with SIMATIC WinCC flexible?
How do you send short messages (SMS) from an SIMATIC WinCC flexible HMI station to a mobile phone?
How do you send short messages (SMS) from an SIMATIC WinCC flexible HMI station to a mobile phone?
Part number:

Introduction
With WinCC flexible it is possible to send e-mails as short text messages (SMS) to a mobile phone.

Contents:

  1. Options for sending SMS messages
  2. Enabling and disabling SMS messaging
    2.1 Enabling e-mail reception with a provider
    2.2 Disabling e-mail reception
  3. Sample configuration in WinCC flexible
    3.1 SMTP settings in the WinCC flexible project
    3.2 Assignment of e-mail addresses for alarm classes
    3.3 Assignment of the system function "SendEMail"
  4. Other providers for messaging via SMS
  5. Download

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.
 

Fig. 01

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

1. Options for sending SMS messages
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.

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

You can send short messages with the following panels:

  • All operator panels as from the 170 series with Ethernet interface except Basic Panels
  • PC with WinCC flexible Runtime and Ethernet interface

2. Enabling and disabling SMS messaging
To be able to receive an SMS message, the service must be registered beforehand with the provider, e.g. T-Mobile.

2.1 Enabling 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.

Note:
More information is available on the websites of the providers concerned - see Point 4.

2.2 Disabling 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 - see Point 4.

3. Sample configuration in WinCC flexible
The following sample configuration uses a fictitious e-mail address.

Note:
Before you can send an e-mail as an SMS message to a mobile phone number, your mobile phone provider must enable the service beforehand.

3.1 SMTP settings in the WinCC flexible project
The SMTP settings depend on the version of WinCC flexible you are using.

The table below shows which SMTP authentication is supported by which version of WinCC flexible.
 
Version

Authentication

None With valid
e-mail address
With user name
and password
WinCC flexible 2004 X -- --
WinCC flexible 2004 SP1 X -- --
WinCC flexible 2005 X X --
WinCC flexible 2005 SP1 X X --
WinCC flexible 2007 X X --
WinCC flexible 2008 X X --
WinCC flexible 2008 SP1 X X X 1)
X = supported
-- = not supported
1)

Only operator panels of the 177, 277 and 377 series and PC Runtime with Ethernet interface

Configuration
The table below explains the settings required for sending e-mails via an SMTP server.
 
No. Procedure
1 Configure SMTP settings
Make the following settings in the WinCC flexible project tree under "Device_1 > Device Settings > Device Settings":
  • Name of the SMTP server
  • Name of the SMTP sender (as from WinCC flexible 2005)
  • SMTP authentication optional
     
    • Authentication with e-mail address (as from WinCC flexible 2005)
      or
    • Authentication with user name and password
      (as from WinCC flexible 2008 SP1)
       
  • SSL encryption optional (as from WinCC flexible 2008 SP1)

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.

2 SMTP settings
a)
The following parameters are mandatory in the SMTP settings:
  • Name of the SMTP server
    For "Name of SMTP server", you enter the name of the external provider or the name of your own SMTP server.
     
  • Name of the SMTP sender or name of the sender
    The "Name of SMTP sender" input field serves as an answer e-mail address. Here you can enter the designation of the HMI operator panel or plant designation or its location.


Fig. 02

b) Specify the following parameters optionally as required.

  • SMTP authentication or e-mail address (as from WinCC flexible 2005)
    You only need this authentication if the provider requires an authentication with e-mail address. For this authentication you must enter a valid e-mail address,
    e.g. "017100000000@t-mobile-sms.de".
     
  • User name (as from WinCC flexible 2008 SP1)
    For this type of authentication, you must enter a valid user name that must be registered with the relevant provider of the SMTP server.
     
  • Password (as from WinCC flexible 2008 SP1)
    The password is relevant only for authentication with user name and password. The password must be registered with the provider just like the user name.
     
  • SSL encryption (as from WinCC flexible 2008 SP1)
    You can also send encrypted data via an SSL connection. This prevents the data from being manipulated or read.


Fig. 03

3 Alternative settings on the PC and panel
Alternatively, you can also define the e-mail settings on the operator panel by going to "WinCC Internet Settings" and opening 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.

As from WinCC flexible 2005, authentication is supported with a valid e-mail address.


Fig. 04

As from WinCC flexible 2008 SP1, authentication for an STMP server is possible with user name and password. The specifications for authentication are in the "Advanced" dialog.


Fig. 05

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.

3.2 Assignment of e-mail addresses for alarm classes
In order to send an SMS message or e-mail when an alarm is triggered, you must specify the mobile phone provider's e-mail address in the alarm class of the message.

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


Fig. 06

Note:
For the recipient e-mail address (see Fig. 06), you can specify any valid e-mail address. 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 "017200000000@vodafone-sms.de" as recipient e-mail address and use the SMTP server (outgoing mail server) of T-Mobile ("mailto.t-online.de").

3.3 Assigning the system function "SendEMail"
If you want to have an e-mail sent only for a specific alarm, but without having to assign a separate alarm class, then you use the "SendEMail" system function.

In the project tree Device_1 > Alarm Management > Discrete Alarms, under "Events" in the parameters you can assign the system function "SendEMail" to each alarm. Analog alarms are configured in the same way.


Fig. 07

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.
 
Parameters Description
Address E-mail address of receiver
Subject Subject line of the e-mail
Text E-mail text
Return address E-mail address of sender (for replies)

Sample description in the download
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 on the operator panel during runtime.

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


Fig. 08

4. Other providers for messaging via SMS
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".

back

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

SMS_Versand_PC.zip ( 2408 KB )  

Runnability and test environment:
The following table lists the components that have been used to create and verify this entry.
 
Components Product and version designation
PC operating system Microsoft Windows XP SP2
Standard tools -
Engineering tools -
HMI system -

 Entry ID:21184132   Date:2009-07-10 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour