Hiding Z axis - RRF3.1.1
-
Is there any way to hide the Z axis?
I'm finally setting up a duet 2 running RRF3.1.1 with my laser cutter and I only have an X and Y.
Whenever I homeall, I get an error saying Z isn't homed.
I have a homez.g file but it is blank.
Anything I can do? -
I think if you say G92 Z0 at the end of your home file, the cutter ignores that you don't have a Z endstop.
-
Yes, I suppose that would "cheat the system" as it were.
It would be nice if DWC didn't display Z at all though
-
@jay_s_uk What happens if you put P2 at the end of your M584? https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping
I regularly hide my UVA and B axes apart from when I'm homing them so switch between P3 and P7. But I've never tried P2 to hide the Z - might be worth a shot?
-
I have P2 already. Should've mentioned that I suppose
; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S0 ; physical drive 1 goes forwards M569 P2 S0 M584 X1 Y0 P2 ; set drive mapping
I mapped a drive to P2 just incase it needed it
-
@jay_s_uk Ahh, OK. Maybe the firmware "insists" that you have 3 axes visible - guess this is one for DC then?
-
or maybe @chrishamm as I guess DWC defaults to 3 axis
-
@jay_s_uk I think we need to change RRF to achieve that. DWC can already display an arbitrary number of axes.
-
definitely one of @dc42 then
-
Most kinematics have references to X_AXIS, Y_AXIS and Z_AXIS, so I expect hiding Z in the display is the only solution.
-
Yes M584 constrains the P parameter to be between 3 and the total number of axes. I can try allowing a lower minimum in RRF 3.02. I'm not sure how DWC will respond to being told that there are only 2 axes.