Force Marlin to home at center of bed

Code hacking talk

Force Marlin to home at center of bed

Postby orangefurball » 2015-Apr-Wed-01-Apr

Hello,

Quick little Marlin issue I am having. I updated to the latest Marlin version (before I ran Marlin from Printrbot on my Printrboard, now I'm on RAMPS) and I can't seem to figure out how to force it to home at the center of the bed like it did on the Printrbot firmware.

Basically I'm not looking to get it to think 0, 0 is the center, I'm trying to get it to simply go to 100, 100 before homing Z. The reason for this is so that my second hot end doesn't hit the clips that keep the glass on the bed.
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40

Force Marlin to home at center of bed

Sponsor

Sponsor
 

Re: Force Marlin to home at center of bed

Postby thawkins » 2015-Apr-Wed-01-Apr

orangefurball wrote:Hello,

Quick little Marlin issue I am having. I updated to the latest Marlin version (before I ran Marlin from Printrbot on my Printrboard, now I'm on RAMPS) and I can't seem to figure out how to force it to home at the center of the bed like it did on the Printrbot firmware.

Basically I'm not looking to get it to think 0, 0 is the center, I'm trying to get it to simply go to 100, 100 before homing Z. The reason for this is so that my second hot end doesn't hit the clips that keep the glass on the bed.



You may be able to get away with

G1 Z50 // Raise hotend
G28 X0 Y0 // Home to edge
G1 X100 Y100 // move to center, still at Z50
G28 Z0 // Home Z
  • 0

Jonbot+
225mm x 200mm - Heated Bed
RAMPS 1.4 running Marlin 1.1.0
Full Graphic display.
-------------------------------
Zen Toolworks CNC/3d printer
230mmx360mm bed
Dual j-head hotends.
Dual heated beds.
RAMPS 1.4 running Marlin 0.98
-------------------------------
Flashforge 3d Creator Pro
Dual Extruder
220x143x150mm
Mightyboard rev e, runnimg Sailfish 7.7r1234
-------------------------------
Photon, self designed printed printer.
User avatar
thawkins
Print winner 2nd
Print winner 2nd
 
Posts: 1636
Joined: 2013-Aug-Sun-10-Aug
Location: Manila, Philippines
Reputation: 172

Re: Force Marlin to home at center of bed

Postby orangefurball » 2015-Apr-Wed-02-Apr

That's what I was thinking, I was hoping there would be somewhere to change the homing in Marlin to something like raise Z to 20mm then home to x_max/2 for example then home Z but changing the starting GCode is better than nothing! Thanks!

Edit: just tested, it works works great!
  • 0

2 CoreXY Machines 200x200x200/600mm
Cubify Cube3 & Makerbot Replicator Mini

Thingybot Delta Printer
150x150x200mm circular build volume, high precision open source 3D printer.

http://www.thingybot3d.com
User avatar
orangefurball
Laser scintillater
 
Posts: 1022
Joined: 2014-Apr-Mon-22-Apr
Location: Scranton, PA
Reputation: 40


Return to Hack talk

Who is online

Users browsing this forum: No registered users and 1 guest