Welcome! Log In Create A New Profile

Advanced

Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........

Posted by the robobuilder 
so when i connect my printer to pronterface and testing the x,y,z axes by using x,y,z direction keys in pronterface then the motors works fine but but but when i load gcode file and send to printer then the problem starts the motor makes long and short beeping noises and sometimes the motors runs too much fast and suddenly started beeeping.....

so i made another video so pls watch this video till the end and give me any possible solution..

[youtu.be]
VDX
Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........
August 04, 2018 04:24PM
... compare the speeds (or F-values) in your Pronterface settings (to find at "Options"->"Settings"->"Printer Settings" -- X&Y or Z feedrates) and in the G-code files (the value after "F") -- "beeping" motors is stalling for too high stepping frequencies and accelerations ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
So first of all thanks for the reply viktor sir smiling smiley and i am completely new to 3d printing so firstly i started to make my own printer but get stucked on that problem sad smiley

Sir i dont have much knowledge about programming, i have just downloaded marlin 1.1.4 and changes some movement setting and then uploaded it to arduino and also i chnges this movement setting 100times but nothing happen well the motors works fine with x,y,z keys on pronterface and when i uploaded gcodes all things go wrong( watch in th video)

//=============================================================================
//============================== Movement Settings ============================
//=============================================================================
// @section motion

/**
 * Default Settings
 *
 * These settings can be reset by M502
 *
 * Note that if EEPROM is enabled, saved values will override these.
 */

/**
 * With this option each E stepper can have its own factors for the
 * following movement settings. If fewer factors are given than the
 * total number of extruders, the last value applies to the rest.
 */
//#define DISTINCT_E_FACTORS

/**
 * Default Axis Steps Per Unit (steps/mm)
 * Override with M92
 *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
 */
#define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 4000, 94.96 }

/**
 * Default Max Feed Rate (mm/s)
 * Override with M203
 *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
 */
#define DEFAULT_MAX_FEEDRATE          { 200, 200, 10, 25 }

/**
 * Default Max Acceleration (change/s) change = mm/s
 * (Maximum start speed for accelerated moves)
 * Override with M201
 *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
 */
#define DEFAULT_MAX_ACCELERATION      { 100, 100, 5, 100 }

/**
 * Default Acceleration (change/s) change = mm/s
 * Override with M204
 *
 *   M204 P    Acceleration
 *   M204 R    Retract Acceleration
 *   M204 T    Travel Acceleration
 */
#define DEFAULT_ACCELERATION          100    // X, Y, Z and E acceleration for printing moves
#define DEFAULT_RETRACT_ACCELERATION  150    // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION   100    // X, Y, Z acceleration for travel (non printing) moves

/**
 * Default Jerk (mm/s)
 * Override with M205 X Y Z E
 *
 * "Jerk" specifies the minimum speed change that requires acceleration.
 * When changing speed and direction, if the difference is less than the
 * value set here, it may happen instantaneously.
 */
#define DEFAULT_XJERK                 12.0
#define DEFAULT_YJERK                 12.0
#define DEFAULT_ZJERK                  0.4
#define DEFAULT_EJERK                  5.0

i only changes this setting rather all other setting are default and i downloaded saveral gcodes file from thingiverse for testing
and i dont know how to set exact frequecies and speed for gcodes...
and also pls ellaborate that how to set correct frequencies and acceleration as i dont know how to do that???

Edited 1 time(s). Last edit at 08/05/2018 12:13AM by the robobuilder.
Attachments:
open | download - 20180804_205053.jpeg (981.9 KB)
VDX
Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........
August 05, 2018 04:40AM
... if manual moving in Pronterface is OK, then your motor settings are working.

If you look into the G-code files, then the numbers after "F" shows the predefined speeds - e.g. "G0 X20.0 Y10.0 Z0 F2500" will move the head with max. 2,5m per minute (depends on line length and acceleration).

The F-values in your G-code files seems to be way too fast - so either reduce them manually, or slice the original STL-files anew, with correct speed settings for your setup ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
yes sir my manual pronterface setting are working but after loading gcode files all things goes wrong so ..
sir i am not programming or 3d printing expert so thats why below i uploaded the movement setting of my printer and also attached gcode file which i am using.......so by taking my setting and using this gcode file pls tell me how to reduce speed of gcode according to my printer movement setting or tell me anything else that i can do......

