Bachgassenbande1
Posts: 2
Joined: Fri Feb 21, 2014 5:26 am

Start code;Toolchange code;Endcode

Struggling with the start, toolchange and endcode anybody can please have alook ad advise.

Start code:
M218 T1 X20 Y0
M218 T2 X0 Y20
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
T2 ;Select extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-10 ; retract 10mm

T1 ;Select extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-10 ;retract 10mm

T0 ; select ectruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{travel_speed}


Toolchange code - here I'm lost:
G92 E0
G1 E-10 F5000
G92 E0
T{extruder}
G1 X{new_x} Y{new_y} Z{new_z} F{travel_speed}
G1 E10 F5000
G92 E0


End code:
M104 S0 T0 ; turn off extruder 1
M104 S0 T1 ; turn off extruder 2
M104 S0 T2 ; turn off extruder 3
M140 S0 T0 ; turn off bed
G1 Z10 F1200 ; drop bed
G28 X0 ; home X axis
M84 ; disable motors


Thanks!
JoeJ
Posts: 1435
Joined: Sun Feb 16, 2014 10:52 am

Re: Start code;Toolchange code;Endcode

Where did you get these scripts from? None of your { squiggly bracket } command will work since S3D doesn't use those. They have [ square bracket ] options like [old_tool], [new_tool], etc.

It seems like you've tried to throw something from one program into a completely different one and hope for the best...
Bachgassenbande1
Posts: 2
Joined: Fri Feb 21, 2014 5:26 am

Re: Start code;Toolchange code;Endcode

Thanks for the reply at least one failure found.
But still have no clue how to handle the toolchange.
Where is a tutorial for that?

Return to “General Discussion and Tips”