You are not logged in.

#1 2017-05-18 21:19:23

jgrzymisch
Member
Registered: 2017-04-08
Posts: 5

Dynamic calculation of Delay

I was wondering if it is possible to compute a delay command dynamically in a G-code field, for example:

[[Delay ([[ZLiftDistance]]/[[ZSpeed]] + 0.1)]] ; Wait for the movement finished

instead of just [[Delay 2]] which works.

The above does not seem to work for me...

Thanks!

Last edited by jgrzymisch (2017-05-18 21:19:55)

Offline

#2 2017-05-19 04:36:50

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

Re: Dynamic calculation of Delay

[[Delay ([[ZLiftDistance]]/[[ZSpeed]] + 0.1)]]
Change it to
[[Delay {[[ZLiftDistance]]/[[ZSpeed]] + 0.1}]]

Offline

Board footer

Powered by FluxBB