Jump to content

Plasmionique Modbus Master V1.3.4

Sign in to follow this  

2 Screenshots

About This File

This package contains an open source Modbus master library for LabVIEW.
It has been developed by Plasmionique Inc. as a replacement for NI Modbus V1.2.1 and provide an open source alternative to the NI Modbus Community API.
It supports RTU, ASCII and TCP modes with the following function codes:
0x01 - Read Coils
0x02 - Read Discrete Inputs
0x03 - Read Holding Registers
0x04 - Read Input Registers
0x05 - Write Single Coil
0x06 - Write Single Register
0x07 - Read Exception Status
0x0F - Write Multiple Coils
0x10 - Write Multiple Registers
0x16 - Mask Write Register
0x17 - Read/Write Multiple Registers
0x2B/0x0E - Read Device Identification
Additional Features:
Built-in resource locking simplifies the sharing of a serial port with multiple Modbus slaves or sharing a Modbus session across multiple threads.
Examples are included in "<LabVIEW>\examples\Plasmionique\MB Master\":
MB_Master Comm Tester.vi: Demonstrates usage of API to open/close connection and communicate with a Modbus slave device.
MB_Master Multiple Sessions.vi: Demonstrates usage of API to open concurrent Modbus sessions.
MB_Master Simple Serial.vi: Demonstrates polling of a single input register over serial line.

User guide is included in "<LabVIEW>\help\Plasmionique\MB_Master - User Guide.pdf".

Modbus COMM tester can be opened from the tools menu under "Tools -> Plasmionique -> Modbus COMM Tester..."

Download a copy of the user guide here: MB_Master - User Guide.pdf

Note that Version 1.3.4 of this library has been certified compatible with LabVIEW and has been released on the LabVIEW Tools Networkhttp://sine.ni.com/nips/cds/view/p/lang/en/nid/214230

The most recent version of this library will always be released on LAVA first before going through NI's certification process.

***This project is now available on GitHub: https://github.com/rfporter/Modbus-Master

What's New in Version V1.0.5   See changelog


  • In RX ADU.vi of MB_ADU_RTU class: 
        - Fixed the conversion of byte count.
        - Added special case for Function code 24 read FIFO queue (byte count is 2 bytes long!).
        - Fixed CRC check for other MEI types.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.