Menu

JAVA version

Help
2007-01-21
2016-08-31
  • Thomas Hergenhahn

    The JAVA version is now available for download.

     
  • Cheng

    Cheng - 2016-07-27

    Hi Thomas,

    I have a question about the JAVA version. I can write a whole byte to the PLC, but that's not what I want. I want to write a single bit to the PLC. I see there is a function addBitVarToWriteRequest and I was trying to use this function, but it does not work.

    Do u know how to write a single bit to PLC with the JAVA version libnodave?

     
    • vita

      vita - 2016-08-31

      Hi,

      I have same problem that function addBitVarToWriteRequest did not work. I found that there is bug in function void addValue(byte[] values) inside PDU class. Line276 with code
      } else if (mem[data + 1] == 9) {
      should be
      } else if (mem[data + 1] == 9 || mem[data + 1] == 3) {

      Hope it helps

       

      Last edit: vita 2016-08-31

Anonymous
Anonymous

Add attachments
Cancel





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.