Aha
Posts: 64
Joined: Sun Jul 28, 2013 10:58 am

S3d code for Taz 6 v3

Crossposting from Lulzbot forum for everyone like me that was really frustrated with Cura and really wanted an S3d profile for the Taz6 v3 dual extruder head! It's not perfect and I'm definitely looking for help, maybe something official from the s3d guys. Feel free to take what works and integrate or discard! I'm just looking to get working prints so take what you can use and toss the rest!

Got a working fff for everyone needing it for s3d! Definitely need some testers for it and probably some small tweaks. Some warnings first:
-Check your z offset! First switch to s3d kept crashing into the bed and left me some deep gouges after nearly ripping off my extended z probes. I recommend taking these FFF files, then adding in a +2 mm z offset to start, press print, then stop it and lower your z height to the bed using machine control to make it so that you get the z offset to exactly 2mm below.
-I removed the auto leveling code from the starting script and put it in as a macro (attached as text). This makes it so you have ONE time to level it and you don't have to wait on nearly as many heating restarts. This is really helpful to remove a bunch of purges and if you want to use the fff file for only ONE extruder printing. Go into firmware configuration in s3d then paste the text in the text file into the macro. Definitely open to help if someone wants to make this a simple gcode file so I can decouple this onto an SD card again (maybe just change this to .gcode and I'm done? I'm not sure)
-Understand that the autoleveling and the starting scripts are slightly decoupled - DON'T save the offsets later with M500 or it can mess up the routine (I fixed it at least once by reflashing firmware from Cura). s3d doesn't like -X offsets, so it makes it work with Y+13, but that's not the way it's done in the firmware and I haven't made the two fit.
-Note that s3d seems to pull from one then the other oddly, so I have two possibly slightly different processes for the right then the left. The left is the start scripts and the right is the end scripts priority wise, I'm not certain though.

The files are as follows):
Taz 6 Dual v3.fff - The code working for s3d, I've had to use this one and the RE version for the Right side, might have slight differences I've been tweaking?
Taz 6 Dual v3 Right Extruder.fff - Should be the same as the left, but not 100% certain. S3d ignores some code in one and not the other
Right Extruder print only.fff - Use this to just print from the right extruder if you want single extruder working.
bed level macro.txt - paste into the firmware under a macro you like, just press it and it will do the whole leveling sequence

These are working for PLA, still trying to tweak for the Polydissolve, and keep getting distracted. But this stuff works at the moment. Help, feedback, improvement all welcome!
Attachments
Taz 6 Dual v3 Right Extruder.fff
(31.28 KiB) Downloaded 404 times
Right Extruder print only.fff
(32.52 KiB) Downloaded 406 times
bed level macro.txt
(3.56 KiB) Downloaded 394 times
Aha
Posts: 64
Joined: Sun Jul 28, 2013 10:58 am

Re: S3d code for Taz 6 v3

Don't know why it didn't get the most important file, here it is!

Definitely start from here!
Attachments
Taz 6 Dual v3.fff
(33 KiB) Downloaded 521 times
smack
Posts: 2
Joined: Thu Mar 08, 2018 10:08 pm

Re: S3d code for Taz 6 v3

Thanks Aha!

