Notifications

[Sticky] Using Simplify3D with the retractable purge mechanism  

  RSS

BigBrain3D
(@bigbrain3d)
Supreme moderator Admin
Joined: 8 months ago
Posts: 168
06/11/2019 11:18 pm  

Let's discuss how to use the Simplify3D slicer with the retractable purge mechanism.


Quote
BigBrain3D
(@bigbrain3d)
Supreme moderator Admin
Joined: 8 months ago
Posts: 168
06/11/2019 11:19 pm  

Cecil asked us:

"

I'm trying to integrate your gcode for the retractable purge mechanism with my current starting script using Simplified3D. My current starting script will be listed below. Where should I put the gcode to allow the retractable purge mechanism to function during a print. I'm using a CR-10S with a palette 2 and an EZABL

M75 ; Start Print Timer and Engage Fil Sensor if USB Printing
G92 E0 ; Reset Extruder distance to 0
G1 E-2 ; Retracts filament to prevent blobs during probing
M84 E ; Disable E Motor for probe accuracy on direct drive systems
G28 ; home all axes
G28 Z ; home Z to get more accurate Z position
G29; EZABL mesh generation
G4 S10; wait for heaters to recover
M92 E2650 ; Set steps/mm extrusion
M201 E120 ; Set Extruder acceleration
M204 R120 ; Set Retract acceleration
M205 E3 ; Set Extruder Jerk
M203 E45 ; Maximum feed rate

M117 Purge extruder
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little
G1 X0.1 Y20 Z0.3 F5000.0 ; move to start-line position
G1 X0.1 Y100.0 Z0.3 F1000.0 E15 ; draw 1st line
G1 X0.4 Y100.0 Z0.3 F5000.0 ; move to side a little
G1 X0.4 Y20 Z0.3 F1000.0 E30 ; draw 2nd line
G92 E0 ; reset extruder
G1 Z1.0 F3000 ; move z up little
M211 S0; disable software endstop

M117 Printing....."


ReplyQuote
BigBrain3D
(@bigbrain3d)
Supreme moderator Admin
Joined: 8 months ago
Posts: 168
06/11/2019 11:21 pm  

Israel wrote to us and suggested the following:

"I think i have a solution to using the purge gcode on S3D. From what I have determined when adding the code to the tool change tab in S3D. The purge happens before the tool change. To make it work after the tool changes, add the following to the beginning of the gcode....

 
T[new_tool]
 
I am not sure how this works with other slicers. But gor now this allows S3D to properly use the purge gcode."
 
 

ReplyQuote
BigBrain3D
(@bigbrain3d)
Supreme moderator Admin
Joined: 8 months ago
Posts: 168
06/11/2019 11:25 pm  

Here is an example of the purge gcode to be added to the process->scripts->Tool change script

Image attached.

We haven't tested this ourselves. But it seems that others have had success with it. Please use caution at first.

"

T[new_tool]
G1 X200 F12000 ;move head into position
G4 S0 ;clear movement buffer
G1 X250 F12000 ;move head to purge zone
G1 X254.6 F1000 ;extend purge arm
M107 ;turn off fan
G92 E0 ;reset extrusion position
G1 E0.8 F2100 ;issue after retract
G92 E0 ;reset extrusion position
G1 E40 F200 ;1st purge extrude onto thumb tack
M106 S255 ;turn on fan
G4 S12 ;blob cooling
G92 E0 ;reset extrusion position
G1 E-0.8 F2100 ;retract extruder to prevent oozing
G1 X240 F12000 ;whack blob off tack 1
G1 X254.6 F3000 ;reset for another blob whack
G1 X240 F12000 ;whack blob off tack 2

G1 X200 F12000
G4 S0
G1 X250 F12000
G1 X254.6 F1000
M107
G92 E0
G1 E0.8 F2100 ;issue
G92 E0
G1 E40 F200 ;2nd purge
M106 S255 ;blob cooling
G4 S12 ;blob cooling
G92 E0
G1 E-0.8 F2100
G1 X240 F12000
G1 X254.6 F3000
G1 X240 F12000

