FlightRadar can pick up when planes send out these codes and will mark a plane as red for emergency. If you really want to know when this happens you can set up notifications on your app to buzz you when there's trouble. You can set up notifications on the FlightRadar24 app to ping you when there's an emergency.