Duet Wifi setup - need help
-
Well crap, I figured out why the nozzle wasn't heating up! I clicked on the Heater 1 in the web interface and it went from standby to active. What purpose does this serve, aside from challenging newbies?
-
Latest issue…extruder motor was running the wrong way. Changed M569 P3 S1 to M569 P3S0. This worked to reverse a different motor earlier today. Now, in the web interface, I cannot get the extruder motor to turn and get this error message:
M120
M83
G1 E-5 F600
M121
Attempting to extrude with no tool selected.So...what the heck did I do wrong now?
-
There are two heaters in the web interface because some printers have two extruders.
If you changed it to "M569 P3S0", the problem is not having a space between 3 and S.
Also, if you flip the connector on a stepper motor, it will reverse motor direction.
-
Oops, that was a typo…there is a space between the 3 and S. The funny thing is I changed it back to how it was originally (when the motor was working, just running backwards) and it still doesn't work. I've powered down, refreshed the web interface, and still doesn't work.
-
Could you post your config.g here, please?
-
There should be a line like:
M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1
-
Also regarding the power from USB question:
Specifically, the board can always safely be powered by USB
-
Hey Tim,
Here it is…; Configuration file for Duet WiFi (MP Select Mini)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Tue Sep 27 2016 08:50:26 GMT-1000 (Hawaiian Standard Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X120 Y120 Z120 S0 ; Set axis maxima;Wifi Networking (may not need this section)
;M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
;M552 S1 ; Enable WiFi; Endstops
M574 X1 Y1 Z0 S0 ; Define active low and unused microswitches
M558 P1 X0 Y0 Z1 H5 F120 T1200 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height; Drives
M569 P0 S1 ; Drive 0 goes forwards S1=forwards S0=reversed
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 X16 X16 X16 X16 I0 ; Configure microstepping without interpolation
M92 X93 Y93 Z1097.5 E406 ; Set steps per mm
M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M203 X1500 Y1500 Z180 E1200 ; Set maximum speeds (mm/min)
M201 X800 Y800 Z20 E1000 ; Set accelerations (mm/s^2)
M906 X800 Y800 Z600 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M143 S260 ; Set maximum heater temperature to 260C
M570 S150 ; Set maximum heating time to 150s
M305 P0 T100000 B3950 C0.0000000000000000 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B3950 C0.0000000000000000 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 1; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Network
M550 PMP Select Mini ; Set machine name
M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP; Fans
M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
-
I just noticed this line in my config.g:
M350 X16 X16 X16 X16 I0 ; Configure microstepping without interpolationShouldn't it be M350 X16 Y16 Z16 E16?
Would I want with or without interpolation?BTW, this config.g is from the configurator. I was reading about it in another thread and it seems this happened to someone else.
-
From the Wiki:
"The 5V circuit can be supplied from USB (for example, with no actual PSU attached; recommended for initial setup), an external 5V supply (for example, the +5VSB rail on an ATX power supply), or it can be powered from the 12/24V supply through an internal switching power supply. Jumpers must be set up appropriately. Specifically, the board can always safely be powered by USB, but if the INT 5V EN jumper is set, the internal switching-mode power supply will feed the 5V circuit from the 12/24V circuit; if instead the EXT 5V EN jumper is set, the board will be powered from the 5V in pin."
The bold text is where I got confused. It sounds like, as you said, you can always safely connect the USB cable. That makes sense as there could be numerous instances where you'd want to do that. Reading it again, and hearing your advice, makes me feel comfortable connecting the USB with 12v power applied to the board.
Thanks! -
The I0 or I1 is to turn off or on interpolation. Turning it on should result in smoother/quieter printing. It shouldn't cause any problems. I use it on "I1".
You need a T0 at the very end of that config.g file. Perhaps that got cut off when you were editing?
-
The only thing I changed is the 1 after the S…changed it to 0. Then the extruder motor would no longer turn (it would turn before, just going the wrong way). I even changed the 0 back to a 1 and the motor still doesn't turn. Very strange as the config.g is exactly like it was before when the motor was working.
-
T0? Ah…I see that on the config.g file that came default on the SD card...it's not on the config.g file that the configurator spit out. Let me try adding it...
-
Okay, tried it with the T0 at the end and discovered something…it gave me an error message saying you can't extrude because the hotend wasn't up to temperature! Ah, this thing is far smarter than me! I did try turning on the heater to make sure it worked and that must have been when the motor would turn. So the error message that says no tool selected is because the Heater 1 thing somehow gets set to standby...that's what the message means...make the Heater 1 active.
I removed the T0 and it seems to still work the same. What does the T0 mean?
-
Great! I think it's mostly functional now! Next up is the IR sensor…
-
T0 sets the active tool (extruder) as tool/extruder 0.
-
Thanks, Tim. I put the T0 command back in. Got the IR sensor hooked up and functioning. Just need to do the final adjustment/calibration process.
How can I use the original Z-axis limit switch as well as the IR sensor? Reason being, if I home the machine, the IR sensor will be off the edge of the bed. Some mechanical modifications I made to the machine cause this, namely the addition of an E3D V6 extruder and glass plate over the stock aluminum heated bed. So, for bed leveling, I can move the test spots to a good location, away from the edges, but then still need the Z-axis limit switch so I don't crash.
-
In yor homez.g and homeall.g files, before the G30 command to home Z, use a G1 command to move the head to the centre of the bed. Or you can use your microswitch for Z homing if you prefer. See https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer#Homing_files.
-
What does this mean?
G28 X
Triangle interpolation: point outside all triangles!I get this message when homing any axis. I've been messing around with the bed.g file and and auto bed compensation and it seems to have started shortly after this.
-
I think that can be ignored.