I work in another programming language where you can define an array, then define an variable name to elements of the array. They call it aliasing. It avoids having to execute an equal statement each pass through the code.
The alias for array is Supply_Temp The alias for array is Return_Temp
This allows the program to utilize the descriptive names rather than the array index and you don't have to manage a while bunch of equal statements. And the aliasing does not take any additional memory. I assume they have a way that defines the alias tag to the same memory location as the array location.
Is there a way to do this in C? I have never tried or had to conceive of it, but it would be a big help in working with Modbus and the register array.