Dumb question about configuration April 29, 2016 02:38PM |
Registered: 8 years ago Posts: 622 |
Re: Dumb question about configuration April 29, 2016 03:16PM |
Registered: 10 years ago Posts: 14,672 |
Re: Dumb question about configuration April 29, 2016 04:05PM |
Registered: 13 years ago Posts: 268 |
Re: Dumb question about configuration April 29, 2016 04:43PM |
Registered: 8 years ago Posts: 475 |
Re: Dumb question about configuration April 30, 2016 03:31AM |
Registered: 8 years ago Posts: 622 |
Quote
Koko76
All of the settings for your duet are in config.g in the form of various g codes. Have a look at the file and then compare what you see there to the wiki page on g code commands here. You can figure out what each code does and learn a lot. Of course Dave is correct with m92, but you may want to look into what some other stuff is as well, might discover something useful you didn't even know exists for your new machine.
Re: Dumb question about configuration April 30, 2016 05:08AM |
Registered: 10 years ago Posts: 14,672 |
Re: Dumb question about configuration April 30, 2016 05:11AM |
Registered: 8 years ago Posts: 443 |
Quote
deckingman
My guess is that RepRapPro didn't want anyone playing around with these so they are hard coded somewhere??
Re: Dumb question about configuration April 30, 2016 07:10AM |
Registered: 8 years ago Posts: 622 |
Quote
bgkdavis
Quote
deckingman
My guess is that RepRapPro didn't want anyone playing around with these so they are hard coded somewhere??
RRP had no interest in such protection, and did nothing but encourage people to play around with the settings.
Just looked in the config.g for my Mendel 3 and your correct whilst there is a M92 in there for setting the extruder steps per MM, but none for the XYZ axes, which leads me to conclude that there is probably a default value in the firmware, and the Mendel 3 axes configuration matches that default value.... since the Mendel 3 axes configuration is one of the most common configuration there is for a reprap this would make sense.
The M92 just serves to overwrite the default values, you can test this theory yourself by adding a M92 to change the steps per mm value and see if it makes a difference
Re: Dumb question about configuration April 30, 2016 07:14AM |
Registered: 8 years ago Posts: 622 |
Quote
dc42
RepRapPro wrote the original version of RepRapFirmware, so the default steps/mm is correct for the MXL belts and pulleys that their kits used
Re: Dumb question about configuration April 30, 2016 07:19AM |
Registered: 10 years ago Posts: 14,672 |
Quote
deckingman
Quote
dc42
RepRapPro wrote the original version of RepRapFirmware, so the default steps/mm is correct for the MXL belts and pulleys that their kits used
Ah, now it makes sense - wish I'd read this before I posted the last comment. So, is there any way of finding out what the default values are, as it seems pointless adding gcode commands to config.G if all they do is mirror what is set by default?
Re: Dumb question about configuration April 30, 2016 07:22AM |
Registered: 8 years ago Posts: 443 |
Quote
deckingman
It seems pointless to put gcode commands in config.g if all they do is mirror what is already set.
Re: Dumb question about configuration April 30, 2016 07:44AM |
Registered: 8 years ago Posts: 622 |
Quote
dc42
Quote
deckingman
Quote
dc42
RepRapPro wrote the original version of RepRapFirmware, so the default steps/mm is correct for the MXL belts and pulleys that their kits used
Ah, now it makes sense - wish I'd read this before I posted the last comment. So, is there any way of finding out what the default values are, as it seems pointless adding gcode commands to config.G if all they do is mirror what is set by default?
Two ways to find the default values:
1. Look in the firmware source code. Most default values are defined in either Configuration.h or Platform.h.
2. For most parameters, you can find the existing values by entering the appropriate command without the parameter to set the value. For example, to find the default steps/mm, boot up a Duet with no M92 command in its config.g file, then run M92.
Re: Dumb question about configuration April 30, 2016 10:10AM |
Registered: 8 years ago Posts: 475 |
Re: Dumb question about configuration April 30, 2016 12:21PM |
Registered: 8 years ago Posts: 622 |