Emergency procedures were initiated at Prestwick Airport after a cargo plane declared an emergency upon landing.