Hi,
in Moka7:
public static boolean GetBitAt(byte[] Buffer, int Pos, int Bit)
it should be
byte[] Mask = { (byte)0x01,(byte)0x02,(byte)0x04,(byte)0x08, (byte)0x10,(byte)0x20,(byte)0x40,(byte)0x80 };
instead of
byte[] Mask = { (byte)0x01,(byte)0x02,(byte)0x04,(byte)0x08, (byte)0x10,(byte)0x10,(byte)0x40,(byte)0x80 };
Best regards, Marco
Hi Marco,
It's already fixed.
https://sourceforge.net/p/snap7/discussion/bugfix/thread/c3818d42/
Hi Pablo,
I forgot to mention that this is in Moka7 :) There does not seem to be a bugfix yet for the Java code.
Log in to post a comment.
Hi,
in Moka7:
public static boolean GetBitAt(byte[] Buffer, int Pos, int Bit)
it should be
instead of
Best regards,
Marco
Last edit: Marco Schwarz 2015-04-15
Hi Marco,
It's already fixed.
Hi Pablo,
I forgot to mention that this is in Moka7 :) There does not seem to be a bugfix yet for the Java code.