Hi rolop,
National Instruments offers a number of MODBUS RTU drivers that are specific to the PLC device. LabVIEW essentially functions as an OPC client with other third-party OPC servers using DataSockets. National Instruments also has a product called
Industrial Automation OPC Servers that provides an OPC Server for a large number of PLC communication protocols, including
Modbus RTU. Industrial and Automation OPC Servers installs a program called
Lookout Protocol Drivers (LPD). A list of the drivers NI currently offers can be found here:
Lookout Protocol DriversIn the Lookout Protocol Drivers , the co
mmunication settings can be configured for your PLC (the Modbus RTU, in your case). LPD then communicates with the PLC by running as the OPC Server and exposes all the registers of the PLC as OPC items. You can then write your LabVIEW application as an OPC client using DataSockets to read/write to the PLC. The following is a KnowledgeBase article detailing LabVIEW support for Modbus:
Do LabVIEW and LabVIEW Real-Time Support Modbus?Hope this helps. Have a great day!
Kileen Cheng
Applications Engineer
National Instruments