gcode file that i am using----->> [www.thingiverse.com]

and here is my movement setting
/**
 * Default Axis Steps Per Unit (steps/mm)
 * Override with M92
 *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
 */
#define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 4000, 94.69 }

/**
 * Default Max Feed Rate (mm/s)
 * Override with M203
 *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
 */
#define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }

/**
 * Default Max Acceleration (change/s) change = mm/s
 * (Maximum start speed for accelerated moves)
 * Override with M201
 *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
 */
#define DEFAULT_MAX_ACCELERATION      { 2000, 2000, 100, 10000 }

/**
 * Default Acceleration (change/s) change = mm/s
 * Override with M204
 *
 *   M204 P    Acceleration
 *   M204 R    Retract Acceleration
 *   M204 T    Travel Acceleration
 */
#define DEFAULT_ACCELERATION          2000    // X, Y, Z and E acceleration for printing moves
#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION   2000    // X, Y, Z acceleration for travel (non printing) moves

/**
 * Default Jerk (mm/s)
 * Override with M205 X Y Z E
 *
 * "Jerk" specifies the minimum speed change that requires acceleration.
 * When changing speed and direction, if the difference is less than the
 * value set here, it may happen instantaneously.
 */
#define DEFAULT_XJERK                 17.0
#define DEFAULT_YJERK                 17.0
#define DEFAULT_ZJERK                  0.4
#define DEFAULT_EJERK                  5.0

and here is x&y travel is that travel speed ok or not?????
// X and Y axis travel speed (mm/m) between probes
#define XY_PROBE_SPEED 8000

sir pls help me......
Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........
August 05, 2018 05:50AM
3d printing 101.


You 'slice' an object from a stl format into gcode format.

the machine only understands gcodes

There are lots of gcodes see [reprap.org]
But the main ones are G0 and G1 Move commands

some examples
G0 X12 ; move to 12mm on the X axis
G0 F1500 ; Set the feedrate to 1500mm/minute
G1 X90.6 Y13.8 E22.4 ; Move to 90.6mm on the X axis and 13.8mm on the Y axis while extruding 22.4mm of material

the second example is the feed rate, this is the requested rate to move the steppers.
If this is faster than the machine can move the steppers buzz

------------------------------------------

No one without your exact machine can help you set the max feedrates

The line in marlin is #define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 } ; (x,y,z,e)
You need to set these values so that no matter what feed rate the gcode requests the machine knows to cap it at the above values

How to determine this, there are a bunch of ways

use proterface
enter commands directly
first set relative positioning mode, send this to the machine
G91
Then move an axis eg
G1 X10 F1800
This move the X axis 5mm

F is in mm/minute while the firmware is in mm/sec

so try this command with various feed rates until you find the value that is to high
Take a little off this number and divide this number by 60 and set it in the firmware for the axis your working on.

when an axis is two far over just change it to
G1 X-10 F{what ever number your working with}
to move it back the other way

Edited 3 time(s). Last edit at 08/05/2018 06:15AM by Dust.
Thanks sir for quick reply

i have done all the thing which you said so for both x and y axes i send similar command and when sending G1 X5 F1700 motors runs or move fast but but when i send G1 X5 F1750 motors started beeeeeeeeping and so i note the feed rate and divide 1700 by 60 which is 28 approx and so i set this below...

these are all values that i have calculated by your method and came to that conclusion

G1 X10 F1700----- above this feedrate X axis motor started beeping
G1 Y10 F1700------above this feedrate Y axis motor started beeping
G1 Z10 F13.2------ above this feedrate Z axis motor started beeping

# max default feedrate (28,  28,  0.22, cold extrusion prevented)   x,y,z,e

after setting this feedrate to marlin and uploading program to arduino and then opening pronterface and clicked on load file and selected gcode file and clicked on print now see.......................

firstly printer started with beeeeeeping and then x&y moving tooooo much fast and sometime started beeeeeping and this thing is continuous "beeeping and moving too much fast all x,y,z axis and only extruder is working fine????

Edited 2 time(s). Last edit at 08/05/2018 07:27AM by the robobuilder.
Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........
August 05, 2018 11:12AM
clear you eeprom as it can over ride these settings
"M502" : Revert to the default "factory settings."
"M500" : Store parameters in non-volatile storage


