Photonsters / anycubic-photon-docs

This repo aims to collect curate and compile information on anycubic photon hardware software and use
Other
478 stars 76 forks source link

IWantToHelp - gcode for mixing resin in vat #13

Open bartwaw opened 5 years ago

bartwaw commented 5 years ago

Want to share my Gcode that i'm using to mix resin in VAT. It's useful specially for colour resins - i got wanhao grey resin water washable, after one day when it stays in resin vat dye stays on bottom.

Advanced resin.zip

X3msnake commented 5 years ago

what do you mean? gcode to mix resins in the photon?

how do you achieve that?

No dia domingo, 4 de novembro de 2018, bartwaw notifications@github.com escreveu:

Want to share my Gcode that i'm using to mix resin in VAT. It's useful specially for colour resins - i got wanhao grey resin water washable, after one day when it stays in resin vat dye stays on bottom.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Photonsters/anycubic-photon-docs/issues/13, or mute the thread https://github.com/notifications/unsubscribe-auth/AKke-ozh8wHU0JbwaXhhraholeLrZu4bks5ursF8gaJpZM4YNO8o .

-- Com os melhores cumprimentos, Vinicius Silva

bartwaw commented 5 years ago

Easy, when resin stays in VAT for longer time, dye (or pigments) thanks to gravity will goes down. This is gcode that moves z axis up and down in mixed lengths to mix resin. It mixes resin by build platform :) It really works on my Orbeat, which I said has same board as Photon. So i should work at 99% :) Check it :)

BTW. Can you update PhotonFileEditor to open CBDDLP files ? I'm really bored to change twice file names :)

X3msnake commented 5 years ago

post it here in the issue and i will give it a try

No dia domingo, 4 de novembro de 2018, bartwaw notifications@github.com escreveu:

Easy, when resin stays in VAT for longer time, dye (or pigments) thanks to gravity will goes down. This is gcode that moves z axis up and down in mixed lengths to mix resin. It mixes resin by build platform :) It really works on my Orbeat, which I said has same board as Photon. So i should work at 99% :) Check it :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Photonsters/anycubic-photon-docs/issues/13#issuecomment-435662157, or mute the thread https://github.com/notifications/unsubscribe-auth/AKke-idBlSLuoM6wnmYU8sovBXYao700ks5urtETgaJpZM4YNO8o .

-- Com os melhores cumprimentos, Vinicius Silva

X3msnake commented 5 years ago

missed the zip. nevermind will test it

X3msnake commented 5 years ago

mmm, that's plaing Gcode. not sure if it will work... testing now ;)

X3msnake commented 5 years ago

@bartwaw @Photonsters/photonsters https://youtu.be/M1JdoMIhdcM

looks like it does work. @bartwaw more important than the mixer, that is cool but needs to en above the endstop, where did u get the gcodes from?

do you have acess to a list of all available codes?

we can open up a page for this and respective community tool programs if you do. makes more sense that way actually.

and thanks for sharing this

bartwaw commented 5 years ago

:) glad that works on yours printer.

You don't need enable anything. It works like that: M17 - enables motors G28 Z - homes Z G91 - switch to relative coordinates G1 Z1 F2000 - moves Z to 1 (or 1mm up, it depends that we used G90 or G91) https://www.cnccookbook.com/g91-g90-g-code-cnc-absolute-incremental-programming/ F parameter - this is speed of movement

and there goes gcode that moves Z axis " .... G1 Z1 G1 Z-1 G1 Z0.5 G1 Z-0.5 .... "

I've made this script because get setup gcode from manufacturer. Then i realized that chitu board interprets gcodes so tried simple gcode that moves z axis. After success made that script cos was bored homing printer dozen times to mix resin in VAT. Im CNC guy so write this wasn't any problem. Now got it in flashdrive - run that script and resin is mixed.

X3msnake commented 5 years ago

@bartwaw Great work Master

So no official supported Gcode list then :( We have no way of knowing if there is a gcode to turn led on or other stuff

I'll try M30 to see if it ends and moves the plate up

X3msnake commented 5 years ago

@bartwaw

M17 /18 is as good as not being there, compleatly ignored by the photon at least

X3msnake commented 5 years ago

G90/91 is also ignored, printer works only in relative coordinates

X3msnake commented 5 years ago

@bartwaw

This mixing works in the photon but will probably work much better in the orbeat since it has the drilled platform ;)

X3msnake commented 5 years ago

@bartwaw

Can you test these codes?

image

rsilvers129 commented 4 years ago

Can you please create a mixer that will run much longer? Sometimes I run the mixer manually 10x and wish I could just have one that ran once for 15 minutes. If you think the motors will get hot, it is ok if it rests for 30-60 seconds every few minutes.

yy-cube commented 4 years ago

@rsilvers129

You can edit this gcode with a text editor. It is really easy. Just copy & paste those mix modes (there a different types, just watch your printer when hes mixing) as often as you want / need them and you are ready to mix.

berkakinci commented 3 years ago

Has anyone put this in gcode in the repo? (Sorry; I'm not familiar enough to suggest where.) I'm happy I happened across this issue. I was about to make my own gcode.

berkakinci commented 3 years ago

I'm attaching my takes on the resin mixing. I made some slow and long mixes; they work with my resin vat heater. I'm hoping these will make it in the repo as well.

Mix Resin.zip