Welcome! Log In Create A New Profile

Advanced

Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley

Posted by Parabolic 
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 08, 2012 03:23PM
brnrd: I think the number after W in M105 responses shows the wait time before printing. When it reaches 0 a pending M109 command will end and your print will start. I guess this is the delay some of you mentioned here. There is a delay (default 30 seconds) since target temperature is reached till this timer goes off. You can see it counting down while waiting for a print to begin if you enable monitor temperature in pronterface.

Looked up the source: the value with the @ symbol represent the current PID output.

misan

Edited 2 time(s). Last edit at 01/08/2012 03:30PM by misan.
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 08, 2012 03:44PM
Thanks. It was a great help to look yours over. Is there a way to toggle the Unknown on and off. I am getting the following info on ReplicatorG when in control panel and when booting up.


[12:48:08] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:09] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:10] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:10] homing [Z]
[12:48:11] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:12] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:13] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:14] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:15] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:17] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:17] homing [X]
[12:48:18] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:19] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:20] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:21] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:22] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:23] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:24] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:25] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:26] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:48:27] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:50:39] Supports RC
[12:51:26] Loading simulator.
[12:51:26] Loading driver: replicatorg.drivers.reprap.RepRap5DDriver
[12:51:26] Connecting to machine using serial port: COM22
[12:51:26] Supports RC
[12:51:27] Initializing Serial.
[12:51:27] Attempting to reset RepRap (pulsing RTS)
[12:51:28] echo:1.0.0 beta 1
[12:51:28] Unknown: echo:1.0.0 beta 1
[12:51:28] GCode sent. waiting for response..
[12:51:28] echo:free memory:5759 plannerbufferbytes:1168
[12:51:28] Unknown: echo:free memory:5759 plannerbufferbytes:1168
[12:51:28] echo:using default settings:
[12:51:28] Unknown: echo:using default settings:
[12:51:28] echo:steps per unit:
[12:51:28] Unknown: echo:steps per unit:
[12:51:28] echo: m92 x80.00 y80.00 z2560.00 e1380.00
[12:51:28] Unknown: echo: m92 x80.00 y80.00 z2560.00 e1380.00
[12:51:28] echo:maximum feedrates (mm/s):
[12:51:28] Unknown: echo:maximum feedrates (mm/s):
[12:51:28] echo: m203 x500.00 y500.00 z5.00 e45.00
[12:51:28] Unknown: echo: m203 x500.00 y500.00 z5.00 e45.00
[12:51:28] echo:maximum acceleration (mm/s2):
[12:51:28] Unknown: echo:maximum acceleration (mm/s2):
[12:51:28] echo: m201 x900 y900 z80 e10000
[12:51:28] Unknown: echo: m201 x900 y900 z80 e10000
[12:51:28] echo:acceleration: s=acceleration, t=retract acceleration
[12:51:28] Unknown: echo:acceleration: s=acceleration, t=retract acceleration
[12:51:28] echo: m204 s3000.00 t3000.00
[12:51:28] Unknown: echo: m204 s3000.00 t3000.00
[12:51:28] echo:advanced variables: s=min feedrate (mm/s), t=min travel feedrate (mm/s), b=minimum segment time (ms), x=maximum xy jerk (mm/s), z=maximum z jerk (mm/s)
[12:51:28] Unknown: echo:advanced variables: s=min feedrate (mm/s), t=min travel feedrate (mm/s), b=minimum segment time (ms), x=maximum xy jerk (mm/s), z=maximum z jerk (mm/s)
[12:51:28] echo: m205 s0.00 t0.00 b20000 x20.00 z0.40
[12:51:28] Unknown: echo: m205 s0.00 t0.00 b20000 x20.00 z0.40
[12:51:29] Ready.
[12:51:29] Yes, I have a Realtime Control feature.
[12:51:29] Supports RC
[12:51:37] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:51:38] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:51:39] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:51:40] Unknown: x:0.00y:0.00z:0.00e:0.00 count x:0.00y:0.00z:0.00
[12:51:40] echo:endstops hit: y:-0.01
[12:51:40] Unknown: echo:endstops hit: y:-0.01
[12:51:41] echo:endstops hit: y:-0.03
[12:51:41] Unknown: echo:endstops hit: y:-0.03
[12:51:42] echo:endstops hit: y:-0.04
[12:51:42] Unknown: echo:endstops hit: y:-0.04
[12:51:42] echo:endstops hit: y:-0.05
[12:51:42] Unknown: echo:endstops hit: y:-0.05
[12:51:46] echo:endstops hit: y:0.19
[12:51:46] Unknown: echo:endstops hit: y:0.19
[12:51:46] echo:endstops hit: y:0.10
[12:51:46] Unknown: echo:endstops hit: y:0.10
[12:51:47] echo:endstops hit: y:0.09
[12:51:47] Unknown: echo:endstops hit: y:0.09
[12:51:47] echo:endstops hit: y:0.08
[12:51:47] Unknown: echo:endstops hit: y:0.08
[12:51:47] echo:endstops hit: y:0.06
[12:51:47] Unknown: echo:endstops hit: y:0.06
[12:51:48] echo:endstops hit: y:0.05
[12:51:48] Unknown: echo:endstops hit: y:0.05
[12:51:49] echo:endstops hit: y:0.04
[12:51:49] Unknown: echo:endstops hit: y:0.04
[12:51:51] echo:endstops hit: y:0.03
[12:51:51] Unknown: echo:endstops hit: y:0.03
[12:51:52] echo:endstops hit: y:0.01
[12:51:52] Unknown: echo:endstops hit: y:0.01
[12:51:52] echo:endstops hit: y:0.00
[12:51:52] Unknown: echo:endstops hit: y:0.00
[12:52:07] echo:endstops hit: z:-5.50
[12:52:07] Unknown: echo:endstops hit: z:-5.50
[12:52:08] echo:endstops hit: z:-5.50
[12:52:08] Unknown: echo:endstops hit: z:-5.50
[12:52:09] echo:endstops hit: z:-10.41
[12:52:09] Unknown: echo:endstops hit: z:-10.41
[12:52:10] echo:endstops hit: z:-10.41
[12:52:10] Unknown: echo:endstops hit: z:-10.41
[12:52:11] echo:endstops hit: z:-14.11
[12:52:11] Unknown: echo:endstops hit: z:-14.11

