Wall-mounted artillery (Anime)

Kabe jō kotei hō (壁上固定砲) were the primary weapon used to engage the Titans before the development of vertical maneuvering equipment.

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 Regiment, who patrol such areas.

Ammunition
The cannons fire two different types of ammunition: High-Explosive Shells and Grapeshots. Given their poor accuracy, the cannon barrels are most likely smoothbore. The ammunition is breech-loaded, fired by pulling a string connected to a firing pin, and it 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 the cannons have terrible accuracy, making these shells almost useless at longer ranges.

Grapeshots are the more traditional cannon rounds 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).

Piercing Shell: this type of ammunition is strong enough to pierce through the neck of any Titans including Titan Shifters without any difficulty. The technology to create piercing shell is only known to the Middle Eastern Alliance with their Anti-Titan Cannon.

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 Jaeger, 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 these canons was used in an attempt to kill Eren, Mikasa, and Armin, but Eren stopped the cannonball by shifting and developing a semi-transformed Titan.

Trivia

 * The fact that these cannons are quite inaccurate may come from their lack of rifling. Rifling is the process of making helical grooves inside the barrel of a gun. When a projectile is fired, the grooves make the ordnance spin, improving its aerodynamic stability and accuracy.

Navigation
Cañón Divers Objets dans SNK Kanonen