.Net library bugs

Moderators: TomKerekes, dynomotion

Post Reply
dominfo
Posts: 12
Joined: Tue Sep 12, 2023 8:39 am

.Net library bugs

Post by dominfo » Fri Nov 03, 2023 5:00 pm

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

User avatar
TomKerekes
Posts: 2636
Joined: Mon Dec 04, 2017 1:49 am

Re: .Net library bugs

Post by TomKerekes » Sat Nov 04, 2023 5:06 pm

Hi Fredric,

Thanks. These should be fixed in the next Version.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply