Вы находитесь на странице: 1из 3

639065 - Message from Micro800 to Logix on Ethernet/IP https://rockwellautomation.custhelp.

com/app/answers/detail/a_id/639065

Email this page Subscribe to Updates

Question
How do I setup a message instruction in Micro800 controller to communicate with a CompactLogix or ControlLogix controller through Ethernet/IP?

Environment
Micro820 or Micro850 controller with firmware 4.011 or later (for this example 2080-LC50-24QBB frn 4.011)
Logix based controller with Ethernet/IP connection (for this example 1769-L18ERM)

Answer
1. In Connected Components Workbench (CCW), add your Micro820 or 850 controller to the project and set-up it's IP-Address to the desired value (in this example
192.168.1.3 and subnet mask 255.255.255.0).

2. Add a new ladder program in this project. Create following variables in the local variable scope of this program and enter the initial values for the sub members of
these variables:

SymbolicCfg.Symbol - tag name in the logix controller to which you will write to

targetCfg.Path - link to the Ethernet/IP port of the Micro800 (which is always 4) and the IP address of the Logix controller to which we will write data.

3. Open the previously created program and create a rung as in the program. If you desire not to use an embedded input to trigger the message, off course you are
free to attach another tag to the direct coil which can be controlled in another way.

1z3 2015-10-28 14:53


639065 - Message from Micro800 to Logix on Ethernet/IP https://rockwellautomation.custhelp.com/app/answers/detail/a_id/639065

4. Download the program to your Micro850 or 820 controller, go to run and debug mode. This concludes what actually has to be programmed within the Micro800
controller.
5. Open Studio 5000 and create a new project (in our case with a 1769-L18ERM controller)
6. In the controller tags, create an array called M850TestVar of the type SINT[12].

7. Download the program to the Logix controller, go to run and go online, monitor the previously created tag. It should show all 0's.
8. In CCW, trigger the tag connect to the direct contact (in our case, this was the embedded input).

9. Check the M850TestVar variables in Studio5000. They should have changed to the values that have been but in the ReqData variable in CCW.

Please note that the ReqData variable for a CIPSymbolic message in CCW is always of the USINT data type, while in Logix Designer, you are only able to use signed
data types. This needs to be taken into consideration before sending data, this can be done by for instance in CCW using an array of the same data type as you want in
Logix, and just before sending the message, copying it to the USINT ReqData array.

To send data to a ControlLogix controller, you'll have to expand the target path. Example, if the L7 controller is in slot 4, you'll need to fill in a target path in CCW that is
4, 192.168.1.10, 1, 4

DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or subjects and is not an exhaustive treatment of such
subjects. Accordingly, the information in this web site is not intended to constitute application, design, software or other professional engineering advice or services.
Before making any decision or taking any action, which might affect your equipment, you should consult a qualified professional advisor.

ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE DATA CONTAINED IN THIS WEB SITE
AND MAY MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS
PROVIDED TO USERS "AS IS." IN NO EVENT SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.

ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT OF THE INFORMATION (INCLUDING
SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND
NON-INFRINGEMENT. Note that certain jurisdictions do not countenance the exclusion of implied warranties; thus, this disclaimer may not apply to you.

2z3 2015-10-28 14:53


639065 - Message from Micro800 to Logix on Ethernet/IP https://rockwellautomation.custhelp.com/app/answers/detail/a_id/639065

This page is best viewed in Internet Explorer 10, Firefox 31, Chrome 37, Safari 6 or newer.

3z3 2015-10-28 14:53

Вам также может понравиться