05-12-2015 01:41 PM
I am working on trying to get LabView to communicate with an Allen-Bradley Compact Logix PLC using the NI Ethernet I/P driver. I am currently getting errors on both system of a CIP Message instruction error and cannot determine if the problem is in the PLC or the NI. At this time we are leaning toward the PLC, thus I was wondering if anyone new what type/setup of message read and write to utilize.
05-12-2015 02:20 PM - edited 05-12-2015 02:29 PM
I have only had success connecting to RSLogix using RSLinx OPC server which is pretty simple. Haven't tried the Ethernet I/P driver yet. I was just browsing and found this link: https://decibel.ni.com/content/thread/7483
The link is in the NI Community, NI Labs, Discussions. You should be able to find something there.
05-12-2015 02:27 PM
supposedly the Ethernet I/P driver should be simple and make string tags available. This would open up more flexibility between the two software/programs. NI supplies examples on the NI side but I still have errors and am looking for something on the PLC side.
05-13-2015 02:32 PM
Hello jabcae,
Thank you very much for posting your questions.
I recommend posting to the PLC Manufacture’s forums. They will be able to provide more insight on the PLC code.
I also recommend posting this question to the Industrial Communications forum:
http://forums.ni.com/t5/Industrial-Communications/bd-p/260
That forum is monitored by the developer’s of the EtherNet I/P Toolkit. They will be able to assist with the LabVIEW programming.
Regards,