Hi Tore,
As far as I know, there is a plan to change the homing to move the axes to an initial position, but I don't know when it will be developed.
Until it will be ready, there is a way to do that. I have a macro, I call it "Smart home". You need to edit your profile file and insert the following lines at the end of the file:
- Code: Select all
[DASH]
G28MoveX=true
G28GotoX=0.0
G28MoveY=true
G28GotoY=0.0
G28MoveZ=true
G28GotoZ=45.0
If you home A, B or C then make the corresponding entries. You have to set up the homing sequence in Configuration/General settings/Homing sequence, and set the above G28Move parameters as you need. (In your case G28MoveX=true to set move after homing and G28GotoX=400.0 for the position. If you don't want an axis to move then set G28Move... to false.)
You can set this macro on a button (Edit screen) or call it from MDI or g-code. When calling from a button, it will home all axes that are selected in the configuration screen. When calling from g-code or MDI you can use parameter Q to select only one axis to home. It is numbered 0 to 5 as X, Y, Z, A, B and C. When no Q parameter is given, it will home the axes in the configured sequence. Home only X example:
- Code: Select all
M20928 Q0