NI Labs

cancel
Showing results for 
Search instead for 
Did you mean: 

Welcome to EtherNet/IP Driver for Communication to Allen Bradley ControlLogix PLCs

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

0 Kudos
Message 131 of 193
(2,907 Views)

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 

0 Kudos
Message 132 of 193
(2,898 Views)

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

0 Kudos
Message 133 of 193
(2,876 Views)

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

0 Kudos
Message 134 of 193
(2,870 Views)

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

 

0 Kudos
Message 135 of 193
(2,860 Views)

Mike,

 

Done (at least as best as our document interface will let me).

 

Eric 

0 Kudos
Message 136 of 193
(2,865 Views)

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

0 Kudos
Message 137 of 193
(2,864 Views)

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

0 Kudos
Message 138 of 193
(2,825 Views)

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

0 Kudos
Message 139 of 193
(2,821 Views)
I got to communication between LabVIEW and PLC L63 using the EtherNet/IP, but whend I stop and run the Demo 2.VI I have a error, Who you can see attached, and I can not to communication again, I need to turn off\on the PLC for communication again.
0 Kudos
Message 140 of 193
(2,779 Views)