I'll give it a try... I bought S3D for my Taz6 dual V3 thinking it was a fully supported printer but it isn't really... :-(

I also sent S3D a message to see if I should just get my money back since I don't have a lot of time to be messing around trying to make it work...! 2 days, no answer...

I'm a little scared to crash the bed but I'll follow your directions and see how it goes.
Aha
Posts: 64
Joined: Sun Jul 28, 2013 10:58 am

Re: S3d code for Taz 6 v3

Any luck? I'm hoping it's working - just don't know what the issues are that didn't make it easier to port over for s3d.

As a note to anyone, I think you should just be able to put the bed leveling macro directly back to starting gcode (with a tiny bit of editing) if you want to do bed leveling each time.
smack
Posts: 2
Joined: Thu Mar 08, 2018 10:08 pm

Re: S3d code for Taz 6 v3

Hi Aha

Yes it worked, thank you for your work on this :D . My Taz 6 dual V3 was fine with the Z-offset set to zero in Simplify3D (I tried it first at +2mm to be safe like you suggested but this proved unnecessary). One thing I did differently was I took the gcode for the wipe and level and put it into an Octoprint custom control using the appropriate plugin in Octoprint, instead of putting the macro for this in Simplify3d. This allowed me to create a button in Octoprint that says "Wipe and Level", and when you press it a pop-up comes up that says "Are you sure you want to Wipe and Level?". Click yes, and it works. I'm running Octoprint on a Raspberry Pi 2 server with Wifi. I thought the Octoprint control was better because I can wipe and level over wifi with my phone, whereas to wipe and level with the macro in Simplify3D I think the computer needs to be physically connected. If I continue using Simplify3D I would want to add another button for "purge" in Octoprint that heats it up and does the purge, since this seems to be a manual exercise with the code you kindly provided (on the other hand the Cura Lulzbot coded purge is ridiculously long and should be shortened).

Now I'm struggling with Simplify3d itself. So far, I can see that it would be quite powerful but I'm having a problem that's driving me crazy. Over and over, the program loses the settings I have put in and reverts to the bad defaults Simplify3D had for a dual V2. The dual extrusion wizard also sets up two colors that do not have the profile settings I selected, and/or defaults to the wrong profile... It's really annoying :x , and it's trying to revert to the Lulzbot dual V2 profile that would jam the nozzle through the build plate, which I almost did by accident once but was able to flick the machine off just in time. Maybe there is something I'm not understanding about creating a profile in Simplify3D... but it sure seems like clicking "update profile" should reliably save the settings (sometimes it does, sometimes it doesn't). I've been trying to set up a profile for PETG with PLA support, but so far there isn't enough ooze shield in the universe....!

Over the last week, Simplify3D has not responded to my requests for support through the website regarding the Taz 6 dual v3.

Thanks again Aha... Maybe if I figure out this settings issue, and find some more print profiles that I can borrow from, and if Simplify3D responds to an email, I would be happier with Simplify3D.
kevs_oc
Posts: 1
Joined: Thu Mar 15, 2018 2:52 pm

Re: S3d code for Taz 6 v3

I tried the Taz 6 Dual V3 profile but didn't understand your notes about changing the z height. I went ahead and tried printing anyway and got a huge rat's nest of filament on the print bed, so I assume my z height is too high.

Would you mind providing additional notes on modifying the height?

Thanks!
b-morgan
Posts: 24
Joined: Tue Oct 24, 2017 11:00 am

Re: S3d code for Taz 6 v3

I'm printing a two color 3DBenchy on my TAZ 6 with the Dual V3 toolhead. At the top of the Cura Dual V3 start code I added:

Code: Select all

M218 T0 X0 Y0 ; Simplify3D requires tool offsets in firmware
M218 T1 X0 Y0 ; offset for front extruder (set at end)
and at the end of the Cura Dual V3 start code I added:

Code: Select all

M218 T0 X0 Y0 ; Simplify3D requires tool offsets in firmware
M218 T1 X13.0 Y0.0 ; offset for front extruder
The complete start gcode I'm using (still needs a few more temperature [variables]):

Code: Select all

G26 ; clear probe fail condition
G21                          ; set units to Millimetres
M107 ; Stop the fan
G90                          ; absolute positioning
M218 T0 X0 Y0 ; Simplify3D requires tool offsets in firmware
M218 T1 X0 Y0 ; offset for front extruder (set at end)
M140 S[bed0_temperature] ; start heating bed
M104 S170 T0 ; start heating back extruder
M104 S170 T1 ; start heating front extruder
G28 X Y ; home X and Y
G1 X-17 F3000                ; clear X endstop
G1 Y258 F3000                ; move over the Z_MIN switch
G1 X-19 F3000                ; move left as far as possible
M109 S170 T0 ; soften filament for Z homing
M109 S170 T1 ; soften filament for Z homing
G28 Z ; home Z
T0 ; select this extruder first
M82                          ; set extruder to absolute mode
G92 E0 ; zero extruder
G1 E-12 F100 ; retract 12mm filament
T1 ; switch extruders
M82                          ; set extruder to absolute mode
G92 E0 ; zero extruder
G1 E-12 F100 ; retract 12mm filament
T0 ; switch extruders
G1 X-17 Y100 F3000 ; move above wiper pad
G1 Z1                        ; push nozzle into wiper
G1 X -18 Y95 F1000                   ; slow wipe
G1 X -18 Y90 F1000                   ; slow wipe
G1 X -18 Y85 F1000                   ; slow wipe
G1 X -17 Y90 F1000                   ; slow wipe
G1 X -18 Y80 F1000                   ; slow wipe
G1 X -17 Y95 F1000                   ; slow wipe
G1 X -18 Y75 F2000                   ; fast wipe
G1 X -17 Y65 F2000                   ; fast wipe
G1 X -18 Y70 F2000                   ; fast wipe
G1 X -17 Y60 F2000                   ; fast wipe
G1 X -18 Y55 F2000                   ; fast wipe
G1 X -17 Y50 F2000                   ; fast wipe
G1 X -18 Y40 F2000                   ; fast wipe
G1 X -17 Y45 F2000                   ; fast wipe
G1 X -18 Y35 F2000                   ; fast wipe
G1 X -17 Y40 F2000                   ; fast wipe
G1 X -18 Y70 F2000                   ; fast wipe
G1 X -17 Y30 Z2 F2000                ; fast wipe
G1 X -18 Y35 F2000                   ; fast wipe
G1 X -17 Y25 F2000                   ; fast wipe
G1 X -18 Y30 F2000                   ; fast wipe
G1 X -17 Y25 Z1.5 F1000              ; slow wipe
G1 X -18 Y23 F1000                   ; slow wipe
G1 X -17 Z15                         ; raise extruder
M204 S100 ; set accel for probing
G29 ; probe sequence (for auto-leveling)
M204 S500 ; set accel back to normal
G1 X100 Y-25 Z0.5 F3000      ; move to open space
M400 ; clear buffer
M117 Heating...
M104 S[extruder0_temperature] T0 ; start heating back extruder
M104 S[extruder1_temperature] T1 ; start heating front extruder
M190 S[bed0_temperature] ; stabilize bed
M109 S[extruder0_temperature] T0 ; stabilize back extruder
M109 S[extruder1_temperature] T1 ; stabilize front extruder
M117 Purging...              ; LCD status message
T0                           ; select this extruder first
G1  E0 F100                  ; undo retraction
G92 E-15                     ; set extruder negative amount to purge
G1  E0 F100                  ; purge XXmm of filament
T1                           ; switch to second extruder
G92 E-12                     ; reset global extruder position (from above)
G1  E0 F100                  ; undo retraction
G92 E-15                     ; set extruder negative amount to purge
G1  E0 F100                  ; purge XXmm of filament
G1 Z0.5                      ; clear bed (barely)
G1 X100 Y0 F5000             ; move above bed to shear off filament
T0                           ; switch to first extruder
G1 Z2 E0 F75
M400                         ; clear buffer
M218 T0 X0 Y0 ; Simplify3D requires tool offsets in firmware
M218 T1 X13.0 Y0.0 ; offset for front extruder
M117 TAZ Printing...

While slightly off topic, if anyone knows what to use for Cura's {material_soften_temperature_0}, {material_soften_temperature_1}, {material_wipe_temperature_0}, {material_wipe_temperature_1}, {material_probe_temperature_0}, and {material_bed_temperature_layer_0} I'd be happy to fix the constant 170 temps in the above start gcode.
AceSG
Posts: 1
Joined: Fri Jul 14, 2017 9:45 pm

Re: S3d code for Taz 6 v3

b-morgan wrote: Sun Mar 18, 2018 9:36 pm

Ive just used

Code: Select all

M104 S140 T0
M104 S140 T1

M104 S[extruder0_temperature] T0
M104 S[extruder1_temperature] T1
The full code.

Code: Select all

M75			     ; start GLCD timer
G26                          ; clear potential 'probe fail' condition
G21                          ; set units to Millimetres
M107                         ; disable fans
M420 S0                      ; disable leveling matrix
G90                          ; absolute positioning
M104 S140 T0
M104 S140 T1
G28 X Y                      ; home X and Y

G1 X-17 F3000                ; clear X endstop
G1 Y258 F3000                ; move over the Z_MIN switch
G1 X-19 F3000                ; move left as far as possible
M117 Heating...              ; LCD status message
M104 S140 T0
M104 S140 T1
T0
G28 Z                        ; home Z
T0                           ; select this extruder first
M82                          ; set extruder to absolute mode
G92 E0                       ; set extruder to zero
G1  E-15 F100                ; suck up XXmm of filament
T1                           ; switch extruders
M82                          ; set extruder to absolute mode
G92 E0                       ; set extruder to zero
G1  E-15 F100                ; suck up XXmm of filament
G1 X-17 Y100 F3000           ; move above wiper pad
M104
T0                           ; switch extruders
G1 Z1                        ; push nozzle into wiper
G1 X -18 Y95 F1000                   ; slow wipe
G1 X -18 Y90 F1000                   ; slow wipe
G1 X -18 Y85 F1000                   ; slow wipe
G1 X -17 Y90 F1000                   ; slow wipe
G1 X -18 Y80 F1000                   ; slow wipe
G1 X -17 Y95 F1000                   ; slow wipe
G1 X -18 Y75 F2000                   ; fast wipe
G1 X -17 Y65 F2000                   ; fast wipe
G1 X -18 Y70 F2000                   ; fast wipe
G1 X -17 Y60 F2000                   ; fast wipe
G1 X -18 Y55 F2000                   ; fast wipe
G1 X -17 Y50 F2000                   ; fast wipe
G1 X -18 Y40 F2000                   ; fast wipe
G1 X -17 Y45 F2000                   ; fast wipe
G1 X -18 Y35 F2000                   ; fast wipe
G1 X -17 Y40 F2000                   ; fast wipe
G1 X -18 Y70 F2000                   ; fast wipe
G1 X -17 Y30 Z2 F2000                ; fast wipe
G1 X -18 Y35 F2000                   ; fast wipe
G1 X -17 Y25 F2000                   ; fast wipe
G1 X -18 Y30 F2000                   ; fast wipe
G1 X -17 Y25 Z1.5 F1000              ; slow wipe
G1 X -18 Y23 F1000                   ; slow wipe
G1 X -17 Z15                         ; raise extruder

M204 S100                    ; set accel for probing
G29                          ; probe sequence (for auto-leveling)
M420 S1                      ; enable leveling matrix
M425 Z			     ; use measured Z backlash for compensation
M425 Z F0		     ; turn off measured Z backlash compensation. (if activated in the quality settings, this command will automatically be ignored)
M204 S500                    ; set accel back to normal

M104 S[extruder0_temperature] T0
M104 S[extruder1_temperature] T1
G1 X100 Y-25 Z0.5 F3000      ; move to open space
M400                         ; clear buffer
M117 Purging...              ; LCD status message
T0                           ; select this extruder first
G1  E0 F100                  ; undo retraction
G92 E-15                     ; set extruder negative amount to purge
G1  E0 F100                  ; purge XXmm of filament
T1                           ; switch to second extruder
G92 E-15                     ; set extruder negative amount to purge
G1  E0 F100                  ; undo retraction
G92 E-15                     ; set extruder negative amount to purge
G1  E0 F100                  ; purge XXmm of filament
G1 Z0.5                      ; clear bed (barely)
G1 X100 Y0 F5000             ; move above bed to shear off filament
T0                           ; switch to first extruder
G1 Z2 E0 F75
M400                         ; clear buffer
M117 TAZ Printing...         ; LCD status message
M218 T1 X13.00 Y0.18         ; Set the second extruder offset - It doesn't work to set as -6.5 and 6.5
 also seems to be slightly off the x
B-H-S
Posts: 39
Joined: Tue May 15, 2018 2:49 pm

Re: S3d code for Taz 6 v3

Just got a TAZ 6 and dual head, can you tell me why bother with s3d, I'm not being funny at all I have used s3d for years but when it comes to dual head and stand by temps, I thought s3d was lacking and there's a whole bunch of settings in Lulzbot cura which I thought would work better,,, I modified s3d to use with BCN dual head machine and the temp changes was a night mare,,, can anyone tell me the benefits of doing this with a TAZ machine,, I'm curious to know and not being flippant... Taz 6 seems complicated and would not want to risk crashing what is an expensive head into the table...
b-morgan
Posts: 24
Joined: Tue Oct 24, 2017 11:00 am

Re: S3d code for Taz 6 v3

I have found with the TAZ 6 (with all the tool heads I own) that S3D does some things better and Cura does some things better. I agree with you that Cura handles standby temps on the dual heads better than S3D. However, I doubt that once setup, S3D has any higher risk of damaging the printer (tool head) than any other slicer, including Cura.

I don't see a compelling reason to buy S3D just for its dual extruder capabilities, but it has other qualities that might warrant a purchase.

Return to “General Discussion and Tips”