M3 Has no Parameter
-
I cant get my spindle to turn on.
Fusion gives me this commandM3 S3000
It says No P parameter and no active tool with spindle
M3 P0 S3000
This works where do i tell fusion 360 to put that before every M3 command
This is my config file i tried a few things but i dont really understand the system
; Configuration file for RepRapFirmware on Duet 3 Main Board 6XD ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.5.5 on Fri Nov 08 2024 16:48:28 GMT+0100 (Mitteleuropäische Normalzeit) ; General G90 ; absolute coordinates M83 ; relative extruder moves M550 P"Duet 3" ; set hostname ; Network M552 P192.168.2.1 S1 ; configure Ethernet adapter M553 P255.255.255.0 ; set netmask M554 P192.168.2.1 ; set gateway M586 P1 S1 ; configure FTP M586 P0 S1 ; configure HTTP ; Motor Idle Current Reduction M906 I30 ; set motor current idle factor M84 S30 ; set motor current idle timeout ; External Drivers M569 P0.0 S0 R0 T5:5:10:0 ; driver 0.0 goes backwards and requires an active-low enable signal (X axis) M569 P0.1 S1 R0 T5:5:10:0 ; driver 0.1 goes forwards and requires an active-low enable signal (X axis) M569 P0.2 S1 R0 T5:5:10:0 ; driver 0.2 goes forwards and requires an active-low enable signal (Y axis) M569 P0.3 S1 R0 T5:5:10:0 ; driver 0.3 goes forwards and requires an active-low enable signal (Y axis) M569 P0.4 S1 R0 T5:5:10:0 ; driver 0.4 goes forwards and requires an active-low enable signal (Z axis) ; Axes M584 X0.2:0.3 Y0.0:0.1 Z0.4 ; set axis mapping M350 X16 Y16 Z16 I0 ; configure microstepping without interpolation M92 X35.56 Y35.56 Z800 ; configure steps per mm M208 X0:560 Y0:900 Z0:140 ; set minimum and maximum axis limits M566 X900 Y900 Z12 ; set maximum instantaneous speed changes (mm/min) M203 X3000 Y3000 Z180 ; set maximum speeds (mm/min) M201 X250 Y250 Z20 ; set accelerations (mm/s^2) ; Kinematics M669 K0 ; configure Cartesian kinematics ; Endstops M574 X1 P"!io1.in" S1 ; configure X axis endstop M574 Y1 P"!io0.in" S1 ; configure Y axis endstop M574 Z2 P"!io2.in" S1 ; configure Z axis endstop ; Spindles M950 R0 C"vfd" Q2000 L0:19200 ; configure spindle #0 ; Tools M563 P1 D0 H1 R0 ; create tool #0 M568 P1 R0 S0 ; set initial tool #0 active and standby temperatures to 0C ; Miscellaneous M453 ; select CNC mode T1 P0 ; select first tool M3 P0 S0
I want to use Tool1 for everything i dont understand currently how this number thing works. I set in fusion 360 all my tools to number one and just do different gcode files when i need to switch
-
@tomtendo See this section: https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_CNC#configg-changes
Specifically:
You need to define at least one tool using M563, but it can have zero associated heaters, fans and/or extruder drives, and just the spindle you defined with M950. e.g.
M563 P0 R0 ; assign spindle 0 to tool 0
Or use P1 if you want it to be called tool 1. Then put T1 in your config.g at the end to enable it.
Have a look at the rest of the list there, to see if they apply to you.
Ian
-
This post is deleted! -
-
@tomtendo I expect because you had D0 and H1 in your M563 command, which don't exist, it was causing an error and not being processed. Also the R0 S0 in your M568 command refers to temperature. You can use M568 F parameter for spindle speed, see https://docs.duet3d.com/User_manual/Reference/Gcodes#m568-set-tool-settings
Ian