Pause

Hello All,
Is it possible the initiate a pause signal to the control card.
I want to put the printer in pause status when the filament is out.
Kind regards,
Arnold

In the menu there should be an option pause printing.
or do you mean with an input on the card.
If the sensors sense there’s no filament it gives a signal to the motherboard?

I want a solution in the hardware. When I’m not present, the printer should stop when the last piece of filament leaves the drum.