Failed to Enable Endstops
-
The page with information on the board had this to say about it.
"If your daughter board has two LEDs labelled FAULT then it uses MAX31856 chips. In this case the terminal blocks labelled 1 and 2 on the lower daughter board will be temperature measurement channels 150 and 151 respectively."
-
@Tpmoses said in Failed to Enable Endstops:
@fcwilt I tried having the bed as a thermocouple and it went to 2000.0 C, Could it be due to the sensors being wired through the daughter board? maybe I need to call to a different sensor?
Did you try both values?
I've never used one of the add-on boards so I'm not sure what parameters you need in M308.
Do you check the M308 docs?
Frederick
-
@Tpmoses said in Failed to Enable Endstops:
The page with information on the board had this to say about it.
"If your daughter board has two LEDs labelled FAULT then it uses MAX31856 chips. In this case the terminal blocks labelled 1 and 2 on the lower daughter board will be temperature measurement channels 150 and 151 respectively."
So do those values 150 and 151 need to be used somewhere in the config.g file?
Frederick
-
I was able to get the bed sensor to read, using this line.
M308 S0 P"spi.cs1" Y"thermocouple-max31856" M950 H0 C"bedheat" T0 M307 H0 B0 S1
-
The Heating Element temp now works too, the Callout is the spi.cs1, the number changes based on the port on the daughter chip.
-
Excellent - glad to hear you got it working.
And I learned something new in the process - thank you.
Anything else not working?
Frederick
-
@fcwilt The x and y drives wont run and I am guessing the extruder will have the same problem as it is on that board, they are on a breakout board not the standard drive ports. The previous config the ports used were 8, 6, and 5 respectively, in the new configuration they were assigned as 0, 1 and 3. Z didn't change, and its the only one that is still working. When I assign them like the previous config nothing happens, so I am guessing when I say there is probably a callout in the drive assignment that I am missing.
-
; Drives M569 P8 S1 ; physical drive 6 goes forwards M569 P6 S0 ; physical drive 8 goes forwards M569 P2 S0 ; physical drive 2 goes forwards M569 P5 S0 ; physical drive 5 goes forwards M584 X8 Y6 Z2 E5 ; set drive mapping
What do you have in your config now?
Can you show a photo of what you mean by breakout board for the drivers?
-
@Phaedrux here is a picture of the board in the cabinet.
Here is the page with the wire diagram,
https://duet3d.dozuki.com/Wiki/Duet_Expansion_Breakout_Board
I have attempted to put assign the drives in the way that it is in your screenshot, as well as trying to put it in the format as on the above page.
Thanks!
-
If the motors are wired the same as before you should be able to use the same commands as your old config.
; Drives M569 P8 S1 ; physical drive 6 goes forwards M569 P6 S0 ; physical drive 8 goes forwards M569 P2 S0 ; physical drive 2 goes forwards M569 P5 S0 ; physical drive 5 goes forwards M584 X8 Y6 Z2 E5 ; set drive mapping
I think what is happening during homing is that your endstops are reporting as triggered immediately because the endstops need to be inverted.
In your old config you had S0 to invert the signal, and in the new config you would need to do the inversion a little differently by adding a
!
to the pin name.Change your endstop config to this
; Endstops M574 X1 S1 P"!xstop" M574 Y1 S1 P"!ystop"
-
@Phaedrux looks like it was a combination of both, here is the current config.g, it will home all three axis' now.
Thank you all for your help, I will probably have more questions in the next few days.
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.2 on Fri Jan 22 2021 11:13:01 GMT-0600 (Central Standard Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Caymas 3D Printer" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P8 R1 T2.5:2.5:5:5 S0 ; physical drive 8 goes forwards M569 P6 R1 T2.5:2.5:5:5 S1 ; physical drive 6 goes forwards M569 P2 S0 ; physical drive 2 goes forwards M569 P5 R1 T2.5:2.5:5:5 S1 ; physical drive 5 goes forwards M584 X6 Y8 Z2 E5 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X320.00 Y320.00 Z640.00 E40.00 ; set steps per mm M566 X200.00 Y200.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X3000.00 Y3000.00 Z3400.00 E4000.00 ; set maximum speeds (mm/min) M201 X200.00 Y200.00 Z12.00 E250.00 ; set accelerations (mm/s^2) M906 X2000 Y2000 Z2800 E800 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 X1100 Y1100 Z1100 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure active-low endstop for low end on X via pin xstop M574 Y1 S1 P"!ystop" ; configure active-low endstop for low end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M558 P1 C"zprobe.in+zprobe.mod" H5 F240 T3600 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X570 Y570 Z1.8 ; set Z probe trigger value, offset and trigger height M557 X100:1100 Y100:1100 S100 ; define mesh grid ; Heaters M308 S0 P"spi.cs1" Y"thermocouple-max31856" ; configure sensor 0 as thermocouple on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B0 S1.00 ; disable 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"spi.cs2" Y"thermocouple-max31856" ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S320 ; set temperature limit for heater 1 to 320C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0 ; 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 ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
-
Great. Glad we were able to help.
One more issue I can forsee you running into next is heating the bed. It will need to be PID tuned.
M303 H0 S60
to tune it to 60c, for the hotendM303 T0 S200
followed by M500 to save the results to config-overide.g and then add M501 to the end of config.g to load them again at start up. -
@Phaedrux Thank you, I will apply to the program!