November 17, 2020 at 12:53 am #2087
They don’t seem to work as a pair. If both sensors have filament and E0 triggers nothing happens, the printer happily keeps printing. If both sensors have filament and E1 triggers the printer runs M600 as expected. On closer examination if E0 is triggered only E0 is open E1 is still closed and the printer continues to run, if E1 is triggered and open then both E0 and E1 are triggered and the printer runs M600. This is dependent on the order the sensors are plugged into the filament out adapter as well. When I switched the order on the adapter it it also switched the order of how E0 and E1 react when triggered. That being said how do I set this up so that each sensor will start M600 when triggered instead of only the last sensor plugged into the filament out adapter.November 17, 2020 at 7:36 pm #2088
Sounds like it’s not plugged in correctly. They should both trigger. Can you send a photo of how they’re connected to the cpu quad fan adapter and also how that is connected to the board?November 18, 2020 at 7:08 pm #2089
Here you go
Attachments:November 20, 2020 at 2:33 am #2095
any thoughts?November 23, 2020 at 6:19 pm #2096
Bueller…Bueller…Bueller…November 27, 2020 at 6:35 am #2123
Sorry mate. Email notifications were down. M119 is your best friend. please see my response in your post frustration issues.November 29, 2020 at 4:04 pm #2153
Does this look correct?
#define FIL_RUNOUT_ENABLED_DEFAULT true
#define NUM_RUNOUT_SENSORS 1
#define FIL_RUNOUT_STATE LOW
//#define FIL_RUNOUT_PULLDOWNNovember 30, 2020 at 7:42 pm #2154
That does look correct. What did your experiments with M119 produce? If results were inverted to what was expected, you’ll need to adjust a different setting to invert the logic. Can’t recall off the top of my head where that is as on my phone. Maybe in the endstops section.
DanDecember 3, 2020 at 6:58 pm #2157
I’m switching over to a BTT GTR board, got one cheap and you like them. Where would I plug in the filament sensors in , ZMAX_PLUG? What pin would I define as FIL_RUNOUT_PIN in marlin?December 3, 2020 at 9:46 pm #2159
GTR has specific connectors for filament sensors. E0 and E1 endstop positions.
I believe these pins are already mapped.
DanDecember 3, 2020 at 11:29 pm #2160
So this would not be correct then,
if pins_BTT_GTR_V1_0.h is:
#define E2_DIAG_PIN PD3 // Z+
#define Z_MAX_PIN E2_DIAG_PIN // Z+
then add this to configuration.h:
#define FIL_RUNOUT_PIN PD3
I didn’t a specific setting in pins_BTT_GTR_V1_0.h for a filament sensor so I used the Z_MAX_PIN.
I did get compile errors without FIL_RUNOUT_PIN defined.
December 4, 2020 at 1:07 am #2162
- This reply was modified 2 months, 3 weeks ago by phongshader.
Yes correct, if filament out is plugged into E2. However E0 and E1 are PG14 and PG9 respectively. E0 should be filament out for the first extruder and E1 for second.December 4, 2020 at 1:12 am #2163
By the way, refer to this if you need help with Pin definitions.
Unlike the Rumba board, pins on the GTR are referred to with 2 letters and 2 numbers.December 4, 2020 at 1:25 am #2164
ok, so I would add this to configuration.h: #define FIL_RUNOUT_PIN PG14 if I were to plug the sensor into E0. I do have 2 sensors, would I plug both sensors into E0 as on the Rumba board or would I plug the 2nd sensor into E1 and add the line #define FIL_RUNOUT2_PIN PG9?December 10, 2020 at 8:00 pm #2165
I’m going to assume my last post is correct.
- You must be logged in to reply to this topic.