Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.59k stars 5.35k forks source link

Condition for checking the state of the I/O pin(dual filament run out sensor) #4630

Closed gokulvenkat closed 3 years ago

gokulvenkat commented 3 years ago

hi thank you for creating klipper to the world

I am facing a issue ,i am making a printer that has three tools Tools.1 It has two nozzle setup called dual extrution Tool.2 It has lasser tool for cutting and engraving Tool.3 It has two nozzle setup called duplicator which copy the signal of E0 stepper and use it to E1 extruder and divides the build plate into half.(e.g total build plate is 300mmx300mm then at duplicator 150mmx300mm and 150mmx300mm)

In this we use filament sensor for dual extrusion.so it has two pins for signal to check in which extruder the filament runs out. so if i parallel the signal pin of two endstop switch and make it as single pin switch then system dont know on which extruder the filament is not there,so i need a condition that IF TOOL1 ACTIVATED THEN CHECK FOR TOOL 1 SENSOR STATE.IF STATE==1 CONTINUE PRINTING ELSE STOP THE PRINT AND IF TOOL2 ACTIVATED THEN CHECK FOR TOOL 2 SENSOR STATE.IF STATE ==1 CONTINUE PRINTING ELSE STOP . OR is there any condition for checking the state of the filament sensor like end stop

gokulvenkat commented 3 years ago

i used two endstop for filament sensor and connected with X-max,Y-max.

github-actions[bot] commented 3 years ago

It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response. Instead, see the contact directions at: https://www.klipper3d.org/Contact.html

We use github to share the results of work done to improve Klipper. We don't use github for requests. (In particular, we don't use github for feature requests, to answer questions, nor to help diagnose problems with a printer.)

Please follow the directions at: https://www.klipper3d.org/Contact.html

This ticket will be automatically closed.

Best regards, ~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.