Sign In Help
Schneider Electric
HelpSign In
Schneider Electric Exchange
  • Home
  • Collaborate
  • Develop
  • Shop
Home Collaborate Develop Shop Log in or Register Help

Invite a Co-worker

Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel

Invitation Sent

Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
  • Home
  • Collaborate
  • Exchange Community
  • :
  • Industrial Automation
  • :
  • Industry Automation and Control Forum
  • :
  • Re: M580 - CompactLogix PLC explicit communication
Community Menu
  • Forums
    • By Topic
        • EcoStruxure IT
          • EcoStruxure IT forum
        • Industrial Automation
          • Industry Automation and Control Forum
          • Alliance System Integrators Forum
          • Machine Solutions in the Digital Transformation
          • EcoStruxure Automation Expert / IEC 61499 Forum
          • Industrial Edge Computing Forum
          • Level and Pressure Instrumentation Forum
          • Modicon User Group
          • PLC Club Indonesia
          • SEE Automation Club Forum
          • Fabrika ve Makina Otomasyonu Çözümleri
          • Форум по промышленной автоматизации СНГ
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Forum
          • SCADA and Telemetry Devices Forum
        • Power Distribution IEC
          • Power Distribution and Digital
          • Power Standards & Regulations
          • Paneelbouw & Energie Distributie
        • Power Distribution Softwares
          • EcoStruxure Power Design Forum
          • SEE Electrical Building+ Forum
          • LayoutFAST User Group Forum
        • Solutions for your Business
          • Solutions for Food & Beverage Forum
          • Solutions for Healthcare Forum
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Forum
        • Healthcare
          • Solutions for Healthcare Forum
      • EcoStruxure IT
        • EcoStruxure IT forum
      • Industrial Automation
        • Industry Automation and Control Forum
        • Alliance System Integrators Forum
        • Machine Solutions in the Digital Transformation
        • EcoStruxure Automation Expert / IEC 61499 Forum
        • Industrial Edge Computing Forum
        • Level and Pressure Instrumentation Forum
        • Modicon User Group
        • PLC Club Indonesia
        • SEE Automation Club Forum
        • Fabrika ve Makina Otomasyonu Çözümleri
        • Форум по промышленной автоматизации СНГ
      • SCADA & Telemetry Solutions
        • Geo SCADA Expert Forum
        • SCADA and Telemetry Devices Forum
      • Power Distribution IEC
        • Power Distribution and Digital
        • Power Standards & Regulations
        • Paneelbouw & Energie Distributie
      • Power Distribution Softwares
        • EcoStruxure Power Design Forum
        • SEE Electrical Building+ Forum
        • LayoutFAST User Group Forum
      • Solutions for your Business
        • Solutions for Food & Beverage Forum
        • Solutions for Healthcare Forum
      • Food & Beverage
        • Solutions for Food & Beverage Forum
      • Healthcare
        • Solutions for Healthcare Forum
  • Blogs
    • By Topic
        • Industrial Automation
          • Industrial Edge Computing Blog
          • Industry 4.0 Blog
          • Industrie du Futur France
        • SCADA & Telemetry Solutions
          • SCADA and Telemetry Blog
        • Power Distribution IEC
          • Power Events & Webinars
          • Power Foundations Blog
        • Power Distribution NEMA
          • NEMA Power Foundations Blog
        • Power Distribution Softwares
          • EcoStruxure Power Design Blog
          • SEE Electrical Building+ Blog
        • Solutions for your Business
          • Solutions for Food & Beverage Blog
          • Solutions for Healthcare Blog
          • Solutions for Retail Blog
        • Community experts & publishers
          • Publishers Community
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Blog
        • Healthcare
          • Solutions for Healthcare Blog
        • Retail
          • Solutions for Retail Blog
      • Industrial Automation
        • Industrial Edge Computing Blog
        • Industry 4.0 Blog
        • Industrie du Futur France
      • SCADA & Telemetry Solutions
        • SCADA and Telemetry Blog
      • Power Distribution IEC
        • Power Events & Webinars
        • Power Foundations Blog
      • Power Distribution NEMA
        • NEMA Power Foundations Blog
      • Power Distribution Softwares
        • EcoStruxure Power Design Blog
        • SEE Electrical Building+ Blog
      • Solutions for your Business
        • Solutions for Food & Beverage Blog
        • Solutions for Healthcare Blog
        • Solutions for Retail Blog
      • Community experts & publishers
        • Publishers Community
      • Food & Beverage
        • Solutions for Food & Beverage Blog
      • Healthcare
        • Solutions for Healthcare Blog
      • Retail
        • Solutions for Retail Blog
  • Ideas
        • Industrial Automation
          • Modicon Ideas & new features
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Ideas
          • SCADA and Telemetry Devices Ideas
  • Knowledge Center
    • Building Automation Knowledge Base
    • Industrial Automation How-to videos
    • Ask Exchange
    • Digital E-books
    • Success Stories Corner
    • Power Talks
  • Events & Webinars
  • Support
    • User Guide
    • Leaderboard
    • Releases Notes
How can we help?
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
49322members
Join Now
242551posts
Join Now

M580 - CompactLogix PLC explicit communication

Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Solved Go to Solution
Back to Industry Automation and Control Forum
Solved
desa
Crewman desa
Crewman
‎2020-10-13 06:05 AM
0 Likes
2
306
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-10-13 06:05 AM

M580 - CompactLogix PLC explicit communication

