Solution
For TCP/IP, it is possible to change the Modbus Unit ID when creating the master. This can be done using a property node as shown in the figure below. The Modbus master instance needs to be taken from the property node. If the reference is taken directly from the
Create Master Instance.vi, it will still have the default Unit ID value of 1.