Switching three-phase motor operation from two places momentarily and permanently.
In this situation, I am prevented from using two relays.
A good solution can be a subroutine that calls for two functions, the first takes care of the fixed state and the second treats the momentary state/
That's why I ask for help on how to write the program, thank you and good day