Set Unit ID VI

Installed With: LabVIEW

Provides a simple function for defining the unit ID which is the target of Modbus master read and write operations. This function takes effect immediately, and will change the target of any future operations using the instance returned by Modbus master out. Multiple units can be accessed simultaneously by forking the wire. This function only applies when using the RTU or ASCII serial transmission data unit. The TCP/IP transmission data unit ignores the unit ID.

Set Unit ID

datatype_images\crn.gif

Modbus master in can accept any Modbus master instance.

datatype_images\cu8.gif

unit ID defines the device targeted by all Modbus master read and write operations. This value is only used with a serial transmission data unit.

datatype_images\icclst.gif

error out contains error information. This output provides standard error out functionality.

datatype_images\ibool.gif

The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_images\ii32.gif

The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_images\istr.gif

The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_images\ccclst.gif

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

datatype_images\cbool.gif

The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_images\ci32.gif

The code input identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_images\cstr.gif

The source string describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

datatype_images\irn.gif

Modbus master out returns the Modbus master instance provided as input.