Welcome! Log In Create A New Profile

Advanced

Using OctoPrint with Duet

Posted by trgtylcnky 
Using OctoPrint with Duet
December 01, 2017 04:25AM
Hi,
I started using OctoPrint with Duet but I am having some problems.
1. M114 command doesn't give E distance. There are E0-E5 values but they are all 0.
2. Pause GCode script is not executed when I paused from OctoPrint interface.

Are there anyone used Duet + OctoPrint?
Re: Using OctoPrint with Duet
December 01, 2017 04:59AM
My understanding is that Octoprint is designed to print files by sending the data over USB from its own SD card. Therefore the pause/resume handling needs to be done by Octoprint itself.

I don't think many people use Duet with Octoprint, because the web interface provided by the Duet provides a lot of information that Octoprint doesn't.

The Duet does return E distances in the M114 command, but not E steps.



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: Using OctoPrint with Duet
December 01, 2017 07:37AM
Yes, Octoprint is sending gcodes via usb. I know it is not optimal for Duet but I choose to use it to use my Raspberry Pi and touch screen, webcam stream, and some other features. I also think the pause issue shouldn't have anything with the board but my other boards are running ok. Also, I am using a very old version firmware (1.09b-dc42-t3p3-axis-switch (2015-06-22)), maybe it is why I am not getting E values. Duet web interface shows some value for E distance but M114 gives 0

Send: M114
Recv: X:1.00 Y:1.00 Z:84.01 E0:0.0 E1:0.0 E2:0.0 E3:0.0 E4:0.0 E5:0.0

I will try to upgrade my firmware.
Re: Using OctoPrint with Duet
December 01, 2017 04:54PM
I use Octoprint with Duet, and I get E values back:

Send: N38782 M114*33
Recv: X: 0.000 Y: 0.000 Z: 333.841 E0: 64369.1 E1: 0.0 E2: 0.0 E3: 0.0 E4: 0.0 E5: 0.0

It's an old Duet 0.6, with firmware 1.18.1
Octoprint version 1.3.5
Re: Using OctoPrint with Duet
December 02, 2017 03:07AM
I'm using Octoprint for my RADDS running RRFirmware too. There are several buttons in Octoprint, which are strictly "taboo", because they don't work the way they should. ( IIRC extrude/retract and navigation panel ).
I use Octoprint for basic stuff, but with a WIN8.1 tablet PC ( instead of touchscreen ). The tablet offers a lot more options like slicing, checking Gcode Wiki a.s.o.
Sorry, only registered users may post in this forum.

Click here to login