From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

communicating using modbus over ethernet

I have downloaded labviews version of the modbus drivers. I looked at the examples that are there and it says to run the slave before you can run the master example. Is there a reason for this? I want to use the master example to talk to the machine I want to interface with. If there is an issue that I am not understanding with this, can someone point this out to me. Thank you for your time.
Ron Deavers, CLD
0 Kudos
Message 1 of 2
(2,580 Views)
The MB Serial Master Example VI requires you to have the slave running first so that you can have something to interact with. In theory, as long as your modbus device is running before opening the Master example, you should be OK. However I don't have a modbus device where I'm at to verify this. Have you tried just using the example with your device? If so, what's the outcome? Please let me know!

Logan S.
0 Kudos
Message 2 of 2
(2,572 Views)