You are on page 1of 1

MODBUS Library for LabVIEW

Publish Date: Nov 02, 2015


Overview

The MODBUS library is a free, downloadable set of Virtual Instruments (VIs) that provide Modbus communication from any
standard Ethernet or serial port. The LabVIEW library implements the Modbus protocol in software and offers both master and
slave functionality. Using the Modbus library, Programmable Automation Controllers (PACs) can communicate with gateway
devices that provide connectivity to a wide variety of industrial networks, such as PROFIBUS, EthernetIP, and DeviceNet.
A newer library, intended as a replacement for this one, was added to ni.com/labs (
https://decibel.ni.com/content/docs/DOC-30140). This is not an official NI Product.
Version 1.2 (ni_modbus_1_2.zip) of the MODBUS LabVIEW Library is backward compatible with previous versions of the library.
It adds a set of polymorphic VIs that make it easier to use MODBUS commands. These new VIs are also fully documented with a
help file. Comments have also been added to the examples. Please follow the steps in the readme file for manual installation of
the library. There is no installer available at this time.
This library is not designed for use on LabVIEW Real-Time run-time's and will not execute deterministically. Use the Modbus API
available through the LabVIEW Real-Time Module or the LabVIEW Datalogging and Supervisory Control (DSC) Module instead.
If you are new to MODBUS, this series of whitepapers (http://www.ni.com/white-paper/52204/en/) serve as an introduction to the
protocol.
Note: This is an example program and not an official NI Product. It is also not designed to execute on LabVIEW Real-time
run-times. For a more complete, fully supported MODBUS solution, NI recommends the Modbus I/O Servers and Modbus API
(2014 and newer) included in the LabVIEW Datalogging and Supervisory Control Module (
http://sine.ni.com/nips/cds/view/p/lang/en/nid/1010) and LabVIEW Real-Time Module.

PRODUCT

SUPPORT

COMPANY

Order status and history (http://www.ni.com/status/)

Submit a service request (


https://sine.ni.com/srm/app/myServiceRequests)

About National Instruments (http://www.ni.com/compa

Order by part number (


http://sine.ni.com/apps/utf8/nios.store?action=purchase_form)

Events (http://www.ni.com/events/)
Manuals (http://www.ni.com/manuals/)
Careers (http://www.ni.com/careers/)

Activate a product (
http://sine.ni.com/myproducts/app/main.xhtml?lang=en)

Drivers (http://www.ni.com/downloads/drivers/)
Alliance Partners (http://www.ni.com/alliance/)

Order and payment information (http://www.ni.com/how-to-buy/)

MISSION
NI equips engineers and scientists with systems that accelerate productivity, innovation, and discovery.

(http://twitter.com/niglobal)
http://www.linkedin.com/company/3433?trk=tyah)

(http://www.facebook.com/NationalInstruments)
(http://www.ni.com/rss/)

(http://www.youtube.com/nationalins

Contact Us (http://www.ni.com/contact-us/)

(//privacy.truste.com/privacy-seal/National-Instruments-Corporation/validation?rid=bc6daa8f-7051-4eea-b7b5-fb24dcd96d95)
Legal (http://www.ni.com/legal/) | National Instruments. All rights reserved. | Site map (
http://www.ni.com/help/map.htm)

1/1

www.ni.com

You might also like