Gcode issue in trajectory planner

Moderators: TomKerekes, dynomotion

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

Gcode issue in trajectory planner

Post by dominfo » Mon Nov 13, 2023 10:24 am

Hello Tom

I have a Gcode which is triggering an error from KMotion, just after being started by my .Net app:
=> Invalid buffer times in Trajectory Planner

The program is inspired from polygon.ngc (a topic we discussed before)

what could be the reason of this error ?

Regards
Frederic

**** Edit ****

I'm using the x64 version


**************
Attachments
program.ngc
(2.94 KiB) Downloaded 7 times

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

Re: Gcode issue in trajectory planner

Post by TomKerekes » Mon Nov 13, 2023 4:44 pm

Hi Frederic,

It runs ok in KMotionCNC Debug 64-bit. Does other GCode run ok from your App? You might set KMotionCNC's Trajectory Planner values to the same as your .NET App to see if it has a problem.
Regards,

Tom Kerekes
Dynomotion, Inc.

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

Re: Gcode issue in trajectory planner

Post by dominfo » Tue Nov 14, 2023 8:35 am

Hello Tom
I confirm that it works with KMotionCNC 64 bits with same trajectory planner settings, same with the GCode interface of KMotion in 64 bits.
Is it something related to the Kmotion_dotnet 64 bits ?

When compiling my .net app towards the Kmotion_dotnet dll in 32 bits, I don't have the issue.

Regards,
Frederic

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

Re: Gcode issue in trajectory planner

Post by TomKerekes » Tue Nov 14, 2023 3:20 pm

Does other GCode run ok from your App?
Regards,

Tom Kerekes
Dynomotion, Inc.

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

Re: Gcode issue in trajectory planner

Post by dominfo » Thu Nov 16, 2023 9:04 am

Hello Tom

Sorry for late replies.
Yes other Gcode runs with the 64 bit version if not using a programming style like "polygon.ngc" ie the O103 subprogram on my example.


Regards
Frederic

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

Re: Gcode issue in trajectory planner

Post by TomKerekes » Thu Nov 16, 2023 4:29 pm

Hi Frederic,

I can't duplicate the problem. It runs oK in the 64-bit Release code of the Version 5.3.0 Dynomotion VB .NET example.
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply