Dear all,
we recently installed our first magnetic encoder from duet together with the 1HCL extension boards.
Our mainboard is a Duet3 6HC board together with an RasPi.
Everything went quite smoothly, including the calibration and manual tuning.
However, I have a more general question about the capabilites of the generated encoder data, with the aim to evaluate different printing settings in hindsight. In the bestcase I would prefer to either capture the data directly into an .csv file or to set a global variable with the respective values, e.g. the current error.
So far I found the following approaches (with some questions attached):
M569.5: Closed loop data collection - Can I use this command for a "long time" data capture? The variables are all documented, however I did not fully understand if that can be implemented to supervise a full printing process. Am I supposed to just leave out the "T" and "V"?
Object model:
I could find 7 different entries in the object model that refer to the "closed loop" section for the extension boards (see below). However, I did not really find any explanation in the Documentation what those actually refer to. I think the "Position Error" might be the best indicator for me? Does this refer to the "Current Error" that is plotted in the Duet Plugin for the PID Tuning?
Thanks for the help and any further suggestions!
boards[].drivers[].closedLoop
Closed-loop settings (if applicable)
boards[].drivers[].closedLoop.currentFraction
Current fraction
boards[].drivers[].closedLoop.currentFraction.avg
Average fraction
boards[].drivers[].closedLoop.currentFraction.max
Maximum fraction
boards[].drivers[].closedLoop.positionError
Position error
boards[].drivers[].closedLoop.positionError.max
Maximum position error
boards[].drivers[].closedLoop.positionError.rms
RMS of the position error