Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Ethernet/IP Device Support and CompactLogix
From: John Dobbins <jad@lepp.cornell.edu>
To: Kay-Uwe Kasemir <kasemirk@ornl.gov>
Cc: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Thu, 06 Apr 2006 10:05:50 -0400
Kay,

Where did you find this:

"Product name This text string may represent a short description of the product/product family represented by the product code in attribute 3. The same product code may have a variety of product name strings. The maximum number of 8-bit characters in this string shall be 32. Each of the characters shall be in the range 0x20 to 0x7E."

I just spent time unsuccessfully searching the web for documentation on the Identity Object.

John

Kay-Uwe Kasemir wrote:
On Apr 6, 2006, at 09:24 , John Dobbins wrote:
I set EIP_verbosity = 10 and it appears that the identity check (EIP_check_interface) is failing only because Get_Attribute is returning 52 bytes where your code (ether_ip.c line 2212) requires less than 34 bytes for the Name attribute.

Right, based on the specifications from which I worked:
"Product name
This text string may represent a short description of the product/product family represented by the product code in
attribute 3. The same product code may have a variety of product name strings. The maximum number of 8-bit
characters in this string shall be 32. Each of the characters shall be in the range 0x20 to 0x7E."


So I reserved room for a max of 33 characters = 32 + '\0'.
The allowable name length might well have evolved,
so please go ahead, allow longer names,
I'll change the sources to something similar to what's shown below,
and maybe that's really all you need to use the driver with CompactLogix.

Thanks for delving into this,
-Kay


ether_ip.h < CN_USINT name[33]; --- > CN_USINT name[100];

ether_ip.c
<     if (data && len > 0 && len < 34)
---
 >     if (data && len > 0 && len < sizeof(info->name)-1)




Replies:
Re: Ethernet/IP Device Support and CompactLogix Kay-Uwe Kasemir
References:
Ethernet/IP Device Support and CompactLogix John Dobbins
Re: Ethernet/IP Device Support and CompactLogix Kay-Uwe Kasemir
Re: Ethernet/IP Device Support and CompactLogix John Dobbins
Re: Ethernet/IP Device Support and CompactLogix Kay-Uwe Kasemir

Navigate by Date:
Prev: Re: Ethernet/IP Device Support and CompactLogix Kay-Uwe Kasemir
Next: Re: Ethernet/IP Device Support and CompactLogix John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Ethernet/IP Device Support and CompactLogix Kay-Uwe Kasemir
Next: Re: Ethernet/IP Device Support and CompactLogix Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·