Welcome! Log In Create A New Profile

Advanced

Extruder motor not running

Posted by motley 
Extruder motor not running
May 03, 2016 12:46PM
Setup is:

Windows 8.1
Prusa Mendel Longboat
Duet 0.8.5
I have no Z probe as yet - on order from DC42

Using the Web Interface and I have now got everything running except the extruder motor (on either E0 or E1 pins)

I have waited for the temperature of the hot end to stabilise at 190C but neither by running a test print, nor the direct controls can I get motor movement.

By swapping the plugs over (power off first) I have tested that the extruder motor functions normally- here is my configuration file apologies in advance for any howlers - this is my first go at this!


M111 S0 ; Debug off
M550 PMotleyRap ; Machine name (can be anything you like). With DHCP enabled connect to (example) [reprappromendel3] (machine name with no spaces).
M551 Preprap ; Machine password (currently not used)
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0x14 ; MAC Address
;M552 P0.0.0.0 ; Un-comment for DHCP
M552 P192.168.0.14 ; IP address, comment for DHCP
M553 P255.255.255.0 ; Netmask
M554 P192.168.0.1 ; Gateway, comment for DHCP
M555 P2 ; Set output to look like Marlin
G21 ; Work in millimetres
G90 ; Send absolute corrdinates...
M83 ; ...but relative extruder moves
M906 X800 Y1000 Z800 E800 ; Set motor currents (mA)
M305 P0 T100000 B4388 R4700 H30 L0 ; Set the heated bed thermistor values
M305 P1 T100000 B4388 R4700 H30 L0 ; Set the hot end thermistor values
M574 X1 Y1 Z1 S2 ; X stop, Y stop , Z stop , (0 = no stop, 1 = LOW end, 2 = HIGH end) S2 means all with Active LOW cjt
M569 P0 S0 ; X motor 0 = reverse 1 = forward
M569 P1 S0 ; Y motor
M569 P2 S1 ; Z motor Z cjt
M569 P3 S0 ; Reverse the extruder motor (T0)
M569 P4 S0 ; Reverse the extruder motor (T1)
M569 P5 S0 ; Reverse the extruder motor (T2)
M92 E660 ; Set extruder steps per mm
M558 P0 Z0 ; P0 = no probe Z0 = use endstop for probing
G31 Z0.8 P600 ; Set the probe height and threshold (deliberately too high to avoid bed crashes on initial setup)
M556 S75 X0 Y0 Z0 ; Put your axis compensation here
M201 X500 Y500 Z15 E500 ; Accelerations (mm/s^2)
M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
M566 X200 Y200 Z30 E20 ; Minimum speeds mm/minute
M208 X200 Y200 Z100 ; set max travel posn
M208 X0 Y0 Z0 S1 ; set min travel posn
M563 P0 D3 H1 ; Define tool 0 has drive 3 and Heater 1 cjt
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
;M563 P1 D1 H2 ; Define tool 1, uncomment if you have a dual colour upgrade
;G10 P1 S-273 R-273 ; Set tool 1 operating and standby temperatures, uncomment if you have a dual colour upgrade
;M563 P2 D2 H3 ; Define tool 2, uncomment if you have a tri colour upgrade
;G10 P2 S-273 R-273 ; Set tool 2 operating and standby temperatures, uncomment if you have a dual colour upgrade
T0 ; select first tool
Re: Extruder motor not running
May 03, 2016 02:27PM
think your Extruder definition is wrong D3 AFAIK is for the 4th extruder not the first

Try this line instead

M563 P0 D0 H1 ; Define tool 0

HTH

Doug
PRZ
Re: Extruder motor not running
May 03, 2016 04:13PM
Doug, you are right, but I think I know where the problem came from.

I listed the drive number as such in the G-Code page :
0angry smiley; 1:Y; 2:Z; 3:E0; 4:E1; 5:E2; 6:E3; 7:E4; 8:E5
This order does not apply for M563, so what I have written is wrong
This is the drive order in Firmware, which may apply for pin number understanding and for M569
That drive order refers to this thread and that was important because to date, this info was nowhere:
[forums.reprap.org]

Also I think there was a modif on one command drive qualifier, don't remember which

I have to correct and clarify a bit the stuff.

Edited 1 time(s). Last edit at 05/03/2016 04:42PM by PRZ.


Pierre

- Safety [reprap.org]
- Embedded help system for Duet and RepRap Firmware [forums.reprap.org]
- Enclosed delta printers Lily [rouzeau.net] and Lily Big [rouzeau.net]
- OpenScad delta printer simulator [github.com]
- 3D printing on my site [www.rouzeau.net]
PRZ
Re: Extruder motor not running
May 03, 2016 04:30PM
Looking the M563 command, the example refer to drive 0:5 and 6, but I don't understand, as if the drive references are taken after the X,Y and Z, there is no drive 6, as there is a maximum of 6 extruder drives (2 on the Duet 0.8.5 and 4 on the Duex 4) so last drive shall be D5 ?

In the code extract listed in the referenced thread, there is indeed a total of 9 drives.


Pierre

- Safety [reprap.org]
- Embedded help system for Duet and RepRap Firmware [forums.reprap.org]
- Enclosed delta printers Lily [rouzeau.net] and Lily Big [rouzeau.net]
- OpenScad delta printer simulator [github.com]
- 3D printing on my site [www.rouzeau.net]
Re: Extruder motor not running
May 04, 2016 05:07AM
Hi,

Thanks for the replies, I think I assumed (as prz states) that X = Drive 0, Y = Drive 1, Z = Drive 2 and First Extruder (Tool 0) is on Drive 3.

Having just reread the RepRap wiki on GCodes I notice that I was wrong, it (the wiki) states that the first drive after X,Y and Z is D0.

I'm not at home until this evening - will give it a go then and report back.

Chris
Re: Extruder motor not running
May 04, 2016 08:28AM
Quote
PRZ
Looking the M563 command, the example refer to drive 0:5 and 6, but I don't understand, as if the drive references are taken after the X,Y and Z, there is no drive 6, as there is a maximum of 6 extruder drives (2 on the Duet 0.8.5 and 4 on the Duex 4) so last drive shall be D5 ?

In the code extract listed in the referenced thread, there is indeed a total of 9 drives.

I have updated the example to use extruder drives 0, 2 and 3 instead of 0, 5 and 6.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Extruder motor not running
May 04, 2016 08:45AM
Hi David,

I plan to change the line in my setup code from:

M563 P0 D3 H1

to

M563 P0 D0 H1

I have fingers crossed :-)

Looking forward to receiving my IR Z probe!

Chris
Re: Extruder motor not running
May 05, 2016 03:38AM
Success :-)))

Changed the M563 parameters as suggested originally by Doug and I now have a moving extruder, brilliant.

Might get a chance to do my first build this evening or tomorrow - looking forward to it...

Thanks again for everyones help.
Sorry, only registered users may post in this forum.

Click here to login