Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12108

Re: Need a little help understanding the M163 G-code.

$
0
0
From: G-code -[reprap.org]

M163: Set weight of mixed material
Parameters
Snnn extruder number
Pnnn weight
Set weight for this mixing extruder drive.

M164 Parameters
Snnn virtual extruder number
Pnnn store to eeprom (P0 = no, P1 = yes)
Store weights as virtual extruder S.

For those of us who are just starting out with a Diamond type hot end I found the following information on this web site: [www.marlinkimbra.it]

M163 S [index] P [mix value], this command we say that we use the extruder [index] [mix value] value,
the value is a number with a comma between 0 and 1, where 1 stands for 100% and 0 for 0%.
To understand the final color will consist of a percentage of E0 + a percentage of E1 + E2 and the total percentage must do 100%.
This is due to the fact that in addition to printing color, we extrude a fixed value of material to compose our object.
So if the object is made of 100% Red will extrusion E0 + 0% E1 + E2, 0% if it is a color X will have different values for each extruder, but always the 100% material should extrude.

Then we create the first Tools T0, which will be red.
M163 S0 P1; 100% Red
M163 S1 P0; 0% Green
M163 S2 P0; 0% blue

Now save this color scheme in our Tools T0 we use the command:
M164 S (index), where index is our Tools, and then click:
M164 S0; Store color mixing in tools T0

Now we create the Tools Green:
M163 S0 P0; 0% Red
M163 S1 P1; 100% Green
M163 S2 P0; 0% blue
And keep it on the Tools T1:
M164 S1; Store color Mixing in Tools T1

We create Tools T2 Blue:
M163 S0 P0; 0% Red
M163 S1 P0; 0% Green
M163 S2 P1; 100% Blue
And keep it on the Tools T2:
M164 S2; Store color Mixing in Tools T2

We create a yellow:
M163 S0 P 0.5; 50% Red
M163 S1 P 0.5; 50% Green
M163 S2 P0; 0% blue
And keep it on the Tools T3:
M164 S3; Store color Mixing in Tools T3

Viewing all articles
Browse latest Browse all 12108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>