SOLVED Movement depending of position
is it possible to make a z-move depending on the z-position in a macro?
Something like this:
if z-position is less than 100 then move to 100; else no movement
Thanks for your help!
@cosmowave, yes it is if you are using RRF3. See https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands.
@dc42 Yes, i'm using RRF3.
Thanks for the info!
cosmowave last edited by cosmowave
then i can read the actual position like this?
if move.axes.userPosition <100
is that correct?
The second line "G0 Z100" will only run when the actual z-position is less 100?
Oh, i have seen now, that the second line has to be intended!
It's all clear now.