is a delayed triggering of the filament sensor possible?
-
Hi dear community,
I wanted to ask if someone has an idea to start an action after 50cm after triggering the filament sensor.
The reason for this is that we installed the filament sensor on the back of the printer and we have a customer who uses very expensive metal filaments. And so we would like to use the rest of the material.
Sure we could try to bring the sensor close to the extruder, but first I thought of a software solution
Firmware is RRF 3.3
Thank you in advance
Regards Christian (CR-3D)
-
@cr3d I don't know which macro is called when the filament out sensor triggers...
But in that macro you can "store" the actual Extruder Value in a variable, make your math, and call another macro after 50cm of extruding.
Eventually is daemon.g also a good option to put the code in... -
@cr3d
...what cosmowave said.
You can trigger your own filament-out macro with the filament sensor, which in the end toggles a different I/O pin. This pin is the 'official' filament-out pin defined in config.g -
-
@cr3d No, i have no working example at the moment. And i'm not at the machine, so no access to the object model.
Normally when i try to write some code out of my head, then it will have some errors...I'm specialist for coding some small mistakes. I allways need some iterations for a working code.