WAGO 750-880 EtherNetIP Communications With CompactLogix PLC Using Explicit Messaging
WAGO 750-880 EtherNetIP Communications With CompactLogix PLC Using Explicit Messaging
Hansastraße 27
D-32423 Minden
E-Mail: [email protected]
Web: http://www.wago.com
Technical Support
E-Mail: [email protected]
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.
Application Note
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 Solution ......................................................................................................... 7
3.1 Setup EtherNet/IP in the WAGO 750-880 PLC ....................................... 7
3.2 Program the WAGO 750-880 PLC ........................................................... 9
3.3 Program the CompactLogix PLC ............................................................ 11
3.4 Test the Communications ........................................................................ 14
Application Note
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.
Application Note
2 Description
The purpose of this document is to provide a step-by-step example of how to
establish communications between a WAGO 750-880 PLC and an Allen-Bradley
1769-L32 CompactLogix™ Controller using explicit messaging.
3 Solution
There are four general steps for setting up this system:
Use the configuration tool WAGO Ethernet Settings to configure the EtherNet/IP
settings for the WAGO 750-880. To connect via Ethernet using WAGO Ethernet
Settings, click the Settings button, and change the Communication Settings
accordingly (see example below).
Application Note
Once connected, click the Protocol tab. A list of supported protocols is displayed.
Click on the Ethernet/IP check box to select it (checked). If Modbus UDP or
Modbus TCP is not needed for the application, click on it to deselect it
(unchecked).
Click the EtherNet/IP tab to view/modify the number of PFC Fieldbus Variables
to be communicated between the controllers. For this example, there will be 8
bytes of PLC input variables, and 8 bytes of PLC output variables exchanged
between the devices. Change the PFC Fieldbus Variables as shown below.
9
Click the Write button to save the changes. The WAGO 750-880 PLC is now
ready for EtherNet/IP communications.
Start CoDeSys. Click File>New and select the 750-880 PLC, then click the OK
button.
Application Note
Create the program shown in the capture below. You must declare the input and
output arrays as global variables at the starting addresses of the EtherNet/IP
assembly instances (%IW1276 and%QW1276).
Now that the program is written, click Online>Login and download the program
to the PLC. Then click Online>Run to start the program.
11
Add the controller tags and ladder diagram logic shown below.
Application Note
The Message (MSG) block is used for controller-to-controller communications.
Configure the message blocks as follows:
Application Note
3.4 Test the Communications
In this example, the CompactLogix PLC is polling the WAGO 750-880 PLC by
using the MSG block every 32 seconds. By modifying the preset time in Rung 0,
any cyclic rate can be achieved. Communications is working below; a value of
123 in WAGO_OutData[0] can be observed in the WAGO PLC in CoDeSys
variable In_Data[1]. Conversely, the WAGO variables in Out_Data array
[1,2,3,4] are showing up in the CompactLogix PLC variables WAGO_InData
array [0,1,2,3].
15
Application Note
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: [email protected]
Internet: http://www.wago.com