CNC Pendant not working
-
Hi!
I have wired and programmed the CNC Pendant according to the Arduino Pro Micro to Duet wiring section https://docs.duet3d.com/User_manual/Connecting_hardware/IO_CNC_Pendant.
I however can't seem to get it to work.
What Gcode do I need to write in my Config.g?
I added M575 P1 S1 B57600 and I can see that the arduino pro micro light gets turned on when I rotate the encoder. (a Green LED is turned on, a red LED is turned on and a dim red LED gets turned on when rotating the encoder)
My axis have been defined using:
; Smart Drivers M569 P4 S1 D2 ; driver 0.0 goes forwards (X axis) M569 P5 S1 D2 ; driver 0.1 goes forwards (Y axis) M569 P3 S1 D2 ; driver 0.2 goes forwards (Z axis) ; Axes M584 X4 Y5 Z3 ; set axis mapping M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation M906 X4200 Y4200 Z4200 ; set axis driver currents M92 X800 Y800 Z800 ; configure steps per mm M208 X-3500:3500 Y-3500:3500 Z-2500:2500 ; set minimum and maximum axis limits M566 X100 Y100 Z50 ; set maximum instantaneous speed changes (mm/min) M203 X600 Y600 Z600 ; set maximum speeds (mm/min) M201 X2000 Y2000 Z2000 ; set accelerations (mm/s^2)
The stop button does however send the Halt status to the duet 3
I am using a Duet 3 Mainboard 6HC V1.01A and plugged the connector into IO_0
-
@dc42 Could this be a software bug on the arduino side?
-
@Hunterglory as a first step I suggest you send M111 S1 P3 to enable GCode debugging, and see whether it reports that anything is being received from the aux port.
-
@dc42 I just tried it and it does send the Gcode
M111 S1 P3 USB: M111 S1 P3 Debugging enabled for modules: Gcodes(3 - 0xffffffff) Debugging disabled for modules: Platform(0) Network(1) Webserver(2) Move(4) Heat(5) Kinematics(6) InputShaping(7) unused(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13) WiFi(14) Display(15) SbcInterface(16) CAN(17) Expansion(18) Aux: G91 G0 F6000 X0.1 Aux: G91 G0 F6000 X0.3 Aux: G91 G0 F6000 X0.3 Aux: G91 G0 F6000 X0.5 Aux: G91 G0 F6000 X-0.1 Aux: G91 G0 F6000 X-0.3 Aux: G91 G0 F6000 X-0.5 Aux: G91 G0 F6000 Y1.0 Aux: G91 G0 F6000 Y1.0 Aux: G91 G0 F6000 Y3.0 Aux: G91 G0 F6000 Y3.0 Aux: G91 G0 F6000 Y4.0 Aux: G91 G0 F6000 Y5.0 Aux: G91 G0 F6000 Y-1.0 Aux: G91 G0 F6000 Y-2.0 Aux: G91 G0 F6000 Y-3.0 Aux: G91 G0 F6000 Y-4.0 Aux: G91 G0 F6000 Y-5.0 Aux: G91 G0 F600 Z1.0 Aux: G91 G0 F600 Z3.0 Aux: G91 G0 F600 Z6.0 Aux: G91 G0 F600 Z5.0 Aux: G91 G0 F600 Z-1.0 Aux: G91 G0 F600 Z-2.0 Aux: G91 G0 F600 Z-3.0 Aux: G91 G0 F600 Z-3.0 Aux: G91 G0 F600 Z-5.0
-
@Hunterglory did you home the machine? By default, RRF does not allow an axis to be moved before it has been homed.
-
@dc42 It works now! Thank you. I completely overlooked that part
-
-