Motors working then chatter before and after homing...
-
@Phaedrux said in Motors working then chatter before and after homing...:
Can you also post your homeall, homex, and config.g as they are right now so we're all looking at the same code?
I notice in the video that when you are jogging it around it's with very short small moves. Have you tried longer distance moves yet?
unfortunately at the moment i cant due to the huge mess lol... but months ago i was running it the full distance of 800mm no issues
-
@Phaedrux said in Motors working then chatter before and after homing...:
@wingtip said in Motors working then chatter before and after homing...:
i up'd the current from 1amp (1000mah) to 1.2amp (1200mah) and no change
What is the max rated current for the motors?
Ill have to check as they came from openbuilds.com but from the config file you gave me they are now down to 800 mah and still chatter before and after homing..
-
Re-posting of your homeX.g file
; homex.g ; ; generated by RepRapFirmware Configuration Tool v2.1.1 on Sun Nov 03 2019 09:32:23 GMT-0500 (Eastern Standard Time) ; G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 X-805 F400 ; move quickly to X axis endstop and stop there (first pass) S1 checks for endstop hit G91 G1 H2 X5 F1800 ; go back a few mm G1 H1 X-10 F360 ; move slowly to X axis endstop once more (second pass) H1 checks for endstop hit G92 X0 G90 G1 H2 Z-5 F2000 ; lower Z again G90 ; absolute positioning
-
@fcwilt said in Motors working then chatter before and after homing...:
Comment out the Z axis commands, move Z clear with the jog buttons, and try homing again.
Frederick
-
I'm curious if longer moves would actually work jogging around because the short back off move in homex does seem to work ok as do the short jogging moves. If the motor current is too low there may be some back emf issues on long moves since the motors have to spin fairly fast due to being lead screw based.
Also, unrelated to the current problem, but will become a problem in the future when you try to use Z. The last Z move you have G90 setting it to absolute positioning and then telling it to go Z-5. Which is not what you want. You want to be using relative moves with G91 so that Z-5 lowers the z axis back down by 5mm.
G90
G1 H2 Z-5 F2000 ; lower Z again -
@Phaedrux said in Motors working then chatter before and after homing...:
@wingtip said in Motors working then chatter before and after homing...:
i up'd the current from 1amp (1000mah) to 1.2amp (1200mah) and no change
What is the max rated current for the motors?
checked, they are rated to 1.68 amps
-
Given that the chatter is at the beginning and the end perhaps we are hearing the Z axis?
Frederick
-
@fcwilt said in Motors working then chatter before and after homing...:
@fcwilt said in Motors working then chatter before and after homing...:
Comment out the Z axis commands, move Z clear with the jog buttons, and try homing again.
Frederick
i can comment them out but cant jog it, as stated z motors arent plugged in right now.
-
M92 X400.00 Y80.00 Z400.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
I'm assuming you're using the config.g I posted earlier, these values may not be perfect for your setup.
For the motor currents lets set them to 1400ma which is 80% of the rated max and see if it makes any difference.
M92 X400.00 Are we sure your X axis is 400 steps per mm?
Let's reduce the max speed, jerk, and accel for X as well.
Let's try these
M203 X3000
M201 X300
M566 X300
M906 X1400 -
@Phaedrux said in Motors working then chatter before and after homing...:
M92 X400.00 Y80.00 Z400.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
I'm assuming you're using the config.g I posted earlier, these values may not be perfect for your setup.
For the motor currents lets set them to 1400ma which is 80% of the rated max and see if it makes any difference.
M92 X400.00 Are we sure your X axis is 400 steps per mm?
Let's reduce the max speed, jerk, and accel for X as well.
Let's try these
M203 X3000
M201 X300
M566 X300
M906 X1400Will input these right now.....
-
@wingtip said in Motors working then chatter before and after homing...:
i can comment them out but cant jog it, as stated z motors arent plugged in right now.
Well since the chatter occurs at the beginning of the homing and the end but the homing itself works fine the only difference between you jogging X and the homing file is the Z axis commands and they appear at the beginning and end of the homing file.
Thus my suggestion to see if they are the source.
Frederick
-
Also, just to eliminate the file, you can send the homing commands manually line by line in the console. The important ones being.
G91 ; relative positioning
G1 H1 X-805 F400 ; move quickly to X axis endstop -
Ok... I have some good news and some bad news lol..... The good news is you guys are awesome and have saved me from losing my mind.
The bad news is im a stupid idiot.... The chatter is in fact coming from the one z motor that is connected. I had forgotten that one z motor was plugged into the duet board while the 2nd z motor is plugged into the duex expansion board. I only unplugged the ribbon cable of the expansion board to eliminate everything on it, thus forgetting the one z motor on the main board. and im going to guess that i have a crossed wire from the breakout boards to where it finally connects to the board causing the non moving motor.....
i feel like an idiot... as i said in my first video that was the only thing i had changed lol... so i should be able to bump all the speeds and current to the x motors back to where they were if i want... And now fix the z motors and finish the install of the probe.
-
Makes perfect sense knowing that and watching the homing again.
Glad we could figure it out. And on the plus side, your config is a lot simpler now on RRF3. No more U and V axis and all that non-sense.
-
@fcwilt said in Motors working then chatter before and after homing...:
Given that the chatter is at the beginning and the end perhaps we are hearing the Z axis?
Frederick
-
We all make foolish mistakes from time to time - no big deal.
Glad to hear it was a simple fix.
Frederick
-
Now have the two z motors working (two center wires were crossed) but i have no bed built yet and no endstops plugged in or probe setup so i may as well work on finishing the probe setup ...... Its getting close!!!
-
@wingtip said in Motors working then chatter before and after homing...:
Now have the two z motors working (two center wires were crossed) but i have no bed built yet and no endstops plugged in or probe setup so i may as well work on finishing the probe setup ...... Its getting close!!!
You will probably want to include some sort of bed in your printer design.
Printing in mid-air has proven to be less than satisfactory unless you only wish to print interesting tangles of filament.
Frederick