Turkish Prime Minister Recep Tayyip Erdogan on Sunday congratulated the military for downing a Syrian warplane near the border and warned of a "heavy" response if its airspace was violated.