File Exchange

image thumbnail

RS485/MODBUS Communication with JLD416PVA Power Meter

version (408 KB) by W.
Reads power, voltage and current data via RS485/MODBUS from a JLD416PVA meter.


Updated 09 Apr 2012

View Version History

View License

Communicates with JLD416PVA meter over MODBUS RTU. Sends one read command to interrogate all six holding registers of the unit. Also parses the response into voltage, current and power with meaningful units. Includes a sample script to repeatedly poll the device for the measurements. Screenshot was developed measuring a 50/100/150 W three-way lamp.

Cite As

W. (2021). RS485/MODBUS Communication with JLD416PVA Power Meter (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)


Hoang Ton

hui xie


As I understand your code is for the case when the computer acts as the MODBUS host and the power meter as a slave device. Do you know how to implement MODBUS RS485 communication with MATLAB on the slave computer. I cannot find anything on that !
Any info or references would be appreciated a lot.

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!