Lanthan Wrote:
-------------------------------------------------------
> here it goes: Marlin Configuration.h and my
> current skeinforge (46) settings
> give a try to pronsole and/or pronterface!
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 08, 2012 03:54PM
Has anybody done a comparison between Repetier and Marlin?
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 08, 2012 07:19PM
im still not convinced that slicer is better than sfact/skeinforge. Maybe its my settings, but I printed the exact same piece with both and the slicer one is alot "sloppier". marlin seems to be doing a better job then sprinter though - so far.
Jeff
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 08, 2012 08:46PM
Lanthan:
When I was first setting up Marlin I tried Repetier. As I recall, I was unable to get it running. I think I had issues compiling, but I didn't try that much. I'd be curious to see how it stacks up against Marlin. Till I got Marlin running I was not aware of the differences the firmware could make. I thought it was all in the gcode.

Parabolic:
My guess is slic3r and sfact are probably capable of the same results, but for me slic3r was much easier to setup. I've also found that slic3r calculates flow and extrusion perfectly when I adjust my layer height, where sfact needed many adjustments wehn I wanted to change my layer height.
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 10, 2012 04:26AM
I've been trying to get the latest Marlin working on RAMPS 1.3. It almost works - I have an issue with homing not quite working properly. When homing an axis it moves until the endstop is hit and then it stops without retracting. My configs are almost exactly the same Lanthan's, just differing in steps and acceleration. I've tried erasing / disabling EEPROM.

An older version of Marlin v1 works, but it doesn't contain any advantages over the non-Gen6 version that has been working flawlessly.

Any ideas?
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 10, 2012 04:30AM
If it hits the endstop and it is not reacting to it, maybe it expects to have the endstop in the MAX position instead of the MIN (or the opposite).

misan
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 10, 2012 05:13AM
It could be something about the axis orientation and max/min settings I think too.

Just in case: are you using opto endstops or microswitches?
The enable pullup setting has to be modified according to the sort of endstops (enabled with microswitches)
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 10, 2012 05:33AM
Using mechanical endstops. Pullups are enabled, inverting off.

The endstops are functioning - triggering them causes movement to stop. If the x-axis is at 100 and I give the command to home the carriage will move towards the end stop and manually triggering the endstop will stop the movement. What I'm concerned about is it doesn't do the normal behaviour of reaching the end stop, reversing direction and approaching the endstop at a slower speed. I can live with it on the x/y axis, but I feel the z-axis would lose accuracy.

Edited 1 time(s). Last edit at 01/10/2012 05:34AM by pnit.
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 10, 2012 07:38AM
Oops!

I've just tested mine: It does the same thing! It seems it is the normal behavior for X & Y axis (Z-axis does go back and down again after touching the endstop). I just haven't realized of that before.

misan

