Switch off machine after a stop - set waiting time

If the machine has stopped, then the main switch is automatically switched off at the end of the set time (in hours).

Produce Order -> Monitor Order -> Switch Off Machine
-> With Stop after X Hours