digitalpetri / modbus

Modbus TCP, Modbus RTU/TCP, and Modbus RTU/Serial for Java 17+.
Eclipse Public License 2.0
654 stars 222 forks source link

Custom FunctionCodes #23

Closed timbo2k closed 2 months ago

timbo2k commented 5 years ago

Hallo

Is it possible to use modbus library with custom functions codes like 0x41 - 0x48 and 0x64 - 0x6E. If not yet implemented would it be interesting to add this feature to library, so that custom manufacturer based functions can also be used with this library? If so I would like to support this great lib.

Best Tim

kevinherron commented 5 years ago

This is not possible right now but I will consider it as a requirement for version 2.0, along with serial transport, ASCII protocol support, and the ability to communicate with "modbus-ish" implementations like flow meters that use a non-standard 4 bytes per registers.

timbo2k commented 5 years ago

Hey Kevin

thanks for your infos. This would really be a nice feature. If any support is needed I can help with some realization of features.

kevinherron commented 2 months ago

Should be possible now in 2.0, not proven or tested though.