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

Simple filament presence switch on mainboard with extruder on expansion board: pin not allocated correctly #1014

Closed
T3P3 opened this issue Jun 10, 2024 · 1 comment
Assignees
Labels
bug Bug that has been reproduced
Milestone

Comments

@T3P3
Copy link
Contributor

T3P3 commented Jun 10, 2024

When allocating a simple switch based filament presence sensor, if the switch is on a mainboard and the extruder is on an expansion board the board address part of the pin allocation is stripped out, so the allocation is always attempted on the expansion board:

to reproduce:

M591 D0 P0

M591 D0
Extruder 0 has no filament sensor

M591 D0 P1 C"0.io3.in" S2

M591 D0
Simple filament sensor on pin 20.io3.in, enabled always, output low when no filament, filament present: yes

if a invalid pin (for the expansion board, valid for the mainboard is chosen:

M591 D0 P1 C"0.io5.in" S2
Error: M591: Unknown pin name 'io5.in
@T3P3 T3P3 added the bug Bug that has been reproduced label Jun 10, 2024
@T3P3 T3P3 added this to the 3.5.2 milestone Jun 10, 2024
@dc42
Copy link
Collaborator

dc42 commented Jun 11, 2024

Fixed in 3.5-dev source code. Fix tested by Tony.

@T3P3 T3P3 closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that has been reproduced
Projects
None yet
Development

No branches or pull requests

2 participants