zachys
Posts: 3
Joined: Sat Apr 02, 2016 2:54 pm

Lulzbot Mini - Bed Leveling Issue

My issue is that the automatic bed leveling never starts. This is extremely frustrating because it works fine in Cura with no issues at all.

I've been having this issue off and on for quite a while now. Typically it takes me rebooting my computer a couple times and restarting Simplify 3d a few times before it starts the automatic bed leveling.

Most times it gets to the point in the start up code and makes a noise/acts like it's going to start the bed leveling process but it stops. Then it finishes heating up all of the way and starts printing into mid air.

Here is the code that I am using:

Code: Select all

M107 ; start with the fan off
G92 E0 ; zero extruder
M140 S[bed0_temperature] ; begin bed heating
G28 ; home all axes
M109 S150 ; set to cleaning temp and wait
G1 Z150 E-30 F75 ; suck up 30mm of filament
M109 S170 ; heat up rest of way
G1 X45 Y174 F11520 ; move behind scraper
G1 Z0 F1200 ; set Z to height of top of scraper
G1 X45 Y174 Z-.5 F4000 ; wiping
G1 X55 Y172 Z-.5 F4000 ; wiping
G1 X45 Y174 Z0 F4000 ; wiping
G1 X55 Y172 F4000 ; wiping
G1 X45 Y174 F4000 ; wiping
G1 X55 Y172 F4000 ; wiping
G1 X45 Y174 F4000 ; wiping
G1 X55 Y172 F4000 ; wiping
G1 X60 Y174 F4000 ; wiping
G1 X80 Y172 F4000 ; wiping
G1 X60 Y174 F4000 ; wiping
G1 X80 Y172 F4000 ; wiping
G1 X60 Y174 F4000 ; wiping
G1 X90 Y172 F4000 ; wiping
G1 X80 Y174 F4000 ; wiping
G1 X100 Y172 F4000 ; wiping
G1 X80 Y174 F4000 ; wiping
G1 X100 Y172 F4000 ; wiping
G1 X80 Y174 F4000 ; wiping
G1 X100 Y172 F4000 ; wiping
G1 X110 Y174 F4000 ; wiping
G1 X100 Y172 F4000 ; wiping
G1 X110 Y174 F4000 ; wiping
G1 X100 Y172 F4000 ; wiping
G1 X110 Y174 F4000 ; wiping
G1 X115 Y172 Z-0.5 F1000 ; wipe slower and lower Z
G1 Z10 ; raise Z
G28 X0 Y0 ; home XY axes
M109 S140 ; set to probing temp
M204 S300 ; Set probing acceleration
G29 ; Probe
M204 S2000 ; Restore standard acceleration
G1 X5 Y15 Z10 F5000 ; get out the way
G4 S1 ; pause
M400 ; clear buffer
M109 S[extruder0_temperature] ; set extruder temp and wait
G1 Z2 E0 F75 ; extrude filament back into nozzle
M190 S[bed0_temperature] ; wait for bed to finish heating
Any help or advice would be greatly appreciated.
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Lulzbot Mini - Bed Leveling Issue

Well if you have it working how you want in the other software, why don't you post the starting script that program is using? Should be pretty easy to compare them and make whatever changes are needed so they match.
KC_703
Posts: 238
Joined: Tue Aug 26, 2014 5:23 pm

Re: Lulzbot Mini - Bed Leveling Issue

I think he's saying that its not autoleveling every time he starts a print... It takes a few reboots of the workstation before S3D runs the autolevel script. Otherwise the script runs correctly.

Do you have Marlin as the selected firmware in the "G-Code" tab? How about the communication speed? 115200 to be safe?
zachys
Posts: 3
Joined: Sat Apr 02, 2016 2:54 pm

Re: Lulzbot Mini - Bed Leveling Issue

KC_703 wrote:I think he's saying that its not autoleveling every time he starts a print... It takes a few reboots of the workstation before S3D runs the autolevel script. Otherwise the script runs correctly.

