Transmitting e-mails in a local network with a WAGO CONTROLLER 750-842 Application note



Similar documents
Transmitting s with the WAGO IPC Application note

Using the SysLibFile.lib and the WagoLibFtp.lib for file access Application note

Connect Ethernet-Controller to TO-PASS web portal via GPRS-Router Application note

Remote Connection to a WAGO using a High-Speed Internet connection Application note

Ethernet PFC Sending Application note

Ethernet/IP Comms between a WAGO and a Mettler Toledo JAGXTREME Terminal Application note

WAGO PFC 750-8xx Interface to Horner HMI Application note

Using the WAGO PROFINET Coupler as Remote I/O with a Siemens S7 PLC

Transmitting s with the library "WagoLibMail_02.lib" Application note

WAGO-I/O-SYSTEM in ABB robot control systems Application note

Accessing EtherNet/IP Network Variables in a WAGO with a ControlLogix PLC Application note

Application note. A103202, English Version 1.0.1

Sending / receiving SMS using a GSM modem Application note

Using library WagoLibMySQL to communicate with MySQL-Databases Application note

Configuration a Profibus-DP node using Step7 and WAGO-I/O components Application note

WAGO PFC as a MODBUS MASTER Application note

Application Note. WAGO EtherNet/IP Communications with a CompactLogix PLC Using Explicit Messaging. A500620e, English Version: 1.0.

EtherNet/IP communications between a WAGO PFC and a SICK IVC-2D Camera Application note

WAGO-I/O-SYSTEM. Using library WagoLibMSSQL_03.lib in CoDeSys 2.3 for interface to Microsoft SQL Server 200x. Application Note

WagoLibMail_02.lib. Contents

Using library WagoLibHttp_02.lib to communicate with remote web server Application note

WAGO Software CODESYS Library WagoLibDiagnosticIDs.lib for accessing the internal diagnostics protocol

Modular I/O System ETHERNET StarterKit Quick Start ETHERNET Fieldbus Controller

Manual. Source Control. TwinCAT 3. Version Date

Modular I/O System Quick Start for WAGO-I/O-IPC /000-xxx Features

RELEASE NOTES Product Version: 7.2 Date: November, 2015

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3 SIMATIC. Readme. Programming and Operating Manual

Brake module AX5021. Documentation. Please read this document carefully before installing and commissioning the brake module!

THE KNX IP CONTROLLER. Taking Proven Technology to the Next Level

Folder Proxy + OWA + ECP/EAC Guide. Version 2.0 April 2016

emobility WAGO Leading the Charge

SIMATIC NET. CP AS-Interface Master B C. Preface Contents. Technical Description and Installation Instructions Interface to the User Program

Technical description APCI-/CPCI Multifunction counter board - Digital I/O -

Updating Your Skills from Microsoft Exchange Server 2003 or Exchange Server 2007 to Exchange Server 2010 SP1

Course Description. Course Outline. Duration: 5 days Course Price: $2,975. Software Assurance Eligible. About this Course

Creating a System DSN for Crystal Reports to Access a Sentinel Server Database. Configuration Guide Version 1.0

ELAN DIGITAL SYSTEMS LTD. SL232 PC- CARD USER S GUIDE

ABB solar inverters. User s manual ABB Remote monitoring portal

NEC Express5800 Series NEC ESMPRO AlertManager User's Guide

Send TLM. Table of contents

Manual TC3 PLC HMI. TwinCAT 3. Version: Date: Order No.: TF1800

White paper Power Consumption Monitoring of PRIMERGY Servers in System Center Operations Manager

Micro800 Programmable Controllers: Getting Started with CIP Client Messaging

Documentation for. KL2602 and KL2622. Two-channel Relay Output Terminals for 230 V AC / 30 V DC. Version: 1.4 Date:

BK MIKRO9. Tool monitoring system. Getting Started with Profibus Release 1.00 /

Archiving with MS Exchange Server

Safety information. MSX-Box. ADDI-DATA GmbH Airpark Business Center Airport Boulevard B Rheinmünster Germany

Course Syllabus. 5053A: Designing a Messaging Infrastructure using Microsoft Exchange Server Key Data. Audience. At Course Completion

AC 800M. EtherNet/IP DeviceNet Linking Device LD 800DN. Power and productivity for a better world TM SP1134

Visualization SIMATIC. Visualization. Present sample project. HMI configuration. Insert HMI device from libraries 3. Configuring HMI connection 4

Talk2M ewon Internet Connection How To

IP Office - Job Aid Remote Access

CPU PN/DP: Configuring an ET. 200S as PROFINET IO device SIMATIC. PROFINET CPU PN/DP: Configuring an ET 200S as PROFINET IO device

DK40 Datasheet & Hardware manual Version 2

Sage 200 Web Time & Expenses Guide

New Energy Lab. Experiment Guide. New Energy Lab - Experiment Guide 1

Access Schneider Electric PLCs through an existing Talk2M connection

