PC-based Automation: Reporting Process Values via E-Mail with WinAC RTX and WinAC ODK
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.
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.
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)
The following figure shows the interaction of the automation components, which are described in this example, in principle.
Here you see the hardware setup realized for this application, as well as the software to be installed for the components.
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.
|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|
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry