RRF3 Config Issues



  • Hey Everyone,

    I have just updated my printer to RRF3 3.0. I have a Duet 2 Ethernet and a Duex2. @deckingman helped me get most of the way there but there are a couple of things he was not sure about as he doesn't use the functionality. I have been working on it for the past 3 hours and can not see what I am doing wrong. I have used the online configurator to look at how it does things and then try to implement it in my code. The issues I am having are below:

    1. The hot end cooling pump (water cooled hot end) is continuously running.
    2. None of the extra heaters are displayed in DWC (I am using 2.04)
    3. The z probe is not working (Precision Piezo Orion). I have bent my cariage quite badly as my network dropped out during probing and it well and truely rammed itself into the bed.

    I have attached my RRF2 config and my RRF3 config. Can someone have a look at it and tell me where I have gone wrong?

    rrf2 config.txt config RRF3 200111 1051.g

    Cheers
    Sam


  • administrators

    @samlogan87 said in RRF3 Config Issues:

    Hey Everyone,

    I have just updated my printer to RRF3 3.0. I have a Duet 2 Ethernet and a Duex2. @deckingman helped me get most of the way there but there are a couple of things he was not sure about as he doesn't use the functionality. I have been working on it for the past 3 hours and can not see what I am doing wrong. I have used the online configurator to look at how it does things and then try to implement it in my code. The issues I am having are below:

    1. The hot end cooling pump (water cooled hot end) is continuously running.
    2. None of the extra heaters are displayed in DWC (I am using 2.04)
    3. The z probe is not working (Precision Piezo Orion). I have bent my cariage quite badly as my network dropped out during probing and it well and truely rammed itself into the bed.

    I have attached my RRF2 config and my RRF3 config. Can someone have a look at it and tell me where I have gone wrong?

    rrf2 config.txt config RRF3 200111 1051.g

    Cheers
    Sam

    Unfortunately I haven't found a way to read .g files on a smartphone, so I will look at your RRF3 config file tomorrow when I am back in the office.



  • ; Heaters

    M308 S0 P"spi.cs2" Y"rtd-max31865" ; configure sensor 0 as thermocouple via CS pin spi.cs2
    M950 H0 C"e0heat" T0 ; create nozzle heater output on bedheat and map it to sensor 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M307 H0 A805.8 C389.3 D4.2 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit
    M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs1
    M950 H1 C"bedheat" T1 ; create bed heater output on e0heat and map it to sensor 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C
    M307 H1 A276.9 C1121.5 D20.4 S1.00 B0 ; disable bang-bang mode for the bed heater and set PWM limit

    ; Water Cooling

    M950 F7 c"!fan7.^pb6" ; Assign Fan 7 to Fan 7 Port and Inverse
    M106 P7 H1 B1 L0.3 X0.7 T60 C"Extruder" ; Water Cooling Pump Start
    M308 S103 P"e2temp" Y"thermistor" A"Water Temp" T100000 R4700 B3950 ; Create Heater for Cooling Water
    M950 F0 c"!fan0" Q25000 ; Assign Fan 0 to Fan 0 Port and Inverse
    M106 P0 H103 L.3 B.5 T30:45 C"Radiator" ; Set fan 4 PWR fan. Turns on when Radiator temperature (heater 103), hits 45C and full speed when the temperature reaches 65C

    I don't know if it has anything to do with the pump being on, but you seem to have connected the bed sensor to the pump. I'm assuming from your comments it should be the hotend.

    Also, I think the syntax for the Fan7 port (pump) should be: c"!^fan7.pb6". You might try it with and without the !



  • @Danal Sorry I should up updated the description. The hot end is run off the bed heater output as I use a srr for my heated bed.

    I will give the fan output a try.

    Cheers
    Sam



  • Got it!

    Given that, I don't really see anything other than trying with "!" or not. 🙂



  • @samlogan87 said in RRF3 Config Issues:

    1. The z probe is not working (Precision Piezo Orion). I have bent my cariage quite badly as my network dropped out during probing and it well and truely rammed itself into the bed.

    While I can't offer any help for the bent carriage, I suspect your M558 line is incorrect:

    M558 P5 R0.4 C"zprobe.in" H5 F300 T6000

    Check your RRF2 config.g file. If it included a "I1" parameter in M558, you need to insert a "!" character in front of the pin name. (You should have noticed in DWC that the z-probe was always triggered, even if nothing was moving.)

    So, your M558 would look like this:

    M558 P5 R0.4 C"!zprobe.in" H3 F300 T6000
    


  • Hi @garyd9

    Thanks for your reply. I had a look at DWC and it is saying as you mentioned that the probe is 1000. Putting the ! in front however has not changed that and now it is throwing a fault saying the probe is triggered at the start of the probing move. I have tried changing it from P5 to P8 and that has done nothing as well.

    Do you have any other suggestions?

    Cheers
    Sam



  • @samlogan87

    What was your M558 line in RRF2? Using that information would make it easier to know how to convert it.

    If it helps, my own precision piezo orion was configured (and functional) in RR3 using:

    M558 P8 R0.4 C"!zprobe.in" H3 F300

    I also at one point had "^!zprobe.in", but the caret in front didn't seem to make any difference.

    In both cases, my G31 had a P parameter of 500



  • HI @garyd9

    I had attached both the old and the new to the first post but it seems to have put them on one line so it only looks like 1 file attached.

    Here is my homing config for RRF2

    M574 X1 Y1 S1 ; X home to min. Y home to max. Normally Closed limit switches.
    M574 Z1 S0
    M558 P8 I1 R0.4 F300 X0 Y0 Z0 A5 ; digital piezo sensor, output rises on contact, probing speed, not used to home axes
    G31 X0 Y0 Z-0.085 P500 ; sensor is nozzle and debounce value.

    Cheers
    Sam



  • @samlogan87

    M558 P8 I1 R0.4 F300 X0 Y0 Z0 A5

    X,Y,and Z on M558 haven't been used since RRF 1.19, so can ignore them

    I believe that a piezo is consistent enough to not need repeating, so "A" can be removed. (I don't know if RRF3 supports it or not.)

    It's missing a dive height (H) param. The default H value is 5.

    So, that leaves "M558 P8 I1 R0.4 F300 H5"

    Converting that to RRF3 is really easy for me, as it's nearly identical to my piezo orion config. Here's the M558 I used successfully with RRF3:

    M558 P8 R0.4 C"!zprobe.in" H5 F300

    This assumes the orion is attached to the duet board using the z-probe header, pins for 3.3V, GND, and probe in. (Probe.Mod isn't used.)

    That, followed by "G31 X0 Y0 Z-0.085 P500" should work for you (unless something is broken.)

    My suggestion is to send both the M558 and G31 commands manually in the console in DWC. Ensure no errors. Run "M558" and "G31" in the console with no parameters to ensure the values it reports back are the same. Then look at the z-probe status in DWC and ensure the z-probe status is 0, AND look at the orion and ensure the red LED is lit.

    The orion should have a red lit LED and the z-probe status should be 0. If you tap your nozzle, the red LED on the orion should go out (and perhaps a blue one will flicker on) and you may (or may not) see the z-probe status change to 1000 very quickly.

    The the orion doesn't have a red LED while at rest, then something isn't working with the orion. If the orion has a red LED at rest, but DWC is reporting a z-probe status of 1000, then something might be broken with the orion or an issue with wiring. (I don't know which.)

    Honestly, that's about as much help as I can give without moving into the realm of pure guessing (which I wouldn't want to do with anyone's printer except my own.)


  • administrators

    @samlogan87 said in RRF3 Config Issues:

    Hi @garyd9

    Thanks for your reply. I had a look at DWC and it is saying as you mentioned that the probe is 1000. Putting the ! in front however has not changed that and now it is throwing a fault saying the probe is triggered at the start of the probing move. I have tried changing it from P5 to P8 and that has done nothing as well.

    Do you have any other suggestions?

    Cheers
    Sam

    Try enabling the pullup resistor as well, using "^!zprobe.in" in your M558 line.



  • Thank you @garyd9 and @dc42

    @garyd9 I changed it to what you had and it made the printer start with a 0 probe reading but as soon as I touched it with my hand, the light on the orion turned blue and turned off after but the probe reading stayed at 1000. Adding the pull up resistor as @dc42 suggested has fixed that now, which is fantastic.

    The next issue is my water cooling for the hot end is still running all the time and non of the virtual heaters are being displayed nor working when I change the starting thresholds below the current temp of them.

    Cheers
    Sam



  • So a bit more of an update, I have sorted the water pump running all the time. I had the fan set as fan7 not duex.fan7. That has stopped it from always running, however it is not showing its rpm in dwc.

    I have this as the code now:

    M950 F7 c"!duex.fan7+exp.^pb6" ; Assign Fan 7 to Fan 7 Port and Inverse
    M106 P7 H1 B1 L0.3 X0.7 T60 C"Extruder" ; Water Cooling Pump Start

    I have just tried it like this:

    M950 F7 c"!duex.fan7+^pb6" ; Assign Fan 7 to Fan 7 Port and Inverse
    M106 P7 H1 B1 L0.3 X0.7 T60 C"Extruder" ; Water Cooling Pump Start

    And my DWC has locked up with a dark shade to the screen. Refreshing it doesn't seem to fix it so it looks like I will be pulling the SD card out and changing it back as it doesn't seem to like it.

    Any more help on this issue and the virtual heater would be gratefully accepted.

    Cheers
    Sam



  • Hey everyone,

    I was wondering if anyone could shed any more light on my issues with my config. The virtual heaters are not showing and the fans are not working with them when I manipulate the starting thresholds. I have also noticed if it is any help that they are being displayed in the fan section when I did not think they should as they are thermostatically controlled. My part cooling pump is also not working and that I could control with the slider.

    Cheers
    Sam



  • Hey Everyone,

    Can somebody please help.....

    I am still having the below issues with my board cooling. I am not sure what I am doing wrong but the fans won't run and I can not see them being displayed in the extra box. Here is the code

    ;Board Cooling Fan					
    
    M308 S100 P"mcu-temp" Y"mcu-temp" A"Duet Board" 				; Map Duet MCU to the Extra Table
    M308 S101 P"Drivers" Y"drivers" A"MCU Drivers"				; Map Duet Drivers to the Extra Table
    M308 S102 P"Drivers-duex" Y"drivers-duex" A"Duex2 Drivers"		; Map Duex2 Driver to the Extra Tabl
    M308 S103 P"e1temp" Y"thermistor" A"Control Area" T100000 R4700 B3950  	; Create Virtual Heater for Control Area
    M950 F1 c"!fan1" Q25000							; Assign Fan 1 to Fan 1 Port and Inverse
    M106 P1 L.3 B.5 T30:65 H100:101:102 C"Duet Fan"				; Set fan 1 PWR fan. Turns on when MCU temperature, hits 45C and full when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual 		
    M950 F2 c"!fan2" Q25000							; Assign Fan 2 to Fan 2 Port and Inverse
    M106 P2 L.3 B.5 T30:40 H103 C"Control Area"				; Set fan 2 PWR fan. Turns on when MCU temperature, hits 45C and full when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual 
    
    

    Cheers
    Sam



  • @samlogan87 Hi Sam. I'm currently in Canberra so closer to you than I am my printer, and I only have my 'phone in front of me so can't be much help. I notice that you have lower case "c" - not sure if it matters but maybe try upper case C?
    AFAIK, driver temps are just high temp alarm outputs so they likely won't show on DWC extras.


  • administrators

    @samlogan87 said in RRF3 Config Issues:

    M950 F7 c"!duex.fan7+exp.^pb6" ; Assign Fan 7 to Fan 7 Port and Inverse

    Use ^exp.pb6 as the tacho pin name.

    Max sensor number in M308 commands is 31 on Duet 2, 64 on Duet 3.

    I recommend you run M98 P"config.g" so you can see what error messages are emitted by the commands on config.g.



  • Hi @deckingman I hope you are not too affected by the fires there at the moment. It is pretty horrible. David was right in the fact that I had several sensors that we in the 100's for sensor numbers. I guess it was a bit of a hangover from the sensor assignment in RRF2 for the MCU and Drivers.

    @dc42 I did not see anywhere in the documentation about the maximum number of available sensors? Also the tacho assignment is not that well defined in the what you need to do document. In some places it is assigned as +^pb6, others are as you have mentioned. It is a wee bit confusing.

    Cheers
    Sam



  • @samlogan87 Off topic I know but yeah, the smoke is pretty bad some days. Had we arrived a day earlier, we wouldn't have been able to get from Melbourne to Canberra because Qantas ground crew in Canberra refused to work in it. My newly arrived grand daughter has been pretty much house bound since she was born. Rain is forecast later this week so hopefully that'll do some good.


Log in to reply