Hi,

 

Could anybody help me to setup explicit communication using the DATA_EXCH block without being a CIP expert?
I read the docs here: https://www.se.com/ng/en/faqs/FA409179/
The example of the CIP request in the last page of the pdf is the following:

 
 

The meaning of the registers - as I figured out - are:

00: 0252 - I don't know what the 0x02 means, the 0x52 is the service code of the unconnected send request.

01: 0620 - 0x06 is the class ID of the connection manager, but what is the byte 0x20?

02: 0124 - I suppose 0x01 is the connection manager instance number, what is the instance segment 0x24?

03: 1007 - timeout ticks & priority/tick time, does it depend on the partner or this value will be ok?

04: 000C - number of bytes from the next register to the "Data: 0001" row.

05: 044C - 0x04 is the number of words from the next register to the end of the tag name, 0x4C is the Rockwell read tag service.

06: 0591 - 0x05 is the number of characters in the tag name, 0x91 is a constant to read a tag by name.

07: 6170 - from here comes the name of the tag.

08:

09:

10: 0001 - number of elements to read.

11: 0001 - 0x00 reserved, 0x01 route path size. Does it mean we use one word from the next register (EIPRequest[12]).

12: 0001 - 0x00 route path address, is this the slot number? 0x01 is the port. Why is this 0x01? Is it always 0x01?

 

If I try this example with a 1769 Rockwell PLC and created the "parts" variable. A Wonderware CIP DA server can read it, but the response in the M580 PLC is:

00D2 - ????

0006 - by the docs this means "Only part of the expected data was transferred"

 

On the address pin of the DATA_EXCH block the value is: ADDMX('0.0.3{192.168.0.161}UNC.CIP').

 

I cannot guess the exact meaning of the following bytes:

00 MSB: 0x02 - request path size

01 LSB: 0x20 - segment, path segment

02 LSB: 0x24 - instance segment

03: 0x1007 - timeout ticks & priority/tick time

11: 0x0001 - route path size

12: 0x0001 - route path address, route path port

 

Any help would be appreciated

Solved! Go to Solution.

Labels
  • Smart Design & Engineering
Tags (3)
  • Tags:
  • english
  • ethernetip
  • m580
Share
Reply

Accepted Solutions
JerryBartlemay
Ensign JerryBartlemay Ensign
Ensign
‎2020-10-13 08:51 AM
0 Likes
1
298
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-10-13 08:51 AM

Re: M580 - CompactLogix PLC explicit communication

Hello, desa,

 

You're in luck.  Early this year I completed a white paper on this topic, with a pair of companion DFBs.  The document you reference was a key to figuring out a solution.

 

I've attached the document and DFBs.

 

Feel free to message me if you have questions.

See Answer In Context

Attachments
White Paper - Explicit Symbolic Read Write to Logix_Jerry Bartlemay.zip
Tags (2)
  • Tags:
  • english
  • ethernetip
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
2 Replies 2
JerryBartlemay
Ensign JerryBartlemay Ensign
Ensign
‎2020-10-13 08:51 AM
0 Likes
1
299
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-10-13 08:51 AM

Re: M580 - CompactLogix PLC explicit communication

Hello, desa,

 

You're in luck.  Early this year I completed a white paper on this topic, with a pair of companion DFBs.  The document you reference was a key to figuring out a solution.

 

I've attached the document and DFBs.

 

Feel free to message me if you have questions.

See Answer In Context

Attachments
White Paper - Explicit Symbolic Read Write to Logix_Jerry Bartlemay.zip
Tags (2)
  • Tags:
  • english
  • ethernetip
Share
Reply
desa
Crewman desa
Crewman
‎2020-10-13 09:30 AM
0 Likes
0
292
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2020-10-13 09:30 AM

Re: M580 - CompactLogix PLC explicit communication

Hello Jerry,

 

Two hours ago we were able to successfully communicate with the Rockwell PLC. The only problem was we forgot to write the message length in the management parameters. It is working fine now. As I saw you created special FBDs to read/write variables.

We are going to try your blocks. 

Thank you!

 

Yours sincerely:

Dezső Sajtos

Tags (1)
  • Tags:
  • english
Share
Reply
Related Products
Schneider Electric
Modicon M340
Schneider Electric
EcoStruxure™ Control Expert
Top Experts
User Count
andrea_romacco
Crewman andrea_romacco
1
Fleo
Crewman Fleo
1
sesa25402
Administrator sesa25402 Administrator
1
Bastian_Schmitz
Ensign Bastian_Schmitz Ensign
1
See More Top Experts
Find a Service Provider
Find a certified partner to help you address your integration, installation, maintenance and project needs.
View all Providers
Support

Have a question? Please contact us with details, and we will respond.

Contact Us
FAQ

Look through existing questions to find popular answers.

Learn More
About

Want to know more about Exchange and its possibilities?

Learn More

Full access is just steps away!

Join Exchange for FREE and get unlimited access to our global community of experts.

Connect with Peers & Experts

Discuss challenges in energy and automation with 30,000+ experts and peers.

Get Support in Our Knowledge Base

Find answers in 10,000+ support articles to help solve your product and business challenges.

Ask Questions. Give Solutions

Find peer based solutions to your questions. Provide answers for fellow community members!

Register today for FREE

Register Now

Already have an account?Log in

About Us FAQ Terms & Conditions Privacy Notice Change your cookie settings
©2020, Schneider Electric