Duet2 Wifi RRF3 Pin Names
-
Hi,
I want to connect 1 stepper motor on LCD pins: Stp10, Dir10, En10, Stop10.
I couldn't found the pin names on https://duet3d.dozuki.com/.
Is it correct?: connlcd.stp10, connlcd.dir10, connlcd.en10, connlcd.encb
Thanks!!
-
@amimafe Pin names for LCD connector endstops are here: https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Pin_names_for_Duet_2_WiFi_Ethernet
connlcd.encb, connlcd.3 (Endstop 10)
connlcd.enca, connlcd.4 (Endstop 11)
connsd.encsw, connsd.7 (You can also use this pin)You can't define the enable, step and direction pins; they are not directly addressable. You also can't connect the stepper motor directly to the pins; it's an output for an external stepper driver. See https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers
Once you have connected an external stepper driver (and the motor to that driver), add
M569 P10
with appropriate timings for your stepper driver (see T parameter of M569 here https://duet3d.dozuki.com/Wiki/Gcode#Section_M569_Set_motor_driver_direction_enable_polarity_and_step_pulse_timing ) and add it to the M584 command, egM584 E10
.Ian