Dual independent X Axis, right limit switch
Am trying to set up a Dual Independent X Axis printer. Using a MKS Base V1.4 board with an external 2100 stepper driver wired to the board. Have the left and right X limit switches attached. This used to be a Tevo Tarantula printer so still using some of the same hardware.
Can move E0 (left) and E1 (right) heads okay. Issue I have right now is when homing. E0 homes okay and backs off of the limit switch by 2.5mm (E0 now at -53mm from print bed), then starts to home E1 to the right. E1 is not stopping when the limit switch on the right is activated. I know the limit switch is working, as can get it to report with M119 - shows as x2_max. Maybe this is incorrect. Right limit switch input is ORIG_X_MAX_PIN.
Configuration.h file is attached. Hope somebody can point out what I have set wrong.