Hello
I want to make one arm SCARA drawing manipulator with large working area. So I decided to use Teknic Clearpath integrated servo motors.
I try to fing answer at wiki how to connect them, but “Using external drivers” page are empty.
Can you please explain how to connect Clearpath to Duet2wifi?
Thank you!
Best posts made by dk
-
How to connect integrated servo motors
-
RE: How to connect integrated servo motors
I need not less than 5VDC and 8mA. So I need to order Expansion breakout board for Duet2, correct?
Also can I make some changes at the interface layout? For example delete joggers? Or 3 different homing buttons?
-
RE: How to connect integrated servo motors
from Clearpath manual:
Latest posts made by dk
-
RE: 4 motors on one axis homing
@dc42
the first option looks the most interesting. This way I can get 2 more spare drivers for future upgrades!
Do you have wiring diagram for parallel stepper connection?
Should steppers wire length be the same? or 500mm difference in wires lengths does not effect synchronies of motor movements? -
RE: 4 motors on one axis homing
@phaedrux
Yes, this drivers spread due to wiring. I have 4 NEMA23 for Y (2 motors move one belt for left and right rail), 2 Nema17 34mm with lead screw for Z, 2 NEMA17 20mm for X.
Cartesian kinematic. Dual Y axis rails (its actually dual 16mm shafts on both sides of printer) moving two Z rails, which hold X axis.For now sensorless homing on X and sensorless on Z works find.
Endstops on Y also work, but not independently for two Y rails. if the axis is slightly shifted (I specifically moved one rail by 10 mm relative to the second), the homing is triggered when the first rail touches the endstop. And printer remains shifted Y axis by 10 mm.
If I disconnect 2 motors
(M584 X0.2:1.2 Y0.3:1.0 Z0.1:1.1 instead of M584 X0.2:1.2 Y0.0:0.3:0.4:1.0 Z0.1:1.1 ),
then the independent homing works as it should, both rails go to the endstop.
So, I want to achieve independent homing for two Y axis rails with four motors (2 motors for each rail) -
RE: 4 motors on one axis homing
@phaedrux
Config fileG90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Duet3" ; set printer name; Drives
M569 P0.0 S0 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.4 S1 ; physical drive 0.5 goes forwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P0.3 S0 ; physical drive 0.3 goes forwards
M569 P1.0 S1 ; physical drive 1.0 goes forwards
M569 P1.1 S1 ; physical drive 1.1 goes forwards
M569 P1.2 S1 ; physical drive 1.2 goes forwards
M584 X0.2:1.2 Y0.0:0.3:1.0:0.4 Z0.1:1.1 ; set drive mapping
M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 ; set steps per mm
M566 X900.00 Y900.00 Z90.00 ; set maximum instantaneous speed changes (mm/min)
M203 X19000.00 Y19000.00 Z900.00 ; set maximum speeds (mm/min)
M201 X1200.00 Y1200.00 Z120.00 ; set accelerations (mm/s^2)
M906 X800 Y2200 Z1000 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X300 Y660 Z110 S0 ; set axis maxima
M564 H0 ; allow move without homing; Endstops
M574 X1 S3 ; configure sensorless endstop for low end on X
M574 Y1 S1 P"0.io0.in+1.io0.in" ; configure active-low endstop for low end on Y via pin io0.in
M574 Z1 S4 ; configure sensorless endstop for low end on Z
M915 X Z R0 F0 ; configure sensorless homing for X and Z; Z-Probe
M558 P0 H5 F1200 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X50:250 Y50:650 S50 ; define mesh grid; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 F-1 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
; homeall.g
; called to home all axes
;M400 ; Clear buffer
M913 X30 Z50 ; Drop motor current 30% for X 50% for Z
M400 ; Clear buffer
G91 ; relative positioning
G1 H2 Z5 F600 ; lift Z relative to current position
G1 H1 X-305 F6000 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back 5 mm
G1 H1 X-15 F3000 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-685 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 Y5 F5000 ; go back a few mm
G1 H1 Y-15 F600 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z-125 F600 ; move Z down stopping at the endstop
G90 ; absolute positioning
G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
G91 ; relative positioning
G1 Z5 F500 ; lift Z relative to current position
G90 ; absolute positioning
M400 ; Clear buffer
M913 X100 Z100 ; motor current back to 100%
M400 ; Clear buffer -
RE: 4 motors on one axis homing
@phaedrux
Yes, S4 works well on Z - 2 motors on Z stopped individually. But for Y axis I use 2 optical endstop and so my only choice M574 S1
But because of 4 motors on Y, left and right rail do not stoped individually -
RE: 4 motors on one axis homing
Stall homing resolved.
But I cant get Y to home properly. I add 2 endstop for each of Y rails and everything work great if I use only 2 Y motors, one for left rail and one for right rail. But my setup have two Y motors on both rails (4 total for Y).
M584 X0.2:1.2 Y0.0:0.3:0.4:1.0 Z0.1:1.1 ; set drive mapping
In this case first homing stops when the first endstop is triggered.
@dc42
Is it possible to independently homing the right and left rails of the Y axis if there are 2 motors on right rail and 2 motors on left rail of Y axis? -
RE: 4 motors on one axis homing
@fcwilt
Heavy X axis with Z axis mounted on it.
taking into account the low cost of the steppers, and 6+3 driver on Duet3 + 3HC I decide to put 2 motors for 1 belt and thereby reduce the backlash and increase the torque. Which is especially important for high accelerations of a heavy head. And I plan to put a spindle in addition to the print head to be able to finish the surface after printing and drilling holes -
RE: 4 motors on one axis homing
@o_lampe
in this case endstop detection will be considered at a stall detection from the first of the two motors if they do not stall simultaneously? Or do both motors need stall detection to trigger the endstop? -
RE: 4 motors on one axis homing
@phaedrux any idea if sensorless homing should use both motors pulling one belt or just one of them?
-
RE: 4 motors on one axis homing
I probably can place endstops for the Y axis. But for X and Z it will be almost impossible.
For sensorless homing should I use both motors pulling one belt or just one of them? -
4 motors on one axis homing
Hello
I building a laser engraver with Duet3 + Duet 3 Expansion board 3HC
I have 2 motors on X (both motors moves one X belt), 4 Motors on Y (two motors moves left Y belt, two motors moves right Y belt) and 2 on Z (8mm lead screw).
Can I use sensorless homing in case of 2 motor moving same belt?
what will the Homeall file look like in this case?
Do I need to change motors mapping?; Drives
M569 P0.0 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.4 S1 ; physical drive 0.5 goes forwards
M569 P0.2 S1 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M569 P1.0 S1 ; physical drive 1.0 goes forwards
M569 P1.1 S1 ; physical drive 1.1 goes forwards
M569 P1.2 S1 ; physical drive 1.2 goes forwards
M584 X0.2:1.2 Y0.0:0.3:0.4:1.0 Z0.1:1.1 ; set drive mapping
M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 ; set steps per mm
M566 X600.00 Y600.00 Z100 set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z60.00 ; set accelerations (mm/s^2)
M906 X1200 Y2400 Z1200 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X300 Y680 Z120 S0 ; set axis maxima
...