You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
please find attached a patch for a hash based approach in order to map Modbus addresses to a TRegister
struct. In my specific case with 96 holding regs, 96 input regs, 96 coils, 96 discrete inputs I observed a
speedup of factor 5 in my main loop. I believe this is worth the expense of 28 extra RAM bytes in a
Modbus object.
Howdy epsilonrt,
please find attached a patch for a hash based approach in order to map Modbus addresses to a TRegister
struct. In my specific case with 96 holding regs, 96 input regs, 96 coils, 96 discrete inputs I observed a
speedup of factor 5 in my main loop. I believe this is worth the expense of 28 extra RAM bytes in a
Modbus object.
BR,
Christian
modbus.txt
The text was updated successfully, but these errors were encountered: