×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 20987360, Entry date: 03/30/2005
(0)
Rate

PC-based Automation: Reporting Process Values via E-Mail with WinAC RTX and WinAC ODK

  • Entry
  • Associated product(s)


Problem
The following application shows you, how process values from the WinAC RTX controller can be reported worldwide via e-mail. The message texts and the e-mail receiver should be loaded from an editable list.

Solution
WinAC ODK (Open Development Kit) was used for the solution introduced here. WinAC ODK enables you to access the WinAC controller within a C/C++ application. In return, functions can be called from the S7 program in a C/C++ application. This C/C++ application is referred to as "ODK application" below.

Solution Requirements

This application comprises the following points:

  • Communication of the ODK application with the SIMATIC WinAC RTX controller via the SMX interface of the WinAC ODK.

  • The message texts and e-mail receiver are red in by the ODK application from a CSV file (comma-separated text file, can be read in with Microsoft Excel).

  • Sending of e-mails is controlled on the WinAC RTX controller via an FB.

  • Each (simple) MAPI-capable e-mail program can be used (here explained using the example of Microsoft Outlook Express, but also Netscape Mail or Mozilla Thunderbird)

Functional structure

The following figure shows the interaction of the automation components, which are described in this example, in principle.

Hardware configuration

Here you see the hardware setup realized for this application, as well as the software to be installed for the components.

 

Downloads

Content of Downloads

Download

Application Description (German)
Sending e-mail with WinAC RTX
20987360_WinAC_KO_DOKU_v10_d.pdf ( 952 KB )
Application Description (English)
Sending e-mail with WinAC RTX
20987360_WinAC_KO_DOKU_v10_e.pdf ( 964 KB )
Code
ODK application, C++ source code (MFC) of the ODK application, STEP 7 project of the PC station
20987360_WinAC_KO_CODE_v11.zip ( 486 KB )

 

History

Version

Modification

11/2004 first edition

 

Additional Information 
Eight applications are available in the Applications & Tools portal to round off and extend the required expert knowledge on “PC-based automation”. We have developed and described one example for each of the four typical automation tasks (controlling, communication, visualization, technology). The respective links are listed in the table below.

Links
 

Title

Link

Controlling: Basics for the Solution of Automation Tasks Based on WinAC RTX 21004765
Controlling: Connection of Databases via open Interfaces Using OPC-XML 21576581
Visualization: Configuration and Operation of WinCC and Tuning of WinAC RTX 21004855
Visualization: Plant Visualization with Visual Basic .NET via OPC XML 21004994
Technology: Positioning with WinAC RTX, Easy Motion Control and Micromaster 4xx 21004767
Technology: Linking Windows Applications to WinAC RTX Using WinAC ODK 21572937
Communication: S7 Communication with BSEND/BRCV for WinAC RTX and S7-300 20987361
Communication: Reporting Process Values via E-Mail with WinAC RTX and WinAC ODK This application


Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.