Writes values to one or more bits of a holding register.


icon

Inputs/Outputs

  • cModbus_Slavelvclass.png Modbus slave in

    Modbus slave in specifies the reference to the Modbus slave instance. Use the Create Slave Instance VI to create a Modbus slave instance.

  • cu16.png address

    address specifies the holding register address to which you want to write the values. Valid values are between 0 and 65,535, where 65,535 is the maximum number.

    The address that this VI writes is 0-based, meaning that the address numbering convention for the Modbus slave starts at 0.

  • cerrcodeclst.png error in (no error)

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

  • cu16.png AND mask

    AND mask specifies the AND mask you use to write bits of a holding register.

  • cu16.png OR mask

    OR mask specifies the OR mask you use to write bits of a holding register.

  • iModbus_Slavelvclass.png Modbus slave out

    Modbus slave out returns a duplicate of Modbus slave in.

  • ierrcodeclst.png error out

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