Page 1 of 1

.Net library bugs

Posted: Fri Nov 03, 2023 5:00 pm
by dominfo
Hello Tom
I received this week my full package (Kogna + Kanalog + Konnect).

I found 2 bugs in the .Net library
  • Bug1

Code: Select all

KM.CoordMotion.SetAxisDefinitions(0, 0, -1, -1, -1, -1)
=> Kogna sends a message that it expects an "=" sign in "DEFINE CS 0 0 -1 -1 -1 -1"

Code: Select all

KM.WriteLine("DefineCS = 0 0 -1 -1 -1 -1")
=> works well

The error may come from C:\KMotion5.3.0\GCodeInterpreter\CoordMotion.cpp
line 2396

Code: Select all

s.Format("DefineCS %d %d %d %d %d %d", x, y, z, a, b, c);
  • Bug2
Using a Konnect and setting some IOs

Code: Select all

Dim IO As KMotion_dotNet.KM_IO = KM.GetIO(1024, KMotion_dotNet.IO_TYPE.DIGITAL_IN, "Konnect_Input0")
Kogna sends a message "SETDIRECTIONBIT1024=0 ^ Error:Expecting value 0 to 289"

Code: Select all

KM.WriteLineReadLine("ReadBit1024"), result)
=> works well to retrieve the input value

Thanks for you support
Frederic

Re: .Net library bugs

Posted: Sat Nov 04, 2023 5:06 pm
by TomKerekes
Hi Fredric,

Thanks. These should be fixed in the next Version.