G1 X200 F12000
G4 S0
G1 X250 F12000
G1 X254.6 F1000
M107
G92 E0
G1 E0.8 F2100 ;issue
G92 E0
G1 E40 F200 ;3rd purge
M106 S255 ;blob cooling
G4 S12 ;blob cooling
G92 E0
G1 E-0.8 F2100
G1 X240 F12000
G1 X254.6 F3000
G1 X240 F12000

G1 X200 F12000
G4 S0
G1 X250 F12000
G1 X254.6 F1000
M107
G92 E0
G1 E0.8 F2100 ;issue
G92 E0
G1 E40 F200 ;4th purge
M106 S255 ;blob cooling
G4 S12 ;blob cooling
G92 E0
G1 E-0.8 F2100
G1 X240 F12000
G1 X254.6 F3000
G1 X240 F12000

M907 X650 ;set the current back to normal

"


ReplyQuote
andraisr
(@andraisr)
Eminent Member Customer
Joined: 7 months ago
Posts: 20
09/12/2019 4:30 pm  

Just a quick note on the change, and how to use it on S3D with a printer that the tip of the nozzle does not go beyond the right side edge of the bed. When using a purge line in the startup script, DO NOT put text in the first process to change tool. If you do, when the arm extends it will crash on the edge of the bed. You need to determine the distance between the bottom edge of the purge device and the tip of the nozzle (the zed distance). Do not purge below that distance.

You should also test how far you x carriage will travel to the right furthermost point. Edit the gcode for the tool change to reflect that distance, make appropriate changes to the other X movement changes in the gcode to kick out the ball of filament, etc.

I hope this makes sense.


ReplyQuote
Martin Ferguson
(@martin-ferguson)
New Member Customer
Joined: 3 months ago
Posts: 1
17/01/2020 12:03 pm  

This isnt working for me on my MK3S with MMU2

I am using Simplify 4.1.2. and have inserted the gcode into the tool change script

First run, after the simplify inbuilt purge line on the front, it crashes the leaver arm into the bed because it isnt high enough.

Could I be supplied with a working profile, or gcode that works.


ReplyQuote
BigBrain3D
(@bigbrain3d)
Supreme moderator Admin
Joined: 8 months ago
Posts: 168
18/01/2020 6:38 pm  

Hi @martin-ferguson,

We've revamped the instructions and the gcode for Simplify3D. Here are the video instructions. Here is the updated 'on tool change' gcode:

;*Begin pre-tool change gcode
M907 X800 ;set current of X motor. May need to set Y as well if your printers head moves on x & y

M106 S0 ;turn off fan
G92 E0 ;reset extrusion distance
G1 E-0.8 F2100 ;retract
G1 Y100 F12000 ;Break string before Z lift
G1 X200 F12000 ;move head into position

G91;Change to relative position
G1 Z15 ;change 15 to the height you need to clear your bed
G90;Change to absolute position

G4 S0 ;clear movement buffer
G1 X250 F12000 ;move head to purge zone
G1 X254.6 F1000 ;extend purge arm
;*End pre-tool change gcode

M702 ;unload filament
T[new_tool] ;this signifies the filament change

;*Begin after tool change purge gcode
G1 X200 F12000 ;move head into position
G4 S0 ;clear movement buffer
G1 X250 F12000 ;move head to purge zone
G1 X254.6 F1000 ;extend purge arm
M107 ;turn off fan
G92 E0 ;reset extrusion position
G1 E0.8 F2100 ;issue after retract
G92 E0 ;reset extrusion position
G1 E40 F200 ;1st purge extrude onto thumb tack
M106 S255 ;turn on fan
G4 S12 ;blob cooling
G92 E0 ;reset extrusion position
G1 E-0.8 F2100 ;retract extruder to prevent oozing
G1 X240 F12000 ;whack blob off tack 1
G1 X254.6 F3000 ;reset for another blob whack
G1 X240 F12000 ;whack blob off tack 2

;add additional purge blobs as needed by copying the block above. You need 1 block for each blob.

M907 X650 ;set the current back to normal
;End after tool Change Purge gcode

 


ReplyQuote
Share: