@norder Great! Thanks!
Best posts made by DuetUser
Latest posts made by DuetUser
-
RE: AWD Voron 2.4 - Duet3
I'd like to revive this subject as can you share some experience?
We are building a large coreXY with 4 XY motors (nema 17 60mm)
I wonder if there are any reasons not to connect two motors to one driver?The drivers are 4.5A so there is some overhead and the setup will be 48 V. We used nema 23 with one driver on Duet 2 ethernet but only on Z axis so they have much less to do and worked for years without problems, but this time they are on XY and there will be a lot of long fast travels.
-
RE: Upgrading older MB6HC to 48 V
@dc42 Thanks a lot David, I should definitely forget it
-
Upgrading older MB6HC to 48 V
Is it possible to resolder a MOSFET and a few small warehouses on the board to be able to apply 48 V or should I forget it ?
We have a fair amount of older MB6HC on large machines and 48 V would greatly help with long fast travels.
I'm aware we can order new Duets or expansion boards. -
RE: Duet 3 Motor 23 CL or Stepperonline integrated servo
@sebkritikel Thanks, I'm concerned only about the motor characteristics of servos / steppers.
With fast long travels steppers have very little torque and are troublesome.
But on the other hand step dir is not a perfect solution to drive servos also.There is little info about these subjects so probably we will go all Duet to save time and trouble.
-
Duet 3 Motor 23 CL or Stepperonline integrated servo
We had leadshine easy servo and DCS303 connected to Duet ethernet a few years ago.
Everything was fine only the prints were wavy distorted by layer shifting or something else and after some trial and error we dropped the project.Now a new light shines, there are better Duet expansion possibilities and more motor options.
We need very fast travels on a large machines and total immunity to position loss.
There would be two ways, and I'm not certain if the second would work at all:- Just plug Duet close loop steppers (23CL) and forget.
We are stuck with stepper specs but with 48V it could be just enough, on the other hand the setup should be totally hassle free. - Try Duet 6XD with one of these: https://www.omc-stepperonline.com/integrated-servo-motor
and enjoy servo advantages along with a bag of extra troubles.
What are real life differences in two ways?
Do we lose on the servo side due to 5ms min signal length comparing to probably faster stepping rate with 23 CL? - Just plug Duet close loop steppers (23CL) and forget.
-
RE: Custom gcode upload function in python - RRF HTTP server options
@chrishamm There is and I successfully do it by passing an iterator as "data" to POST request, it feeds the request with chunks of data. Everything is fine but it is a blocking IO. I'm trying to make it async, ond one of the ways is to pass chunks sequentially in subsequent POST requests, only RRF treats each chunk as a separate file.
I have to dig into it more and perhaps make an async iterator and use it with async uploader, which I failed to do as of yet.This is a working non async upload code:
import requests class upload_in_chunks(object): def __init__(self, filename, chunksize=1 << 13): self.filename = filename self.chunksize = chunksize self.totalsize = os.path.getsize(filename) self.readsofar = 0 def __iter__(self): with open(self.filename, 'rb') as file: while True: data = file.read(self.chunksize) if not data: sys.stderr.write("\n") break self.readsofar += len(data) percent = self.readsofar * 1e2 / self.totalsize sys.stderr.write("\r{percent:3.0f}%".format(percent=percent)) yield data def __len__(self): return self.totalsize def sendme(): requests.get(baseurl+'/rr_connect?password=reprap') requests.post(url, data=upload_in_chunks(afile, chunksize=10))
-
Custom gcode upload function in python - RRF HTTP server options
I try to write a simple python software to upload gcode to a machine in async manner.
I have it working synchronously by passing an iterator to request object, but I need async to send lots of files to different machines.
A file is divided into chunks and each chunk is an async task.
The problem is that subsequent chunks gets uploaded in separate POST requests as separate files, overwriting each other, so the uploaded file has last chunks size.I've set the X-File-Id header but it does not seem to work.
So the question is is it at all possible to send one file in many POST requests to RRF?
-
Gcode upload problem on linux
I cannot reliably upload a g-code file via DWC on a Linux Mint 21 machine. It starts and after proceeding for a while the connection goes down and upload fails. The printers have Duet 6HC boards with 3.4 firmware. Uploading from W10K works normally, only on Mint it fails, I tried Firefox and Brave, same result, no matter what connection settings are in the DWC. Perhaps there are some networking settings I don't know about. Did you have any problems alike?
-
RE: Two different motors used by E0
@deckingman
Ofcourse! Thanks a lot it's so elegant!