How do i use interrupts

For general Flowcode discussion that does not belong in the other sections.
Post Reply
mineblocker08
Posts: 1
http://meble-kuchenne.info.pl
Joined: Thu Apr 30, 2026 8:22 pm

How do i use interrupts

Post by mineblocker08 »

Hello im doing an exam that involves flowcode and was wondering how i could make a system that can use an emergency stop to stop the process no matter where it is, is that possible or not if it is can anyone help me make it im not that good so a step by step would be appreciated.

BenR
Matrix Staff
Posts: 2191
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 599 times
Been thanked: 794 times

Re: How do i use interrupts

Post by BenR »

Hello

Yes using an interrupt icon you can enable an interrupt to call a macro on a particular event for example on a raising or falling edge of an input pin.

Once the interrupt fires you have some options on what to do. Here are some potential options. You could disable the outputs and set a variable that can be acted upon in the main loop. You could disable the outputs and then enter an infinite loop that forces you to hard reset to bring operation back. You could do a soft reset.

Post Reply