MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.21k stars 19.22k forks source link

No movement on any axis MKS SBASE #8226

Closed icthus86 closed 6 years ago

icthus86 commented 6 years ago

Motors turn on with no movement using pronterface. I can not move any of all the axis by hand so the steppers are engaging. LCD display is showing where it believes each axis is and changes when told to move.

This could be nothing more than my own stupidity and inexperience! `` Configuration(_adv).h.zip

maar1201gh commented 6 years ago

I confirm the same fact. Motors turn on with no movement

Spawn32 commented 6 years ago

But operates normally with other programs ?

I only use simplify3d so haven't tested with anything else, but works like it should with it, can't see what the difference would be :/

Spawn32 commented 6 years ago

you could try changing #define MINIMUM_STEPPER_PULSE 4 // (µs) The smallest stepper pulse allowed in _adv.h

Test it with the double or trippel value, dont know why that would change using different programs, but worth a test :)

karabas commented 6 years ago

I connect one motor to X and "Move axis" via display menu. It works as usually. Turns well. I still did not setup on my printer as Sdsupport is broken for now.

icthus86 commented 6 years ago

I can't move from the LCD controls or pronterface. I'll have a look at MINIMUM_STEPPER_PULSE later on this afternoon.

karabas commented 6 years ago

I use default Marlin2 Sbase settings. Have tried move X via pronterface - works.

icthus86 commented 6 years ago

@karabas it does work, however I have 1/32 microsteps and 0.9 steppers so I need to change the configuration to match my machine and it just doesn't seem to work.

I have now changed the pulse to 8 and 12 with no changes. I'm assuming this is something to do with my setup being odd?

karabas commented 6 years ago

My Sbase jumper is 1/32 on. Stepper is 1.8. I have not 0.9 steppers to check.

icthus86 commented 6 years ago

@karabas So have you not set the mircosteps in the configuration_adv.h?

Spawn32 commented 6 years ago

The examples for Sbase is setup for 1/32 and 1.8 steppers, dont have a 0.9 to test with...

Test with 50us just to check, if that dosent help leave it at puls 4us then, didn't know you had those steppers, there is nothing stopping it for working with 1.8 steppers but you probably have to figure out the correct config... for 1.8 stepper you probably need to double the steps that are in the sbase example...

maar1201gh commented 6 years ago

@Spawn32 Configuration_adv.h has MINIMUM_STEPPER_PULSE 0. I changed to MINIMUM_STEPPER_PULSE 4 and it work. Maybe is better to update Configuration_adv.h Thanks

Spawn32 commented 6 years ago

@maar1201gh No, you have used the wrong example file, Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h has MINIMUM_STEPPER_PULSE 4, you should always use the example file if it exists :)

icthus86 commented 6 years ago

So I ended up starting from scratch again changing one thing at a time and uploading, It all works now and I believe it was my own stupidity! I changed the wrong setting for inverting axis. I used define X_ENABLE_ON 1 which is wrong in my setup and now everything is printing perfectly. A few changes I need to make to the settings such as bed centre and offsets but everything is working well. I was ready for chucking this board as I just couldn't get it to work with smoothieware at all!

Thank you all!

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.