Professional Documents
Culture Documents
doc @ 64941 @
Quickstart Reference
WAGO-I/O-SYSTEM 750
Programmable Fieldbus Controller ETHERNET
750-881
10/100 Mbit/s; digital and analog signals
Version 1.0.1
Pos: 3 /Alle Serien (Allgemeine Module)/Hinweise zur Dokumentation/Impressum - allgemeine Angaben, Anschriften, Telefonnummern und E-Mail-Adressen @ 3\mod_1219151118203_21.doc @ 21060 @
2 WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Hansastraße 27
D-32423 Minden
E-Mail: info@wago.com
Web: http://www.wago.com
Technical Support
E-Mail: support@wago.com
Every conceivable measure has been taken to ensure the accuracy and
completeness of this documentation. However, as errors can never be fully
excluded, we always appreciate any information or suggestions for improving the
documentation.
E-Mail: documentation@wago.com
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.
=== Ende der Liste für Textmarke Einband_vorne ===
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Table of Contents 3
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 5 /Dokumentation allgemein/Verzeichnisse/Inhaltsverzeichnis - Überschrift 1 und Verzeichnis @ 3\mod_1219151230875_21.doc @ 21063 @
Table of Contents
1 Notes about this Documentation................................................................. 4
1.1 Validity of this Documentation................................................................. 4
1.2 Copyright................................................................................................... 4
1.3 Symbols..................................................................................................... 5
1.4 Number Notation....................................................................................... 7
1.5 Font Conventions ...................................................................................... 7
2 Important Notes ........................................................................................... 8
2.1 Legal Bases ............................................................................................... 8
2.1.1 Subject to Changes ............................................................................... 8
2.1.2 Personnel Qualifications....................................................................... 8
2.1.3 Use of the 750 Series in Compliance with Underlying Provisions ...... 8
2.1.4 Technical Condition of Specified Devices ........................................... 9
2.2 Safety Advice (Precautions).................................................................... 10
3 Quickstart Description .............................................................................. 12
3.1 Hardware Design..................................................................................... 12
3.2 Preparatory Measures.............................................................................. 15
3.2.1 Download the StarterKit archive ........................................................ 15
3.2.2 Installing WAGO-I/O-PRO................................................................ 15
3.2.3 Starting Up the Ehernet Network ....................................................... 20
3.2.3.1 Determining the IP address of your PC and changing it if required20
3.2.3.2 Assigning an IP address to the fieldbus controller ........................ 22
3.2.3.3 Testing the Ethernet Link .............................................................. 24
3.2.4 Installing the USB Driver................................................................... 25
4 Application example: Starterkit_Application1_FUP.pro ...................... 28
4.1 Open project ............................................................................................ 29
4.2 Configure hardware................................................................................. 29
4.3 Main Program "PLC_PRG" .................................................................... 30
4.4 Subprogram "Blink"................................................................................ 31
4.5 Subprogram "UserLED" ......................................................................... 33
4.6 Commissioning ....................................................................................... 37
4.6.1 Configuring a Communication Driver for an Ethernet Link .............. 37
4.6.2 Configuring a Communication Driver for a USB Link...................... 39
4.6.3 Starting the Program........................................................................... 41
4.7 Visualization ........................................................................................... 42
4.7.1 Opening Visualization via the CoDeSys Software............................. 42
4.7.2 Opening Web Visualization in the Internet Browser ......................... 43
4.7.3 Operation of Display .......................................................................... 44
List of Figures ...................................................................................................... 45
List of Tables........................................................................................................ 47
Quickstart Reference
Version 1.0.1
4 Notes about this Documentation WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 7 /Alle Serien (Allgemeine Module)/Überschriften für alle Serien/Hinweise zur Dokumentation - Überschrift 1 @ 4\mod_1237987661750_21.doc @ 29029 @ 1
1.2 Copyright
This Manual, including all figures and illustrations, is copyright-protected. Any
further use of this Manual by third parties that violate pertinent copyright
provisions is prohibited. Reproduction, translation, electronic and phototechnical
filing/archiving (e.g., photocopying) as well as any amendments require the
written consent of WAGO Kontakttechnik GmbH & Co. KG, Minden, Germany.
Non-observance will involve the right to assert damage claims.
Pos: 9.2 /Dokumentation allgemein/Gliederungselemente/---Seitenwechsel--- @ 3\mod_1221108045078_0.doc @ 21810 @
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Notes about this Documentation 5
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 9.3 /Alle Serien (Allgemeine Module)/Hinweise zur Dokumentation/Symbole @ 3\mod_1217394197593_21.doc @ 21010 @ 2
1.3 Symbols
Personal Injury!
Indicates a high-risk, imminently hazardous situation which, if not avoided, will
result in death or serious injury.
Personal Injury!
Indicates a moderate-risk, potentially hazardous situation which, if not avoided,
could result in death or serious injury.
Personal Injury!
Indicates a low-risk, potentially hazardous situation which, if not avoided, may
result in minor or moderate injury.
Damage to Property!
Indicates a potentially hazardous situation which, if not avoided, may result in
damage to property.
Important Note!
Indicates a potential malfunction which, if not avoided, however, will not result in
damage to property.
Quickstart Reference
Version 1.0.1
6 Notes about this Documentation WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Additional Information:
Refers to additional information which is not an integral part of this
documentation (e.g., the Internet).
Pos: 9.4 /Dokumentation allgemein/Gliederungselemente/---Seitenwechsel--- @ 3\mod_1221108045078_0.doc @ 21810 @
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Notes about this Documentation 7
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 9.5 /Alle Serien (Allgemeine Module)/Hinweise zur Dokumentation/Zahlensysteme @ 3\mod_1221059454015_21.doc @ 21711 @ 2
Pos: 9.6 /Alle Serien (Allgemeine Module)/Hinweise zur Dokumentation/Schriftkonventionen @ 3\mod_1221059521437_21.doc @ 21714 @ 2
Quickstart Reference
Version 1.0.1
8 Important Notes WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 11 /Alle Serien (Allgemeine Module)/Überschriften für alle Serien/Wichtige Erläuterungen - Überschrift 1 @ 4\mod_1241428899156_21.doc @ 32170 @ 1
2 Important Notes
Pos: 12.1 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Einleitung Wichtige Erläuterungen @ 3\mod_1221059818031_21.doc @ 21717 @
All changes to the coupler or controller should always be carried out by qualified
personnel with sufficient skills in PLC programming.
Pos: 12.5 /Serie 750 (WAGO-I/O-SYSTEM)/Wichtige Erläuterungen/Bestimmungsgemäße Verwendung 750-xxxx @ 3\mod_1224064151234_21.doc @ 24070 @ 3
The components have been developed for use in an environment that meets the
IP20 protection class criteria. Protection against finger injury and solid impurities
up to 12.5 mm diameter is assured; protection against water damage is not
ensured. Unless otherwise specified, operation of the components in wet and
dusty environments is prohibited.
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Important Notes 9
750-881 Programmable Fieldbus Controller ETHERNET
Please send your request for modified and new hardware or software
configurations directly to WAGO Kontakttechnik GmbH & Co. KG.
Pos: 12.7 /Dokumentation allgemein/Gliederungselemente/---Seitenwechsel--- @ 3\mod_1221108045078_0.doc @ 21810 @
Quickstart Reference
Version 1.0.1
10 Important Notes WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 12.8 /Alle Serien (Allgemeine Module)/Überschriften für alle Serien/Sicherheitshinweise - Überschrift 2 @ 6\mod_1260180299987_21.doc @ 46724 @ 2
For installing and operating purposes of the relevant device to your system the
following safety precautions shall be observed:
Pos: 12.10.1 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Gefahr: Nicht an Geräten unter Spannung arbeiten! @ 6\mod_1260180365327_21.doc @ 46727 @
DANGER
Do not work on components while energized!
All power sources to the device shall be switched off prior to performing any
installation, repair or maintenance work.
Pos: 12.10.2 /Serie 750 (WAGO-I/O-SYSTEM)/Wichtige Erläuterungen/Sicherheitshinweise/Gefahr/Gefahr: Einbau nur in Gehäusen, Schränken oder elektrischen Betriebsräumen! @ 6\mod_1260180556692_21.doc @ 46731 @
DANGER
Installation only in appropriate housings, cabinets or in electrical operation
rooms!
The WAGO-I/O-SYSTEM 750 and its components are an open system. As such,
install the system and its components exclusively in appropriate housings,
cabinets or in electrical operation rooms. Allow access to such equipment and
fixtures to authorized, qualified staff only by means of specific keys or tools.
Pos: 12.10.3 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Gefahr: Unfallverhütungsvorschriften beachten! @ 6\mod_1260180657000_21.doc @ 46735 @
Pos: 12.10.4 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Gefahr: Auf normgerechten Anschluss achten! @ 6\mod_1260180753479_21.doc @ 46739 @
Pos: 12.11.1 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Achtung: Defekte oder beschädigte Geräte austauschen! @ 6\mod_1260180857358_21.doc @ 46743 @
NOTICE
Replace defective or damaged devices!
Replace defective or damaged device/module (e.g., in the event of deformed
contacts), since the long-term functionality of fieldbus station involved can no
longer be ensured.
Pos: 12.11.2 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Achtung: Geräte vor kriechenden und isolierenden Stoffen schützen! @ 6\mod_1260181036216_21.doc @ 46747 @
NOTICE
Protect the components against materials having seeping and insulating
properties!
The components are not resistant to materials having seeping and insulating
properties such as: aerosols, silicones and triglycerides (found in some hand
creams). If you cannot exclude that such materials will appear in the component
environment, then install the components in an enclosure being resistant to the
above-mentioned materials. Clean tools and materials are imperative for handling
devices/modules.
Pos: 12.11.3 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Achtung: Reinigung nur mit zulässigen Materialien! @ 6\mod_1260181203293_21.doc @ 46751 @
NOTICE
Cleaning only with permitted materials!
Clean soiled contacts using oil-free compressed air or with ethyl alcohol and
leather cloths.
Pos: 12.11.4 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Achtung: Kein Kontaktspray verwenden! @ 6\mod_1260181290808_21.doc @ 46755 @
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Important Notes 11
750-881 Programmable Fieldbus Controller ETHERNET
NOTICE
Do not use any contact spray!
Do not use any contact spray. The spray may impair contact area functionality in
connection with contamination.
Pos: 12.11.5 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Achtung: Verpolung vermeiden! @ 6\mod_1260184045744_21.doc @ 46767 @
NOTICE
Do not reverse the polarity of connection lines!
Avoid reverse polarity of data and power supply lines, as this may damage the
devices involved.
Pos: 12.11.6 /Alle Serien (Allgemeine Module)/Wichtige Erläuterungen/Sicherheitshinweise/Achtung: Elektrostatische Entladung vermeiden! @ 6\mod_1260181364729_21.doc @ 46759 @
NOTICE
Avoid electrostatic discharge!
The devices are equipped with electronic components that you may destroy by
electrostatic discharge when you touch. Pay attention while handling the devices
to good grounding of the environment (persons, job and packing).
Pos: 13 /Dokumentation allgemein/Gliederungselemente/---Seitenwechsel--- @ 3\mod_1221108045078_0.doc @ 21810 @
Quickstart Reference
Version 1.0.1
12 Quickstart Description WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 14 /Alle Serien (Allgemeine Module)/Überschriften für alle Serien/Schnellstartbeschreibung - Überschrift 1 @ 9\mod_1287492268613_21.doc @ 65713 @ 1
3 Quickstart Description
Pos: 15 /Serie 750 (WAGO-I/O-SYSTEM)/Gerätebeschreibung/Beschreibung/Feldbuskoppler/-controller/Einleitender Text/Quickstart 750-0881: Aufbau der Hardware Ü2 und Einleitung @ 9\mod_1287491429331_21.doc @ 65710 @ 2
The 24V DC power supply unit is linked to the 24V and 0V power for the fieldbus
controller and for the power jumper contacts (see No. 5 in the figure below).
Pos: 16 /Serie 750 (WAGO-I/O-SYSTEM)/Gerätebeschreibung/Ansicht/Feldbuskoppler/-controller/Bilder/Ansicht und bsp. Anschluss - Bild 750-0881 @ 9\mod_1287578134081_21.doc @ 65764 @
8
01 02 2
1 2 3 4 5 6 7 8
ETHERNET LINK 1 A
16
ON
ACT
LINK 2 B
C
D
3
24V
0V
ACT 4
MS 24V 0V
1
ON
0: WBM NS
255: DHCP 5
I/O
USR
+ +
750-881
15 6
7
_ _
X 8
14 1 9
10
14 X
2 11
12
13
Figure 1: View ETHERNET TCP/IP Fieldbus Controller and its 24 V/0 V Connection
Pos: 17 /Dokumentation allgemein/Gliederungselemente/---Seitenwechsel--- @ 3\mod_1221108045078_0.doc @ 21810 @
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Quickstart Description 13
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 18 /Serie 750 (WAGO-I/O-SYSTEM)/Gerätebeschreibung/Ansicht/Feldbuskoppler/-controller/Legende/Ansicht - Legende zur Ansicht ETHERNET TCP/IP-Controller (750-880,881,882) - Tabellenkopf und Nr: 1 @ 7\mod_1266415064861_21.doc @ 50950 @
Quickstart Reference
Version 1.0.1
14 Quickstart Description WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 24 /Serie 750 (WAGO-I/O-SYSTEM)/Gerätebeschreibung/Beschreibung/Feldbuskoppler/-controller/Einleitender Text/Quickstart 750-0881: Hinweis: Betriebsartenschalter in die obere Stellung schalten! @ 9\mod_1287492632163_21.doc @ 65716 @
Note
Set the operating mode switch to the top position!
Set the operating mode switch to the top position. At this setting, the firmware
and application program are executed (Activate program execution / "RUN").
The mode selector switch is located behind the cover flap (see No. 13 in the
Figure above).
2
Figure 2: Mode selector switch (closed and open damper of the service port)
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Quickstart Description 15
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 26 /Serie 750 (WAGO-I/O-SYSTEM)/Gerätebeschreibung/Beschreibung/Feldbuskoppler/-controller/Einleitender Text/Quickstart 750-0881: Beschreibung @ 9\mod_1287494243131_21.doc @ 65739 @ 2333444312222223332333
Information
Information about the StarterKit ZIP archive
To download the ZIP archive "EthernetStarterKit20.zip", with all the information
about the 750-881 StarterKit, go to the WAGO Web site at:
www.wago.com Products Components for Automation WAGO-I/O-
SYSTEM 750 Starter Kit ETHERNET StarterKit ETHERNET
StarterKit 750-881: 51238988.
Or simply enter the browser address:
www.wago.com/startkits
and follow:
ETHERNET StarterKit ETHERNET StarterKit 750-881: 51238988.
You can use this programming tool to develop application programs in the
programming languages AWL, KOP, FUP, CFC, ST and AS.
2. If the installation does not begin automatically, start the file Setup.exe.
Quickstart Reference
Version 1.0.1
16 Quickstart Description WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Quickstart Description 17
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
18 Quickstart Description WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Quickstart Description 19
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
20 Quickstart Description WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
The description of these work steps can be found in the corresponding following
sections.
Note
Good example!
This description is just an example and only describes the procedure for local
startup of a single fieldbus controller using a non-networked computer under the
Windows system.
The explanation below describes how you can determine the IP address currently
set for your PC and how you can change it if required.
1. To set up an Ethernet link connect the Ethernet port of your PC to one of the
two Ethernet ports of the fieldbus controller using the cross-over cable
provided with the system.
3. Then mark the item "Internet Protocol (TCP/IP)" in the popup list and
confirm by clicking [PROPERTIES].
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Quickstart Description 21
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
22 Quickstart Description WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Note
The IP address must occur in the network only once!
To ensure error-free network communication the IP addresses assigned to the PC
and to the fieldbus controller must be unique within the network!
In the event of an error, the error message "IP address configuration error" (error
code 6 - error argument 6) is indicated by the I/O LED at the next fieldbus
controller power-on.
You can also use the address selection switch (DIP switch), Web-based
Management, DHCP or BootP to assign an IP address to the fieldbus controller.
The option using the address selection switch is described in this QuickStart
Guide. The other options are not described here, as these are explained separately
in the manual for the "750-881 ETHERNET Programmable Fieldbus Controller".
Use the address selection switch to set the host ID, i.e., the last byte of the IP
address, binary encoded in the range between 1 and 254.
The network address consists of the first three bytes of the IP address; the factory
default setting for this is 192.168.1. You can change this network address in the
Web-based Management system under menu item TCP/IP in the dialog input
field "Switch IP address."
Note
Address selection switch values 0 and 255 are permanent default settings!
If you use the address selection switch to set a value of 0 or 255, this will activate
the IP modes for these values.
When a value of 0 is set, the IP configurations executed by Web-based
management will apply.
Setting a value of 255 will activate address allocation by DHCP.
1. To assign a value (except for 0/255) for the host ID using the address
selection switch you must first convert the host ID value to a binary
numeral.
In the configuration example shown here the host ID 100 is used for the
fieldbus controller. The decimal value of "100" converts to a binary code of
"01100100."
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Quickstart Description 23
750-881 Programmable Fieldbus Controller ETHERNET
2. Set the bits in order using the 8 DIP switches. Begin with DIP switch 1 to
set Bit 0 (LSB) and continue up to DIP switch 8 for Bit 7 (MSB).
Quickstart Reference
Version 1.0.1
24 Quickstart Description WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
1. To test the Ethernet link open the command line interpreter by entering
"cmd" at Start > Execute… under Windows.
When the Ethernet link is error free you will receive the following ping
statistics:
"Packets: Sent=4, Received=4, Lost=0 (0% loss)."
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Quickstart Description 25
750-881 Programmable Fieldbus Controller ETHERNET
2. In the folder "Software", open the arvice file 750-923.zip and execute the
file Setup.exe in the folder "USB driver 759-923."
Figure 18: Contents of the "AUTOMATION Tools and Docs" CD (folder view)
3. Select the installation directory and start the setup.
Quickstart Reference
Version 1.0.1
26 Quickstart Description WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Quickstart Description 27
750-881 Programmable Fieldbus Controller ETHERNET
9. Select manual origin and enter the directory in which the USB cable driver
has been installed.
Quickstart Reference
Version 1.0.1
28 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
4 Application example:
Starterkit_Application1_FUP.pro
The CoDeSys project "Starterkit_Application1_FUP.pro" outlines how the digital
inputs and outputs are activated and processed.
Setting and resetting of the digital outputs and indication of the signal statuses of
the digital inputs is shown by visualization.
The CoDeSys project "Starterkit_Application1_FUP.pro" has been written in the
programming languages FUB, KOP and ST. All three versions of the program
have the same functions and differ only in the programming language that is used.
Note
A prerequisite for this is successful implementation of the preparatory
measures!
Please note that the steps described below require that the preparatory measures
cited previously have all be successfully conducted.
It is imperative that the StarterKit archive file has been downloaded and
unpacked, that the CoDeSys software and the USB cable driver have been
installed and that a proper network link has been set up between the fieldbus
controller and the PC.
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Application example: Starterkit_Application1_FUP.pro 29
750-881 Programmable Fieldbus Controller ETHERNET
3. In this dialog window open the tree structure for the entry K-Bus
completely.
The 750-400 and 750-501 I/O Modules are then displayed.
The associated channels are listed below the I/O module entries.
4. You can assign a symbolic name (xDO1) to a channel on this line. This
name will then be available as a global variable in the overall CoDeSys
project.
The symbolic name is followed by the IEC address (%IX0.0), the data type
(BOOL) and the associated definition (* Ch_1 Digital Input *) for the
specific channel.
Quickstart Reference
Version 1.0.1
30 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
The variable declaration is displayed in the upper half of the dialog window; the
individual FUB networks in the lower half.
You can activate the digital outputs (Network 1 and Network 2) and call up the
subprograms "UserLED" and "Blink" (Network 3 and Network 4) in the main
program.
You can activate the first digital output using a bistable function block "rsDO1"
applying RS logic (reset = dominant).
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Application example: Starterkit_Application1_FUP.pro 31
750-881 Programmable Fieldbus Controller ETHERNET
This linking of flank detection, AND gate and bistable flip-flop yields the
following function:
- If the digital output "xDO1" has not been set, clicking the corresponding
visualization button [xVisuDO1] sets the digital output "xDO1."
- Clicking the visualization button [xVisuDO1] when the digital output "xDO1"
has been set results in the digital output "xDO1" being reset.
4.4 Subprogram "Blink"
The "Blink" subprogram is located in the Utilities folder.
Quickstart Reference
Version 1.0.1
32 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
The signal status sequence for the two OFF delays "tofBlink1.Q" and
"tofBlink2.Q" is illustrated as follows:
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Application example: Starterkit_Application1_FUP.pro 33
750-881 Programmable Fieldbus Controller ETHERNET
Note
Required library "Visual.lib!"
You must have the "Visual.lib" library to activate the USR LED using the
functions described below.
This library is located in the directory:
WAGO Software \ CoDeSys V2.3 \ Targets \ WAGO \ Libraries \ 32_Bit
Quickstart Reference
Version 1.0.1
34 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Information
Further information for activation of the USR-LED
Activation of the USR-LED is only explained with an example in this section. For
more detailed information about USR LED signaling and about using the
"Visual.lib" download the corresponding documentation at the WAGO Web site.
The manual for this library is given at:
www.wago.com Downloads AUTOMATION Bibliotheken
In the first network the address operator "ADR" supplies the address for the
variable "aFS" and stores this in the pointer variable "ptFS."
The individual blinking sequences for the USR LED (LED colors) are defined by
the array variables "aFS."
In the second network the flashing sequences for the USR LED are set by the
function "SET_FLASHING_SEQUENC."
The input parameter "EN" (Enable) enables execution of this function.
The input parameter "POINTER_TO_POINTER_TO_ARRAY" transfers the
address of the pointer variables "ptFS" and, thus, the individual flashing
sequences.
In network 3 the next index is set for a flashing sequence to be executed using the
function "SET_FLASHING_SEQUENCE_INDEX."
The input parameter "IMMEDIATE" defines when the new flashing sequence is
to begin:
- FALSE = upon completion of the current sequence the new
sequence is begun
- TRUE = the new sequence is begun immediately.
The parameter "INDEX" defines the index for the new flashing sequence.
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Application example: Starterkit_Application1_FUP.pro 35
750-881 Programmable Fieldbus Controller ETHERNET
Clicking the visualization button [USR LED] increases the value of "wIndex" by
"1" (from 0 to a maximum of 3).
To accomplish this, the variable "xVisuUserLed" for the visualization button
[USR LED] is initially processed via flank detection "ftrigVisuUserLed" and then
evaluated as follows via selection (SEL):
- for "ftrigVisuUserLed.Q" = TRUE the selection result is `1’
- for "ftrigVisuUserLed.Q" = FALSE the selection result is `0’.
This result is then added to the value for "wIndex" (ADD), compared to the value
"3" (GT = greater than) and is then evaluated as follows via a selection:
- if the result of addition is greater than "3",
"wIndex" is assigned a value of "0"
- if the result of addition is less than or equal to "3",
the result yielded by this addition is assigned to "wIndex."
Quickstart Reference
Version 1.0.1
36 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Application example: Starterkit_Application1_FUP.pro 37
750-881 Programmable Fieldbus Controller ETHERNET
4.6 Commissioning
The following section provides a step-by-step description of how to load the
CoDeSys project "Starterkit_Application1_FUB.pro" to your fieldbus controller,
how to start program execution and how to create a boot project.
Quickstart Reference
Version 1.0.1
38 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Application example: Starterkit_Application1_FUP.pro 39
750-881 Programmable Fieldbus Controller ETHERNET
2. Here, select the tab Hardware and click the button [Device manager] to
open the dialog window for the device manager.
3. Add the group Ports (COM and LPT) to the tree structure.
The entry WAGO USB Service Cable (COMX) (the designation in
parentheses indicates the assigned COM port; in this example COM27) is
given within this group.
4. To configure the communication parameters for the USB link click the item
Communication parameters in the menu Online.
6. Now enter a name for the USB link in the field Name.
Quickstart Reference
Version 1.0.1
40 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
10. Click the up/down arrow key [↓] or [↑] to increase/decrease your COM port
number by 1. This enables you to properly define the COM port determined
previously by the device manager (in this example COM27) in the
communication parameters.
You do not need to make any changes to the other parameters (Baudrate,
Parity, Stop bits, Motorola byteorder, Flow Control) or to the gateway
settings.
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Application example: Starterkit_Application1_FUP.pro 41
750-881 Programmable Fieldbus Controller ETHERNET
2. Then start program execution in the fieldbus controller via the menu item
Online > Start.
3. Now select the menu item Online > Create boot project to generate a boot
project to enable the program to be loaded automatically on a restart of the
fieldbus controller.
4. To enable automatic startup of the fieldbus controller after a restart, set the
operating mode switch for the fieldbus controller to its top position (RUN).
Quickstart Reference
Version 1.0.1
42 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
4.7 Visualization
Two options are available for display operation:
• The first option is direct control of the display via the CoDeSys software
after you have loaded and started the fieldbus controller.
• The second option involves call-up and control of Web visualization via an
Internet browser.
The function and presentation are identical for both visualization options.
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 Application example: Starterkit_Application1_FUP.pro 43
750-881 Programmable Fieldbus Controller ETHERNET
2. After this, select the menu item WebVisu at the left in the navigation area.
You can also call up Web visualization directly via
http://192.168.1.100/plc/webvisu.htm.
Note
Java runtime environment must be installed for this!
You must have a Java runtime environment installed on your PC to use Web
visualization in your Internet browser.
You can download the Java runtime environment ("JRE") free of charge at:
http://java.com/de/download/index.jsp.
Quickstart Reference
Version 1.0.1
44 Application example: Starterkit_Application1_FUP.pro WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
You can use these two buttons to control the digital output channels of the 750-
501 Digital Output Module that is displayed.
When you activate a digital input channel using the switch module provided with
the system (Item No.: 288-863) the 750-400 Digital Output Module will change
colors in the display corresponding to the associated LED.
The color of the USR LED can be changed using the [USR-LED] button. Each
click of the button will change the USR LED color.
=== Ende der Liste für Textmarke Inhalt_mitte ===
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 List of Figures 45
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 28 /Dokumentation allgemein/Verzeichnisse/Abbildungsverzeichnis - Überschrift 1 und Verzeichnis @ 3\mod_1219222916765_21.doc @ 21080 @
List of Figures
Figure 1: View ETHERNET TCP/IP Fieldbus Controller and its 24 V/0 V
Connection ................................................................................................... 12
Figure 2: Mode selector switch (closed and open damper of the service port)..... 14
Figure 3: Contents of the WAGO-I/O-PRO CAA CD (folder view ...................... 16
Figure 4: Selecting the setup language.................................................................. 16
Figure 5: License agreement for the CoDeSys software ....................................... 17
Figure 6: Selecting the target directory ................................................................. 17
Figure 7: Selection of components........................................................................ 18
Figure 8: Selection of program folder ................................................................... 18
Figure 9: Overview of configuration..................................................................... 19
Figure 10: Completing the CoDeSys setup ........................................................... 19
Figure 11: Properties of your LAN network link .................................................. 21
Figure 12: Properties of the TCP/IP Internet protocol .......................................... 21
Figure 13: Address selection switch with set IP address (192.168.1.100)............ 23
Figure 14: Restarting the fieldbus controller via hardware reset .......................... 23
Figure 15: "Execute ...." dialog window ............................................................... 24
Figure 16: Command line interpreter with ping command ................................... 24
Figure 17: Command line interpreter with ping statistics ..................................... 24
Figure 18: Contents of the "AUTOMATION Tools and Docs" CD (folder view)25
Figure 19: Selecting the target directory ............................................................... 25
Figure 20: Restart request...................................................................................... 26
Figure 21: Hardware Assistant, request for Windows update link........................ 26
Figure 22: Selecting the driver origin.................................................................... 26
Figure 23: Driver origin information..................................................................... 27
Figure 24: Completion of the Assistant................................................................. 27
Figure 25: Web visualization ................................................................................ 28
Figure 26: PLC configuration................................................................................ 29
Figure 27: "PLC_PRG" program .......................................................................... 30
Figure 28: Network 1 (PLC-PRG) ........................................................................ 31
Figure 29: "Blink" program................................................................................... 31
Figure 30: Blink signal .......................................................................................... 32
Figure 31: Network 1 (Blink)................................................................................ 32
Figure 32: Output signals for OFF delays ............................................................. 32
Figure 33: "UserLED" program ............................................................................ 33
Figure 34: Network 1 (USR-LED)........................................................................ 34
Figure 35: Network 2 (USR-LED)........................................................................ 34
Figure 36: Network 3 (USR LED) ........................................................................ 35
Figure 37: Network 4 (USR LED) ........................................................................ 35
Figure 38: Network 5 (USR LED) ........................................................................ 35
Figure 39: Network 6 (USR LED) ........................................................................ 36
Figure 40: Communication parameters ................................................................. 37
Figure 41: New communication channel via Ethernet .......................................... 38
Figure 42: Ethernet communication parameters ................................................... 38
Figure 43: Device manager under Windows......................................................... 39
Figure 44: New communication channel via USB................................................ 40
Figure 45: USB communication parameters ......................................................... 40
Figure 46: Operating mode switch at RUN position............................................. 41
Figure 47: Visualization via CoDeSys software ................................................... 42
Quickstart Reference
Version 1.0.1
46 List of Figures WAGO-I/O-SYSTEM 750
750-881 Programmable Fieldbus Controller ETHERNET
Quickstart Reference
Version 1.0.1
WAGO-I/O-SYSTEM 750 List of Tables 47
750-881 Programmable Fieldbus Controller ETHERNET
Pos: 30 /Dokumentation allgemein/Verzeichnisse/Tabellenverzeichnis - Überschrift 1 und Verzeichnis @ 3\mod_1219222958703_21.doc @ 21084 @
List of Tables
Table 1: Number Notation....................................................................................... 7
Table 2: Font Conventions ...................................................................................... 7
Table 3: Legend to the View ETHERNET TCP/IP Fieldbus Controller .............. 13
Table 4: Mode selector switch............................................................................... 14
Table 5: IP Address Structure ............................................................................... 22
Table 6: Binary Encoding of Decimal Number 100.............................................. 23
Table 7: Button Color Allocation [USR LED] ..................................................... 36
Quickstart Reference
Version 1.0.1
Pos: 32 /Dokumentation allgemein/Einband/Einband Rückseite @ 9\mod_1285229376516_21.doc @ 64944 @
Internet: http://www.wago.com
=== Ende der Liste für Textmarke Einband_hinten ===