22.09.2017, 19:10
(This post was last modified: 22.09.2017, 19:25 by Erwin van der Zwart.)
Hi,
Yes the different function codes can have equal addresses, by specifying read register or read input register you get the data from different registers. (different device table)
http://www.simplymodbus.ca/FAQ.htm#FC
For function code 3 you need mapping field type 'register' and for function code 16 you also need mapping field type 'register' , mapping field 'writable' as true and you need to add the mapping field 'write_multiple' and set it to 'true'
See also: http://openrb.com/docs/modbus.htm for mapping fields
BR,
Erwin
Yes the different function codes can have equal addresses, by specifying read register or read input register you get the data from different registers. (different device table)
http://www.simplymodbus.ca/FAQ.htm#FC
For function code 3 you need mapping field type 'register' and for function code 16 you also need mapping field type 'register' , mapping field 'writable' as true and you need to add the mapping field 'write_multiple' and set it to 'true'
See also: http://openrb.com/docs/modbus.htm for mapping fields
BR,
Erwin