Easier way to test if homed?
-
@owend the M584 command allows you to make the first P axes visible and hide all higher numbered axes.
-
@dc42 said in Easier way to test if homed?:
@owend the M584 command allows you to make the first P axes visible and hide all higher numbered axes.
The inference being that if you have hidden axes then you probably don't care to home them, say extruders, etc.? Thanks.
-
@theolodian said in Easier way to test if homed?:
The inference being that if you have hidden axes then you probably don't care to home them, say extruders, etc.? Thanks.
When I open the object model in DWC, it shows in the move section only x,y,z. Is E is also there in the move section of the object model but is hidden by DWC?
-
@zapta the axes are described in move.axes and the extruders in move.extruders.
-
@theolodian said in Easier way to test if homed?:
@dc42 said in Easier way to test if homed?:
@owend the M584 command allows you to make the first P axes visible and hide all higher numbered axes.
The inference being that if you have hidden axes then you probably don't care to home them, say extruders, etc.? Thanks.
Well not extruders, but you may have defined axes to allow you to perform certain tasks at startup which are then hidden during normal running.
My question was just whether those hidden axes numbers could fall in the middle of a range.
Since it doesn't appear that this is possible, it is safe to cease testing axes for their homed state once a hidden axes is found in the array. -
@owend Ugh, different problem. Homing always comes back as failed when using these lower case letters for axes.
It does work fine if everything is already homed.
; If the bed hasn't been homed, home it ; Iterative loop across all defined move axes while iterations < #move.axes if !move.axes[iterations].homed G28 if result != 0 abort "Homing failed" break
-
@theolodian
I don't know why the axis letters would matter.
Are any axes hidden?
May be a question for @dc42 -
@owend It has never worked correctly, there are still a variety of issues with using lower case letters for axes. Thanks.
-
@theolodian said in Easier way to test if homed?:
@owend It has never worked correctly, there are still a variety of issues with using lower case letters for axes. Thanks.
If you don't tell us what these issues are, we can't fix them.
-
@theolodian, are you referring to the various scripts here that test for homing? The all seem to use axis indexes rather than axis letters.
-
@zapta said in Easier way to test if homed?:
@theolodian, are you referring to the various scripts here that test for homing? The all seem to use axis indexes rather than axis letters.
No, I am using lower case axis letters and homing always returns errors even though it works.
-
@dc42 Are lower case axis letters supposed to work in SBC mode now? Should I try it again? We have just been using standalone mode.
-
@theolodian Lowercase letters are supported in the latest RC.
-
@chrishamm I was going to say no, but I rebooted everything one more time to be sure - and yes RC2 seems to work in SBC mode!
-
-
-
-
-
-
-
-