epsilonrt / mbpoll

command line utility to communicate with ModBus slave (RTU or TCP)
https://epsilonrt.fr
GNU General Public License v3.0
296 stars 70 forks source link

Swapped input and holding register? #64

Closed bobosch closed 1 year ago

bobosch commented 1 year ago

I'm a little bit confused about the numbers in the -t parameter: Function code 03 are holding registers, used with -t 4 Function code 04 are input registers, used with -t 3 Intentional?

epsilonrt commented 1 year ago

Yes ! mbpoll was designed as an open source alternative to modpoll and therefore respects its syntax.