Welcome! Log In Create A New Profile

Advanced

extruders work but not when printing, duet wifi

Posted by advancedrescue 
extruders work but not when printing, duet wifi
January 28, 2017 12:04AM
quick description
using Duet Wifi


Ive been in the process of building my own printer, now programming it. Been programming some, running test and then programming more. So I'm sure some things aren't finished. As of now i can home everything, got my steps tuned in, etc.


Issue is when i send a print to it after my homing and preheat of the hotend it starts the print as it should, but without the extruder motor even attempting to extrude, as if its off.
I can extrude using the main controls of the duet wifi when not printing, so i know it works and is wired up correctly.

heres all the my codes thus far. also i don't know if the code missing needs to be in a macro or config file.


config files, and homelall, homey, homex, homez . and a macro file i have

any help would be appreciated

config. g files


M111 S0 ; Debug off
M550 BEAST ; Machine Name
M551 P3258 ; Machine Password
M552 S1 ; Enable Wifi
M555 P2 : Set output to look like Marlin
M575 P1 B57600 S1 ; Set auxiliary serial port baud rate and require checksum (for PanelDue)


M350 X16 Y16 Z16 E16 T1 ; set 16x micro stepping with interpolotion
M574 X1 Y1 Z2 S1 ; set homing switch configuration (Y homing switch only at low end, active high)
M906 X1000 Y1000 Z1000 E1500 ; Set motor currents (mA)
M201 X200 Y200 Z15 E1500 ; Acceleration (mm/s^2)
M203 X15000 Y15000 Z400 E2500 ; Maximum speeds (mm/min)
M566 X600 Y600 Z30 E20 ; Maximum Jerk speeds (mm/min)
M208 X282 Y263 Z212 ; set axis maxima and high homing switch positions (adjust to suit your machine)
M208 X0 Y0 Z-0.2 S1 ; set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed)
M92 X87.5239 Y87.9286 Z1066.350 ; movement measurements accuracy. ...=desiredmovement/actual movment*current value. set axis steps/mm
M92 E79.2626 ; Set extruder 0 and 1 steps/mm (currently set to match fox, could be e420 : 420
G21 ; Work in millimeters
G90 ; Send absolute coordinates
M83 ; ... but relative extruder moves

; Endstops
M574 X1 Y1 S0 ; Define active low outputs
M574 Z2 S0 ; Define active low outputs
G31 P500 X11.0 Y0.5 Z1.65 ; set threshold and offsets

Heater and Thermister
M305 P0 T100000 B4388 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 T100000 B4388 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
M305 P2 T100000 B4388 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
M143 H0 S275 ; Un-comment this to set maximum extruder temperature, default is 262C
;M141 H3 ; Un-comment this to set chamber heater/thermistor channel

Tool definition
M563 P0 D0 H1 ; tool 0 uses extruder drive 0 and heater 1
G10 P0 S190 R150 X0 Y0 ; set tool 0 temperatures and offsets
M563 P1 D1 H2 F2 ; tool 1 uses extruder drive 1 and heater 2. Fan 2 is mapped to fan 0
G10 P1 S0 R0 X10 Y0 ; set tool 1 temperatures and offsets

Epilogue
M556 S100 X0 Y0 Z0 ; Put your axis compensation here
M501 ; Run config-override.g
T0 ; Select the first head


homeall

; Home All
G91 ; relative mode
G1 Z4 F200 ; raise head 4mm
G1 X-240 Y-240 F3000 S1 ; move up to 240mm in the -X and -Y directions until the homing switches are triggered
G1 X4 Y4 F600 ; move slowly 6mm in +X and +Y directions
G1 X-10 Y-10 F600 S1 ; move up to 10mm in the -X and -Y directions until the homing switches are triggered
G90 ; back to absolute mode
G92 Y-30 ; set Y endstop to negative position of print bed
G1 Y0 F600 ; move to the edge of the board
G1 X141 Y131.5 F2000 ; put head over the centre of the bed, or wherever you want to probe
G91 ; relative mode
G1 Z-200 F300 S1 ; move Z down until the switch triggers
G92 Z0 ; set Z to zero
G1 Z4 F400 ; move slowly 6mm in +X and +Y directions
G1 Z-10 F100 S1 ; move up to 10mm in the -X and -Y directions until the homing switches are triggered
G92 Z0 ; set Z to zero
G90 ; back to absolute mode
G1 Z10 ; move 10 to get out of way



homex

; Resume macro file
G91 ; relative mode
G1 Z4 F200 ; raise head to avoid dragging nozzle over the bed
G1 X-240 F3000 S1 ; move up to 240mm in the -X direction, stopping if the homing switch is triggered
G1 X4 F600 ; move slowly 4mm in the +X direction
G1 X-10 F600 S1 ; move slowly 10mm in the -X direction, until homing switches are triggered
G1 X0 ; set X endstop to zero position of print bed
G1 Z-4 F200 S1 ; lower the head again
G90 ; back to absolute mode



homey

; Resume macro file
G91 ; relative mode
G1 Z4 F200 ; raise head to avoid dragging nozzle over the bed
G1 Y-230 F3000 S1 ; move up to 240mm in the -Y direction, stopping if the homing switch is triggered
G1 Y4 F600 ; move slowly 4mm in the +Y direction
G1 Y-10 F3000 S1 ; move slowly 10mm in the -Y direction, stopping at the homing switch
G92 Y-30 ; set Y endstop to negative position of print bed
G1 Y0 F600 ; move to the edge of the board
G1 Z-4 F200 S1 ; lower the head again
G90 ; back to absolute mode




homez

G91 ; relative mode
G1 X0 Y0 F2000 ; put head wherever you want it to be when you home Z (omit this line if it doesn't matter)
G91 ; relative mode
G1 Z-200 S1 F400 ; move Z down until the switch triggers
G90 ; back to absolute mode
G92 Z0 ; tell the firmware that we are at Z=0.3mm


macro prepare print pal
;macro /macros/__prepare_PLA.g prepare the machine after a cold start for PLA printing
T0 ; define tool
M104 S150 ; set the current hot-end temperature to 150°C and don't wait for it
G28 ; home
G32 ; calibrate during heating phase
M109 S190 ; set the current hot-end temperature to 190°C and wait for it - M104 don't wait
Sorry, only registered users may post in this forum.

Click here to login