NI Labs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Welcome to EtherNet/IP Industrial Protocol Support

Hello,

I have a question concerning communication with Ethernet/IP within LabVIEW.

For a schoolproject I need to communicate with a robot that has a fixed IP adress.

As a test I wanted to communicate between two PC's.

But when I do this with EIP in LabVIEW this doens't work.

So my question is:
Is, and when it is how is, it possible to communicate between two PC's with Ethernet/IP and LabVIEW??

Thanks in advance

Kind regards,

Luc

0 Kudos
Message 111 of 125
(3,227 Views)

If this is for school project, I think you should start off with the basics. I'd first search for TCP in the Find Examples and look through some of the results. The "Simple TCP.lvproj" is a great wat to show communication between two different executions (which can easily be extended to be different machines)

Certified-LabVIEW-Architect_rgb.jpgCertified_TestStand_Architect_rgb.jpg


"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books

0 Kudos
Message 112 of 125
(3,227 Views)

Hello,

I have some basic functions I would like to use these drivers for- I need to read values from a thermocouple input module and set various bits of some 16ch relay output cards.  Can I perform these functions directly or do I need to set up a ladder logic program to scan the IO and make the results available?

Honestly we are looking to get rid of the SLC5 5/05s and go to compact DAQ or something similar so I just need a bandaid fix to be able to read some TCs and control some valves on the relay channels.  Any examples of how to do this woudl be greatly appreciated.

0 Kudos
Message 113 of 125
(3,227 Views)

Hi Eric,

I am a novice Ethernet IP user trying to connect to an Emerson M700 motor controller.

I started with the Etherent IP adapter project in the examples and ran the access assembly instance data VI.

With an instance of 100, class = 4 and attribute = 3 I was able to read some data which was encouraging, but the data was 40 bytes of 0. We were unable to get anything else out of the controller. What do these parameters mean and is there something else I should be doing in order to get non zero values?  It may have been that the values were 0 but I did ask the guy programming the controller to put non zero values in which he duly did. The result was the same.

Any help would be great.

Thanks

Simon

0 Kudos
Message 114 of 125
(3,227 Views)

Hi,

Is there a limitation on the number of clients that can be connected to an Ethernet/IP server? I mean to ask whether there is a limitation on the number of clients that the protocol/driver imposes or is it limited by the data bandwidth of ethernet(1Gigabits/s+protocol overheads), processor and memory resources on the server and client. In case it is limited by the data bandwidth of the port, approximately what is the amount of protocol overheads and what is the actual amount of message bandwidth that we get in Ethernet/IP.

Thanks !

0 Kudos
Message 115 of 125
(3,227 Views)

Not sure if anyone from NI is monitoring this discussion anymore but...  Are there any options, or plans to add a Get/Set Attribute All functions to this toolset?  Thanks in advance.

David Gaylord
Controls Engineer
Howmet Aerospace
0 Kudos
Message 116 of 125
(3,227 Views)

Hello. First time poster. We are soon to receive a CRIO from a vendor that is supplying us a condition monitoring system. Our site has standardised on EtherNet/IP for communications with our Yokogawa DCS (this is primarily because most of our PLC's are Allen Bradley). The vendor was unwilling to use an Allen Bradley solution, and we were sold on the CRIO because it supported EtherNet/IP. In preparation, I have been trying to test an EtherNet/IP Lab View "producer" to talk to our DCS (created for us by the vendor). I've managed to get it to talk multiple ways successfully to an Allen Bradely PLC. However, I am not able to successfully communicate to the DCS directly. Looking at Wireshark, our DCS is establishing a session correctly. It then seems to request data using the 0x4C service using the CIP protocol, which seems to be correct for tag name based communication. However, the response from the test producer is "Path destination unknown (0x05)". I don't have any experience on the Lab View side - but I would like to understand if there is anything our vendor can do to change the EtherNet/IP communications to get this to work. The DCS is very limited in how it communicates via EtherNet/IP, so that is probably not going to be a solution. A get-out-of-jail solution is to use an Allen Bradley PLC as a mailbox between the DCS and the CRIO, but this would be fairly ugly and expensive.

0 Kudos
Message 117 of 125
(3,047 Views)

    hi ,i want to connect 3 plc with together using ethernet protocol and do monitoring with labview( opc server ) , how do i do this? please help me, thanks a lot 🙂

0 Kudos
Message 118 of 125
(3,011 Views)

Hi Eric,

 

Any update on supporting I/O communication in the "scanner" role?

Is there any plan to support this in the future?

 

Kind regards,

Julian

0 Kudos
Message 119 of 125
(2,587 Views)

I am setting up communication with CompactLogix PLC(1769-L33ERMS) and the "Create Assembly Instance.vi" File in LabView. The Module in the PLC says it is running but I am getting an Error in the "Create Assembly Instance.vi" file, saying {The Length Of The Assembly Data Exceeds The Length Of The Assembly}. Would anyone be able to assist with this? I have attached files from my AllenBradely PLC showing the module running and the error message in the Labview specifically the "Create Assembly Instance.vi" file. Please see attachments. Thank you

Download All
0 Kudos
Message 120 of 125
(2,505 Views)