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.