Wall-mounted artillery

Cannons were the primary weapon used to engage the Titans before the development of 3D Maneuver Gear.

Despite the ability to blow a Titan's head off in one shot, half of all Titans will merely regenerate their heads; the only certain way to kill a Titan is to destroy the nape of its neck. In addition, the time it takes to reload and aim a cannon makes it inapplicable for offensive strategies against Titans. However, cannons are still used in static defense positions, most notably on top the Walls and near gates in the event of a breach. As such, they are used most often by the Garrison, who patrol such areas. At least two people are need to fire the wall-mounted cannons.

Ammunition
The cannons fire two different types of ammunition: High-Explosive Shells and Grapeshots. Given their accuracy, the cannon barrels are most likely smoothbore. The ammunition is breech-loaded, fired by pulling a string connected to a firing pin, and takes about twenty seconds to reload.

High Explosive shells are used to attempt to kill a Titan by destroying the nape of the neck in the blast but they have a terrible accuracy, making them almost useless at longer ranges.

Grapeshots are the more traditional cannon round and are mostly used to slow down Titan advances with their wide dispersion shots (which are designed to take off as many limbs as possible in a wide area).

Developments
Prior to the breach of Wall Maria, Wall-mounted cannons had limited mobility and could only fire from one point inside or outside the Wall. After said breach, the Garrison was forced to bring them on the ground as to repel the Titan advance further.

Later developments led to railroads encircling the entire Wall, allowing cannons to bunch together and focus fire on a single point if necessary.

Before firing, the cannon must be solidly fixed to prevent the recoil from blowing it off the tracks. Wall-mounted cannons also possess the ability to fire directly downward, which can allow them to release punishing volleys of fire at Titans with no threat of reprisals.

Fall of Shiganshina arc
Cannons were used primarily by the Garrison after the fall of Wall Maria to repel the incoming Titans. The cannons placed on the ground however had little impact due to low range weapons targeted at high altitudes. The Garrison used these cannons to guard the inner gate of Shiganshina, but they could not stop the Armored Titan.

Battle of Trost District arc
Eren Yeager, among the other trainees, were assigned to clean the cannons whilst awaiting further instructions. After the breach of Trost District, the Colossal Titan deliberately disabled the cannons and the railroads on top of the Wall to prevent reserve cannons from being brought in. One of this canons was used to try to kill Eren, Mikasa and Armir, but Eren stopped the cannonball with a semi-transformed titan form.

Clash of the Titans arc
When the Survey Corps are trapped inside Castle Utgard, Reiner, Berthold, Ymir, Connie and Historia are told to stop the smaller Titans from advancing inside the castle. One of these Titans is stopped by ramming it with a old cannon, making it unable to move.

Uprising arc
The Garrison in the Orvud District used concentrated cannon fire against Rod Reiss Titan Form in order to kill him. Although the cannons greatly damaged his back, there were not enough to stop his advance or to blown the nape of his neck.