1

Topic: Where are the initial move commands at in firmware like Repetier?

I have an XYZ Da Vinci 1.0. As many of you know the stock firmware on these are crap. So I went the Repetier route and all was fine for a while till my extruder motor began overheating causing it to stop feeding and traced it down to the mainboard which uses digital current control rather than pots. So something went bad in the circuit for that motor and was feeding it too much current.

Long story short I swapped it the main board to a RAMPS 1.4 with LCD. All works great till I start a print.

Using the same host I have always used which includes Cura and Repetier Host all worked fine on the old board. All works fine on the new board when run individually. However here is my issue.

On the old stock board with Repetier firmware when a print job would start the build platform would move down to my offset of -6.03 then the Y axis would move forward and then the X axis would move across to the starting position and start the print.

With the RAMPS and MARLIN which I actually prefer over Repetier as it seems to run the motors smoother. For some reason I have an issue where the start sequence is as follows. Platform moves down then X axis tries to come across which it cant becuase on these printers there is a home area which is recessed from the regular motion area so the Y must come forward before the X can move. I can't figure out in all the tabs on the firmware where the initial move sequence is. My only other option if I cant find this sequence and change it is to swap the X and Y axis connections at the board so that Y will move X and X will move Y. This will cause my builds to run in a 45 degree offest from the original design but still may work. Atleast then I could get the Y to move out before the X moves across.

So if anyone familar with firmware modding and porting could point me to the tab where this movement sequence for the intial print start position is it would be greatly appreciated. I have never really done more editing on the firmware than what was necessary in Configuration.H tab and Language.H to get a custom name on my LCD.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

2 (edited by browning54213 2015-04-21 02:58:15)

Re: Where are the initial move commands at in firmware like Repetier?

Those initial moves are controlled by your G code, at least on repetier they are.

3 (edited by carl_m1968 2015-04-21 19:24:09)

Re: Where are the initial move commands at in firmware like Repetier?

browning54213 wrote:

Those initial moves are controlled by your G code, at least on repetier they are.

Are you sure? If that was the case then they should move correctly now as I am still using the same Host and Slicer with same settings as I did before the swap.

I can move the motors manually with the Host controls and they move properly. They will home in the correct order if i press home all. The X will move to the right and the Y will move back and the Z will then move up. But I can't seem to get them to move in the correct sequence to start a print. The X wants to move before the Y does and it hits the side of the recessed are where the home position is.

So if the Gcode does it then for some reason the new board reading the gcode wrong. Maybe I will try and see what Repetier does. I just hate to go through another 2 hours of configuring my Configuration.H to match this printer. Luckily I can use Marlin as a guid since it mostly works.


Maybe I will take a look at the Gcode and see if something looks different. But it should be the same since nothing changed in the printer dimension wise.

Maybe it just hit me what is going on.. If memory serves correctly I read that the stock board drives the motors at 16X microstepping. If that is the case then that would be my problem as I am set to 32X microstepping on my RAMPS and that would mean using the stock steps per mm is only moving me half the distance it should. So maybe the Y is moving out, it just is not moving out far enough. I will have to check this when I get home.


Its not in the stepping. The new board and Repetier host cant agree on the shape of the printer and where the home and starting corner are. Cura works I just have dial in the Z offset.

I am pretty sure now it is in the shape of the print bed that is set in Rep host. The Ramps wants it to be reversed from the stock setup or some variation in between I think. I will have to play with it one setting at a time and see what changes.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

4

Re: Where are the initial move commands at in firmware like Repetier?

I have only looked into the rep firmware to make modifications, not the Marlin firmware.

Have you tried to move the carriage using starting GCODE?

Sort of like:
Home -> Move Y -> Move X -> Generated G Code -> End GCODE

This would workaround your issue unless the firmware re-homes between the start of the gcode and when the generated gcode starts.

5

Re: Where are the initial move commands at in firmware like Repetier?

jasonb.194 wrote:

I have only looked into the rep firmware to make modifications, not the Marlin firmware.

Have you tried to move the carriage using starting GCODE?

Sort of like:
Home -> Move Y -> Move X -> Generated G Code -> End GCODE

This would workaround your issue unless the firmware re-homes between the start of the gcode and when the generated gcode starts.

Its on my list of things to try. Just have to figure out how far I need it to move.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

6

Re: Where are the initial move commands at in firmware like Repetier?

I think you need to check your settings in RH and your slicer
tin

Soliddoodle 4 stock w glass bed------Folger Tech Prusa 2020 upgraded to and titan /aero extruder mirror bed
FT5 with titan/ E3D Aero------MP mini select w glass bed
MP Utimate maker pro-W bondtech extruder
Marlin/Repetier Host/ Slic3r and Cura

7

Re: Where are the initial move commands at in firmware like Repetier?

You need to set your start gcode in repetier host to

G28 ;home all axis
G28 X0 Y0
G29

i have the replaced my Da Vinci board v1.0A with Printrboard Rev D. that ran great. so i put in the ramps 1.4 with Marlin. In printer settings of repetier dont forget your offsets for the home postions of X & Y .  Iam still working on getting the stock extruder to print PLA. The printrboard rev D wored great with PLA.

8

Re: Where are the initial move commands at in firmware like Repetier?

thermo269 wrote:

You need to set your start gcode in repetier host to

G28 ;home all axis
G28 X0 Y0
G29

i have the replaced my Da Vinci board v1.0A with Printrboard Rev D. that ran great. so i put in the ramps 1.4 with Marlin. In printer settings of repetier dont forget your offsets for the home postions of X & Y .  Iam still working on getting the stock extruder to print PLA. The printrboard rev D wored great with PLA.

Thanks I'll look into that as well..

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.