07-15-2009 01:24 PM
Hi Mike,
It is my understanding that RSLogix5000 uses something called Add-On Profiles to add support for additional modules. However, I don't think any of the spec is published and you must work with Rockwell via one of their partner programs to be able to develop your own profile. Certainly give us an update if you decide to go through that process and create a profile for your device. Are you designing some sort of LabVIEW-based EtherNet/IP module/system that will operate as a standalone device? Care to give any details?
Thanks,
Eric
07-15-2009 05:09 PM
An update for those interested and following this thread:
The driver has been updated to version 1.0.3 and now has support for the services Get Attribute Single and Set Attribute Single. This should allow interaction with an even wider range of devices that support EtherNet/IP.
Eric
07-16-2009 02:01 PM
Hi Eric,
Adding binary file capability to the SLC500 Read/Write VIs is of great interest to me. I currently interconvert bits and integers on both ends to use EtherNet/IP. Binary capability would make a terrific add-on even better.
Steve
07-16-2009 02:32 PM
Hi Steve,
Binary bit manipulation for SLC500 messages are in the works, but keep in mind that there are many restrictions/oddities compared to other types. Because of the way Rockwell packs the bits into bytes, you can't easilly write single bits unless you use some of their 'undocumented' masked write operations. However, these also have restrictions such as being able to specify only a 16-bit mask even though you may want the bits to write to span more than 16-bits wide. Suffice it to say, the restictions are likely going to be very confusing to users! So let me ask you, what kinds of operations are you looking to do? Just write single bits or arrays of bits?
Eric
07-16-2009 03:03 PM
Re: new driver release version 1.0.3... Would it be possible to update the download page, http://decibel.ni.com/content/docs/DOC-4065, to indicate the version number that will be downloaded? For example, "EthernetIP103.zip" or a little note beside the file link, etc. Also, a "last updated Month Day Year would help too, for folks like me that aren't able to keep up with the discussion on a regular basis.
Thanks,
Mike
07-16-2009 03:12 PM
Mike,
Done (at least as best as our document interface will let me).
Eric
07-16-2009 03:13 PM
Eric,
Typically, I'm reading and writing arrays of bits. For monitoring equipment status, I read 2-8 binary words, then divide up the bit arrays appropriately in LabView. For equipment control, I need to write only one bit, but typically replace the bit in the current status word and then write the binary word to the PLC.
I'm using LabView/HighwayView/DH+/SLC500 for control and monitoring, and migrating a system at a time to EtherNet/IP.
Steve
07-21-2009 04:46 PM
I'm having trouble reading floats from a Micrologix using EthernetIP SLC500 Read Float.vi. I can read from F8:0, but attempting to read from any others returns an error.
-251723745
EthernetIP SLC500 Read Float.vi;
Details: PCCC status error
PCCC Status: 0x10
07-21-2009 05:33 PM
Richard,
Are you changing the file number or element number input to that VI? In the syntax Fx:y, x is the file number and y is the element number. Some possibilities for that error are that the element you are requesting is out-of-range from the file you are reading or you are reading the wrong register file.
If you check all these things and don't find something, maybe you post a snippet of code showing how you are calling the VI, as well as possibly a screenshot showing the register file in RSLogix500.
Thanks,
Eric
08-03-2009 12:27 PM