Octoprint GPX with WanHao Duplicator 4 would wrong temps.

67 views
Skip to first unread message

Davide Spano

unread,
May 9, 2018, 10:53:35 AM5/9/18
to GPX converter
Hello

I have got the printer to work almost I just need a bit of expert advice.

Background.

1. I use Octoprint
2. I have installed GPX plug in in Octoprint
3. I have also installed the Custom Control Editor plugin
4. In GPX Machine Type = Replicator 1 - dual extruder  
5. In GPX GCode Flavour = RepRap

6. Then I have downloaded the MakerBot calibration set beacuse I would like to print the 20 mm cube, simple!     https://www.thingiverse.com/thing:2064

7. In OctoPrint my printer profile is for my WANHAO Duplicator 4 225/145/150 mm, Origin=Centre, Rectangular form factor, Nozzel=0.4, Number of extruders=2


9. I have downloaded the config file from that post and made minor mods principally changed the start code because the carriage was crashing to the left, I tested that the changes are correct by creating start and stop buttons with the Custom Control Editor.

10. In Octoprint Cura Engine I use the following profile


[profile]
layer_height = 0.1
wall_thickness = 4
retraction_enable = True
solid_layer_thickness = 4
fill_density = 100
nozzle_size = 0.4
print_speed = 60
print_temperature = 200
print_temperature2 = 0
print_temperature3 = 0
print_temperature4 = 0
print_temperature5 = 0
print_bed_temperature = 70
support = None
platform_adhesion = None
support_dual_extrusion = First extruder
wipe_tower = False
wipe_tower_volume = 15
ooze_shield = False
filament_diameter = 1.75
filament_diameter2 = 0
filament_diameter3 = 0
filament_diameter4 = 0
filament_diameter5 = 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 = All
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
bottom_layer_speed = 20
infill_speed = 0.0
solidarea_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_all = 0.0
raft_airgap = 0.22
raft_surface_layers = 2
raft_surface_thickness = 0.27
raft_surface_linewidth = 0.4
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 = ; -- START GCODE --
M136 ;(enable build)
M73 P0
G162 X Y F2000 ;(home XY axes maximum)
G161 Z F900 ;(home Z axis minimum)
G92 X0 Y0 Z-5 A0 B0 ;(set Z to -5)
G1 Z0.0 F{travel_speed} ;(move Z to '0')
G161 Z F100 ;(home Z axis minimum)
M132 X Y Z A B ;(Recall stored home offsets for XYZAB axis)
G92 X152 Y72 Z0 A0 B0
G1 X-100 Y-74 Z40 F{travel_speed} ;(move to waiting position)
G130 X20 Y20 A20 B20 ;(Lower stepper Vrefs while heating)
M135 T0
M104 S{print_temperature} T0
M104 S{print_temperature2} T1
M109 S{print_bed_temperature} T0
M133 T1
M133 T0
G130 X127 Y127 A127 B127 ;(Set Stepper motor Vref to defaults)
; Sliced {filename} 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}
M73 P0;
; -- end of START GCODE --
end.gcode = ; -- END GCODE --
M127 T0 ; fan off
M127 T1 ;(Fan Off)
M18 A B ;(Turn off A and B Steppers)
G1 Z155 F900
G162 X Y F2000
M18 X Y Z ;(Turn off steppers after a build)
M104 S0 T0
M104 S0 T1
M109 S0 T0
M70 P5 ;(We <3 Making Things!)
M72 P1  ;( Play Ta-Da song )
M73 P100
M137 ;(build end notification)
; -- end of END GCODE --
support_start.gcode = 
support_end.gcode = 
cool_start.gcode = 
cool_end.gcode = 
replace.csv = ; -- replace
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)


The bits highlighted are those I have changed.

11. I upload the 20 mm cube STL file to OctoPrint and slice it with the Cura Engine with the Printer Profile set to that of my WANHAO Duplicator 4 and Slicing Profile as above. 

12. I get a .GCO file that I load and print

13. The problem 
      The printer moves OK but the temperature of Tool 0 (The right extruder) is set to 70 that is the print_bed_temperature  instead       of print_temperature = 200  and the Bed remains off.


Do you know what I have done wrong and what should I change to get this to work?
Perhaps the profile for the WANHAO Duplicator 4 is not quite correct?

I have read https://groups.google.com/forum/#!topic/wanhao-printer-3d/rDewhBxqIJU but I am not quite sure what to do.

Thanks
Davide





















Reply all
Reply to author
Forward
0 new messages