• No results found

Transmitting s with the WAGO IPC Application note

N/A
N/A
Protected

Academic year: 2021

Share "Transmitting s with the WAGO IPC Application note"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Transmitting e-mails with the

WAGO IPC 758-870

Application note

A103004, English

Version 1.0.0

(2)

2 • General

Application note

A103004

Copyright  2005 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: [email protected] 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: [email protected]

Every conceivable measure has been taken to ensure the correctness and com-pleteness of this documentation. However, as errors can never be fully ex-cluded 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.

(3)

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 Solution ... 7

3.1 E-mail to mail server in the Intranet ... 7

3.2 E-mail to mail server in the Internet ... 8

(4)

4 • Important comments

Application note

A103004

1 Important comments

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.

1.1 Legal principles

1.1.1 Copyright

This manual is copyrighted, together with all figures and illustrations con-tained therein. Any use of this manual which infringes the copyright provi-sions stipulated herein, is not permitted. Reproduction, translation and elec-tronic and photo-technical archiving and amendments require the written con-sent of WAGO Kontakttechnik GmbH. Non-observance will entail the right of claims for damages.

1.1.2 Personnel qualification

The use of the product detailed in this manual is exclusively geared to special-ists having qualifications in PLC programming, electrical specialspecial-ists or per-sons 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.

1.1.3 Intended use

For each individual application, the components supplied are to work with a dedicated hardware and software configuration. Modifications are only admit-ted within the framework of the possibilities documenadmit-ted 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 Kon-takttechnik GmbH.

Please direct any requirements pertaining to a modified and/or new hardware or software configuration directly to WAGO Kontakttechnik GmbH.

(5)

Important comments • 5

1.2 Range of validity

This application note is based on the stated hardware and software of the spe-cific manufacturer as well as the correspondent documentation. This applica-tion note is therefore only valid for the described installaapplica-tion.

New hardware and software versions may need to be handled differently. Please note the detailed description in the specific manuals.

1.3 Symbols

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)

6 • Description

Application note

A103004

2 Description

Use of the library "WagoLibMail_01" for dispatching e-mails with the WAGO IPC 758-870

-directly to a mail server in the Intranet.

-directly to a mail server in the Internet over a router. Reference Material

The connection was tested under the following prerequisites.

Assigned hardware components:

WAGO IPC 758-870 (Release01) ISDN – Router BinTec - X1000

Assigned software components:

CAA V2.3.3.6

WagoLibMail_01.lib Version 1.0

WagoLibMail_01_example_v1.pro Example project Microsoft Outlook 2000

WAN:

Internet Provider Arcor, Freenet

(7)

Solution • 7

3 Solution

The WAGO IPC offers among other things the possibility to dispatch e-mails. For this purpose two functional modules are made available in the library WagoLibMail_01.lib, which allows the user to send a mail without knowledge of the mail protocol (SMTP).

In the following two versions are demonstrated. Both versions are covered by the example. Depending on the selected version additional tools will be used for configuration.

3.1 E-mail to mail server in the Intranet

The example permits transmitting e-mails of any sender to a certain e-mail ad-dress in the Intranet.

Prerequisites:

- Mail server in network: e.g.: ArGoSoft-Mail-Server

- Account for mail server: e.g.: MyLocalAccount/MyLocalPassword – E-mail address: e.g.: [email protected]

Important parameters of the WAGO IPC and Mail server are: - IP address. - network mask. WAGO 758-870 Mail Server Ethernet Recipient IP: 10.1.5.2 SM: 255.255.0.0 IP: 10.1.5.3 SM: 255.255.0.0

(8)

8 • Solution

Application note

A103004

3.2 E-mail to mail server in the Internet

The example permits transmitting e-mails to any recipient by Internet. A valid mail server account of an Internet service provider (ISP) is needed as sender.

Prerequisites: - ISDN-Router

– Mail server in Internet: e.g.: web.de

- Account for mail server: e.g.: MyWebAccount/MyWebPassword – E-mail address: e.g.: [email protected]

Important parameters of the WAGO IPC are: - IP addresses.

- network mask.

- IP address of the ISDN-Router as gateway. WAGO 758-870 ISDN-Router Ethernet Recipient ISP-Mail-Server (web.de) SMTP-Server: 217.72.192.134 POP3-Server: 217.72.192.157 ISDN IP: 10.1.5.2 SM: 255.255.0.0 GW: 10.1.250.1 IP: 10.1.250.1 SM: 255.255.0.0

(9)

Example WagoLibMail_01_example_v1.pro • 9

4 Example WagoLibMail_01_example_v1.pro

The user interface of the function block Mail_SMTP_Client is shown below.

By setting the variable xSend to True a mail will be transmitted.

Transmitting e-mails over the Internet makes use of different authorization methods. One way is done by the POP 3 protocol.

With the function block MAIL_Pop3_Client it is assumed that authorization by POP3 protocol, in accordance with «„Pop3 before SMTP», at the mail pro-vider is possible. Furthermore a fixed IP address for the SMTP- und POP3 server is assumed.

(10)

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: [email protected] Internet: http://www.wago.com

References

Related documents

The purpose of this document is to provide an example of interfacing a WAGO 750-871 ETHERNET Controller with a SICK IVC-2D camera using EtherNet/IP protocol. In this example, the

This application note should provide information on setting up a Profibus-DP network using WAGO I/O hardware components and the Simatic Step7 con- figuration software.. 3

In this case the coupler 750-306/000-002 can help: it sets the analogue address range of the couplers to zero and puts all modules for special functions in the digital address

Please direct any requirements pertaining to a modified and/or new hardware or software configuration directly to WAGO Kontakttechnik GmbH & Co... Important comments

Please direct any requirements pertaining to a modified and/or new hardware or software configuration directly to WAGO Kontakttechnik GmbH & Co... 1.2 Scope

The Ethernet/IP protocol is not recognized by default by the 750-841 Ethernet Controller, so it is necessary to enable this protocol. This is done using a browser to access

The WAGO Ethernet controller 750-842 is used in this application note to dis- patch e-mails to a Microsoft Exchange server over a local

3.1 Using the WAGO 750-650 Serial Communications Module as an Interface to a Horner HMI