Page 1 of 2
Error: Invalid buffer times in Trajectry Planner"
Posted: Mon Mar 07, 2022 9:59 pm
by cwatson1982
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?
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Mon Mar 07, 2022 10:04 pm
by cwatson1982
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)
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Mon Mar 07, 2022 10:23 pm
by TomKerekes
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?
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Mon Mar 14, 2022 12:17 am
by cwatson1982
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
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Mon Mar 14, 2022 8:40 pm
by cwatson1982
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.
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Tue Mar 15, 2022 3:46 pm
by TomKerekes
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?
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Tue Mar 15, 2022 4:31 pm
by cwatson1982
Yes, repeats every time in that spot. I'll give it a shot and see what happens. Travels are 40x20x20" (XYZ).
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Tue Mar 15, 2022 5:07 pm
by cwatson1982
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
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Tue Mar 15, 2022 7:14 pm
by TomKerekes
Please check the timestamp of the file.
Re: Error: Invalid buffer times in Trajectry Planner"
Posted: Tue Mar 15, 2022 7:44 pm
by cwatson1982
This is what it shows