So in summary,
The Turks are trying to ruin any hopes for cooperation between Russia, the Assad regime and the Europeans in defeating IS, especially if Russia responds aggressively. There was a risk before this that Turkey would be cut out of a resolution to the Syrian Civil War leaving it with a normalized Kurdish statelet on their border. If the Paris attacks do lead to a decisive campaign against the Islamic state it will now have to be a NATO-only affair and Turkey will have its say in the resolution of the conflict.
Now we have to wait for the Russian response and for the attitude of the US towards all of this to be made clear. Obama has made it clear Turkey has the right to defend its airspace. I think the US will now be attempting to sabotage any prospect for Russian-European cooperation (an obvious long-term strategic imperative).
The orders were probably to shoot down a Russian plane near Turkish airspace if they continued to attack Turkmen targets in Syria. There's also the fact that these bombings along the border between the Euphrates and the Kurdish exclave near Hatay have been part of a planned campaign to close the Turkish border which I would guess the Turks aren't happy about. Oh and we can't forget the 1000 destroyed oil trucks coming from ISIS territory to Turkey.
In the Turkish sense, its a smart move. But, are they willing to deal with the costs? We'll see if Erdogan and Putin ever kiss and make up.