Solved Custom Work Plane code for Homedelta.g
-
Can someone help me make the code for my homedelta.g file that will:
- Store the current work plane
- Change to the G54 work plane
- Home the printer
- Then revert back to the previously stored work plane?
-
@code7 what is the problem that you are trying to solve? If is is that homing doesn't work properly when you are in an offset workplace coordinate system, you may find that is already fixed in 3.4beta2 firmware.
-
@dc42
Nice, this is the problem I am trying to overcome.When I upload the beta "Duet2CombinedFirmware.bin" I receive the following Error: M997: In-application programming binary "0:/firmware/Duet2_SDiap32_WiFiEth.bin" not found
Can you tell me how I can overcome this error?
-
@code7 said in Custom Work Plane code for Homedelta.g:
@dc42
Nice, this is the problem I am trying to overcome.When I upload the beta "Duet2CombinedFirmware.bin" I receive the following Error: M997: In-application programming binary "0:/firmware/Duet2_SDiap32_WiFiEth.bin" not found
Can you tell me how I can overcome this error?
It seems like you're missing some files. Please try uploading the complete 3.3 zip file again first before trying to update to the beta.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
-
@phaedrux
That worked great. ThanksHow do I mark this topic as solved?
-
@Phaedrux
One more quick question while we're on this subject. Ever since updating the FW a few months back I receive and Error: G0/G1: insufficient axes homed.The hardware and end-stops are fine. But I'm required to home twice in a row each time I home. Do you know what might be causing this?
-
@code7 said in Custom Work Plane code for Homedelta.g:
I receive and Error: G0/G1: insufficient axes homed.
The hardware and end-stops are fine. But I'm required to home twice in a row each time I home. Do you know what might be causing this?There is likely a G1 move in your homing files somewhere that is trying to move an axis before it's actually homed. Likely when trying to lift the Z axis for clearance. To move an axis before it's homed you need to use G1 H2. Post your homing files so we can take a look.
@code7 said in Custom Work Plane code for Homedelta.g:
How do I mark this topic as solved?
Click on the Topic Tools icon (the little gear) and select "ask as question". Then click on it again and select "mark as solved".
-
Here is what I have in the homedelta.g
; homedelta.g G91 ; relative positioning ;*** Slow homing has been configured. Change F180 to F1800 below when your configuration is working G1 H1 X265 Y265 Z300 H2 F1800 ; move all towers to the high end stopping at the endstops (first pass) G1 H2 X-5 Y-5 Z-5 F1800 ; go down a few mm ;*** Slow homing has been configured. Change F180 to F360 below when your configuration is working G1 H1 X20 Y20 Z20 F360 ; move all towers up once more (second pass) G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred (Default -5) G90 ; absolute positioning G1 X0 Y0 F6000 ; move X+Y to the centre
-
@code7 line 4 you've got H1 and H2. Remove the H2
-
@engikeneer said in Custom Work Plane code for Homedelta.g:
line 4 you've got H1 and H2. Remove the H2
Thanks
-
@engikeneer said in Custom Work Plane code for Homedelta.g:
@code7 line 4 you've got H1 and H2. Remove the H2
I thought that was correct for a delta because it refers to the individual towers, so it's moving all 3 down by the same amount.
-
@code7 said in Custom Work Plane code for Homedelta.g:
Error: G0/G1: insufficient axes homed.
Do you only get that when doing G28?
Can you post your full config.g and the results of M122 and M98 P"config.g"?
-
@code7 increase the homing distance for the H1. What you'll probably find is that if your printing height is 250 and one of your towers is over extended, 265 won't be enough to reach the homing position first go. I usually go for a couple of 100mm higher than the max height for any homing moves
-
@code7 said in Custom Work Plane code for Homedelta.g:
G1 H1 X265 Y265 Z300 H2 F1800 ; move all towers to the high end stopping at the endstops (first pass)
This line also looks weird. The distances aren't the same, and there is a rogue H2 on that line as well.
-
@phaedrux said in Custom Work Plane code for Homedelta.g:
This line also looks weird. The distances aren't the same, and there is a rogue H2 on that line as well.
Thanks. I made the suggested changes and it's working well now.