Write and Read Multiple Registers VI

Installed With: LabVIEW

Writes and reads the values of multiple register values in series. The write values are inserted starting at write starting address and the returned read values consists of read count holding registers starting at read starting address.

Write and Read Multiple Registers

datatype_images\crn.gif

Modbus instance can accept any Modbus instance, master or slave.

datatype_images\cu16.gif

read starting address sets the starting address of the read action for this function

datatype_images\cu16.gif

read count defines the number of holding registers to read

datatype_images\cu16.gif

write starting address defines the start address of the write command

datatype_images\c1du16.gif

write values defines the data to be written to the device, starting at write starting address

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 instance returns the Modbus instance provided as input.

datatype_images\i1du16.gif

read values consists of read count holding registers from the device starting at read starting address