Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Hansastraße 27
D-32423 Minden
E-Mail: info@wago.com
Web: http://www.wago.com
Technical Support
E-Mail: tcba@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.
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.
a500470e
Table of Contents 3
Table of Contents
1 Important Notes ........................................................................................ 4
1.1 Legal Principles ...................................................................................... 4
1.1.1 Subject to Changes ............................................................................. 4
1.1.2 Copyright ........................................................................................... 4
1.1.3 Personnel Qualification ...................................................................... 4
1.1.4 Intended Use ...................................................................................... 4
1.2 Scope of Validity .................................................................................... 5
1.3 Number Notation .................................................................................... 5
1.4 Font Conventions ................................................................................... 5
2 Description ................................................................................................ 6
3 Components ............................................................................................... 7
4 Solution ...................................................................................................... 8
4.1 Enable EtherNet/IP in the WAGO 750-352 Coupler ............................... 8
4.2 Determine the Process Image of the 750-352 I/O node.......................... 10
4.3 Add the WAGO 750-352 to the CompactLogix Integrated EtherNet/IP
Scanner ................................................................................................ 11
5 Appendix A –Other Configuration Samples ......................................... 19
6 Appendix B –WAGO Assembly Instances ............................................ 20
7 Appendix C –WAGO Add-On Instructions .......................................... 21
8 Appendix D –Monitoring Connection Status ........................................ 22
9 Appendix E –Configuration Class (0x64) .............................................. 24
10 Appendix F –Features in WBM for FW ≥ 08 ........................................ 27
a500470e
4
1 Important Notes
To ensure quick installation and start-up of the units, we strongly recommend that
the following information and explanations are carefully read and adhered to.
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.
a500470e
5
a500470e
6
2 Description
The purpose of this document is to provide a step-by-step example of interfacing
the WAGO 750-352 Fieldbus Coupler with an Allen Bradley 1769-L32
CompactLogix™ Controller using EtherNet/IP protocol. In this example, the
1769-L32 controller functions as an EtherNet/IP scanner and uses Control and
Information Protocol (CIP) to manage the inputs and outputs (I/O) of the WAGO
node (also known as implicit messaging).
a500470e
7
3 Components
This procedure has been tested with, but is not limited to, the following hardware
and software:
Table 3: Components
Supplier Pieces Name Item No.
WAGO 1 Ethernet Fieldbus Coupler 750-352
WAGO 1 24VDC Field Supply Module 750-602
WAGO 1 4-Channel Digital Input Module 24VDC 750-402
WAGO 1 4-Channel Digital Output Module 24VDC 750-504
WAGO 1 2-Channel Analog Input Module 0..10V 750-467
WAGO 1 2-Channel Analog Output Module 0..10V 750-550
WAGO 1 End Module 750-600
This procedure assumes that the WAGO 750-352 contains a valid IP address and
it is installed on a working network, along with the Allen Bradley CompactLogix
Controller and the RSLogix5000 programming terminal. If necessary, refer to the
750-352 Product Manual for assigning a static IP address to the WAGO 750-352
a500470e
8
4 Solution
There are three general steps for setting up this system:
a500470e
9
Click the SUBMIT button to save the changes to EEPROM. Perform a hardware
or software reset so the new settings take effect.
a500470e
10
When the coupler is powered up, it automatically addresses the I/O modules of the
node. The data for analog and complex modules (modules using 2 or more bytes)
are mapped first in the process image. They are mapped in the order of their
physical position after the coupler. As such, they start at byte address 0. Following
this, the digital modules are grouped into bytes (8-bits per byte). The bits are
arranged in the order of the modules location. When the number of digital points
exceeds eight (8-bits), the coupler automatically starts the next byte.
This example has 5-bytes of data in both the Input and Output Process Image.
a500470e
11
a500470e
12
2) Create a new project with RSLogix5000. Select the File > New menu item. The
New Controller dialog window is displayed.
4) Click on OK.
a500470e
13
6) Select Generic Ethernet Module from the list and click OK.
a500470e
14
The New Module dialog window is displayed for the Generic Ethernet Module.
Name: WAGO_IO
Comm Format: Data – Data- SINT (8-bit signed integer; -128..+127)
IP Address: 192.168.0.3 (IP Address of WAGO 750-352)
Input Assemby Instance: 107 (CIP Assembly Instance)
Input Size: 5 (5 bytes of Input Process Data)
Output Assemby Instance: 101 (CIP Assembly Instance)
Output Size: 5 (5 bytes of Output Process Data)
Config. Assemby Instance: 1 (Not used by system)
Configuration Size: 0 (Not used by system)
Section 4.2 explains how to calculate the input and output process image sizes for
the WAGO 750-352 node. The sizes are then used in the above New Module
dialog for the Input and Output Assembly Sizes.
A complete list of the Input and Output Assembly Instances can be found in
Appendix B.
a500470e
15
8) The Communications Path must be set before downloading. To set the path,
click the “Who Active”button, i.e., , and choose the appropriate path.
9) After selecting the appropriate path, the program and configuration can be
downloaded to the CompactLogix controller by clicking Download.
a500470e
16
If an error occurs, an error message will be displayed in the Module Fault box.
The screen below indicates an improper connection size was entered for the input
assembly.
a500470e
17
10) To view the process data from the WAGO 750-352, double-click on the
Controller Tags tree item.
The Controller Tags dialog window opens. In this example, only data from the
WAGO 750-352 is displayed. In a real world application, more data would be
included in the project.
a500470e
18
After completing these steps, the configuration of the WAGO 750-352 coupler
and the CompactLogix EtherNet/IP Scanner are complete. The WAGO input and
output data is now accessible to the controller as defined in the following tables:
Input Data
Output Data
Configuration Data
The configuration data (e.g., WAGO_IO:C.Data[0]) is automatically assigned by
RSLogix when a Generic Ethernet Module is added as I/O. Since the WAGO 750-
352 does not use this data, it should be ignored.
a500470e
19
a500470e
20
For transmission of process data from the fieldbus coupler to the higher-level
controller, the following assembly instances are available:
Instance 104: for analog and digital input data, including status byte
Instance 105: for digital input data, including status byte
Instance 106: for analog input data, including status byte
Instance 107: for analog and digital input data
Instance 108: for digital input data
Instance 109: for analog input data
Status Byte
If an instance is chosen that includes the status byte, the status byte is placed in
the Controller Tags in the byte after the analog and digital input data.
The status byte includes three bits of status information, although bit 7 is unlikely
to be detectable in the event of a fieldbus error.
a500470e
21
a500470e
22
Excerpt from Rockwell Automation Publication 1756-RM0030-EN-P –November 2012 (Page 199)
a500470e
23
Some of the more common error codes that may be reported by the GSV
instruction (attribute FaultCode) are shown here. For a complete listing of error
codes, see chapter 4 of Rockwell Automation Publication 1756-RM0030-EN-P.
a500470e
24
The contents of the Coupler Configuration Class (0x64) are read using explicit
messaging, which is configured in RS-Logix 5000 using the MSG instruction.
The MSG instruction can be found under the 'Input/Output' group of available
instructions.
To configure the MSG instruction for explicit messaging to a WAGO device,
proceed as follows:
1. Insert the MSG instruction into a rung of logic. For Message Control, enter a
tag of type 'MESSAGE'. Create this tag as a Controller Tag.
2. Once the tag is entered, click the '...' following it, and a Message Configuration
dialog box will appear. For Message Type, enter 'CIP Generic'.
3. Enter the 'Service Type' for the desired Instance/Attribute. For example, select
'Get Attribute Single' to read an attribute value.
4. Enter the Class/Instance/Attribute values and a destination tag.
5. Under the 'Communication' tab, select the path of the destination WAGO node.
Attr ID Description
0x07 Number of I/O bits for the analog outputs
0x08 Number of I/O bits for the analog inputs
0x09 Number of I/O bits for the digital outputs
0x0A Number of I/O bits for the digital inputs
0x0B Fieldbus error reaction
0x2D I/O LED error code
0x2E I/O LED error argument
Attributes 07,08,09,0A can be used to derive the input and output assembly
instance sizes of the remote node.
Attribute 0B can be used to define the output behavior (off, or remain in last
state) in case of a fieldbus error.
Attributes 2D and 2E provide the I/O LED blink sequence of the remote node.
a500470e
25
The illustrations below show how to configure two MSG instructions to read
attributes 0x2d and 0x2e of Configuration Class 0x64. These attributes provide
the error code and error argument, a.k.a. the I/O LED blink sequence, of the
remote node. Note that the MSG instruction will not continuously execute within
a routine. If it is desired to continuously monitor an attribute of Class 0x64, the
MSG instruction must be repeatedly enabled.
a500470e
26
a500470e
27
a500470e
28
750-352 (FW≥08)
750-602 –no byte count
750-402 (4-channel Digital Input) –4 bits Input
750-504 (4-channel Digital Output) –4 bits Output
750-467 (2-channel Analog Input) –2 bytes Input
750-550 (2-channel Analog Output) –2 bytes Output
To pad the assembly instance sizes to even byte counts, click the check box as
shown below, click SUBMIT, and power cycle the 750-352. (Assembly instances
sizes are only calculated by the 750-352 on power-up.)
a500470e
29
After power-cycling the 750-352, a reload of the WBM page will now show the
EtherNet/IP assembly instance sizes with their padded byte counts, as shown
here:
The 750-352 is now ready for use with the displayed padded assembly instance
byte counts.
a500470e
WAGO Kontakttechnik GmbH & Co. KG
Postfach 2880 D-32385 Minden
Hansastraße 27 D-32423 Minden
Phone: +49/5 71/8 87 – 0
Fax: +49/5 71/8 87 – 1 69
E-Mail: info@wago.com
Internet: http://www.wago.com