P-3202H-Bb. G-PON VoIP IAD DEFAULT LOGIN DETAILS. Firmware v1.0 Edition 1, 09/2009. IP Address: Password: 1234

TPM. (Trusted Platform Module) Installation Guide V2.1

Kaspersky Security Center 10 Getting Started

SNMP Agent. Functional Description and Specifications Version: 1.1 March 20, Simple Network Management Protocol Option S for IE and PM Modules

INFORMATION SYSTEMS ANALYST III

WaveWare Technologies, Inc. We Deliver Information at the Speed of Light

Updating Your Skills from Microsoft Exchange Server 2003 or Exchange Server 2007 to Exchange Server 2010 Course 10165; 5 Days, Instructor-led

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3. Simatic. Readme. Readme

GFI White Paper: GFI FaxMaker and HIPAA compliance

ewon-configuration for Internet Access using the Wizard How to

VPN Direct connection How To

Preliminary TECHNICAL DESCRIPTION. MSX-Exxxx and LabVIEW 8.5

Polycom RSS 4000 / RealPresence Capture Server 1.6 and RealPresence Media Manager 6.6

Training Document for SIMIT SCE. MODULE G2 'Startup System Simulation with SIMIT SCE V7

Configuring Windows 8.1 (6293) HL209S

WinCC Options. Redundancy. Manual C79000-G8263-C142-01

Standard diagnostic and configuration interface for Beckhoff Industrial PCs

SPECIAL TERMS AND CONDITIONS OF COLLABORATIVE MESSAGING HOSTED EXCHANGE 2013

INTEGRATION GUIDE. General Radius Config

1-Port DS3 IMA Module Description and Technical Specifications. The 1-Port DS3 IMA module is illustrated in Figure 1. FAIL ACTIVE DS3 IMA L0S

Outlook Integration Setup

Oracle Endeca Information Discovery Integrator

TPM. (Trusted Platform Module) Installation Guide V for Windows Vista

SCADAPack E ISaGRAF 3 User Manual

M3 ORANGE single-slot Cradle. User Guide. Product Number: A-1CR-US0D-030-R00, A-1CR-U0ED-030-R00. Compatible Device(s): M3 ORANGE

Integration Guide. Zen Load Balancer Ubuntu/Microsoft Windows

WinCC Runtime Professional Readme SIMATIC HMI. WinCC V11 SP1. Readme WinCC Runtime Professional. Special considerations for Windows 7.

How To Set Up A Load Balancer With Windows 2010 Outlook 2010 On A Server With A Webmux On A Windows Vista V (Windows V2) On A Network With A Server (Windows) On

SUPPORT GUIDE FOR SETTINGS IN NOKIA 6600 IMAGING PHONE

SIMATIC. WinCC V7.0. Getting started. Getting started. Welcome 2. Icons 3. Creating a project 4. Configure communication 5

User manual Business Voice Digital Phone START + PRO

Oracle Enterprise Manager

Course Outline: Course 10165: Updating Your Skills from Microsoft Exchange Server 2003 or Exchange

SeMSy III Failover Server

Reference Manual. Pressure/Temperature Compensated Flow (P_PTComp) Version 3.1

Addendum to the Operating Instructions

[MS-CCEIP]: Corporate Customer Experience Improvement Program Client-to-Server Protocol

PERFORCE End User License Agreement for Open Source Software Development

Microsoft Dynamics GP. Electronic Signatures

Configuring, Managing and Troubleshooting Microsoft Exchange Server 2010 Service Pack 2

Administrator s Guide for the Polycom Video Control Application (VCA)

BMR-Tool Kieback&Peter GmbH & Co. KG

Transcription:

Transmitting e-mails in a local network with a WAGO CONTROLLER 750-842, English Version 1.0.2

2 General Copyright 2002 by WAGO Kontakttechnik GmbH All rights reserved. WAGO Kontakttechnik GmbH Hansastraße 27 D-32423 Minden Phone: +49 (0) 571/8 87 0 Fax: +49 (0) 571/8 87 1 69 E-Mail: info@wago.com Web: http://www.wago.com Technical Support Phone: +49 (0) 571/8 87 5 55 Fax: +49 (0) 571/8 87 85 55 E-Mail: support@wago.com Every conceivable measure has been taken to ensure the correctness and completeness of this documentation. However, as errors can never be fully excluded we would appreciate any information or ideas at any time. We wish to point out that the software and hardware terms as well as the trademarks of companies used and/or mentioned in the present manual are generally trademark or patent protected.

Table of Contents 3 TABLE OF CONTENTS 1 Important comments... 4 1.1 Legal principles... 4 1.1.1 Copyright... 4 1.1.2 Personnel qualification... 4 1.1.3 Intended use... 4 1.2 Range of validity... 5 1.3 Symbols... 5 2 Description... 6 3 Reference Material... 6 4 Solution... 7 4.1 Integration into a WAGO I/O PRO program... 7 4.2 Function block description... 8

