Solved Movement depending of position
-
Hello everybody,
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 movementThanks 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! -
@dc42
then i can read the actual position like this?if move.axes[2].userPosition <100
G0 Z100is 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.