LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read and Write PLC Tags

I am using LabVIEW 2018 and need to read two tags from an Allen Bradley Controllogix PLC.  I'd like to use the simplest method possible (without installing additional modules). It looks like Datasocket should work but the example "Monitor OPC Items with DataSocket.vi" does not work with 64-bit PCs.  Is Datasocket the best method to read a few PLC tags? If so, is there an example that works with 64-bit PCs? 

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

Hello Stomanov,

 

If the DataSocket example isn't working for you, you could also try the Modbus Reference Library, which is a community-supported library with examples that can be downloaded for free.

 

LabVIEW Modbus API
https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Modbus-API/ta-p/3524019

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