Search found 27 matches

by Garage14
Mon Nov 07, 2022 7:16 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: automatic tool offset with tool setter on automatic toolchange
Replies: 6
Views: 1214

Re: automatic tool offset with tool setter on automatic toolchange

It was something dumb. After working on it for 10 hours straight I became robotic in going through tests. I had been using "if" for most bit states instead of "while" so I did have the bit state inverted for this use. I did try removing the logic not for one of my tests but I discarded that as not b...
by Garage14
Sun Nov 06, 2022 8:53 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: automatic tool offset with tool setter on automatic toolchange
Replies: 6
Views: 1214

Re: automatic tool offset with tool setter on automatic toolchange

Ok I eventually gave up on pasting the tooltableset code into the tool changer code. I got closer with cppcheck and TI compiler but then I realized that the way tooltableset calculates the tool length would get really funky with an active fixture offset mid program so I changed my mind and tried som...
by Garage14
Mon Oct 31, 2022 10:38 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: automatic tool offset with tool setter on automatic toolchange
Replies: 6
Views: 1214

Re: automatic tool offset with tool setter on automatic toolchange

Ok I have spent a few days on this one and I am properly stuck. I am attempting to copy paste the Z probe function from Probemain into the linear4toolholder so that after picking up a tool the z homes back to zero and then moves over and touches off on the setter. I also copied the tooltableset code...
by Garage14
Fri Oct 21, 2022 7:06 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: automatic tool offset with tool setter on automatic toolchange
Replies: 6
Views: 1214

automatic tool offset with tool setter on automatic toolchange

So I got a drewtronics probe and tool setter to automate setting offsets. I found the probemain.c via forum scrounging and I tested it with everything mechanically decoupled and I think I am golden on that part. Thanks all involved for that program and UI! As for the tool setter I found this thread ...
by Garage14
Tue Aug 16, 2022 7:07 pm
Forum: Configuration Issues
Topic: Stuck at the start on servo tuning w/ Youtube video.
Replies: 21
Views: 2230

Re: Stuck at the start on servo tuning w/ Youtube video.

Ok, I played with increasing the "I" and integrator max and VFF values. Up and down I couldn't get any better than a following error of about 17. I noticed that now the actual position is a wave instead of a straight line running straight and parallel to commanded position and that it kisses the com...
by Garage14
Mon Aug 15, 2022 7:12 pm
Forum: Configuration Issues
Topic: Stuck at the start on servo tuning w/ Youtube video.
Replies: 21
Views: 2230

Re: Stuck at the start on servo tuning w/ Youtube video.

Sorry that took a bit, lots meat in that last post. I did not zip the step response save file, I have unzipped tons of things but never made one. Sorta ashamed I didn't think to do that. Attached now. step response 8-15.zip 5 thou following error kinda stinks. I have played around with the step resp...
by Garage14
Mon Aug 08, 2022 6:10 pm
Forum: Configuration Issues
Topic: Stuck at the start on servo tuning w/ Youtube video.
Replies: 21
Views: 2230

Re: Stuck at the start on servo tuning w/ Youtube video.

Here's the error and velocity plots. position error.png velocity.png I couldn't attach the step response save data because it exceeds the 1 MB limit. I didn't know what tripsWPF was so I searched it and found the dynomotion youtube video. The comments state that it is included in software version 4....
by Garage14
Fri Aug 05, 2022 7:04 pm
Forum: Configuration Issues
Topic: Stuck at the start on servo tuning w/ Youtube video.
Replies: 21
Views: 2230

Re: Stuck at the start on servo tuning w/ Youtube video.

I did tune the system. The first time I went through following the instructions in the wiki to go as high as possible until I get shaking and then back off on P then D then P again and then I. but I decided to start over with the additional goal of changing values up and down in tiny increments tryi...
by Garage14
Tue Aug 02, 2022 4:34 pm
Forum: Configuration Issues
Topic: Stuck at the start on servo tuning w/ Youtube video.
Replies: 21
Views: 2230

Re: Stuck at the start on servo tuning w/ Youtube video.

Hey Tom, I think my jog speeds are reasonable. My current values result in motion that is a good deal slower than what I was achieving in the step/response tab during initial tuning. jog speed.png I tried playing with the acceleration and jerk settings but even going from 10000 to 1000000 didn't rem...
by Garage14
Wed Jul 27, 2022 7:00 pm
Forum: Configuration Issues
Topic: Stuck at the start on servo tuning w/ Youtube video.
Replies: 21
Views: 2230

Re: Stuck at the start on servo tuning w/ Youtube video.

OK the tool changer code works now so everything is set up and I am down to final polish before I try to actually make chips. The last issue I have before I try to load some Gcode into Kmotioncnc is the jog function is still pretty rough. I have spent a bunch of time dorking around in the step respo...