03-10-2025 04:20 AM
Hello NI Community,
I was thinking about implementing Modbus on LabVIEW. I need your suggestions to start with.
I'm also hoping that if someone has already done it. What approach they adopted? (Can share block diagram or VI)
03-10-2025 05:01 AM
Hi Michael,
@Michael_Smith wrote:
I'm also hoping that if someone has already done it. What approach they adopted? (Can share block diagram or VI)
There are ready-to-use Modbus libraries on VIPM. They come with example VIs…
03-10-2025 06:08 AM
Use NI Modbus Library Toolkit for LabVIEW
03-11-2025 05:47 PM
I used the NI Modbus Library in VI Package Manager. In my case the code for creating a serial master and reading registers of devices looked like this:
03-12-2025 12:52 AM
Hello Stuart,
I was planning to work around it on LabVIEW RT or FPGA. Those VIs will work in beforementioned?
@StuartWilson wrote:
I used the NI Modbus Library in VI Package Manager. In my case the code for creating a serial master and reading registers of devices looked like this:
03-12-2025 01:24 AM
Never needed to do it on RT, but I'm pretty sure it will work the same. FPGA?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9GYSA0&l=en-US
03-12-2025 03:13 AM
Hi Michael,
@Michael_Smith wrote:
I was planning to work around it on LabVIEW RT or FPGA. Those VIs will work in beforementioned?
On RT the Modbus libraries can work.
How do you want to access the Modbus messages on a FPGA? Which hardware do you plan to use?
03-18-2025 04:10 AM
@GerdW wrote:
Hi Michael,
@Michael_Smith wrote:
I was planning to work around it on LabVIEW RT or FPGA. Those VIs will work in beforementioned?
On RT the Modbus libraries can work.
How do you want to access the Modbus messages on a FPGA? Which hardware do you plan to use?
Hello Gerd,
I'm planning to interface Servo Drive with my FPGA over a Modbus
03-18-2025 04:15 AM
Hi Michael,
@Michael_Smith wrote:
I'm planning to interface Servo Drive with my FPGA over a Modbus
Ok.
03-18-2025 04:20 AM
@GerdW wrote:
Hi Michael,
@Michael_Smith wrote:
I'm planning to interface Servo Drive with my FPGA over a Modbus
Ok.
Dear,