Multiple z axis lead screws
So I have three lead screws and want to control them with three independent drivers to get auto bed leveling with a nozzle bed contact based probing. I have the three steppers on a CNC shield and then using jumpers from the steps/enable/dir of each stepper over to the main ramps board using the aux connector for the additional steppers. The issue that I am having is the compilation of the firmware. The compilation fails on "DIOORIG_E4_ENABLE_PIN_WPORT". I'm not sure what this means(google/repetier forum search). The only guess I can gather from this is either the D4 which is attached to the z-probe or Extruder 4 which is what I selected for the Z axis steppers (4,5,6). I didn't see a spot to define them by pin or driver when selecting the axis stepper, it just shows the xyz axis and extruders. I have attached my configuration.h in a compressed zip the forum wouldn't let me upload the *.h.
Comments
This removes the previous error that I was getting but now I get an error.
Printer.cpp:1883: error: invalid type argument of unary '*' (have 'float')
https://pastebin.com/jtb88yAs
https://pastebin.com/v5PH3fYW
This is a N grid of 3 x 3.
13:20:54.321 : Info:Autoleveling disabled
This will continue iterating the same changes. Pushing the build plate further from flat. So if its negative it will make it more negative and if its positive it will make it more positive. The x and y positions are about where they need to be in physical space.
#define NUM_MOTOR_DRIVERS 3
#define MOTOR_DRIVER_1(var) StepperDriver<59,63,58,0,0> var(800,2)
#define MOTOR_DRIVER_2(var) StepperDriver<64,40,58,0,0> var(800,2)
#define MOTOR_DRIVER_3(var) StepperDriver<44,42,58,0,0> var(800,2)
Motor at position 1 is fixed and only position 2 and 3 are moved by motor driver 0 and 1. I guess that is the main problem here. If the ymove in wrong direction, you need in to invert direction of the motor drivers.