Forum Replies Created
-
AuthorPosts
-
aldenMember
Here’s a link to an experimental hex file
https://www.dropbox.com/s/tvz765z7b58kbs6/tinyg_421.06_dev.hexThe default settings are mostly sparkcrafter settings, with the exception of the Z axis (motor 4) pitch which I set for my shapeoko.
It also has fixes for the repeated tn element in the {c:n} readout, and the double axis report, so [zzvm] should go back to [zvm]
It’s not been tested with tgfx, so I do not expect it will work with it (it might). Please realize that this is experimental and don’t beat me up too badly if it doesn’t work!
aldenMemberI’ll put up a dropbox link tonight. Be aware, this is not tested with tgfx yet and may not work. But it should work with coolterm or other low-level comm options.
aldenMemberThanks for your patience and perseverance. Yes, the issue is related to speed. We have been working on this issue for a few weeks and made substantial progress over the weekend. I am hoping that we found and fixed the root cause.
For now the revised code is in the dev branch as build 421.01. Once we validate that it works with tgfx we will push to edge. Hopefully that will be some time this week.
At that point we can see how this works across a number of setups.
March 31, 2014 at 9:27 am in reply to: Tests with Updated tinyG and tgFX versions – Linux Environment #5718aldenMemberWe also need to get this to Sparkcrafter and see if this addresses his Z axis issue.
March 31, 2014 at 8:37 am in reply to: Tests with Updated tinyG and tgFX versions – Linux Environment #5714aldenMemberCarl – to your observations
1. SR Skew. Yes. This is expected. What you should see, however, is the final status reports at a STOP should line up exactly as these report final conditions.
2. The “stuff” at the start is a collection of things. There are one or 2 header lines reporting the system revision. If a new settings file is present (after a load) it’s 2 lines, in most other cases it’s one. They you may see an initial status report with a bunch of values. Since it’s the first one every value is reported as the filtering starts once a value is reported.
3/4. That is expected, higher jerk ramps velocity more aggressively, resulting in overall faster job execution for runs 1 and 2
As for diagonal skew – we did a bunch of stuff over the weekend (and over the last few weeks) to chase down some inaccuracies we were seeing. In high probability these will take care of what you are seeing. Experimental code is out on the dev branch with these changes. We will be validating operation with tgfx this week and will push to edge as soon as we are comfortable with it.
You are welcome to grab the dev branch, of course, but if you use dev you are on your own, pretty much. You will need to clone the project, set up Atmel Studio 4 or 6, compile and test. Project setup should all be documented on the wiki. The changes in dev are too frequent to post hexes – and frankly, not all dev builds work or are even intended to work.
I will comment on your next post when I see it.
- This reply was modified 10 years, 7 months ago by alden.
March 31, 2014 at 7:20 am in reply to: Tests with Updated tinyG and tgFX versions – Linux Environment #5712aldenMemberSounds like a very useful tool. Perhaps you could open a page on the TinyG wiki for the requirements. That would be useful for discussion and ultimately serve as documentation. Let me know if you can’t edit for any reason.
March 30, 2014 at 9:48 am in reply to: Tests with Updated tinyG and tgFX versions – Linux Environment #5709aldenMemberI’m running $JA at 2,000,000 for Shapeoko, but it might be high. I’d try dropping back to 200,000 and see if you get different results.
We’ve been funding a number of cases lately where users are having problems that appear to be communications or firmware that turn out to be settings related. They just go away once the settings are dialed back. I wish there were a silver bullet for this, but I’m afraid there is not. And there are a lot of parameters. Here are some things we are trying.
– Some parameters push TinyG into operating limits that are on the edge of the processor to handle. For these we are attempting to chase down root causes and putting in “traps” to report if these conditions are hit. These will report out as exception reports (ERs). In some cases we can also optimize the code so it has a bit more headroom, but that never actually gets rid of the case, just moves it.
– We are contemplating more input validation for those cases that can be detected on the front end. For example, we really should have limits or warnings on extremely high jerk values. Axis feed rate limits (xFRs) should not be higher than velocity max for that axis. For example.
If you can think of other things we can do to help users and setup I’d be interested. We appreciate your hard work and contribution.
- This reply was modified 10 years, 7 months ago by alden.
March 30, 2014 at 6:30 am in reply to: Tests with Updated tinyG and tgFX versions – Linux Environment #5707aldenMemberWow. Great writeup. Thanks for the attention to detail. This will take a bit to digest, but a few quick comments.
– For reboot (reset) have you tried sending a control x? (^X)? That’s the software way to reset the board. The $boot command is intended as a way to enter the boot loader for reflashing, not as a way to reset the board.
– What do you think fixed the calibration pattern? Do you attribute this to communications, tinyg Gcode handling, other? I’m curious how this got “fixed” and would like to establish root cause if possible.
aldenMemberThanks. I’ll work with this info.
aldenMember@sparkcrafter – I’ll pick up the testing. I want to be sure to get to a point where I can reproduce the problem on my setup.
– Do I understand correctly that the snippet with the dwell works, but fails sporadically when you remove the dwell?
– Another question – When you see the Z axis issue what does the status report show at the end of the run (type ‘?’). Does the Z axis position reflect the erroneous 2.5mm, or is this movement not reflected in the Z axis position? In other words, does the system think it actually moved those 2.5mm, or does it not know that it did? Do you have a physical DRO on your machine’s Z axis? If so, what does it say about Z’s final position?
– If the issue could possibly be noise related it might make sense to run with the spindle off (dry run), and to set the limits off and the homing switches to homing only (not limits and homing). But this seems like a reach as the problem is so repeatable at the same spot in the code. ALso, I’m not sure how you would see the effect if you were not cutting.
Thanks
aldenMemberUpdate: I plan to push a build later today in a separate branch called Issue76. This build is derived from the current dev branch and has a number of small fixes have been incorporated since 412.01. The build number will be something upwards of 420.02. I will put the hex on the download page or perhaps make it available by a dropbox link. This will give us a good baseline to work from.
@sparkcrafter – Would you be so kind as to test your snippet with this new branch when it becomes available? My expectation is that the same behaviors you are seeing now will still exist.
@grim – This may or may not work with tgfx as it has not been integrated and tested. So no expectations on that front.Thanks
aldenMember@grim – Yes, please post the Gcode, your settings and the build number. Did I read correctly that the problem went away once you dropped your Z velocity and jerk values? Can you please post the newer values as well?
What is the mechanical HW for the Z? I don;t remember what machine you are running. .. Thanks in advance for the info.
aldenMember@sparkcrafter – I would like to see if I can reproduce this. SOme questions.
– Were you using the settings you provided in JSON in the March 23, 3:00 AM post? If not, can you please post the settings you were using.
– Can I confirm that you are on 412.01?
There are adjustments that can be made in firmware to set the size of the planner buffer. See PLANNER_BUFFER_POOL_SIZE and PLANNER_BUFFER_HEADROOM in planner.h.
I will try to reproduce this some time today.
aldenMemberThanks for the update. Some questions and answers.
– Have you tried running the reliefs under coolterm? I believe you said you had – and had the same results – but I wanted to be sure. This may help isolate to cause. The setup I used was Coolterm on OSX. I will have to check the version of coolterm and should probably re-run with the latest just to be sure. Settings 115,200, XON/.XOFF flow control. I was capturing a file while sending the RABBIT file.
– Is the problem repeatable when running the entire RABBIT file, and if so do you know the line number (even approximate)? I used the first set of settings you posted, and should try again on the second set. I’m game for a new set if that reveals the problem. Here’s a link to a version of rabbit with line numbers.
https://www.dropbox.com/s/osd97sa5b33c7eh/RABBIT%20test%204%20FINISH%20ONLY_NUMBERED.gcode– I will try running the obstacle course, which appears to be a longer file.
– The “x 1 million” should not have affected you. We had requests to make the jerk numbers more manageable – it was too easy to get the number of zeros incorrect. In order to remain backwards compatible with old configs the system will still take a jerk value of over 1 million as the literal value, but if it sees a value of less than 1 million it assumes it needs to be multiplied by 1 million. I wonder what happened in your case and if there’s a bug somewhere about that.
– Yes, $MS was removed. You can really mess up the system by playing with the time budget. This was changed to a compile-time variable. It also allowed for some more efficient code as the value became a constant.
aldenMemberI ran the entire rabbit and the Z was off by 0.22 mm. You were seeing a sudden jump of 2.5mm?
I also think some of the 0.22 might have been due to the lousy way I connected the “DRO” to the machine (silver tape). I am going to try to fashion a better anchor and see if I can get that number down – or confirm that it’s a legitimate error. I was using the settings you provided from the earlier post, not the JSON settings. I may try them as well. More later.
-
AuthorPosts