Simplify 3D configuration
-
But I think your real question is the BLtouch. A properly configured Duet will make the BLt work with no special G-Codes from your slicer. It "just works" as various homing and probing occur.
Please post your config.g, homez.g, and bed.g. And your deployprobe.g and retractprobe.g. All of those are in /sys (none in /macros)
-
@Danal said in Simplify 3D configuration:
A properly configured Duet will make the BLt work with no special G-Codes from your slicer.
well you do need "some" startup stuff... S3D won't even add homing if you don't add it to start script
-
I think the issue starts with the homeall script. I am no expert on this coding stuff but it looks like there;s no command to operate the BLTouch:
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Feb 20 2020 16:55:51 GMT-0800 (Pacific Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X305 Y-305 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X305 ; home X axis
G1 H1 Y-305 ; home Y axis
G1 X-5 Y5 F6000 ; go back a few mm
G1 H1 X305 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-305 ; then move slowly to Y axis endstop
G1 H1 Z-505 F360 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
@Weevil said in Simplify 3D configuration:
G1 H1 Z-505 F360 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this)You are correct. You have it setup as if you were using an endstop instead of a probe.
You need to replace those lines with something like this:G90 ; absolute position G1 X150 Y150 ; move probe to the center of the bed G30 ; use the probe to find Z0 G1 X0 Y0 Z5 ; return to parked position
-
@arhi I never remove the SD card, just use DWC to load files, print them and update the system firmware etc.
That was my script for the startup is S3, you will notice that it checks if the machine has been homed, if not it carries out a home procedure.. -
G30 works MUCH better for a BLt. Here's my homez, and deploy/retract files. These "just work", including probing for 3-motor bed tramming, mesh probing, etc.
My /sys/homez.g:
; Home Z Axis G90 G1 X150 Y150 F10000 ; Move to the center of the bed M558 F500 ; Set the probing speed G30 M558 F50 ; Set a slower probing speed G30
my /sys/deployprobe.g:
M280 P0 S10
And /sys/retractprobe.g:
M280 P0 S90
/sys/bed.g
G0 X152.5 Y50 H1 F10000 G30 P0 X152.5 Y50 Z-99999 ; probe near back leadscrew G0 X265 Y260 H1 F10000 G30 P1 X265 Y260 Z-99999 ; probe near front left leadscrew G0 X0 Y315 H1 F10000 G30 P2 X0 Y315 Z-99999 S3 ; probe near front right leadscrew and calibrate 3 motors G1 X150 Y150 F10000
-
@Phaedrux I tried your suggestion. It almost works. It is assuming the endstops are on the other end of the rail and rattles off before I hit emergency stop.
This is the code I have for homex which works:
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X305 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 X-5 F6000 ; go back a few mm
G1 H1 X305 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioningHere's the code for homey which works:
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y-305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y5 F6000 ; go back a few mm
G1 H1 Y-305 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioningAnd here's the working code for homez:
G90 G1 X150 Y150 F10000 ; Move to the center of the bed
M558 F500 ; Set the probing speed
G30
M558 F50 ; Set a slower probing speed
G30Just to make sure here, when a send a file to print per the file created by S3D, the extruder is sent to coordinates 0,0,0 which I perceive as homeall. The homez code I have centers the head (150,150,0). Does this matter when starting a print?
-
@Weevil said in Simplify 3D configuration:
The homez code I have centers the head (150,150,0). Does this matter when starting a print?
You can add another G1 X Y move after the last G30 to move the head wherever you want to park it, as I showed in my example. Once the print starts, it will move to wherever it needs to go to print, regardless of where the print head is when it starts.
@Weevil said in Simplify 3D configuration:
It is assuming the endstops are on the other end of the rail and rattles off before I hit emergency stop.
I don't understand what you mean. What did you try and what did it do?
It may be time to post your config.g and homing files along with a description of your printer, where the endstops are, etc, and maybe even a picture.
-
@Phaedrux The head is moving to the end that does not have the end stop. Then it rattles away until I do an emergency stop. MY homex and homey codes work just fine. It's the homeall that is causing the issue.
-
@Phaedrux said in Simplify 3D configuration:
It may be time to post your config.g and homing files along with a description of your printer, where the endstops are, etc, and maybe even a picture.
-
Problem solved. The whole issue was in the location of the end stops. It is now working. Thanks everyone!