Hello. I installed a second Y home switch on my workbee. I use this firmware v3.3.0 ->
https://ooznest.co.uk/2021/11/15/workbee-control-v3-3-0-is-out-g-code-viewer-included/
config.g
; Configuration file for Duet
; executed by the firmware on start-up
; WorkBee Firmware Version 1.1
global systemSettingsVersion={1.2}
; Configuration files
M98 P"config-network.g"
M98 P"config-drives.g"
M98 P"config-axes.g"
M98 P"config-axes-limits.g"
M98 P"config-axes-calibration.g"
M98 P"config-axes-endstops.g"
M98 P"config-probe.g"
M98 P"config-spindle.g"
M98 P"config-laser.g"
; Other Settings
M453 ; Put the machine into CNC Modes
G90 ; Set absolute coordinates
M140 H-1 ; Disable heated bed
M564 S1 H1 ; Disable jog commands when not homed
M911 S21.0 R23 P"G91 G1 Z3 F1000" ; Configure power loss resume
; User Configuration files
M98 P"config-user-settings.g"
M501 ; Load Stored Parameters
config-axes.g
; Axes configuration executed by config.g
M584 X0 Y1 Z2 U3 ; Apply drive mapping to axes
M584 P3
M906 X2400 Y2400 Z2400 U2400 I100 ; Set motor currents (mA)
M92 X400 Y400 Z400 U400 ; Set steps per mm
M350 X16 Y16 Z16 U16 I1 ; Configure microstepping
M203 X2500 Y2500 Z2500 U2500 ; Set maximum speeds (mm/min)
M201 X150 Y150 Z150 U150 ; Set accelerations (mm/s^2)
M566 X500 Y500 Z500 U500 ; Set maximum instantaneous speed changes (mm/min)
M669 K0 X1:0:0:0 Y0:1:0:1 Z0:0:1:0
homey.g
; homey.g
; called to home the Y axis
G91 ; relative positioning
G21 ; Set units to mm
G1 H1 Z{move.axes[2].max*2} F900 ; move quickly to Z axis endstop and stop there (first pass)
G1 H1 Y{move.axes[1].max*2} F2400 ; move quickly to Y axis endstops and stop there (first pass)
G92 Y{move.axes[1].max} Z{move.axes[2].max} ; Set Home Position
G1 Y-3 Z-3 F2400 ; go back a few mm
G1 H1 Y{move.axes[1].max*2} F300 ; move slowly to Y axis endstops once more (second pass)
G1 H1 Z{move.axes[2].max*2} F300 ; move slowly to Z axis endstop once more (second pass)
G92 Y{move.axes[1].max} Z{move.axes[2].max} ; Set Home Position
G90 ; absolute positioning
What can I change to have auto squaring of the Y axis using 2 motors ?
Thank you.
I followed a guide from the wiki I know I need to start with :
M584 X0 Y1:3 Z2 U3