06-24-2020 09:34 PM
Solved! Go to Solution.
06-24-2020 10:31 PM
Hi srh1985,
Modscan works on the concept of 1 to n while LabVIEW works on the concept of 0 to n-1.
06-24-2020 11:44 PM
Sorry. Can your pls explain more.
06-25-2020 12:06 AM
Subtract 1 from the register address.
When you have an address like 449401, the first 4 indicates it is a holding register. (It's actually rather unusual to have the rest of the digits as high are they are.)
You drop the initial 4, and subtract one. It is not a "LabVIEW" thing, but an underlying part of the modbus standard. So when you have list of holding registers, they'll start at 40001 (or in this case 400001), but that is actually address 0.
So 449401 is actually addressed as 49400.
Think of it as an array being 1st element, 2nd element, 3rd element (1-based), but those are index 0, index 1, index 2 (zero-based)
06-25-2020 12:49 AM
Thanks.