Menu

What j2mod is all about

2012-06-25
2012-09-25
  • Julie Haugh

    Julie Haugh - 2012-06-25

    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.

     
  • John Sauer

    John Sauer - 2012-09-24

    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?

     
  • Julie Haugh

    Julie Haugh - 2012-09-25

    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.

     
  • John Sauer

    John Sauer - 2012-09-25

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.