@Danal you mean duet2 board can use tmc2130 in spi mode? What spi port on the main can I connect to driver? Thanks!
Posts made by DSG
-
RE: Duet WiFi Additional Stepper Drivers with SPI
-
RE: How to change something in file resurrect.g?
@Phaedrux yes, the problem is resume print after powerloss. The gcode for lifting z axis make the gap between the previous layer and the current layer, maybe cause by under extrusion (leaking filament when heating nozzle and move from home to previous location). My solution is insert the code calling a macro before resume print (after heating nozzle already) instead hard code like the exist firmware setup. I can modify the movement of print head or extrusion before print is resumed. The resurrect-prolog.g is not used by me now, but I will change the location of calling code of resurrect-prolog.g in resurrect.g for my problem. So the new macro will nolonger nessessary.
-
RE: How to change something in file resurrect.g?
Compile the firmware with remove some code and add a code for calling powerfailure.g (made by me) for adjusting the extrusion before resume print that solute my problem.
Thanks. -
RE: Error on compile firmware at Duet2RTOS
OK, I have fixxed it. Download wrong branch of the RRFLibrary. Thanks so much.
-
RE: Error on compile firmware at Duet2RTOS
@dc42 I got RRFLibrary at your github https://github.com/dc42/RRFLibraries. If it is old version, tell me how to get the new. Thanks!
-
Error on compile firmware at Duet2RTOS
My CoreNG, RRFL, FreeRTOS compile have successed but fail on compile Rerapfirmware (duet3RTOS). The error has shown below:
In file included from ../src/Storage/FileInfoParser.h:11, from ../src/Storage/FileInfoParser.cpp:8: C:\Eclipse\Firmware\RepRapFirmware\src/RepRapFirmware.h:43:10: fatal error: General/StringFunctions.h: No such file or directory 43 | #include "General/StringFunctions.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/Tools/Tool.h:29, from ../src/Tools/Tool.cpp:26: C:\Eclipse\Firmware\RepRapFirmware\src/RepRapFirmware.h:43:10: fatal error: General/StringFunctions.h: No such file or directory 43 | #include "General/StringFunctions.h"
-
RE: How to change something in file resurrect.g?
@dc42 I have 2 problems. The first is the print head lift 2mm and down 2mm before resume that make the gap (greater than layer height) between the print head and printed object. I think that problem comes from the z axis movement by belt. The next, the extrusion that has rised from calling resurrect-prologue.g before print head arrives at the previous location make the under extrusion when resume print. That are reasons I want to edit resurrect.g, disable lift the z and add gcode for extrusion after print head comes back. I have tried that by edit the resurrect.g manually and get success resume at pause/planning power off or power failure state. How to config that?
-
RE: How to change something in file resurrect.g?
@dc42 the lifting z about 2mm make the resume print not fit with the exist printed object. I have successed with remove lift z code in the resurrect.g not only pause state but also power failure. Have you added this mod in the next firmware version (user can figure the movement of print head)?
-
RE: How to change something in file resurrect.g?
@littlehobbyshop please tell me how to compiled firmware. Thanks!
-
RE: How to change something in file resurrect.g?
@T3P3Tony yes, wiki has guide that but I do not add the z lift code to M911, just turn off X Y motor and retract.
-
RE: How to change something in file resurrect.g?
@T3P3Tony just turn off the motor X Y and retract follow the guide in wiki.
-
RE: How to change something in file resurrect.g?
@Phaedrux prologue file just
M116
G28 X Y -
RE: How to change something in file resurrect.g?
@Phaedrux the last update 2.04 just fix the select tool before resurrect-prologue.g is called.. I think it is not that I need, but I will try.
Thanks for your support. -
RE: How to change something in file resurrect.g?
My board is duet2wifi rev1.04 using firmware 2.03
-
RE: How to change something in file resurrect.g?
My resurrect.g is below:
; File "0:/gcodes/prusaslicer/prusaslicer-test bed.gcode" resume print after print paused at 2019-11-05 10:18 G21 G29 S1 T-1 P0 G92 X5.000 Y157.500 Z0.150 G60 S1 M98 P"resurrect-prologue.g" M116 M290 X0.000 Y0.000 Z0.000 R0 G10 L2 P1 X0.00 Y0.00 Z0.00 G10 L2 P2 X0.00 Y0.00 Z0.00 G10 L2 P3 X0.00 Y0.00 Z0.00 G10 L2 P4 X0.00 Y0.00 Z0.00 G10 L2 P5 X0.00 Y0.00 Z0.00 G10 L2 P6 X0.00 Y0.00 Z0.00 G10 L2 P7 X0.00 Y0.00 Z0.00 G10 L2 P8 X0.00 Y0.00 Z0.00 G10 L2 P9 X0.00 Y0.00 Z0.00 G54 G10 P0 S190 R190 T0 P6 M106 S0.00 M106 P0 S0.00 M106 P3 S0.00 M106 P4 S0.00 M106 P5 S0.00 M106 P6 S0.00 M106 P7 S0.00 M106 P8 S0.00 M116 G92 E0.00000 M83 M23 "0:/gcodes/prusaslicer/prusaslicer-test bed.gcode" M26 S459 P0.000 G0 F6000 Z2.150 G0 F6000 X5.000 Y157.500 G0 F6000 Z0.150 G1 F6000.0 P0 G21 M24
And the lines that I want to delete
G0 F6000 Z2.150 G0 F6000 Z0.150
Add some code at the end of it.
How can I figure that? Not modify manually. -
How to change something in file resurrect.g?
The end of resurrect.g file that was created automatically by system after power failure or planning power off (pause) has some code to move the print head to previous location before power fail. I do not want the print head move up 2mm before resume printing. I must edit the resurrect.g file manually before resume print. How can I config that?
Thanks!