From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC Server or Ethernet IP Vi's? What is the better method?

I am setting up an interface using Labview communicating with an Allen Bradley CompactLogix L30ER. I will have at least 150 Tags. My question is... Is there any benefit to using the Ethernet IP Read/Write Tag VI's rather than Shared Variables and the OPC server? It seems to me that the SVE OPC method is much easier.

0 Kudos
Message 1 of 3
(2,806 Views)

The SVE OPC server is incredibly easy, but you have the cost of the OPC server. The other way to talk to modbus capable devices isn't too difficult either. Just use the modbus master and modbus slave vis. Micrologix has a module for modbus. If you don't have the modbus vis in your system you can download it for free. Don't use the old one. There is a newer version supported by NI R&D.

 

I haven't tried it with ethernet ip read/write tags. These other methods are too easy.

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
0 Kudos
Message 2 of 3
(2,794 Views)

Thnaks fo your input. I went with the OPC.

0 Kudos
Message 3 of 3
(2,708 Views)