Grandarog, those are mortars, not cannons. A mortar fired a hollow sphere filled with gunpowder, ignited by a fuse. The fuse was cut to length in order to detonate the bomb on or immediately after impact with the target. On Royal Navy bomb vessels, the mortars were operated by officers and crew from the Royal Artillery.