Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
98Distance opened this issue Nov 3, 2022 · 3 comments
Open

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

98Distance opened this issue Nov 3, 2022 · 3 comments

Comments

@98Distance
Copy link

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
Copy link
Author

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?

@pfn
Copy link
Owner

pfn commented Nov 3, 2022

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

@98Distance
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants