EnragedRabbitOnRRF icon indicating copy to clipboard operation
EnragedRabbitOnRRF copied to clipboard

About "filament-sensing.g" and "pulse-counting.g"

Open 98Distance opened this issue 3 years ago • 3 comments

Long time no see! Nowadays I'm trying this project. And I have some problems while trying to read the code. I noticed that you didn't use the toolhead in ERCF,cause I found nothing with the “hall switch” or "micro switch",maybe you used the pulse-counting.g file and compare the pulse number to do a work similar to the switch? The code as I understand it is this, I want to confirm my point.

I've read almost all the code, and I'm trying to write an explanatory document about ERCF and ERCFonRRF to help more RRF user,and now I have done part of the work.

Look forward to your reply!

98Distance avatar Nov 03 '22 01:11 98Distance

And I wonder what's the difference between these two files. I understand the difference between these two files are the "pulse-counting.g" file configed a trigger to count the pulse value , just like I mentioned above. The "filament-sensing.g" file does not have this function, but I don't know anything else. Is that so?

98Distance avatar Nov 03 '22 01:11 98Distance

The toolhead sensor is unused by this implementation. The way it works is similar to what is currently being developed in klipper for ercf's "sensorless detection"

As for filament-sensing vs. pulse-counting; pulse-counting is used for ERCF operations. filament-sensing is used for printing runout/clog/jam/tangle detection

pfn avatar Nov 03 '22 02:11 pfn

Copy that. I'll read this code a little more.Thank you!

98Distance avatar Nov 03 '22 02:11 98Distance