Fpga takes over control if emergency or programmed stop, to shut down sequence