"When it is not put on rcd and we turn the main switch back on the RCD trips straight away"
If it is not put on the RCD I don't see why the RCD would trip, assuming it is the air conditioner that is tripping the RCD.
Which country are you in?
Do you have a split load consumer unit or is the rcd incorporated in the main switch?
Do you know what supply type you have, ie do you have your own earth electrode in the garden?
Adam, November 2009