the following issue was discussed here:
I have used a workaround in meantime but its not pratical anymore. I would like to have two y rails with two steppers (one stepper on each rail) with only one endstop on one rail. The bed ist big and it needs two motors.
Than someone send me this code
and ported it to corexz.py like this
self.rails = [ stepper.PrinterRail(config.getsection('stepper_x')), stepper.LookupMultiRail(config.getsection('stepper_y')), stepper.PrinterRail(config.getsection('stepper_z')) ] self.rails.get_endstops().add_stepper( self.rails.get_steppers()) self.rails.get_endstops().add_stepper( self.rails.get_steppers())
But it do not work, it says “step_pin’ is not valid in section ‘stepper_y1’”