Forum Replies Created
-
AuthorPosts
-
cmcgrath5035Moderator
Thanks for clarification.
Interesting, I don’t recall this behavior on G1 moves last I ran my machine (ShapeOkO2) a couple weeks back.
Can you report what Hardware version of tinyG you have, what FW build is loaded, and what tgFX (I assume that is what you meant by ‘console’) build you are running.
For example, my tinyG V7 is currently loaded with FW build 412.01, and I am running tgFX build 3256, found here:
cmcgrath5035ModeratorThis sounds like it will be an Alden item (he is traveling) but a couple questions to help him diagnose:
You said:”….The actual speed limit for that axis is above 800 mm/min”,
Do you mean that the physical machine can do this, or there is some other setting that says 800 mm/min is OK?Does your Z axis seem to be following your 20 mm/min setting when you use a G1 move, e.g. G1Z50 ?
I’ll assume you have an F xxx (xxx> 20) set already.cmcgrath5035ModeratorFYI, should you for some reason want to try 380.08 again, try tgFX build 3009, that combination worked OK for me before I moved to tinyG 412.01 and tgFX 3256. You can find build 3009 here
My GCode simulator took a while to import your files, but I was able to quickly see a lot of similarity to Flux’s test cases – significant areas of sequential very short segments (both XY and ARC).
My best guess is that you will benefit from tinyG build 426.02 when Alden makes it available.
Flux had better luck on some of his test cases with 380.08, but not all.Also, have you tweaked your stepper currents with tinyG? Since all this worked with GRBL, we know the rest of the machine is good.
When I first ran Flux’s test code, I found I was running at too low a drive current for the degree of motion he had. That led to extra “drift” in early runs.Also, files this long with the degree of detailed motion translates to heat – do you have a good fan blowing on tinyG (or equivalent thermal control)?
- This reply was modified 10 years, 8 months ago by cmcgrath5035.
cmcgrath5035Moderatordataway – You did not say what version of tgFX you have loaded.
If I assume you loaded tgFX build 3256 to run with FW 412.01, your first post, then I am not surprised that things did not work when you installed FW 380.08 into tinyG. tgFX build 3256 requires FW 412.01 (or later) and will attempt to download and install 412.01 it. And, by the way, earlier versions of tgFX (<build 3256) don’t work well with 412.01.
Drift issue- The drift issue highlighted by Flux’s test cases resulted from multiple extremely short segments repeatedly changing direction. Alden has been working the issue and appears to have a code tweak in a Dev build for tinyG, 426.02. I have not seen that build posted yet, most likely still being more thoroughly tested.
When you say “large circle”, how large?
Does Vetric Aspire generate GCode with arcs, or just continuous X,Y short segments?It is also unclear if you ran your ShapeOko 2 with GRBL, with good results, before migrating to tinyG.
If you can, place a copy of your GCode in a Dropbox (or similar ) and post a link to it here. Additionally, a listing of your tinyG config parameters in a similarly linked file may be helpful.
cmcgrath5035Moderatornosredna
Here are two pics of what I did with my V7
The V8 board looks to be more busy in the area I used for connection.
And, as I said, this is non-sanctioned abuse of the tinyG PWB; but the results work very well for me.
- This reply was modified 10 years, 8 months ago by cmcgrath5035.
cmcgrath5035ModeratorI believe you want dev branch, where at the moment (could change any time) the version.properties file shows `BUILD=3,256
DATE=2014/04/20 15\:05`You might also be able to do a similar hack to what I describe in this thread
As I said, I don’t run OSx but assume the setup is similar to Linux.
I have found that all you really need is the tgfx.jar file, which itself is an archive.
When a new windows release is posted, I unzip it and copy the tgfx.jar into my established Linux folder structure and run it from there.
That might be easier than setting up the netbeans environment.cmcgrath5035ModeratorDisclaimer – I am Linux centric, Windows when I have to, so you will have to translate to OSx.
Perhaps most important, look here
You may have to run from netbeans, Riley having issues getting the OSx binary to build. The Wiki has procedure for setting up the OSx Netbeans environment.
This thread has links to the tgFX build 3256 that runs with 412.01 (I believe you have a typo in your post).
The 412.xx and future tinyG builds are not well compatible with tgFX build 3009 and earlier.
I am still digesting the rest of your post,but moving to this newest experimental tgFX build will likely work much better for you.
Give it a go and revise your issues list as necessary.Some of us have experienced your described situation where the X-Y-Z position display stops working. For now, fix seems to be exit and restart tgFX.
cmcgrath5035ModeratorI have a v7 which has, I believe, a bit more open area near the driver devices.
I fabricated an interface from 3/8″sq AL stock, with necessary reliefs to avoid non-ground paths and drilled 4 M5 or M8 holes thru the ground PWB area to fasten the board, thru the interface, to a rather large surplus AMD CPU sink.
I have found no need for fans so far, but seldom run jobs longer than 20 mins.
The heat sink gets a little warm, the driver devices with attached dipsinks get to perhaps 105-110F, not bad at all.Of course none of this is really sanctioned abuse of the tinyG board, but works for me; YRMV.
I can send some pics end of next week, traveling at the moment.
cmcgrath5035ModeratorWhat Hardware Version of tinyG do you have?
V8 is the current shipping version.- This reply was modified 10 years, 9 months ago by cmcgrath5035.
cmcgrath5035Moderatorflux – I got the impression that your original short test.gcode was a path extracted from test.7.gcode.
That short path had some very short segments in it, if you want to focus on that path for the evaluation of ‘epsilon’ impact.
In fact, looking at test.7.gcode in my simulator, there seemed to be a lot of discontinuties and “sharp” corners, obviously smoothed out somewhat by the gcode generation process.cmcgrath5035Moderatorflux – Thanks, you helped me better understand my problem 🙂
The fact that these small offsets are accumulating with your test cases is clearly (to me) higher priority for Alden than my one-off error, but I am guessing the mechanism is same or closely related.
April 28, 2014 at 12:32 pm in reply to: Tests with Updated tinyG and tgFX versions – Linux Environment #5853cmcgrath5035ModeratorUsing lessons learned from thread started by member flux, focused on apparent drift in X0,Y0, found here
I went back to my 2D CAD design tool and can recreate what is happening here.
For this, I set the design grid in the CAD system to be the same size as a microstep on my ShapeOko, 0.0228mm.
I drew three parallel lines, separated by 0.1″ (2.54mm), my original design.
I copied the three lines and pasted. I then offset the center line by One microstep in X and Y .
On the bottom, you see what CAD draws with 0.7mm stroke.
On top, same lines, stroke now 2.0mm.
CAD file is here if interestedVery similar to my ShapeOko results above.
This might be a tinyG bug, or it might be an inevitable rounding error.
- This reply was modified 10 years, 9 months ago by cmcgrath5035.
cmcgrath5035Moderatorflux – very interesting tests and results with segments.gcode and segments-100.gcode. After staring at both, and contemplating how this might relate to $ml and $ma implied precision limits, I started thinking about the problem in digitization space.
My understanding is that, in two dimensions, our machines define an X-Y grid of points separated by travel-per-microstep, the smallest discrete move one can command of the steppers.
For my NEMA 17 machine, that is 36.54/(200*8) = 0.0228mm, for your NEMA 23 machine it is 0.0281mm
So there is always some quantization error in each move, which may accumulate or average out, depending on the internal logic of tinyG.
Add to this “tinyG magic”, attempting to fit a third order polynomial to continuous x-y paths to enhance the movement process.I’ll play a bit with your zig-zags.
cmcgrath5035Moderatorflux
Take a look at this Configuration ReferenceSpecifically, at the end of the document is a section called “Hidden Parameters”.
$ML- Minimum Line Segment
Don’t change this unless you are seriously tweaking TinyG for your application. It can cause many things to break. This value does not appear in system group listings ($sys)
$ml=0.08 – Do not change this value
$MA – Minimum Arc Segment
Don’t change this unless you are seriously tweaking TinyG for your application. It can cause many things to break. This value does not appear in system group listings ($sys)
$ma=0.10 – Do not change this value
What these mean is subject to interpretation, but my assumption on first read a while ago was that linear moves less than 0.08mm ( or arcs with lengths specified less than 0.1mm) would likely fail or cause issues such as your drift.
When I opened your test.7.gcode file, I saw all line segments, no arcs, and numerous line segments <<0.08mm.I am suspicious that these extremely short segments are at the root of your drift issue.
Interestingly, I cannot get a proper output from my CAM simulator with the test case you just posted, circles.gcode. I may get some time later in the week to try running it on tinyG.
Also, could you clarify what you mean by
I ran it with actual PCB (twice, with identical results), but you could just run it in the air. It takes about 20 minutes to run on my settings.
Are you saying that you actually cut PCB copper, twice, with circles.gcode and the results appear to be A.; cut without drift, yet the final X0 position is offset by -19mm or that the two runs are B.;the same, showing accumulated drift error as the cuts are made? I am assuming your answer is B.
I suspect you chose to draw r=1.0mm circles in circles.gcode since many of the PCB pad features in test.7.gcode appear to be r=1.0mm circles or half circles. But what appears to be a secondary cut path in test.7.gcode, perhaps for additional clearance, has many r=0.5mm circles and arcs; those are the ones yielding line segments as small as 0.012 (quick look), <<< $ml=0.08.
Alden will likely be the key commentator here, I believe he is traveling this week so we may not hear from him for a few days.
- This reply was modified 10 years, 9 months ago by cmcgrath5035.
cmcgrath5035Moderatorkcg – Note that another member is chasing what sounds to be similar issue starting with this post in a tgFX thread
As I said there, I don’t use limit switches so have no hands-on experience, but one question that came to my mind on that thread – are you sure that the limit switches are properly wired to tinyG, specifically that the X+ switch is the one hit when X exceeds limit in + direction?
You might have to check that with a voltmeter, or perhaps there is a tinyG query you can run, I’m not sure yet myself.
- This reply was modified 10 years, 9 months ago by cmcgrath5035.
-
AuthorPosts