Port CoDeSys application from 750-841 to 750-88x ... WAGO Kontakttechnik
GmbH & Co. KG. Hansastraße 27 ... E-Mail:
. Every
conceivable ...
Upgrade to Ethernet-Controller 2.0 Port CoDeSys application from 750-841 to 750-88x
Application note A114115, English Version 1.0.0
2•
Content
Copyright 2010 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:
[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 protected by trademark or patent.
Application note A114115
Content
•3
Table of contents 1 Important notes.......................................................................................... 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 2.1 Reference Material................................................................................. 6 2.2 Check used libraries............................................................................... 7 2.3 Change target ......................................................................................... 7 2.4 Check PLC-Configuration ..................................................................... 8 2.5 Update communication parameters...................................................... 10 2.6 Compile, download and run application .............................................. 11
Application note A114115
4 • Important notes
1
Important notes To ensure fast installation and start-up of the units, we strongly recommend that the following information and explanations are carefully read and adhered to.
1.1 Legal principles 1.1.1 Copyright This document including all figures and illustrations contained therein is subject to copyright. Any use of this document which infringes the copyright provisions stipulated herein, is not permitted. Reproduction, translation and electronic and phototechnical archiving and amendments require the written consent of WAGO Kontakttechnik GmbH & Co. KG, Minden. Non-observance will entail the right of claims for damages. WAGO Kontakttechnik GmbH & Co. KG reserves the right of changes serving technical progress. All rights developing from the issue of a patent or the legal protection of utility patents are reserved to WAGO Kontakttechnik GmbH & Co. KG. Third-party products are always indicated without any notes concerning patent rights. Thus, the existence of such rights must not be excluded.
1.1.2 Personnel qualification The use of the product described in this document is exclusively geared to specialists having qualifications in SPS programming, electrical specialists or persons instructed by electrical specialists who are also familiar with the appropriate current standards. WAGO Kontakttechnik GmbH & Co. KG declines any liability resulting from improper action and damage to WAGO products and third party products due to non-observance of the information contained in this document.
1.1.3 Intended use For each individual application, the components are supplied from the factory 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 any use of the components that is not in accordance with the intended use entail the exclusion of liability on the part of WAGO Kontakttechnik 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.
Application note A114115
Important notes
1.2
•5
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 that must always be observed to ensure smooth operation. ESD (Electrostatic Discharge) Warning of damage to the components through electrostatic discharge. Observe the precautionary measure for handling components at risk of electrostatic discharge. Note Routines or advice for efficient use of a device and software optimization. Additional information References to additional literature, manuals, data sheets and INTERNET pages.
Application note A114115
6 • Description
2
Description WAGO Ethernet-Controllers 2.0 750-880, 750-881 and 750-882 provide more memory and performance. Ethernet-Controller 2.0 targets are available with CoDeSys 2.3.9.25 and above. This application note shows needed steps to move target for an existing PLC program from 750-841 to 750-88x. Mayor steps are: - Check used libraries - Changing target settings - Check “PLC configuration” - Update communication parameters.
2.1 Reference Material This procedure has been tested with, but is not limited to, the following hardware and software:
Pos. 1
Name WAGO-I/O-Pro
Description IEC-61131 Programming Environment
Version 2.3.9.25
2
750-841
Ethernet-Controller
3
750-881
Ethernet-Controller 2.0
5
750-430
8-Channel Digital Input Module DC 24V
--
6
750-530
8-Channel Digital Output Module DC 24V
--
7
750-600
End module
Application note A114115
Description
•7
2.2 Check used libraries If you utilze libraries build before 2006, you should update the project to current versions. Contact
[email protected] for details.
2.3 Change target Open existing CoDeSys project. Activate register card “Resources”. Double click on “Target Settings”.
Select Ethernet-Controller 750-88x from the list and press button “OK”.
Ignore warning about deleting of PLC configuration, and press button “YES”.
Application note A114115
8 • Description
2.4 Check PLC-Configuration If you do not want to rename or edit PLC configuration jump to the next chapter. WAGO-I/O-PRO in version 2.3.9.25 is shipped with a new version of WAGO-IO configuration dialog The former WAGO-IO configuration dialog was completely replaced by a new version (EA_DLL.dll, v 2.1.0.1). The most important modification is that changing the variable-names within the CoDeSys configuration tree is not possible anymore! This action has to be done now in the modified WAGO-IO configuration dialog. To perform any changes on your configuration, you have to open the WAGOIO configuration dialog.
Therefore click with the right mouse button on any item in the configuration tree and select one of the items “Insert element” from the context menu.
Application note A114115
Description
•9
This opens the new WAGO -IO configuration dialog.
Now, within this view you can manage your configuration as you was able to change in the previous versions.
If you want to edit the variable-names of the IO-points, you have to switch to the “Input / Output” tab and change the values in the column „Name“. Therefore you have to select the item, which you want to rename by a mouse click and then click again or press the “F2” key to start editing.
Application note A114115
10 • Description
2.5 Update communication parameters Create a new communication set for your 750-88x.
Select Device-driver and setup parameters.
Application note A114115
Description
2.6 Compile, download and run application Select “Clean all” from menu “Project”.
Select “Rebuild all” from menu “Project”. Select “Login” from menu “Online”.
At the end let the application run with “Online -> Run” or [F5].
Application note A114115
• 11
WAGO Kontakttechnik GmbH & Co. KG P.O. box 2880 • D-32385 Minden 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] Internet:
http://www.wago.com