Edited 1 time(s). Last edit at 01/10/2012 08:01AM by misan.
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 10, 2012 08:09AM
Nope, doesn't work on any axis for me. I've been poking around the source code and it looks like the homing code has changed. Could be a bug.


[blog.bodgycorp.com]
I'm seeing this same homing behavior bug on all 3 axes. Hits the endstop, does not retract at all. As pnit said, pressing home moves all axes towards their endstops, so we know the inversion in the config file is correct.

Ramps 1.3, prusa, pronterface on ubuntu/mint (same OS, different GUI)
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 11, 2012 08:19AM
Found the answer.

pins.h had max endstops enabled. eg X_MAX_PIN, Y_MAX_PIN etc. Set those to -1 and now homing is working properly.
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 11, 2012 09:50AM
THanks.
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 11, 2012 06:02PM
hmm - ill have to look at mine - didnt notice - i thought it was checking the endstops normally....
y is that a problem?
jeff
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 11, 2012 06:10PM
I have checked my pins.h code and my X & Y_MAX_PIN where not set to -1 while Z_MAX_PIN was -1, so that explains why I was just seeing the "right" behavior in Z-axis only.

misan
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 11, 2012 07:23PM
weird...
Just checked my pin settings from the marlin config I got from you misan - they were all set to -1 on all 3 axis'. I guess thats why mine seems to be homing correctly.
jeff
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 11, 2012 07:40PM
I had to do a bit of pin editing on for RAMPS 1.3. Had to disable the max endstops and alter the heated bed thermistor pin as well as the fan. All seems well now.

I did come across something unrelated - during testing this morning I would home my axes before a print, but the head did not move to the middle of the bed before extrusion started.

Previous prints with the same gcode worked. Resetting did not fix it, I had to unplug USB (remove power) before it would work properly again.


[blog.bodgycorp.com]
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 12, 2012 03:07AM
Parabolic: did you check the ones for RAMPS board (33)? I've been through a couple of versions of Marlin (0.9 and 1.0beta) maybe I sent you 0.9 ... don't know.

misan
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 12, 2012 06:27AM
Just for information: I did not have to get into any pin editig with my two RAMPS 1.25 ... homing works OK

Edited 1 time(s). Last edit at 01/12/2012 06:35AM by Lanthan.
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
January 12, 2012 06:32AM
Lanthan:

That is consistent with current source code in pins.h that while it does define a non -1 value for X_MAX for RAMPS 1.3 it does define the same pin as -1 for RAMPS 1.2

misan
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
February 12, 2012 12:04PM
I'm in the middle of migrating from Sprinter to Marlin on a Sells Mendel with Ramps 1.3 and a wades extruder. The extruder runs forward just fine but stalls on retraction. This happens no matter how slow I set the reverse speed in pronterface. I've reduced DEFAULT_RETRACT_ACCELERATION = 900 and it doesn't seem to make a difference.

I've hand edited the configuration.h file using my sprinter settings as a guide. Needless to say, Sprinter works great in both directions.

Anyone know what I might be missing?

EDIT: Looks like it was fixed overnight in Marlin source. Please disregard.

Edited 1 time(s). Last edit at 02/12/2012 12:54PM by sliptonic.
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
February 12, 2012 12:51PM
I reckon Pronterface extrude speed works both ways (only one value).

If it does work for Extrude but not for Reverse it is odd (as less torque is needed for the latter). I'm assuming you've already copied the correct steps/mm to the extruder calibration.

But such a behaviour might be related to your hotend. Are you doing the checks at the same temperature as Sprinter? Same hotend? With a filament loaded?
CSN
Re: Looking to switch from Spinter to Marlin - any tutorials or help out there??confused smiley
April 11, 2012 03:10PM
Need help with Marlin v1 configuration. Am a newbie struggling through. Bought a Makergear Prusa Mendel kit in January with Stepper Plastruder, heated bed and nichrome/ceramic hotend. Decided to use Marlin, but have too many questions regarding configuration.h Any help would be appreciated. Ideally, I would love a copy of a configuration.h file from someone who has a Makergear Prusa Mendel operating with it.

Am using a RAMPS 1.4 Assembled by Ultimachine( because I was not positive my kit one would work with my soldering skills so rusty) and assume I can use #define MOTHERBOARD 33
Looks likethe thermistor they shipped with the Plastruder kit and heated bed are 100k (type 1?)
Using mechanical endstops, so I use true for ENDSTOPS_INVERTING???
do I use 0 or 1 for Inverting Stepper enable pins???
Lastly default settings
DEFAULT_AXIS_STEPS_PER_UNIT, down through DEFAULT_EJERK ????
Thanks for any help
Sorry, only registered users may post in this forum.

Click here to login