Problems with printing after getting homing working

Basic Information:

Printer Model: Custom CoreXY
MCU / Printerboard: rPi 4B, Octopus V1.1, FLY SHT42
klippy.log (3.5 MB)
printer.cfg (22.1 KB)
canFly.cfg (3.7 KB)
ABS-2-225-70-raft_Voron_Design_Cube_v7.gcode (2.6 MB)

Sometimes you just can’t win for losing.

After getting homing operations working with sensorless homing (see: ), I now find that every time I try to print, the toolhead moves outside of the print range as shown here:

Everytime it executes, I get the error message Move out of range:

This is for multiple gcode files (I’ve attached one I just built to see if there was a version issue) and I’ve power cycled the machine. The only options selected in Cura was to produce the thumbnails so the design is displayed on Mainsail.

I’m guessing this has to do with the homing stuff that was discussed here:

I’d be very grateful if anybody has any ideas here.

Just one piece of information I didn’t put in my original post.

I did try moving the toolhead to Y=0 from the Z axis homing point to see if that would eliminate the problem but nothing changed other than I added to the wait for the toolhead to move to the out of range condition.

Have you tried adding G90 to your start gcode to explicitly set absolute coordinates?

1 Like

Nope. What will that do exactly?

I’m trying it right now…

G90 tells the printer to interpret gcode moves as absolute positions. G91 tells the printer to interpret move commands relative to the current position.

1 Like

Sorry, where do I put it?

The current initial code is:

; myke's Custom CoreXY Start G-code
G92 E0 ; Reset Extruder
G28 ; Home all axes
; #### Put G90 here?
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X0.1 Y20 Z0.3 F5000.0 ; Move to start position
G1 X0.1 Y200.0 Z0.3 F1500.0 E15 ; Draw the first line
G1 X0.4 Y200.0 Z0.3 F5000.0 ; Move to side a little
G1 X0.4 Y20 Z0.3 F1500.0 E30 ; Draw the second line
G92 E0 ; Reset Extruder
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish

I’m guessing after the G28 as I’ve marked in the comments above?

That should be fine.

1 Like

That seems to have fixed the problem.

Thanx!