Use the indicator buttons (Default: < and >) to lower and raise the cannon (press to start movement, press again to stop movement). Press T to fire it.