@gloomyandy
I used information I found on the Duet sites for most of the relevant values.
As I mentioned, homing seems to be working fine EXCEPT for the odd Y axis increment as appears on the DWC. I suppose I could do enough X homing to get the change to be enough so I could measure it with some accuracy to determine if it is an actual change or just a displayed change.
Here are the relevant parts of config.g
; === X Y ===
M92 X100 Y100 ; steps per mm (80 for 20 tooth, 100 for 16 tooth)
M350 X16 Y16 I1 ; 16x micro-stepping with interpolation
M203 X35000 Y35000 ; max speed (mm/min)
M201 X2000 Y2000 ; acceleration (mm/s^2)
M566 X300 Y300 ; max instant speed change (jerk) (mm/min)
M906 X1600 Y1600 ; motor current (mA) (stepper rating 2A)
M574 X1 S3 ; configure Xmin using stall detection
M574 Y1 S3 ; configure Ymin using stall detection
; this line also appeared in the homing files - I kept them as I found them.
M915 X Y S3 F0 H200 R0 ; set X & Y sensitivity (S), do nothing when stall (R), unfiltered (F) minimum motor full steps per second for stall detection to be considered reliable (H)
Here is homeX.g - this is based on an example I found - with a change to how the logical/physical positions are synced
G91 ; relative positioning
G1 H2 X0.5 Y-0.5 F10000 ; tiny moves to energize motors to ensure they are not stalled
M400 ; wait for any moves to complete
M913 X31 Y31 ; drop motor currents to 25% of 2000mA or 31% of 1600mA yielding 500mA
M915 X Y S3 F0 H200 R0 ; (S) set X and Y to sensitivity 3 (F) unfiltered (R) do nothing on stall
G1 H1 X-400 F3000 ; move left 400mm, stalling at the physical endstop (end of travel) - we hope
G1 X185 F2000 ; backoff to center of bed - move determined by testing
G92 X0 ; sync physical and logical positions
M400 ; wait for any moves to complete
M913 X100 Y100 ; motor currents back to 100%
G90 ; absolute positioning
Here is all of homeY.g - this is based on an example I found - with a change to how the logical/physical positions are synced
G91 ; relative positioning
G1 H2 X0.5 Y-0.5 F10000 ; tiny moves to energize motors to ensure they are not stalled
M400 ; wait for any moves to complete
M913 X31 Y31 ; drop motor currents to 25% of 2000mA or 31% of 1600mA yielding 500mA
M915 X Y S3 F0 H200 R0 ; (S) set X and Y to sensitivity 3 (F) unfiltered (R) do nothing on stall
G1 H1 Y-300 F3000 ; move to the front, stalling at the physical endstop (adjustable studs) - we hope
G1 Y120 F2000 ; backoff to center of bed - move determined by testing
G92 Y0 ; sync physical and logical positions
M400 ; wait for any moves to complete
M913 X100 Y100 ; motor currents back to 100%