Forum Replies Created
-
AuthorPosts
-
aldenMember
I equipped the Shapeoko with a ghetto DRO:
I am not able to reproduce the issue. Z starts at zero, goes to 2.00 on the first lift, then drops over he Y move. Goes up and down a little during the plunge, then returns to 2.00 at the end. (In reality the signs are reversed due to the caliper setup, and the DRO is not accurate to 0.01 mm, but it’s code and it’s repeatable).
I am beginning to suspect a flash or eeprom problem. Particularly as you can change a value that has nothing to do with the Gcode being received ($ct) and it changes the behavior. A couple of things to try:
– Can you re-flash the board with the latest edge build – build 412.02 and try again?
– Also, if you can post the entire Gcode file somewhere I’ll run it maybe I’ll see the issue in some other part of the file.
aldenMemberWhen you say Z moves to a different offset is it actually observable as an offset – any of G92, G54 – G59, or is it an “apparent” offset (nonsense word. I just made it up). If I have this correct the observed behavior is that Z just raises up 2.5mm. Can you tell me where in the file this is? I have added line numbers to the 2 files and provided dropbox links here:
https://www.dropbox.com/s/bxyqrah3lqc872m/sparkcrafter_Z_test_1_NUMBERED.gcode
https://www.dropbox.com/s/uoct9sh7dhkwfhk/sparkcrafter_Z_test_2_NUMBERED.gcodeYou can ignore the semicolons in the first file – these are commented out lines. Semi is widely used in the 3DP community for comment lines, so TinyG supports it.
Also, by looking at your settings should I assume the following:
– You have modded the Z axis from the stock 1.25mm threaded rod?
– Your X/Y wheels are different than mine (I use 36.54 travel per rev for X and Y)Lastly, your X jerk is extremely low. Can you try running the snippet with X set higher, perhaps 100 or 500 and see if you get the same results? I have a theory.
- This reply was modified 10 years, 8 months ago by alden.
aldenMemberI’m taking a look at this as well. I’ve opened an issue on the github to track this: https://github.com/synthetos/TinyG/issues/76
Q: When you say “the gcode was failing” what were the symptoms?
Q: I’m also very suspicious of the root cause as you are not using arcs in the Gcode snippet yet $ct causes a change in behavior. CT is only used in arc generation. It sounds like there might be some problem in the flash or config integrity. Are there any other symptoms you have found?
aldenMemberThis page gas ben updated for v8
https://github.com/synthetos/TinyG/wiki/TinyG-Hardware-InformationaldenMemberI think you should run the edge branch – build 412.02. We do not expect any bug fixes – but that doesn’t mean there won’t be any! Please let us know how it goes. If you have problems then drop back to Master – build 380.08
aldenMemberI have been meaning to push but other things have been getting in the way. Thanks for your patience. Soon, I hope.
aldenMemberThis one deserves to be an Issue as I think there’s a lot of discussion to be had here. I started an issue here:
aldenMemberGcode is modal – the gcode interpreter must have been in a G2 or G3 arc command before entering the z5’s. The arc specification error is Gcode telling you that the command is not a full specified arc. When you entered the G0 Z0 command you changed to traverse mode. Was X5 Y11.336 a target of the previous arc?
aldenMemberI don’t expect this would work. The better way to get more axes would be to use some external drivers wired over to the A and B stepper signals from the Due.
We need to put the Due pinout on the wiki. Right now the only way to fin this is to look at the g2/TinyG2/platform/atmel_sam/board/due/motate_pin_assignments.h and gShield-pinout.h files in the synthetos/g2 project
aldenMemberSorry for the late response.
I think Kinen can get you there, but you may need some sort of coordinator for the other items. One main aspect to consider is what is the biggest coordinated domain you need? Is 5 axes enough? Do you need more that that in tight coordination? The other aspect is how many independent motion domains do you need? – i.e. motors or motor groups that do not need to be in lock-step. For example, can manage uncertainty / latency of 10’s of milliseconds.
(This was the problem with our early experiments with PocketNC – we put 2 TinyG’s together to make 6 controlled axes, but the lag between the XYZ controller and the ABC controller was too great, and the tool head ultimately did not track well. But if XYZ motion were independent of ABC motion it would have worked OK).
Right now the v9 in development can handle 5 axes – 6 with extension of coordinated motion. The other “onesy-twosy” axes can be handled with independent motion sub-systems. Then you are left with the issue of integrating these.
Kinen is based on the JSON work we have done, and we are working towards control of multiple motion / sensor domains by routing JSON objects based on inspection of the parent tag (if this makes any sense). See here:
https://github.com/Kinen/Kinen/wiki/Kinen-RESTful-Hardware-Conventions#wiki-advanced-conventionsThis way you can integrate larger systems consisting of independent sub-systems. It makes Kinen scalable to a reasonably large system consisting of loosely coupled motion / sensor domains.
If you are interested in moving this forward we should talk further. Otherwise, just watch this space. (No promises on timing!)
aldenMemberWe have implemented straight probe (G38.2), which might be able to solve this problem. It’s currently in test in edge. Take a look and see what you think. It’s not documented yet, so you really have to read the code (cycle_probe.c) and play with it. Sorry about that.
aldenMemberI don’t think that motor will work. It’s not the step angle that’s the problem, it’s the 5 leads. The stepper drivers on tinyG (and almost all stepper drivers, actually) are bipolar devices consisting of 2 independent drive circuits. These work with 4 wire, 6 wire and 8 wire motors. Odd numbers implies common grounds between the phases, which require special drivers.
I think I may have been interested in that motor as well. I saw it on MPJA. Until I saw the 5 lead config and moved on.
aldenMemberVery cool project. To your request:
The Gcodes that are not implemented in TinyG are largely those that people use when hand generating Gcode. With the exception of tool length offset (which we plan to implement) the others are not used widely with machine generated Gcode, or the CAM can be instructed not to use these codes. We recognize that it would be nice to support hand generated Gcode, but other priorities have our attention at this time.
aldenMemberThat build number of TinyG are you running and what version of tgfx?
aldenMemberThere’s a new download page with master and edge here:
We’ve opened a bug on your limit switch misbehaving in edge. I won’t be able to test this for a few days as I’m traveling.
-
AuthorPosts