Do you have Marlin as the selected firmware in the "G-Code" tab? How about the communication speed? 115200 to be safe?

Yes Marlin and 115200 are both selected.

Here is the code from Cura:

Code: Select all

[profile]
layer_height = 0.1
wall_thickness = 1.0
retraction_enable = True
solid_layer_thickness = 0.6
fill_density = 20
nozzle_size = 0.5
print_speed = 50
print_temperature = 220
print_temperature2 = 0
print_temperature3 = 0
print_temperature4 = 0
print_bed_temperature = 70
support = Touching buildplate
platform_adhesion = None
support_dual_extrusion = Both
wipe_tower = False
wipe_tower_volume = 15
ooze_shield = False
filament_diameter = 2.85
filament_diameter2 = 0
filament_diameter3 = 0
filament_diameter4 = 0
filament_flow = 100.0
retraction_speed = 40.0
retraction_amount = 4.5
retraction_dual_amount = 16.5
retraction_min_travel = 1.5
retraction_combing = True
retraction_minimal_extrusion = 0.02
retraction_hop = 0.0
bottom_thickness = 0.3
layer0_width_factor = 100
object_sink = 0.0
overlap_dual = 0.15
travel_speed = 150.0
bottom_layer_speed = 20
infill_speed = 0.0
inset0_speed = 0.0
insetx_speed = 0.0
cool_min_layer_time = 5
fan_enabled = True
skirt_line_count = 1
skirt_gap = 3.0
skirt_minimal_length = 150.0
fan_full_height = 0.5
fan_speed = 100
fan_speed_max = 100
cool_min_feedrate = 10
cool_head_lift = False
solid_top = True
solid_bottom = True
fill_overlap = 15
support_type = Lines
support_angle = 60
support_fill_rate = 15
support_xy_distance = 0.7
support_z_distance = 0.15
spiralize = False
simple_mode = False
brim_line_count = 20
raft_margin = 5.0
raft_line_spacing = 3.0
raft_base_thickness = 0.3
raft_base_linewidth = 1.0
raft_interface_thickness = 0.27
raft_interface_linewidth = 0.4
raft_airgap = 0.22
raft_surface_layers = 2
fix_horrible_union_all_type_a = True
fix_horrible_union_all_type_b = False
fix_horrible_use_open_bits = False
fix_horrible_extensive_stitching = False
plugin_config = 
object_center_x = -1
object_center_y = -1

[alterations]
start.gcode = ;Sliced at: {day} {date} {time}
	;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
	;Print time: {print_time}
	;Filament used: {filament_amount}m {filament_weight}g
	;Filament cost: {filament_cost}
	;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
	;M109 S{print_temperature} ;Uncomment to add your own temperature line
	G21        ;metric values
	G90        ;absolute positioning
	M82        ;set extruder to absolute mode
	M107       ;start with the fan off
	G28 X0 Y0  ;move X/Y to min endstops
	G28 Z0     ;move Z to min endstops
	G1 Z15.0 F{travel_speed} ;move the platform down 15mm
	G92 E0                  ;zero the extruded length
	G1 F200 E3              ;extrude 3mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F{travel_speed}
	;Put printing message on LCD screen
	M117 Printing...
end.gcode = ;End GCode
	M104 S0                     ;extruder heater off
	M140 S0                     ;heated bed heater off (if you have it)
	G91                                    ;relative positioning
	G1 E-1 F300                            ;retract the filament a bit before lifting the nozzle, to release some of the pressure
	G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
	G28 X0 Y0                              ;move X/Y to min endstops, so the head is out of the way
	M84                         ;steppers off
	G90                         ;absolute positioning
	;{profile_string}
