Geeetech A20M only uses one Tool for dual extrusion print

Adding M163's to Cura slicer worked for me too. Shame that octoprint doesn't handle the change without added commands.

Hello @rainisto

You could write a plugin...

Is there an easy way in Cura to add the M163's? Any tips on how to resolve this quickly?

This is relatively simple to implement in Ultimaker Cura. Note that OctoPrint needs to be configured as well with the number of extruders being properly set.

Solution A:

  1. In Cura, open Manage Printers (use the Settings menu or click on the printer name).
  2. Click on "Machine Settings".
  3. Click the "Extruder 1" tab.
  4. Add two M163 commands M163 S0 P1 and 'M163 S1 P0` (two lines).
  5. Click the "Extruder 2" tab.
  6. Add two M163 commands M163 S0 P0 and 'M163 S1 P1` (two lines).
  7. Configure OctoPrint for 2 extruders, shared nozzle.

This is the simplest solution but this printer can do more. The following solution is more flexible as you can define as many mix ratios as you want. It is a bit more complicated to setup.

Solution B:

  1. In Cura, open Add Printer.
  2. Select Custom FFF Printer.
  3. Copy all of the A20M settings to this custom printer except define more than two extruders.
  4. Click on "Machine Settings".
  5. Click on "Extruder n"
  6. Add two M163 commands to each extruder setting the mix desired.
  7. Configure OctoPrint for the number of extruders configured, shared nozzle.

For example, with 5 extruders you could have 1, 0; 0, 1; .75, .25; .5, .5; .25, .75 as the ratios.

Take a look at the Marlin documentation for M163, M164, M165, and M166. Instead of adding M163 commands to each extruder tab, you can add a series of M163 and M164 commands to the Start G-code.

Using M165 and M166 commands (assuming the A20M has the firmware support for them) is more complicated but possible.

1 Like

Hello where are the mc settings in Cura

I'm afraid I don't understand the question. What do you mean by "mc settings"?

I assume he means multi color

Cura doesn't really understand "multi color". What it does understand is "multi extruders". It also understands the concept of a shared nozzle, i.e. one heater block. As I explained before, colors are associated with extruders in the printer machine settings.

Even substituting "multi color" for "mc" in @Fortuna's question, I still don't understand the question.

Sorry b-morgan mc = Machine

Select your printer in the dropdown and then click Manage printers


Select your printer and click Machine Settings

Select each extruder tab

Enter the Extruder Start G-Code

1 Like

Hello b-morgan,
thank´s I have that in Cura but it is still not working.

This is for Extruder 1


and this for 2

Like I said it´s fine with a SD Card but not via Octoprint.

This is the setup in Octoprint.

@Fortuna, Please read the entire topic. You asked where to find the Machine Settings and I showed you but I also explained what needs to be added to those Machine Settings in an earlier response (linked below). There are links in my post (blue text) that point to additional information about the commands available, please read those as well.

The M163 commands should be added in only one of two places. Either the Start G-code for the printer or the Start G-code for each extruder. The following video adds them to the Printer Start G-code.

In addition to setting up Cura, you also need to setup OctoPrint. If you use 2 extruders in Cura, then you need to tell OctoPrint that you have 2 extruders. If you use 5 extruders in Cura, then you need to tell OctoPrint you have 5 extruders.