3.1 Option 1 - Assigning an IP Address to the WAGO 750-841 PFC via the RS232
Configuration Port................................................................ 7. 3.2 Option 2 ...
Assigning a Static IP Address to the 750-841 Progr. Fieldbus Controller
Application note
A202900, English Version 1.0.0
2 • General
Copyright 2004 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 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.
Application note A202900
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 Option 1 - Assigning an IP Address to the WAGO 750-841 PFC via the RS232 Configuration Port................................................................ 7 3.2 Option 2 - Assigning an IP Address in the WAGO 750-841 PFC with a BootP Server .......................................................................................... 8
Application note A202900
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 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 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.
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 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.
Application note A202900
Important comments
•5
1.2 Range of validity 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.
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
Application note A202900
6•
Description
2 Description The purpose of this document is to provide a step-by-step procedure for assigning a static IP address to the WAGO 750-841 Programmable Fieldbus Controller (PFC). Assigning an IP address is a prerequisite for communicating to the PFC through its Ethernet fieldbus port.
NOTE: The steps for assigning a static IP address to the WAGO 750-342 buscoupler and 750-842 PFC is slightly different than this procedure. Please refer to WAGO’s Application Note A2020.00 for configuration of those devices. Two options are available for assigning a static IP address to the WAGO 750841 PFC: Option 1 - This option utilizes the RS-232 configuration port on the front of the WAGO 750-841 PFC. This method requires a WAGO Communications Cable (P/N# 750-920) and WAGO’s Ethernet setup program “WAGOEthernetSettings.exe”. Option 2 - This option utilizes WAGO’s BootP Server program and the PFC’s built-in configuration screens. The built-in configuration screens are accessed with a web browser on your PC (e.g., Microsoft Internet Explorer). This document will describe both configuration methods.
Application note A202900
Solution
•7
3 Solution 3.1 Option 1 - Assigning an IP Address to the WAGO 750-841 PFC via the RS232 Configuration Port 1) Attach a WAGO 750-920 Communications Cable between the WAGO 750841 PFC and COMM 1 or 2 on your PC. 2) Launch the WAGO Ethernet setup program “WAGOEthernetSettings.exe”. The screen below will appear.
If a “Communication Port Error” message is displayed when launching this program, verify the port settings by clicking the COM1 command button in the tool bar. COM1 is the default port. After selecting a different COM port, click the Identify command button to refresh the screen.
Application note A202900
8•
Solution
3) Select the Set IP-Address option button by clicking on it. 4) Fill in the desired IP-Address, Subnet Mask, and Gateway in the TCP/IP Configuration window frame. If the Gateway address is not going to be used, leave the default settings. 5) Click the Write command button in the tool bar to send the new configuration data to the PFC. 6) Now click the Exit command button to close the program. Your WAGO 750-841 PFC is now ready for communications on an Ethernet network.
3.2 Option 2 - Assigning an IP Address in the WAGO 750-841 PFC with a BootP Server IMPORTANT: In this section, steps 1A through 1K assigns an IP address to the WAGO 750-841 PFC. Steps 2 through 4 stores the assigned IP address to EEPROM. If the latter steps are not preformed, the PFC will lose its IP address during power loss. Additionally, if a BootP server is not available when power is restored, the Ethernet fieldbus port will remain inactive. 1a) Launch the WAGO BootP Server. The screen below will appear.
Application note A202900
Solution
•9
1b) Click on Edit Bootptab command button. The Notepad editor will appear with a text file similar to the following:
1c) The text file shown contains many lines, most of which begin with the ‘#’ symbol. Any line that begins with a ‘#’ symbol is a comment, and will not be processed. Look at the bottom line, beginning with the word hamburg. If a gateway address is not going to be used (typical), put a ‘#’ symbol in front of this line. It is not needed. 1d) Next look at the line beginning with the word KeinProxy. KeinProxy is a German term meaning ‘Node Name’. This word can be changed to any descriptor you desire to identify your WAGO Ethernet IO device (e.g., WAGONode1). The remaining contents of this line need to be modified to set the IP address of the WAGO Ethernet PFC.
Application note A202900
10 •
Solution
Look on the right side of the WAGO PFC for the unique Mac ID of the device. Example: MAC ID
0030DE00028A
In the KeinProxy line, you will find the characters ha=. ‘ha’ is short for hardware address, also known as the MAC ID. After ha=, enter the MAC ID of your device. Example: ha=0030DE00028A Also in the KeinProxy Line, you will find the characters ip=, short for IP address. Fill in the desired IP address for the WAGO PFC. This will be the IP address of the device on the network. Example: ip=10.1.254.202 If a Gateway is to be used then fill in: ha= ( MAC ID) : ip= (IP Address): T3= (Gateway Address) 1e) When all this data has been entered it must be saved. At the top of the Notepad editor, Click on File Click on Save, to save the text file. (Do not change the file name.) 1f) Close the Notepad editor. The WAGO BootP Server is again displayed. 1g) Click the Start command button. Three or five status messages will appear, similar to the following screen capture:
1h) Turn power off to the WAGO PFC, and wait for a couple of seconds. Application note A202900
Solution
• 11
1i) Turn power back on to the WAGO PFC. You will see more status messages scroll down, similar to the following screen capture:
1j) Verify the status information displayed: - Packets were received from an IP Address - The Ethernet Address is the same as the MAC ID of the PFC - The KeinProxy, or node identifier, and IP address match what was entered in the text file using Notepad 1k) Verify the WAGO PFC is operating correctly. Its diagnostic LED’s should be illuminated as follows: Link
Green
MS (Module Status) Green NS (Node Status)
Green or Flashing Green
TxD/RxD
Flash as data is Sent/Received
I/O
Green
At this point your WAGO PFC contains an IP address. The following steps (2 through 5) will store the assigned IP address to EEPROM so it’s retained during power loss.
Application note A202900
12 •
Solution
2) Launch Microsoft Internet Explorer. In the address box enter the IP address of your 750-841 PFC and press the Enter key. Internet Explorer will display a screen similar to the following:
3) Click the Port hyperlink on the left-hand side of the screen. A password dialog box will be displayed. Enter “admin” for the user name and “wago” for the password. Then the following screen will appear:
Application note A202900
Solution
• 13
Unselect the BootP check-box and click the SUBMIT command button; the screen will refresh. The IP address and BootP settings are now stored in EEPROM and the PFC will maintain these settings during a hardware/software reset or power loss. Your WAGO 750-841 PFC is now ready for communications on an Ethernet network.
Application note A202900
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
WAGO Corporation USA N120W 19129 Freistadt Road PO Box 1015 Germantown, Wi 53022 Phone: 1-262-255-6333 Fax: 1-262-255-3232 Internet:
http://www.wago.com
Call Toll Free: 1-800-DIN-Rail (346-7246)