Forum Replies Created
-
AuthorPosts
-
cmcgrath5035Moderator
I can’t offer any suggestions, don’t use limit switches yet.
Many do, someone will stop by and comment, I’m sure.
In the meantime, have you read thru the wiki info?cmcgrath5035ModeratorHmmm, the only thing I see on quick look is that Flow control,$ex, is set to off. Probably OK for line by line cli entry, probably not for sending Gcode files such as hello world.
Set $ex=2 (for RTS/CTS) and set Coolterm as well.Can you dump all the tinyG parameters with a $$ command and put the results in a text file, post a link to it (dropbox or similar)?
Direct posting to the forum is hard to read. Result should look like this
Your configuration is this (?)
Motor 1 – X axis
Motor 2 – Y axis
Motor 3 – Y axis reverse
Motor 4 – Z axis- This reply was modified 10 years, 7 months ago by cmcgrath5035.
cmcgrath5035ModeratorTed
Needless to say, something sounds seriously wrong. There are still bugs being worked in tinyG, but basic moves as you describe should be executed OK for sure.It is unclear how you are now configured. You WERE using an Arduino to directly drive your Polulu drivers, or via a G shield?
And you are NOW driving your motors directly from tinyG, or are you interfacing tinyG to Polulu stepper drivers to drive your motors?
I don’t have direct experience with this setup, but wonder if you are aware that tinyG has 3.3V logic swings that may not be compatible with the Polulu drivers. There is a good wiki item on the topic of driving external stepper drivers from tinyG.You reference pots at 10 o’clock a lot, which seems to imply you are driving motors directly from TinyG (unless Polulu have pots too). If that is the case, sort of have to ask-are you sure the motors are wired correctly?
I run NEMA 17s, and never changed pots from 12 o’clock until I ran into some very speed aggressive GCode. I’d suggest perhaps 1 o’clock as a good starting point for NEMA 23s.
Run fast, but don’t run slow is sort a a new one on me; high speed is the usual trouble maker.If this part of the setup is good, then we’ll need some other info to help out:
tinyG hardware (V7, V8, etc) and FW build loaded
How do you interface to tinyG? (Win, MacOS, Linux)?
All three work, but troubleshooting tools are different on each platform.
How do you run GCode? (tgFX, Coolterm, putty, etc)
If tgFX, what build are you running?cmcgrath5035ModeratorFor those considering a move to EDGE build 435.x, you will find build 435.06 on the download page at
On Saturday, Alden posted a couple DEV builds to address issues found in early testing. The most recent, still undergoing regression testing, is here
If you want to try 435.x, review the tail of the thread referenced above and make your own choice as to what build to try.
cmcgrath5035ModeratorAlden;
My interpretation is that Post 6255 above, the rather lazy tinyG generated arc moves that result in clunking, were of equal/greater concern to chmr.chmr: can you confirm that the clunking was on both the Z move AND the arc moves, or just a subset?
In my ‘clucking’ experience with build 429.04, the clunk was bad but worse it represented a guaranteed missed/failed move, and therefor immediate offset/drift.
Of course the root cause there may be that the F100 command resulted in a bogus feed rate, ??
cmcgrath5035ModeratorHmmm, I am having trouble getting a link to stick here; I’ll try again.
cmcgrath5035ModeratorOK, understand your logic now.
Might I suggest you try the following simple tests as well
Test 1
(machine freshly reset and at 0/0/0)
G0
G0 X0.8 (X motor…)
G0 X1 (X motor …)
G0 X0 (X motor …).Test 2
(machine freshly reset and at 0/0/0)
G0
G0 X0.8 (…)
G1 Z-1 F100 (Z axis …)
(X is now …)I have frequently found, when commanding from the tgFX command line, that a freshly reset tinyG does not respond to the very first G0 … command.
It is as if it is in a state where it is not listening, and the first G0 wakes it up.
Or, perhaps, it is expecting a JSON command and the G0 sent to it switches it to listen for text, but the first command gets lost (a guess on my part).See any difference?
- This reply was modified 10 years, 7 months ago by cmcgrath5035.
cmcgrath5035Moderatorchmr
Thanks for info; I am on holiday without my Shapeoko, so am waiting for info from early testers such as yourself.I am curious; my read of your first post(#6252) is that you considered NO motor movement after the G0 X0.8 was “OK”, or expected. Why?
One microstep on my shapeoko is 0.0228mm; I would expect the motor to move.cmcgrath5035ModeratorIn the last paragraph of this wiki item you will find an equation that probably answers your “how fast can it be” question:
cmcgrath5035ModeratorI don’t have any experience with what you are trying to achieve, but have the following observations:
+ Review Stepper Motors Fundamentals, such as this++Seems like you may need more Power Supply Voltage, not just Amps, to achieve high speed torque you need
++Watch out for motor heating/power dissipation+Jerk – 1 billion is not a huge value, try 5 billion or 10 billion to see if that helps at all. If not, you must need more torque; 1100 RPM = 8800mm/minute is not a super high speed
+Microstepping provides an (up to) 8x improvement in precision, which you probably want. Not clear why microstepping should affect travel velocity.
Good luck
cmcgrath5035ModeratorMy first thought when reading you question, assuming X and Y axis parameters are identical and set accurately, was belt tension. My second thought was “is the home position too close to a rail, such that the the motors are holding the home position under some sort of stress” ?
Is the first move still “short” if you follow this procedure:
1. jog to somewhere in the middle of the X-Y work area.
2. Set that as zero point (if using tgFX)
3. Reset tinyG (manual reset button). That will set tinyG to zero at that point and will release the holding tension on the motors so that the belt tensions should equalize and be fully relaxed when the hold current is reapplied at the end of boot.
4. Zero set you measurement system (micrometer)
5. enter Gcode F200 to set a relatively slow “non-aggressive” work velocity.
6. enter Gcode G1 X1.0 to move 1mm at F200If 1-5 works, maybe try it at higher speed and/or at different zero points around your workspace
Other thoughts
-Worn belts? I have worn my belts near the ends somewhat by ramming the machine to a rail and spinning the pully. If Home is always in the same area, I think you can expect faster wear in that zone.-Motor pully really tight on shaft?
– Tension on X carriage due to, for example, motor cabling/cabling track?
Good luck
cmcgrath5035ModeratorI see you managed to get the $st=1 set.
Nothing jumps out on your configs with quick review.
Easier to analyze in a text file (dropbox, etc).
The forum tool removes spaces, making it harder to visualize.If you do revert to 380.08, you’ll need tgFX < build 3256 (or Coolterm)
cmcgrath5035ModeratorAh so, we were typing at same time.
Riley aware of the intermittent jogging (arrow key) bug and working it now.
Read your parameters and comments fields carefully – some(not all) of the huge numbers have new parameter scaling; e.g. what used to be 1000000 is now 1, but both are 1 million.
Funny thing is, it worked fine right after I flashed it, I was able to move around with no problems. Then when I went to actually do some work, it stopped
I believe one aspect of the bug Riley is chasing is that tinyG and tgFX are “in-sync” mode wise at boot, but get out of sync
cmcgrath5035ModeratorTry tgFX build 3256 if problems persist; there are known bugs in 3259.
But Coolterm should be able to set $st. Until it can do that, it would seem that your inverted sense of switches (NO vs NC) “should” trigger a limit switch action, as far as the FW is concerned.
You could try to run with limit switches disabled, but not being able to set a proper $st=1 indicates a fundamental communications issue.
Try issuing a json command from Coolterm, does that work?
I believe, on boot, tinyG is in json mode and tries to switch.cmcgrath5035ModeratorGreetings.
When seeking help, it is always helpful to provide some info:
– TinyG hardware version ( you said brand new, so probably V8)
– TinyG FW version and build – (likely 412.01, maybe 429.01)
– How are you communicating with tinyG? (tgFX, Coolterm, putty, …)
– If tgFX, what version and build installed?
– What OS you running? (OSX,Linux, Win)A couple items stand out that might head you in the right direction.
1. Most of the pre-built (or default) tinyG configurations at the moment are for 200 step per revolution motors, which yield 360/200=1.8 degrees per step.
I don’t think driving a 400 step per rev motor with 200 step settings will damage it, but it may not work properly and for sure won’t move accurately.
It sound to me that the motors may have been moving during the speed ramp up and ramp down phases, but not when constant velocity called for.2. Depending on tinyG FW version, you will find settings for X,Y and Z travel, min and max. Defaults might be something like $xtn=0, $xtm=180 (for a ShapeOko1 machine, in mm). TinyG may not traverse outside those limits, and you may see messages like “outside range” if using tgFX.
Suggestion: Read thru the tinyG configuration Wiki pages a few times, get the basic configs set and rerun your experiment.
And, when you finally have a real machine built, play in short steps, such as G0 X10.
A G0 X1000 will almost always send your machine into a side rail at blazing speed and bang on it (or worse) for a while. Limit switches might help,if you have them, but their setup needs to be done correctly and verified as well. -
AuthorPosts