start2.gcode = ;Sliced at: {day} {date} {time}
	;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
	;Print time: {print_time}
	;Filament used: {filament_amount}m {filament_weight}g
	;Filament cost: {filament_cost}
	;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
	;M104 S{print_temperature} ;Uncomment to add your own temperature line
	;M109 T1 S{print_temperature2} ;Uncomment to add your own temperature line
	;M109 T0 S{print_temperature} ;Uncomment to add your own temperature line
	G21        ;metric values
	G90        ;absolute positioning
	M107       ;start with the fan off
	G28 X0 Y0  ;move X/Y to min endstops
	G28 Z0     ;move Z to min endstops
	G1 Z15.0 F{travel_speed} ;move the platform down 15mm
	T1                      ;Switch to the 2nd extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F200 E-{retraction_dual_amount}
	T0                      ;Switch to the first extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F{travel_speed}
	;Put printing message on LCD screen
	M117 Printing...
end2.gcode = ;End GCode
	M104 T0 S0                     ;extruder heater off
	M104 T1 S0                     ;extruder heater off
	M140 S0                     ;heated bed heater off (if you have it)
	G91                                    ;relative positioning
	G1 E-1 F300                            ;retract the filament a bit before lifting the nozzle, to release some of the pressure
	G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
	G28 X0 Y0                              ;move X/Y to min endstops, so the head is out of the way
	M84                         ;steppers off
	G90                         ;absolute positioning
	;{profile_string}
start3.gcode = ;Sliced at: {day} {date} {time}
	;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
	;Print time: {print_time}
	;Filament used: {filament_amount}m {filament_weight}g
	;Filament cost: {filament_cost}
	;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
	;M104 S{print_temperature} ;Uncomment to add your own temperature line
	;M109 T1 S{print_temperature2} ;Uncomment to add your own temperature line
	;M109 T0 S{print_temperature} ;Uncomment to add your own temperature line
	G21        ;metric values
	G90        ;absolute positioning
	M107       ;start with the fan off
	G28 X0 Y0  ;move X/Y to min endstops
	G28 Z0     ;move Z to min endstops
	G1 Z15.0 F{travel_speed} ;move the platform down 15mm
	T2                      ;Switch to the 2nd extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F200 E-{retraction_dual_amount}
	T1                      ;Switch to the 2nd extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F200 E-{retraction_dual_amount}
	T0                      ;Switch to the first extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F{travel_speed}
	;Put printing message on LCD screen
	M117 Printing...
end3.gcode = ;End GCode
	M104 T0 S0                     ;extruder heater off
	M104 T1 S0                     ;extruder heater off
	M104 T2 S0                     ;extruder heater off
	M140 S0                     ;heated bed heater off (if you have it)
	G91                                    ;relative positioning
	G1 E-1 F300                            ;retract the filament a bit before lifting the nozzle, to release some of the pressure
	G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
	G28 X0 Y0                              ;move X/Y to min endstops, so the head is out of the way
	M84                         ;steppers off
	G90                         ;absolute positioning
	;{profile_string}
start4.gcode = ;Sliced at: {day} {date} {time}
	;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
	;Print time: {print_time}
	;Filament used: {filament_amount}m {filament_weight}g
	;Filament cost: {filament_cost}
	;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
	;M104 S{print_temperature} ;Uncomment to add your own temperature line
	;M109 T2 S{print_temperature2} ;Uncomment to add your own temperature line
	;M109 T1 S{print_temperature2} ;Uncomment to add your own temperature line
	;M109 T0 S{print_temperature} ;Uncomment to add your own temperature line
	G21        ;metric values
	G90        ;absolute positioning
	M107       ;start with the fan off
	G28 X0 Y0  ;move X/Y to min endstops
	G28 Z0     ;move Z to min endstops
	G1 Z15.0 F{travel_speed} ;move the platform down 15mm
	T3                      ;Switch to the 4th extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F200 E-{retraction_dual_amount}
	T2                      ;Switch to the 3th extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F200 E-{retraction_dual_amount}
	T1                      ;Switch to the 2nd extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F200 E-{retraction_dual_amount}
	T0                      ;Switch to the first extruder
	G92 E0                  ;zero the extruded length
	G1 F200 E10             ;extrude 10mm of feed stock
	G92 E0                  ;zero the extruded length again
	G1 F{travel_speed}
	;Put printing message on LCD screen
	M117 Printing...
