Need help with piezo Z probe and Simplify 3d combination
-
If you use start.g it is called before any of the code from S3D is executed.
I make use of the feature of S3D which allows invoking my code at the start of a print which I do in a macro print_begin.g
You can see the call to that macro in the S3D generated code below.
; S3D inserts the following code at the start of a print file G90 ; absolute XYZ moves M83 ; relative E moves M106 S0 ; fan on to 0 M140 S60 ; set bed temp but don't wait M104 S190 T0 ; set extruder temp but don't wait M98 P"print_begin.g" ; invokes my macro file
Since my print_begin.g macro is called after any of the S3D temperature settings my code takes precedence.
I don't make use of the temperature settings in S3D at all. I use the filament management features of DWC and in the filament config.g file I set the desired temperatures (bed and extruder), extrusion multiplier and anything else that may be specific to the chosen filament.
Frederick
-
Wow, thank you sir. I now need to rest my brain after debating this with the guys over on the f.b. s3d forum, lol.
I'm confident that this will solve my problem. -
Ok so I'm trying to fully understand this. print_begin.g is a duet macro file, correct? I don't see filament config.g or start.g in my system section so they need to be created. Are there examples of them somewhere?
Edit, I'll check the dozuki for more info.
-
@luckyflyer said in Need help with piezo Z probe and Simplify 3d combination:
Ok so I'm trying to fully understand this. print_begin.g is a duet macro file, correct? I don't see filament config.g or start.g in my system section so they need to be created. Are there examples of them somewhere?
Edit, I'll check the dozuki for more info.
Hi,
OK you know where in S3D you can put code to be executed at the start and end of a print - correct?
In the place for the start of a print I simply put M98 P"print_begin.g".
In the place for the end of a print I simply put M98 P"print_end.g".
Then I created these files in the System directory using the Duet DWC. There is nothing special about the names I chose other than they are consistent with their use.
I DO NOT use start.g because of when it is executed - before any S3D code - thus S3D code may override anything done in start.g.
The files related to filament management are created when you create a new filament with the Duet DWC. Once they are created then you can edit them, again using the Duet DWC.
Each filament you create has three associated files: load.g unload.g and config.g
Frederick
-
Yes I know where to put starting and ending code.
You've told me enough that I should be able to get it from here.
Thanks again. ...........Mark -
@luckyflyer said in Need help with piezo Z probe and Simplify 3d combination:
Yes I know where to put starting and ending code.
You've told me enough that I should be able to get it from here.
Thanks again. ...........MarkIf you get stuck don't hesitate to ask more questions.
Frederick
-
I have print_begin_.g and print_end.g in the system directory. I just copied and pasted my start and stop scripts into these files. I replaced the start and stop scripts in s3d with their respective M98 commands. It works except the nozzle still has a start temp of 200c instead of the 160c in the begin_print.g file. I'm running S3d 4.1.2. I included my start script at the beginning of this post.
Ok I figured it out , all temperature controllers in S3d needs to be disabled for this to work correctly.
-
@luckyflyer can you tell how you turned off temperature controllers in S3D?
-
@luckyflyer said in Need help with piezo Z probe and Simplify 3d combination:
Ok I figured it out , all temperature controllers in S3d needs to be disabled for this to work correctly.
It certainly doesn't hurt to do that but you can tweak what code S3D generates.
I have attached my S3D firmware settings file. You can save your existing settings to your own file and load these if you want to see what I am doing. Then you can restore you settings from your file.
Frederick
-
@Dep
In process1, temperature tab, toward bottom "remove temperature controller". I did this for bed and h.e. -
Ok so I'm making pretty good prints, I have my print_start and print_end files working correctly. Now on to setting up filament profiles.
-
@fcwilt
Since my printer is a relatively simple one tool machine I've been looking for examples of load.g unload.g and config.g that would be appropriate for that type of printer. Really all I want is to have seperate profiles for pla,abs and tpu. Can you point me to where I can find examples of this type of filament profile?
ThanksEdit,
So it seems that all I really need is a separate config.g for each filament since I load and unload filament manually. .....Right? -
@luckyflyer said in Need help with piezo Z probe and Simplify 3d combination:
So it seems that all I really need is a separate config.g for each filament since I load and unload filament manually. .....Right?
Glad to hear things are moving forward for you.
I only edit the config.g file for my filaments - see below for one of mine - the M291 are optional but I like to see what is happening:
Notice that this is for Amazon - Gray PLA - I have found that different brands and even different colors sometimes need specific settings.
Frederick
M291 R"PLA - Amazon - Gray" P"Configuring..." T0 M221 S100 D0 ; set extrusion multiplier G10 S200 R0 ; set extruder temps M140 S60 R0 ; set bed temps M291 R"PLA - Amazon - Gray" P"Configuring - Done" T3
-
@fcwilt
Thank you again.