Professional Documents
Culture Documents
RSLogix5000
1.1.0
2 RSLogix5000
a2020001 WAGO 750-363 Ethernet Coupler as Remote I/O with a CompactLogix™ PLC
Hansastraße 27
D-32423 Minden
E-Mail: info@wago.com
Web: 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.
Application Note
1.1.0
RSLogix5000 Table of Contents 3
a2020001 WAGO 750-363 Ethernet Coupler as Remote I/O with a CompactLogix™ PLC
Table of Contents
1 Notes about this Documentation ............................................................. 4
1.1 Copyright ................................................................................................ 4
1.2 Symbols ................................................................................................. 4
1.3 Number Notation .................................................................................... 6
1.4 Font Conventions ................................................................................... 6
1.5 Legal Bases............................................................................................ 7
1.5.1 Subject to Changes ............................................................................ 7
1.5.2 Personal Qualifications ...................................................................... 7
1.5.3 Limitation of Liability ........................................................................... 7
1.6 Revision History...................................................................................... 8
1 Description ................................................................................................ 9
2 Components .............................................................................................. 9
3 Solution ................................................................................................... 10
3.1 Determine the I/O mapping of the 750-363 I/O node ............................ 10
3.2 Add the WAGO 750-363 to the CompactLogix EtherNet/IP Scanner .... 13
4 WAGO Add-On Instructions ................................................................... 25
5 Monitoring Connection Status ............................................................... 26
6 Padding Assembly Sizes ........................................................................ 31
List of Figures .................................................................................................. 34
List of Tables .................................................................................................... 35
Application Note
1.1.0
4 Notes about this Documentation
1.2 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.
Application Note
1.1.0
Notes about this Documentation 5
Important Note!
Indicates a potential malfunction which, if not avoided, however, will not result in
damage to property.
Additional Information:
Refers to additional information which is not an integral part of this
documentation (e.g., the Internet).
Application Note
1.1.0
6 Notes about this Documentation
Application Note
1.1.0
Notes about this Documentation 7
Moreover, the persons cited here must also be familiar with all of the products
cited in this document, along with the operating instructions. They must also be
capable of correctly predicting any hazards which may not arise until the products
are combined.
WAGO Kontakttechnik GmbH & Co. KG is not liable for any actual
implementation of the concepts.
Application Note
1.1.0
8 Notes about this Documentation
Application Note
1.1.0
Description 9
1 Description
The purpose of this document is to provide a step-by-step example of interfacing
the WAGO 750-363 Fieldbus Coupler with an Allen Bradley 1769-L16ER
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).
2 Components
This procedure has been tested with, but is not limited to, the following hardware
and software:
Table 4: Components
Supplier Pieces Name Item No.
WAGO 1 EtherNet/IP Fieldbus Coupler (fw05) 750-363
WAGO 1 24VDC Field Supply Module 750-602
WAGO 1 8-Channel Digital Input Module 24VDC 750-430
WAGO 1 8-Channel Digital Output Module 24VDC 750-530
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
Figure 1: Overview
Application Note
1.1.0
10 Solution
Important Note!
This procedure assumes that the WAGO 750-363 contains a valid IP address
and is installed on a working network, along with the Allen Bradley CompactLogix
Controller and the RSLogix5000 programming terminal. If necessary, refer to the
750-363 Product Manual for assigning a static IP address to the WAGO 750-363.
3 Solution
There are two general steps for setting up this system:
The I/O mapping and CIP assembly object information can be viewed in the
Web-Based Management (WBM) of the 750-363 coupler. Using a web browser,
type in the IP address of the WAGO coupler in the Address field. The internal
HTML page appears:
Application Note
1.1.0
Solution 11
Click the EtherNet/IP hyperlink on the left navigation bar. A dialog window will
prompt for a user name and password. Log on as the administrator using the
default username admin and the password wago.
On the EtherNet/IP Configuration page, click the ‘+’ symbols next to the
Assembly Information and I/O Mapping section headers.
The I/O mapping and CIP Assembly Object sizes will be displayed. This
information is referenced in the following sections of this document.
Application Note
1.1.0
12 Solution
Application Note
1.1.0
Solution 13
Application Note
1.1.0
14 Solution
2) Create a new project with RSLogix5000. Select the File > New menu
item. The New Controller dialog window is displayed.
Click OK.
Important Note!
As with other WAGO EtherNet/IP devices, the 750-363 Coupler can be
configured as a Generic Ethernet Module within the CompactLogix I/O
configuration. Alternatively, this document shows how to use the 750-363 EDS
description file for this purpose.
Application Note
1.1.0
Solution 15
3) Download the EDS description file from the WBM of the 750-363
coupler.
A .zip file will be downloaded to the host PC. Extract the contents of the .zip
file to a known location.
4) Launch the EDS Hardware Installation Tool from the Tools menu in
RSLogix.
Application Note
1.1.0
16 Solution
6) Select the option Register a single file. Browse to the location of the
extracted EDS file, and select the file 07500363_1v2.eds. Click Next
when finished.
7) The EDS File Installation Test Results should show a green checkmark
next to the 750-363 EDS file. Click Next.
Application Note
1.1.0
Solution 17
9) Confirm you would like to register the WAGO 750-363 by clicking Next.
Application Note
1.1.0
18 Solution
11) The 750-363 EDS file is installed and ready for use in RSLogix.
Application Note
1.1.0
Solution 19
12) Right-click on I/O Configuration -> Ethernet, and select the New
Module… menu item.
13) The Select Module dialog window is displayed. From the list of devices,
select WAGO 750-363 EtherNet/IP and click Create.
Application Note
1.1.0
20 Solution
Important Note!
The EDS file gives the user multiple options for accessing the I/O data of a
WAGO 750-353 Coupler. The example in this document shows one
implementation, which may or may not be optimal for a specific application.
15) The Module Definition window appears. Populate the fields as shown
here, then click OK.
Application Note
1.1.0
Solution 21
Hint: Change the size fields to even values before attempting to change the data
type fields.
Application Note
1.1.0
22 Solution
Name Field
In the Name field, there are 3 options:
Class 1 – exclusive owner
Class 1 – input only
Class 1 – listen only
It is typical to select Class 1 – exclusive owner for remote I/O communications.
This is true for remote I/O consisting of inputs & outputs, inputs only, and outputs
only.
This example could have been written using one connection, by selecting the
designators ‘AI+DI+S’ and ‘AO+DO’ for inputs and outputs respectively. This
would combine the analog and digital I/O mapping within a single block of
controller tags, where the digital mapping of data immediately follows the analog
mapping of data within that block. This is perfectly acceptable. The advantage
of using two connections – one for analog, one for digital – is that the analog and
digital data is separated into two blocks of controller tags. Consequently, if the
size of the analog data block changes (e.g. by adding or removing an analog
module from the I/O node), the digital I/O mapping in the digital data block of
controller tags will remain unchanged.
Application Note
1.1.0
Solution 23
After downloading, the I/O OK indicator should be green. The WAGO node’s I/O
can be viewed in the Controller Tags listing:
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.
Application Note
1.1.0
24 Solution
After completing these steps, the configuration of the WAGO 750-363 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:
Application Note
1.1.0
WAGO Add-On Instructions 25
Note that for compatibility reasons, it may be advantageous to map the WAGO
I/O as datatype SINT, rather than INT as shown previously in this document.
Application Note
1.1.0
26 Monitoring Connection Status
Figure 24: Excerpt from Rockwell Automation Publication 1756-RM0030-EN-P – November 2012
(Page 199)
Application Note
1.1.0
Monitoring Connection Status 27
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.
Figure 25: Example rung showing detection of 'Unconnected Request Timed Out' error.
Application Note
1.1.0
28 Monitoring Connection Status
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:
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.
Once the tag is entered, click the '...' following it, and a Message Configuration
dialog box will appear. For Message Type, enter 'CIP Generic'.
Enter the 'Service Type' for the desired Instance/Attribute. For example, select
'Get Attribute Single' to read an attribute value.
Enter the Class/Instance/Attribute values and a destination tag.
Under the 'Communication' tab, select the path of the destination WAGO node.
Some of the more commonly accessed attributes of Configuration Class (0x64)
are shown here. For a complete listing of available attributes, reference the 750-
363 Ethernet Coupler manual.
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.
Application Note
1.1.0
Monitoring Connection Status 29
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.
Figure 27: Configure two MSG instructions to read attributes 0x2d and 0x2e
Application Note
1.1.0
30 Monitoring Connection Status
Application Note
1.1.0
Padding Assembly Sizes 31
750-363
750-602 – no byte count
750-430 (8-channel Digital Input) – 8 bits Input
750-530 (8-channel Digital Output) – 8 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 for
Enable binary padding, click SUBMIT, and power cycle the 750-363.
(Assembly instances sizes are only calculated by the 750-363 on power-up.)
Application Note
1.1.0
32 Padding Assembly Sizes
After power-cycling the 750-363, 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-363 is now ready for use with the displayed padded assembly instance
byte counts.
Application Note
1.1.0
RSLogix5000 Padding Assembly Sizes 33
a2020001 WAGO 750-363 Ethernet Coupler as Remote I/O with a CompactLogix™ PLC
Application Note
1.1.0
34 List of Figures RSLogix5000
a2020001 WAGO 750-363 Ethernet Coupler as Remote I/O with a CompactLogix™ PLC
List of Figures
Figure 1: Overview .............................................................................................. 9
Figure 2: I/O mapping of the 750-363 I/O node ..................................................10
Figure 3: Web-Based Management (WBM) Device Information .........................11
Figure 4: Web-Based Management (WBM) EtherNet/IP Configuration ...............11
Figure 5: Web-Based Management (WBM) Assembly Information and I/O
Mapping ....................................................................................................12
Figure 6: RSLogix5000 main window .................................................................13
Figure 7: New Controller dialog window .............................................................14
Figure 8: Download the EDS description file ......................................................15
Figure 9: Open EDS Hardware Installation Tool .................................................15
Figure 10: Rockwell Automation's EDS Wizard ..................................................16
Figure 11: Register a single EDS file ..................................................................16
Figure 12: EDS File Installation Test Results .....................................................17
Figure 13: Wago device listed in Communications Adapter ................................17
Figure 14: Register the WAGO 750-363 .............................................................17
Figure 15: Successful completion of the EDS Wizard .........................................18
Figure 16: Add New Module ...............................................................................19
Figure 17: Select Module Type ...........................................................................19
Figure 18: New Module dialog ............................................................................20
Figure 19: Module Definition window ..................................................................21
Figure 20: WAGO node’s I/O in the Controller Tags listing .................................23
Figure 21: Error message in the Module Fault box .............................................23
Figure 22: WAGO Add-On Instructions ..............................................................25
Figure 23: Get System Value (GSV) instruction..................................................26
Figure 24: Excerpt from Rockwell Automation Publication 1756-RM0030-EN-P –
November 2012 (Page 199) ......................................................................26
Figure 25: Example rung showing detection of 'Unconnected Request Timed Out'
error. .........................................................................................................27
Figure 26: Message (MSG) instruction ...............................................................28
Figure 27: Configure two MSG instructions to read attributes 0x2d and 0x2e .....29
Figure 28: MESSAGE_2D Controller Tag Properties .........................................29
Figure 29: MESSAGE_2D Controller Tag Properties .........................................30
Figure 30: Default assembly instance sizes ........................................................31
Figure 31: Enable binary padding in WBM .........................................................31
Figure 32: 750-363 ready for use .......................................................................32
Application Note
1.1.0
RSLogix5000 List of Tables 35
a2020001 WAGO 750-363 Ethernet Coupler as Remote I/O with a CompactLogix™ PLC
List of Tables
Table 1: Number Notation ................................................................................... 6
Table 2: Font Conventions .................................................................................. 6
Table 3: Revision History .................................................................................... 8
Table 4: Components .......................................................................................... 9
Table 5: Analog Input Data .................................................................................24
Table 6: Analog Output Data ..............................................................................24
Table 7: Digital Input Data + Status ....................................................................24
Table 8: Digital Output Data ...............................................................................24
Application Note
1.1.0
WAGO Kontakttechnik GmbH & Co. KG
Postfach 2880 • 32385 Minden
Hansastraße 27 • 32423 Minden
Phone: +49 571 887 – 0
Fax: +49 571 887 – 844169
E-Mail: info@wago.com
Internet: www.wago.com