end4.gcode = ;End GCode
	M104 T0 S0                     ;extruder heater off
	M104 T1 S0                     ;extruder heater off
	M104 T2 S0                     ;extruder heater off
	M104 T3 S0                     ;extruder heater off
	M140 S0                     ;heated bed heater off (if you have it)
	G91                                    ;relative positioning
	G1 E-1 F300                            ;retract the filament a bit before lifting the nozzle, to release some of the pressure
	G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
	G28 X0 Y0                              ;move X/Y to min endstops, so the head is out of the way
	M84                         ;steppers off
	G90                         ;absolute positioning
	;{profile_string}
support_start.gcode = 
support_end.gcode = 
cool_start.gcode = 
cool_end.gcode = 
replace.csv = 
preswitchextruder.gcode = ;Switch between the current extruder and the next extruder, when printing with multiple extruders.
	;This code is added before the T(n)
postswitchextruder.gcode = ;Switch between the current extruder and the next extruder, when printing with multiple extruders.
	;This code is added after the T(n)

Thanks for the replies and help!
CompoundCarl
Posts: 2005
Joined: Wed Aug 05, 2015 7:23 am

Re: Lulzbot Mini - Bed Leveling Issue

Instead of posting the profiles, can you just post a gcode file from each program (one that works, and one that doesn't)? That's going to make it easier to compare.
tscombo
Posts: 1
Joined: Wed Apr 06, 2016 10:30 am

Re: Lulzbot Mini - Bed Leveling Issue

This issue started happening to me this morning. My Mini made a loud sound before it skipped over the leveling process. It sounds like the Z axis is reversed so instead of lowering to clean the nozzle and level the bed it would hit the top of the Z axis then move onto the next step as if it was lowered to the bed. It would then proceed to draw in the air afterwards. I hope that information can help.
zachys
Posts: 3
Joined: Sat Apr 02, 2016 2:54 pm

Re: Lulzbot Mini - Bed Leveling Issue

CompoundCarl wrote:Instead of posting the profiles, can you just post a gcode file from each program (one that works, and one that doesn't)? That's going to make it easier to compare.
For some reason it's not letting me post the gcode here.

This is extremely frustrating. It works occasionally and that's not a good enough answer for me. I have just been using the software that came with my printer, which is really terrible considering I spent $150 on Simplify 3d.

Not sure what other information I can post here that would make a difference.

Sometimes on Simplify3d it works...sometimes it sends the data to the printer and it acts as though it's about to start auto leveling then just starts printing in mid air.

I've had no issues with Cura(software that came with printer) bed auto levels just fine.
KC_703
Posts: 238
Joined: Tue Aug 26, 2014 5:23 pm

Re: Lulzbot Mini - Bed Leveling Issue

Hmm.... try a slower baud rate? Maybe a different USB cable?

The following lines are in the Cura start script, but not in the S3D:

Code: Select all

G21                          ; metric values
G90                          ; absolute positioning
M82                          ; set extruder to absolute mode
Everything else looks about the same... at the end S3D uses a wait for bed temp, and Cura doesn't wait.
stphung
Posts: 2
Joined: Sun Apr 10, 2016 3:34 pm

Re: Lulzbot Mini - Bed Leveling Issue

I just picked up Simplify3d and I am having this same issue with the Lulzbot Mini.
stphung
Posts: 2
Joined: Sun Apr 10, 2016 3:34 pm

Re: Lulzbot Mini - Bed Leveling Issue

Hi guys, I think I figured out the issue. I was driving the gcode using OctoPrint so I'm not sure if there is a difference.

The difference I saw between the gcode generated by Cura vs. S3D was that the temps were different in the three M109 calls.

In the Cura generated code all three are set at the same temp (140C) but in S3D they were different. Changing this in my S3D startup script fixed the problem for me. It seems like it might be related to the time it takes to cool being longer between the various startup phases.

Return to “Troubleshooting and Bug Reports”