Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IWantToHelp - gcode for mixing resin in vat #13

Open
bartwaw opened this issue Nov 4, 2018 · 16 comments
Open

IWantToHelp - gcode for mixing resin in vat #13

bartwaw opened this issue Nov 4, 2018 · 16 comments

Comments

@bartwaw
Copy link

bartwaw commented Nov 4, 2018

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
Copy link
Member

X3msnake commented Nov 4, 2018 via email

@bartwaw
Copy link
Author

bartwaw commented Nov 4, 2018

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
Copy link
Member

X3msnake commented Nov 4, 2018 via email

@X3msnake
Copy link
Member

X3msnake commented Nov 4, 2018

missed the zip. nevermind will test it

@X3msnake
Copy link
Member

X3msnake commented Nov 4, 2018

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

@X3msnake
Copy link
Member

X3msnake commented Nov 4, 2018

@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
Copy link
Author

bartwaw commented Nov 4, 2018

:) 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
Copy link
Member

X3msnake commented Nov 4, 2018

@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
Copy link
Member

X3msnake commented Nov 4, 2018

@bartwaw

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

@X3msnake
Copy link
Member

X3msnake commented Nov 4, 2018

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

@X3msnake
Copy link
Member

X3msnake commented Nov 7, 2018

@bartwaw

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

@X3msnake
Copy link
Member

X3msnake commented Nov 9, 2018

@bartwaw

Can you test these codes?

image

@rsilvers129
Copy link
Contributor

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
Copy link

yy-cube commented Apr 23, 2020

@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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants