Error: Invalid buffer times in Trajectry Planner"
Moderators: TomKerekes, dynomotion
-
- Posts: 39
- Joined: Tue Jun 02, 2020 11:14 pm
Error: Invalid buffer times in Trajectry Planner"
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?
-
- Posts: 39
- Joined: Tue Jun 02, 2020 11:14 pm
Re: Error: Invalid buffer times in Trajectry Planner"
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)
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Error: Invalid buffer times in Trajectry Planner"
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?
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.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Tue Jun 02, 2020 11:14 pm
Re: Error: Invalid buffer times in Trajectry Planner"
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
-
- Posts: 39
- Joined: Tue Jun 02, 2020 11:14 pm
Re: Error: Invalid buffer times in Trajectry Planner"
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.
Main c program is defaultStart.c
The other two are the spindle programs, there is nothing else running.
- Attachments
-
- SpindleJog.c
- (1020 Bytes) Downloaded 94 times
-
- OnCWJog.c
- (1.17 KiB) Downloaded 94 times
-
- defaultStart.c
- (17.44 KiB) Downloaded 90 times
-
- trajectory error.txt
- Error generating program
- (157.13 KiB) Downloaded 97 times
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Error: Invalid buffer times in Trajectry Planner"
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?
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.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Tue Jun 02, 2020 11:14 pm
Re: Error: Invalid buffer times in Trajectry Planner"
Yes, repeats every time in that spot. I'll give it a shot and see what happens. Travels are 40x20x20" (XYZ).
-
- Posts: 39
- Joined: Tue Jun 02, 2020 11:14 pm
Re: Error: Invalid buffer times in Trajectry Planner"
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
http://dynomotion.com/Software/Patch/Im ... preter.dll
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Error: Invalid buffer times in Trajectry Planner"
Please check the timestamp of the file.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 39
- Joined: Tue Jun 02, 2020 11:14 pm