These values are really slow... are you using threaded rods and leadscrews or something like that?
yes sir i am using 8mm diameter threaded rod ..

Edited 1 time(s). Last edit at 08/05/2018 11:26AM by the robobuilder.
Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........
August 05, 2018 11:23AM
send the printer a
M502

followed by a

M500

eeprom is now the same as your firmware settings
Firstly thankyou verymuch after trying all your setting i got my printer little bit working smiling smiley

after sending M500 this massage appears is that ok???------->> Error:EEPROM disabled


and one thing that i notice is that after setting above feedrates and again uploading the code to arduino then when i again send command to printer like G1 Z10 F999999( or Fanything) motor run constantly
at same speed and stops after 10mm(as z=10mm)

i watched many diy 3d printer youtube videos and in those videos the people doesnot change anything from marlin they just install the firmware and send print file to printer and magically printer started printing how is that possible becoz they changes nothing and i follow those videos but i face too much problem?????????????????

Edited 4 time(s). Last edit at 08/05/2018 11:53AM by the robobuilder.
Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........
August 05, 2018 11:52AM
If eeprom is disabled, its cant interfere

also check your F values with longer moves. Since the machine has acceleration if it hasn't reached max acceleration by the end of the move, the f values might still be a little high
sir how to check F values with longer moves eye rolling smiley???????or is it necessary for machine to reach its max acceleration??

i watched many diy 3d printer youtube videos and in those videos the people doesnot change anything from marlin they just install the firmware and send print file to printer and magically printer started printing how is that possible becoz they changes nothing and i follow those videos but i face too much problem?

Edited 1 time(s). Last edit at 08/05/2018 12:06PM by the robobuilder.
Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........
August 05, 2018 12:31PM
1) the internet lies
2) people use more standised parts (belts and pullies)
3) you can just set the slicer to set the freed rates really slow. this is not the best way to do it as you get extra delays by not maxing out the machines capabilities


for larger moves you just increase the distance
ie G1 Y10 F1700 becores G1 Y50 F1700

You do realize that a m8 based printer is extremely slow? (about 1/60th the speed)
I know this from expereience [dustsreprap.blogspot.com]

Edited 1 time(s). Last edit at 08/05/2018 12:33PM by Dust.
ok thanks sir and i started following your bloggrinning smiley


OK so i tested my printer with gcode and nothing going well sad smiley,, i calibrated feedrates by your method and sets those feedrates(see above) to marlin then i test printer but beeps sound come in time of printing .................so again i send M502 command and then again send gcodes but still beeps come...sad smiley sad smiley

The major thing that i notice is that when i use repetier host to edit gcodes file by editing Feedrates manually but due to long code i edit only upper few of feedrates because there is thousand of lines sooo when i edit some upperline feedrate which match with my feedrate then send edited gcode to printer then everything works fine but only before the feedrates that i edited after that the printer started again long and short beeps and i think that my pronterface or repetier doesn't take feed rates from my firmware it takes from gcode file..........

Edited 2 time(s). Last edit at 08/05/2018 02:51PM by the robobuilder.
Attachments:
open | download - Screenshot (281=2).png (158.3 KB)
pls answer this above question??
Re: Stepper motor beeeeeping problem with marlin firmware pls help me.........
August 07, 2018 09:59AM
I dont understand why this isnt working...
Are you actually uploading new firmware or just compiling?

regardless...

you can also just manually add in a new first line of the gcode
M203 X28 Y28 Z0.2
then check there are no other M203 lines.

This does the same thing
the rest of the Feed rates are truncated down to these values inside the controler

Edited 1 time(s). Last edit at 08/07/2018 10:03AM by Dust.
yes i am uploading new firmware...
can you share your reprap working firmware...
I also don't know why my printer accepting gcode feedrates but not my firmware max feedratessad smiley


And i followed this video to make my printer but got stucked on just beeeepshot smiley

[www.youtube.com]

watch all steps of video parts and tell me what he is doing wrong or anything,,,,,

Edited 1 time(s). Last edit at 08/08/2018 03:18AM by the robobuilder.
Sorry, only registered users may post in this forum.

Click here to login