• No results found

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

N/A
N/A
Protected

Academic year: 2021

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

Copied!
14
0
0

Loading.... (view fulltext now)

Full text

(1)

Remote Connection to a

WAGO 750-841 using a

High-Speed Internet connection

Application note

A103208, English

Version 1.0.0

(2)

2 • General

Copyright  2005 by WAGO Kontakttechnik GmbH & Co. KG All rights reserved.

WAGO Kontakttechnik GmbH & Co. KG

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 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 Setting up the router on the network ... 6

3.1 Connect to the router settings ... 6

3.2 Configuration DDNS Settings ... 7

3.3 Port Forwarding ... 8

4 Configuration of the WAGO Ethernet device... 9

4.1 TCP/IP Settings... 10

4.2 Port Settings... 11

5 Remote maintenance with CoDeSys... 12

(4)

4 • Important comments

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 & Co. KG. 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 & Co. KG declines all liability re-sulting 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 & Co. KG.

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

(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 optimization.

More information

References to additional literature, manuals, data sheets and INTERNET pages

(6)

6 • Description

2 Description

This application note describes how to access a remote network of WAGO Ethernet controllers and the IPC family of products through a high-speed Internet connection. The connection is established with a high-speed Internet connection attached to a Linksys Router (WRT54GS was used in this exam-ple) to communicate to a remote site. This application note describes:

• The configuration of the Linksys router • Configuration of the WAGO Ethernet device • Remote maintenance with CoDeSys

• Accessing the Ethernet device with an internet browser

Internet Linksys Router Remote Computer connection to the Wago Controller `

3 Setting up the router on the network

The following will describe how to configure the router to handle the

TCP/UDP communication from the Internet and direct them to the appropriate devices.

3.1 Connect to the router settings

Connect the WAGO device to one of the Ethernet ports on the back of the Linksys router (labeled 1 though 4). The Internet port is used to connect to the high-speed modem.

(7)

Setting up the router on the network • 7

To access the router’s Web-based Utility, launch Internet Explorer or Mozilla FireFox, and enter the router’s default IP address, 192.168.1.1, in the Address field. Then, press Enter.

A password request page will appear. Leave the User Name field blank. The first time you open the Web-based Utility, use the default password admin. (You can set a new password from the Administration tab’s Management screen.) Click the OK button to continue.

In the main screen, go to the section marked LAN. This is where the IP ad-dress and subnet mask for the router are defined.

Enter the new IP address in the Local IP Address field and choose the correct subnet mask from the drop down menu.

Once the changes have been made click the Save Settings button and continue to the next step.

3.2 Configuration DDNS Settings

The Linksys router offers the ability to connect using the Dynamic Domain Name System (DDNS) feature. DDNS lets you assign a fixed host and domain name to a dynamic Internet IP address. This is useful when you are hosting your own website, FTP server, or other server behind the Router. Before you can use this feature you will need to sign up for DDNS service at

www.dyndns.org or www.TZO.com, DDNS service providers.

Once a host has been registered with one of the DDNS services, click on the DDNS link under the Setup tab to configure the router.

(8)

8 • Setting up the router on the network

Once at the DDNS screen, enter the user name and password of the DDNS ac-count in the appropriate fields. Then add the host name that was created when the account was setup.

This enables the Linksys router to update the current IP address of the router every time the DHCP server provides a new dynamic IP address to your router. This eliminates the need for a computer to be on the LAN to update the IP address to the DDNS server or remember the IP address when retrying to connect to your WAGO Ethernet device.

3.3 Port Forwarding

In the default setting, the router does not route messages to a specific device on the network. In order to communicate with the WAGO device from outside the local area network, the router needs to be setup to direct the traffic to the correct device. This is done by way of using port forwarding.

Protocol Port

FTP 21 Http 80

Ethernet/IP 4481(TCP) 2222 (UDP)

Modbus 502 (Both TCP and UDP)

CoDeSys (IPC) 1200

(9)

Configuration of the WAGO Ethernet device • 9

To setup the Linksys router to handle the correct incoming traffic to the control, the port for-warding must be enabled to direct the data to the correct IP address. In the configuration web page of the router, select Applications & Gaming -> Port Forwarding. Enter a description of the port in the Application field. In the Start and End fields, enter that port range that the IP packets that will pass to the corresponding IP address. Verify that the checkmark is present in order for the forwarding to work. Click on Save Settings to set the parameters in the router.

4 Configuration of the WAGO Ethernet device

In order for the WAGO device to be able to communicate over the Internet, communication settings must be correctly configured. The example below shows how to setup the WAGO 750-841 Ethernet Controller.

(10)

10 • Configuration of the WAGO Ethernet device

4.1 TCP/IP Settings

Connect to the Wago Ethernet device in your LAN (Local Area Network) by opening Internet Explorer and enter the IP address of the WAGO device. Se-lect the TCP/IP link. If a login prompt appears, enter the following:

Username: admin Password: wago

Enter the correct IP address, subnet mask, and gateway. If the source address of the communication is outside of the subnet range, the communication packet will go thought the gateway. Press the SUBMIT buttons to save the changes to the controller. Cycle the power on the controller to apply the new settings.

(11)

Configuration of the WAGO Ethernet device • 11

4.2 Port Settings

The port settings link on the WAGO device web site gives the ability to select what type of communication protocols the device will accept. It is important the only ports that are open are the ones that will actually be used; otherwise the WAGO device will be exposed to an unnecessary security risk

Warning

Change the Administrator’s account password in order to prevent unauthor-ized access to the WAGO device settings and files. Go to the Security link to change the password.

(12)

12 • Remote maintenance with CoDeSys

5 Remote maintenance with CoDeSys

When the WAGO device and the Linksys router are properly configured, CoDeSys can be used from a remote site to create a new internal program or to modify it.

Create a new project or open an existing project. Select Online -> Communi-cation Parameters. When the CommuniCommuni-cation Parameters Dialog box opens, click on New to add an additional connection to the CoDeSys gateway.

Under the device table, select TCP/IP and enter a unique name to describe the channel communication. Click OK to create the connection channel.

Once the channel has been created, change the value of the IP address to the hostname that was created with the DDNS. Click the OK button to save the new communication channel. Select Online Download to transfer program changes to the remote device.

(13)

Accessing the Ethernet device with an Internet Browser • 13

6 Accessing the Ethernet device with an Internet

Browser

Once all of the router and WAGO Ethernet device settings are properly set, it is easy to bring up the main webpage of the WAGO device. Open your favor-ite browser and enter the hostname that was created with the DDNS server and press Enter.

When the setup has been completed, the remote site will have the same access to the WAGO device as with a direct connection from a local computer.

(14)

WAGO Kontakttechnik GmbH & Co. KG 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

References

Related documents

Insă o comunicare cu un grad înalt distanţă-putere dă ran­ dament numai atunci când ascultătorul este capabil de aten­ ţie maximă şi numai atunci când cele două

Hence, the additional environmental gains enjoyed by future generations due to not only crowding out of polluting capital but also the direct positive effect of more abatement

Mackey brings the center a laparoscopic approach to liver and pancreas surgery not available at most area hospitals.. JOSHUA FORMAN, MD

Bibb, Bryan, Bulloch, Chatham, Lowndes, Muscogee, Putnam, Toombs, Upson, Ware.

The exclusion of coverage for the dishonest acts of owners, partners, principals of an insured does not apply when a management company is an insured under an

Online community: A group of people using social media tools and sites on the Internet OpenID: Is a single sign-on system that allows Internet users to log on to many different.

For the poorest farmers in eastern India, then, the benefits of groundwater irrigation have come through three routes: in large part, through purchased pump irrigation and, in a

Estimated cost of cultivation per hectare is approximately Rs 120 000/hectare, including the cost of land preparation, irrigation facilities, labour charges, manure costs for