3
$\begingroup$

I have been playing around with creating scripts to generate some custom g-code for a malyan M180 and I am having trouble understand what commands to use to switch nozzles. Sometimes I can get the nozzles to switch and it doesn't recenter but sometimes it does. I have been using:

G54
M108 T0; switch to left

and

G55
M108 T1; switch to right

Has anyone else looked into this and have any idea what commands or sequence of commands should be used to change nozzles?

$\endgroup$
  • $\begingroup$ Be careful with questions about G-Code as it is no longer standardized and can technically be different between manufacturers and even between models. This is true across all machines (mills, lathes, 3d printers, routers, etc.) $\endgroup$ – tbm0115 Mar 9 '17 at 15:19
  • $\begingroup$ Adding on to tbm0115's comment, G-code differs across firmwares, and can change between firmware releases. The reprap wiki, linked in one of the answers, attempts to provide information for the most popular 3D printing firmwares, but it is not always accurate or up-to-date. $\endgroup$ – Kevin Apr 10 '17 at 22:27
2
$\begingroup$

No, M108 does not do that. You are looking for T#, where # is the tool position you want:

T1 ; switch to tool position 1 

T3 ; switch to tool position 3 

This tells the processor to send all heating, cooling and flow commands to this tool until another tool change is specified, and invokes the X/Y(/Z) offset for the new tool position.

See http://reprap.org/wiki/G-code#T:_Select_Tool

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.