You are not logged in.

#1 2020-05-31 09:14:48

Maxim
Member
Registered: 2020-02-28
Posts: 3

double ascent rate

Hi, currently I have this configuration in the machine

code after each layer
G1 Z{[[LayerPosition]]+[[ZLiftDistance]]} F{[[ZSpeed]]/3} P1
[[WaitForDoneMessage]]
[[PositionSet [[LayerPosition]]]]

code before each layer
G1 Z[[LayerPosition]] F{[[ZSpeed]]*1.5} P1
[[WaitForDoneMessage]]
[[PositionSet [[LayerPosition]]]]

I would like to insert a parameter where to make the first 2 mm (peeling) at a slower speed and then the rest of the ascent at a higher speed.

Do you think this formula can go?

code after each layer
G1 Z{[[LayerPosition]]+2} F{[[ZSpeed]]/5} P1
[[WaitForDoneMessage]]
[[PositionSet [[LayerPosition]]]
G1 Z{[[LayerPosition]]+[[ZLiftDistance]]} F{[[ZSpeed]]*1.5} P1
[[WaitForDoneMessage]]
[[PositionSet [[LayerPosition]]]

If the total ascent is 5 mm clearly in this case I would put 3mm to deduct the 2 at low speed,

code before each layer
G1 Z[[LayerPosition]] F{[[ZSpeed]]*1.5} P1
[[WaitForDoneMessage]]
[[PositionSet [[LayerPosition]]]]
G1 Z{[[LayerPosition]]+2} F{[[ZSpeed]]/5} P1
[[WaitForDoneMessage]]
[[PositionSet [[LayerPosition]]]

do you think it works or the distance of the layers would be offset?

Offline

#2 2020-06-01 05:44:03

macdarren
Member
Registered: 2017-03-20
Posts: 411

Re: double ascent rate

I use this code for a slow peel....3mm...I started at 2mm but my tests on my 8.9cm vat indicated that there was enough stretch in the FEP that 2mm would not assure I had separation before the speed increase....I admit I didn't examine your code....

Code after layer:

M107
G1 Z{[[LayerPosition]]+min(3, [[ZLiftDistance]])} F{[[ZSpeed]]/20}
[[WaitForDoneMessage]]
[[PositionChange  min(3, [[ZLiftDistance]])]]
G1 Z{[[LayerPosition]]+[[ZLiftDistance]]} F{[[ZSpeed]]}
[[WaitForDoneMessage]]
[[PositionChange [[ZLiftDistance]]]]

Offline

#3 2020-06-03 06:10:05

Maxim
Member
Registered: 2020-02-28
Posts: 3

Re: double ascent rate

macdarren wrote:

I use this code for a slow peel....3mm...I started at 2mm but my tests on my 8.9cm vat indicated that there was enough stretch in the FEP that 2mm would not assure I had separation before the speed increase....I admit I didn't examine your code....

Code after layer:

M107
G1 Z{[[LayerPosition]]+min(3, [[ZLiftDistance]])} F{[[ZSpeed]]/20}
[[WaitForDoneMessage]]
[[PositionChange  min(3, [[ZLiftDistance]])]]
G1 Z{[[LayerPosition]]+[[ZLiftDistance]]} F{[[ZSpeed]]}
[[WaitForDoneMessage]]
[[PositionChange [[ZLiftDistance]]]]


Thanks, I have successfully tested my code

Offline

#4 2020-08-15 02:58:44

mkbot
Member
Registered: 2017-11-03
Posts: 24

Re: double ascent rate

Has anyone figured out a way to do dynamic lift for the first stage and then a fixed lift for the remainder?

Offline

#5 2020-08-15 06:32:11

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: double ascent rate

Using javascript support on current version should make it very easy to do.

Offline

#6 2020-08-15 11:48:41

mkbot
Member
Registered: 2017-11-03
Posts: 24

Re: double ascent rate

Awesome Shahin! Forgot about that new functionality. Unfortunately I don’t know much about it and usually know only enough to steal and modify someone else’s code...like I do with dynamic functions wink Hopefully someone will share something in time so thieves like me can get a start smile

Offline

Board footer

Powered by FluxBB