j2mod aims to be the most fully featured open-source Java-based Modbus protocol product available.
The code is based on the jamod-1.2 release, with as many additional message types added as possible. j2mod extends the OO model with additional methods which allow j2mod to be better used for producing Modbus slave devices and simulators.
j2mod adds many of the advanced messages, such as reading FIFOs and accessing file records. Support for serial device management messages allows the developer to create products which include enhanced control and diagnostic capabilities.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Julie, I am interested in the work you have done with jamod (j2mod). I am currently trying to implement modbus over tcp/adb on android 2.3. I am physically connecting a modbus slave device via andropod usb/rs485. I am trying to send messages over this connection using a modified modbus4j library. The reason I didn't go with jamod was it was not complete enough and the byte-swap capabilities seemed to be missing. I looked at j2mod and noticed it was a lot more complete. Good work! But, the swap-byte capability seems to be missing. Am i right?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Julie,
Thanks for the reply. While you are correct about the standard I must admit that i was spoiled by other libraries, C/C++ and Java, that included byte swapping utilities.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
j2mod aims to be the most fully featured open-source Java-based Modbus protocol product available.
The code is based on the jamod-1.2 release, with as many additional message types added as possible. j2mod extends the OO model with additional methods which allow j2mod to be better used for producing Modbus slave devices and simulators.
j2mod adds many of the advanced messages, such as reading FIFOs and accessing file records. Support for serial device management messages allows the developer to create products which include enhanced control and diagnostic capabilities.
Hey Julie, I am interested in the work you have done with jamod (j2mod). I am currently trying to implement modbus over tcp/adb on android 2.3. I am physically connecting a modbus slave device via andropod usb/rs485. I am trying to send messages over this connection using a modified modbus4j library. The reason I didn't go with jamod was it was not complete enough and the byte-swap capabilities seemed to be missing. I looked at j2mod and noticed it was a lot more complete. Good work! But, the swap-byte capability seems to be missing. Am i right?
John,
Modbus, as a protocol, doesn't swap bytes. That's something you'd have to do on your own. The protocol definition is big-endian.
Julie,
Thanks for the reply. While you are correct about the standard I must admit that i was spoiled by other libraries, C/C++ and Java, that included byte swapping utilities.