LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus Communication

Have you verified that the unit ID of 1 is correct to use?

 

Also, the manual says you need 2 stop bits by default, but most serial communications assumes 1 stop bit in my experience.  Can you change this setting?

 

As for how to trace it, I think the library you're using is locked so you can't peek under the hood with probes, but as long as it's using VISA under there then you could try NI I/O trace to get what it's sending.

0 Kudos
Message 11 of 12
(239 Views)

Your problem is you have written a Modbus Slave, when you need a Modbus Master to connect to your sensor (which is itself a Modbus Slave).  You need to switch to the Modbus Master API.

0 Kudos
Message 12 of 12
(234 Views)