Error: Invalid buffer times in Trajectry Planner"

Moderators: TomKerekes, dynomotion

cwatson1982
Posts: 39
Joined: Tue Jun 02, 2020 11:14 pm

Error: Invalid buffer times in Trajectry Planner"

Post by cwatson1982 » Mon Mar 07, 2022 9:59 pm

Weird random error today while running a small adaptive clearing toolpath with a 1/16th end mill. Happened in the exact same spot twice in the code, just a normal x-y move after an arc. No console output directly after the error but after clearing the error msgbox and trying to jog the Z up with my pendent, the Z axis disabled with a following error. Any idea what might have caused this?

cwatson1982
Posts: 39
Joined: Tue Jun 02, 2020 11:14 pm

Re: Error: Invalid buffer times in Trajectry Planner"

Post by cwatson1982 » Mon Mar 07, 2022 10:04 pm

update to add: the particular code has quite a few feedrate changes fairly rapidly, from 15 IPM to 60 IPM (cut at 15 ipm then reposition, repeat over a small area)

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

Re: Error: Invalid buffer times in Trajectry Planner"

Post by TomKerekes » Mon Mar 07, 2022 10:23 pm

So is it repeatable? What Version of KMotion are you using?

If you post the GCode and all your settings we can try to reproduce it.

What C Programs do you have running?
Regards,

Tom Kerekes
Dynomotion, Inc.

cwatson1982
Posts: 39
Joined: Tue Jun 02, 2020 11:14 pm

Re: Error: Invalid buffer times in Trajectry Planner"

Post by cwatson1982 » Mon Mar 14, 2022 12:17 am

Sorry for the delay, I had to go out of town suddenly. I'll dry run it tomorrow and copy/paste the code where it errors out (it's a long program). I am using 4.35f

cwatson1982
Posts: 39
Joined: Tue Jun 02, 2020 11:14 pm

Re: Error: Invalid buffer times in Trajectry Planner"

Post by cwatson1982 » Mon Mar 14, 2022 8:40 pm

Trajectory error.txt is the g-code program that causes the error; the line it stops at is marked (error)

Main c program is defaultStart.c

The other two are the spindle programs, there is nothing else running.
Attachments
SpindleJog.c
(1020 Bytes) Downloaded 93 times
OnCWJog.c
(1.17 KiB) Downloaded 93 times
defaultStart.c
(17.44 KiB) Downloaded 90 times
tplanner.JPG
trajectory error.txt
Error generating program
(157.13 KiB) Downloaded 97 times

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

Re: Error: Invalid buffer times in Trajectry Planner"

Post by TomKerekes » Tue Mar 15, 2022 3:46 pm

Hi,

I wasn't able to reproduce any problem. I ran it a number of times and also at FRO=2.

It is consistent for you correct?

I did remove all the forever loop code as I don't have your hardware. I also set + Soft Limits to 1e9 as it isn't clear what machine coordinates range is valid for you.

Could you remove your forever loop code and see if you still have the problem?
Regards,

Tom Kerekes
Dynomotion, Inc.

cwatson1982
Posts: 39
Joined: Tue Jun 02, 2020 11:14 pm

Re: Error: Invalid buffer times in Trajectry Planner"

Post by cwatson1982 » Tue Mar 15, 2022 4:31 pm

Yes, repeats every time in that spot. I'll give it a shot and see what happens. Travels are 40x20x20" (XYZ).

cwatson1982
Posts: 39
Joined: Tue Jun 02, 2020 11:14 pm

Re: Error: Invalid buffer times in Trajectry Planner"

Post by cwatson1982 » Tue Mar 15, 2022 5:07 pm

I commented out everything but WaitForNextTimeSlice(); in the forever loop. I get the same error in the same place. I *think* I might be using the trajectory planner from this link but I can not remember for sure:

http://dynomotion.com/Software/Patch/Im ... preter.dll

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

Re: Error: Invalid buffer times in Trajectry Planner"

Post by TomKerekes » Tue Mar 15, 2022 7:14 pm

Please check the timestamp of the file.
Regards,

Tom Kerekes
Dynomotion, Inc.

cwatson1982
Posts: 39
Joined: Tue Jun 02, 2020 11:14 pm

Re: Error: Invalid buffer times in Trajectry Planner"

Post by cwatson1982 » Tue Mar 15, 2022 7:44 pm

This is what it shows
Attachments
IMG_20220315_154115.jpg

Post Reply