Printer stands still (stuck) after Slic3r makes gcode

Hi. I have a problem getting my printer to actually print after slicing.
I am trying to use Slic3r instead of Cura as it has settings for first layer and a better choice of infill/top settings.
I can slice and print fine with Cura.

I have copied the start and end G-code from Cura, which promptly gave me a error of M104 wrong extruder.

I am using Repetier 1.6, Slic3r 1.2.9. Copied settings from Repetier 1.0.6 and made a manual copy of those into Slic3r.
My setup is as follows:
Single E3Dv6 head, Reprap Mk3 heatbed with a seperate 24V/20A power supply and a power expander. Modified the Marlin code to make the printer aware of the heat bed and modified the start and end codes too.

My start code in Cura:

G28 ; Home extruder G1 Z5 F{Z_TRAVEL_SPEED} G1 Z0 F{Z_TRAVEL_SPEED} G90 ; Absolute positioning M82 ; Extruder in absolute mode ;Heat bed on {IF_BED}M190 S{BED} M106 S165 ; Turn on fan ; Activate all used extruder {IF_EXT0}M104 T0 S{TEMP0} {IF_EXT1}M104 T1 S{TEMP1} G92 E0 ; Reset extruder position ; Wait for all used extruders to reach temperature {IF_EXT0}M109 T0 S{TEMP0} {IF_EXT1}M109 T1 S{TEMP1} {IF_EXT0}T0 {IF_EXT1}T1 M83 G1 E10 F100 M82 G92 E0 ; Reset extruder position M117 Vertex is printing G1 F1000 Z5

Slic3r start code:

G28 ; Home extruder G1 Z5 F{Z_TRAVEL_SPEED} G1 Z0 F{Z_TRAVEL_SPEED} G90 ; Absolute positioning M82 ; Extruder in absolute mode ;Heat bed on {IF_BED}M190 S{BED} M106 S165 ; Turn on fan ; Activate all used extruder {IF_EXT0}M104 T0 S{TEMP0} G92 E0 ; Reset extruder position ; Wait for all used extruders to reach temperature {IF_EXT0}M109 T0 S{TEMP0} {IF_EXT0}T0 M83 G1 E10 F100 M82 G92 E0 ; Reset extruder position M117 Vertex is printing G1 F1000 Z5

End code Cura:

M140 S0 ; Disable heated bed ; Disable all extruder G91 ; Relative positioning {IF_EXT0}T0 {IF_EXT0}G1 E-1 ; Reduce filament pressure M104 T0 S0 {IF_EXT1}T1 {IF_EXT1}G1 E-1 ; Reduce filament pressure M104 T1 S0 G90 ; Absolute positioning G92 E0 ; Reset extruder position M140 S0 ; Disable heated bed M107 ; Turn off fan M84 ; Turn steppers off T0 T1 T0

Slic3r end code:

M140 S0 ; Disable heated bed ; Disable all extruder G91 ; Relative positioning {IF_EXT0}T0 {IF_EXT0}G1 E-1 ; Reduce filament pressure M104 T0 S0 G90 ; Absolute positioning G92 E0 ; Reset extruder position M140 S0 ; Disable heated bed M107 ; Turn off fan M84 ; Turn steppers off T0

If I leave both extruders in the Slic3r code I get the M104 “wrong extruder” error in the log. Removing those lines gives me Homing before heat but it never heats nor sends the command to the printer.

I did a long google search beforehand to see if anyone had the same problem, but even my Google-fu turned up nothing.

I checked my slic3r setting and found it much easier.

Slic3r start code:

G28 ; home all axes G1 Z5 F5000 ; lift nozzle

Slic3r end code:

M104 S0 ; turn off temperature G28 X0 Y0 ; home X axis G1 Z100 ;z down M84 ; disable motors

All other codes are generated inside the Slic3r-core, I don’t see any need for them.

You may set the check-box in the output option for verbose G-Code (printer settings) and review the g-code generated. I don’t know if Slic3r can handle the variables in the custom code.

This code above works for two nozzles (without heatbed).

hoh61, Thanks for the clarification, I thought that I had to copy all G-code settings from Cura into Slic3r. Seems I was wrong.

Well, I bit the bullet and bought Simplify3d to act as slicer and controller.

Frankly it’s amazing compared to Cura and Slic3r, slicing takes no time at all on a quad core Q2630M.
The setup is fast and I can churn out a heap of setting in no time, by doing a copy from one to the other.
The only thing I don’t like is the manual control, very basic and needs another screen to be able to utilize fully.
And I can’t really read the G-code inside the program itself. The realtime monitor is useless, but the preview is magnificent.

I fixed some warping of my E3Dv6 mount I found on Thingiverse, it seems that the mount makes my hotend stand a bit askew in relation to the heatbed.
I temporarily removed the Buildtak from the glass plate, I still have adhesion issues even using glue sticks. will test hair spray tomorrow, if it doesn’t work I will reapply the Buildtak.