Modbus Holding Register Number Out Of Range

Updated Jun 22, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

I am using the modbus API for my application. I am trying to write to a holding register, but the register number seems to be outside of the allowed input range to the VI, as the register I am trying to access is of the form 4XXXXX and the input is limited to values below 65536. How do I specify the register in this case?

Solution

To specify a value for a register of the form 4XXXXX use the address number to specify the register. This is the number following the initial 4. Example:

For register 400,001 the input to the VI will be number 1
For register 400,100 the input to the VI will be number 100

WAS THIS ARTICLE HELPFUL?

Not Helpful