Welcome! Log In Create A New Profile

Advanced

Figuring out Marlin to work

Posted by knn7 
Figuring out Marlin to work
September 06, 2020 02:36PM
Hi Guys!

I'm new to the 3D printing world, and trying to get make a printer of my own :-)
So, I purchased all necessary electronics and mechanical parts, and now am trying to figure out the software.
To do so, I uploaded the Marlin(1.1.9.1) firmware onto my RAMPS 1.4 board.

For testing the software basics before getting the components into the structure, I am testing with the following components.
Arduino Mega
Marlin (1.1.9.1) //without any modification
RAMPS 1.4
Nemo 17 4.2 Kg motors
Pronterface

So after loading the firmware and connecting to Proterface,i try to place Y to 10 places from now(G1 Y10 F1200).
But there is no actions going on with the motors and the printer shows this up in the Arduino terminal :


Connecting...
start
Printer is now online.
echo:Marlin 1.1.9.1
echo: Last Updated: 2020-06-20 | Author: (none, default config)
echo:Compiled: Sep 6 2020
echo: Free Memory: 5567 PlannerBufferBytes: 1232
echo:Hardcoded Default Settings Loaded
echo: G21 ; (mm)
echo:Filament settings: Disabled
echo: M200 D3.00
echo: M200 D0
echoconfused smileyteps per unit:
echo: M92 X1600.00 Y80.00 Z4000.00 E500.00
echo:Maximum feedrates (units/s):
echo: M203 X300.00 Y300.00 Z5.00 E25.00
echo:Maximum Acceleration (units/s2):
echo: M201 X3000.00 Y3000.00 Z100.00 E10000.00
echo:Acceleration (units/s2): P R T
echo: M204 P3000.00 R3000.00 T3000.00
echo:Advanced: Q S T X Y Z E
echo: M205 Q20000.00 S0.00 T0.00 X10.00 Y10.00 Z0.30 E5.00
echo:Home offset:
echo: M206 X0.00 Y0.00 Z0.00
echotongue sticking out smileyID settings:
echo: M301 P22.20 I1.08 D114.00
>>> G1 Y10 F1200
SENDING:G1 Y10 F1200

This is the same situation i am in rather what command I pass.. I don't know if this is a stupid question or not!!
Suggestions from you guys are appreciated big time...<3
VDX
Re: Figuring out Marlin to work
September 06, 2020 03:36PM
... check your configuration for pins, directions and endstops ...

*** EDIT *** -- are your motors powered? (harder to turn when enabled)

Edited 1 time(s). Last edit at 09/06/2020 03:37PM by VDX.


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]
Re: Figuring out Marlin to work
September 06, 2020 06:39PM
Test machine is actually doing commands send a M119 (show endstop status) to the machine. Does it reply?
Re: Figuring out Marlin to work
September 06, 2020 07:20PM
Steps per unit also seem to have pretty weird numbers between x and y.

What kind of machine is it. Would you have images of the wiring and maybe the config files?


http://www.marinusdebeer.nl/
Re: Figuring out Marlin to work
September 08, 2020 07:35AM
@Dust Thankyou for looking into this.

I tried passing M119 which gives me the following results.-

SENDING:M119
Reporting endstop status
x_min: TRIGGERED
y_min: TRIGGERED
z_min: TRIGGERED

Edited 1 time(s). Last edit at 09/08/2020 07:46AM by knn7.
Re: Figuring out Marlin to work
September 08, 2020 07:44AM
@Ohmarinus Thnkyou for having a look into this.

I am trying to build a custom 3D-Printer of my own. And i have been testing with only the boards and motors connected to X and Y(Noting else is connected like endpoint triggers or thermistors).
And the config file i used are from Marlin(1.1.9.1) without any modification(PFA).
The steps per unit is defined as "#define DEFAULT_AXIS_STEPS_PER_UNIT { 1600, 80, 4000, 500 }".

Looking forward for your replysmiling smiley

Edited 1 time(s). Last edit at 09/08/2020 08:03AM by knn7.
Attachments:
open | download - Configuration.h (72.2 KB)
Re: Figuring out Marlin to work
September 08, 2020 08:14AM
@VDX thnkyou for the insight!

yes the motors are powered and can you like suggest any recommended values for the same?
Re: Figuring out Marlin to work
September 08, 2020 08:16AM
Config file you provided has
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 4000, 500 }

also
#define Y_ENABLE_ON 1
unless you using very non standard stepper driver hardware this should be #define Y_ENABLE_ON 0

This would stop Y moving.
Re: Figuring out Marlin to work
September 09, 2020 09:14AM
Hi Dust,

I've made the changes on Y_ENABLE_ON as zero as below

#define Y_ENABLE_ON 0

And tried again, still getting the same response ie the motor and Pronterface doesnt respond on passing G1 Y10 F1200.
Re: Figuring out Marlin to work
September 09, 2020 10:57AM
I see you have enabled INCH_MODE_SUPPORT

so G1 Y10 F1200. is really G1 Y482.6 F1200.

F1200. is 20mm sec so that is going to take 24.13 seconds before it comes back with an OK.

But that doesn't solve why its not moving.

What are you using for stepper drivers?
Can you provide a image of how you plugged in the stepper drivers into the ramps.
Do you have 12v power to the ramps ?
Re: Figuring out Marlin to work
September 12, 2020 05:28AM
Dust , we are using a 12V supply to power the RAMPS and been using A4988 Stepper driver.
Attaching the snippet of the connection
Attachments:
open | download - a1.png (892.2 KB)
Re: Figuring out Marlin to work
September 12, 2020 05:58AM
Quote
knn7
Dust , we are using a 12V supply to power the RAMPS and been using A4988 Stepper driver.
Attaching the snippet of the connection

Just some advice, never run an axis without a stepper motor connected!


http://www.marinusdebeer.nl/
VDX
Re: Figuring out Marlin to work
September 12, 2020 06:19AM
... without stepper connected is not the problem -- much more: un-/plugging while powered!!!


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]
Re: Figuring out Marlin to work
September 12, 2020 09:52AM
"12V supply to power the RAMPS" there are two power plugs the 5amp and 11amp circuit



Which did you power up? the steppers are on the 5amp side.

Edited 1 time(s). Last edit at 09/12/2020 09:52AM by Dust.
Re: Figuring out Marlin to work
September 13, 2020 01:41AM
Quote
Dust
"12V supply to power the RAMPS" there are two power plugs the 5amp and 11amp circuit



Which did you power up? the steppers are on the 5amp side.

i think i hsve connected the right one(the 5amp side).

Is there any way that we could identify ifthe problem is with the software\firmware side or with the hardware side ? Attaching the snippet of connection i made which has only one Motor connected to Y and passing Gcodes to move Y axis.
Attachments:
open | download - 2.png (671.4 KB)
Re: Figuring out Marlin to work
September 13, 2020 02:24AM
Can it be the problem that there are no endstops connected? I believe you also need to connect endstops in this case or else the machine will think that the axis has run into the endstop and not allow motion if it keeps being seen as triggered.


http://www.marinusdebeer.nl/
Re: Figuring out Marlin to work
September 13, 2020 02:51AM
I would run the ramps testing firmware [reprap.org]
No need to edit anything. just compile and upload

This just moves all stepper motors back and forth and turns all mosfets on and off..
Is a good way to tell if it is a hardware or firmware issue.

It this moves the steppers, its not hardware.

Edited 1 time(s). Last edit at 09/13/2020 02:54AM by Dust.
Sorry, only registered users may post in this forum.

Click here to login