4 Important comments 1 Important comments 1.1 Legal principles 1.1.1 Copyright To ensure fast installation and start-up of the units described in this manual, we strongly recommend that the following information and explanation is carefully read and adhered to. This manual is copyrighted, together with all figures and illustrations contained therein. Any use of this manual which infringes the copyright provisions stipulated herein, is not permitted. Reproduction, translation and electronic and photo-technical archiving and amendments require the written consent of WAGO Kontakttechnik GmbH. Non-observance will entail the right of claims for damages. 1.1.2 Personnel qualification 1.1.3 Intended use The use of the product detailed in this manual is exclusively geared to specialists having qualifications in PLC programming, electrical specialists or persons instructed by electrical specialists who are also familiar with the valid standards. WAGO Kontakttechnik GmbH declines all liability resulting from improper action and damage to WAGO products and third party products due to non-observance of the information contained in this manual. For each individual application, the components supplied are to work with a dedicated hardware and software configuration. Modifications are only admitted within the framework of the possibilities documented in the manuals. All other changes to the hardware and/or software and the non-conforming use of the components entail the exclusion of liability on part of WAGO Kontakttechnik GmbH. Please direct any requirements pertaining to a modified and/or new hardware or software configuration directly to WAGO Kontakttechnik GmbH.

Important comments 5 1.2 Range of validity 1.3 Symbols This application note is based on the stated hardware and software of the specific manufacturer as well as the correspondent documentation. This application note is therefore only valid for the described installation. New hardware and software versions may need to be handled differently. Please note the detailed description in the specific manuals. Danger Always observe this information to protect persons from injury. Warning Always observe this information to prevent damage to the device. Attention Marginal conditions must always be observed to ensure smooth operation. ESD (Electrostatic Discharge) Warning of damage to the components by electrostatic discharge. Observe the precautionary measure for handling components at risk. Note Routines or advice for efficient use of the device and software optimisation. More information References to additional literature, manuals, data sheets and INTERNET pages

6 Description 2 Description The WAGO Ethernet controller 750-842 is used in this application note to dispatch e-mails to a Microsoft Exchange server over a local network. The SMTP-protocol is used to dispatch e-mails. The Ethernet-Controller operates in this case as a SMTP-Client. The Microsoft Exchange server operates as a SMTP-Server and receives the e- mails. The email recipient checks and fetches its e-mails from the Microsoft Exchange server with the POP3-protocol. 750-842 Ethernet-Controller PC Microsoft Outlook 98 PC Microsoft Exchange Server 3 Reference Material The connection was tested under the following prerequisites. Assigned hardware components: WAGO Controller 750-842 Standard PC Assigned software components: WAGO I/O Pro 32 V2.1SP10+ SMTP_MAIL.lib Version 1.1 Microsoft Outlook 98, Microsoft Exchange Server

Solution 7 4 Solution 4.1 Integration into a WAGO I/O PRO program A mail client is implemented on the part of the WAGO controller. For this purpose a functional module is made available in the library MAIL_01.lib. The call of this module can be seen in the following picture. A detailed description of the parameters is to be found in chapter 4.2. In this example mail is sent by "SYSTEM" to "IT_Service@domain.com". In the reference text line of Outlook appears the following: "ALARM: Fire early recognition system computer centre ". The actual message reads: "Fire early recognition system responded". The parameter sip indicates the IP address of the Microsoft Exchange server.

8 Solution 4.2 Function block description WAGO-I/O-PRO Library elements Category: Name: SMTP_CLIENT Type: Function Function block X Program Library name: MAIL_01.lib Applicable to: Ethernet controller 750-842 Input: Datatyp: Comments: SIP STRING IP Address of the computer on which the mail server is running SMail_from STRING Address from the users Mail provider SMail_to STRING e-mail address of the person who should receive the message SSubject STRING This text will be placed in the head of the mail form SMail_message STRING(255) Message text SAttachment_file_name STRING(255) File name of the attachment PtAttachment Pointer to Array[1..1500] of Byte This pointer shows to the data source for the attachment IAttachment_length INT Number of Bytes in the attachment (max approximately1400 Byte) In_Output Data type: Comments: XSend BOOL The message will be send with the rising edge of the start input. This signal will be automatically reset after execution of the function block. Output Data type: Comments: XDone BOOL 0: failure while sending mail, details according to werror 1: mail send, will stay on until a new rising edge of xsend is detected WError WORD 0: no error 17: attachment data to long 33, 65, 97, 129, 257, 305, 337: failure during smtp protocol 254: internal error, check your application program 255: ethernet connection to the mail server not available SAnswer STRING Data send by the mail server according to SMTP protocol

Solution 9

WAGO Kontakttechnik GmbH Postfach 2880 D-32385 Minden Hansastraße 27 D-32423 Minden Phone: 05 71/8 87 0 Telefax: 05 71/8 87 1 69 E-Mail: info@wago.com Internet: http://www.wago.com