The machine gun's primary role in a ground-combat situation is to provide suppressing fire on an opposing force's position. This forces the enemy to take cover. This either halts an opposing offensive, or allows allied forces to move onto the field with less danger.
To this end, most light machine guns are not designed for repeatability of aim or accuracy. Most are designed with a small degree of inaccuracy, in order to lay down a field fire. This is referred to as the "cone" of fire, because the rounds spread out. Light machine guns usually have simple iron sights. Laser sights are used by police and anti-terrorist services. An Israeli intuitive aiming system is to alternate solid and tracer rounds, so the shooter can walk the fire into the target, and direct other soldiers' fire.
Many heavy machine guns, such as the M2 .50Cal machine guns are so accurate that they can actually be used to snipe targets at great distances. Some models have been equipped with aim points that can be preset.
All machine guns follow a cycle. Mechanically, this cycle removes the used round casing, and cocks the hammer. Another round slides into position. Spring tension or a cam then forces the new round and bolt back into the firing chamber. A mechanism makes the firing pin fire the primer. The cycle repeats. This entire cycle takes a fraction of a second.
Machine guns operate by several methods:
Most assault rifles and squad automatic weapons are gas actuated. Some assault rifles, such as the AR-15/M-16, designed by Eugene Stoner, integrated the piston with the bolt. Others, such as the M15 and Kalashnikov[?] patterns, attach the piston to a bolt carrier that unlocks and operates the bolt.
A recoil actuated[?] machine gun uses the recoil to first unlock, and then operate the action. Heavy machine guns, like the M2 .50 and Browning .50 are of this type. These can be recognized by a large cocking lever needed to feed the first round.
Progressive firing machine guns have several barrels on a rotating carousel, and a system of cams that load, cock and fire each barrel as it rotates into aim. The M61 Vulcan gatling gun is of this type. This type of gun has the highest cyclic rate of fire, as high as 8,000 rounds per minute. Most modern progressive fire guns are operated by bydraulic or electric motors.
Heavy machine guns have interchangeable barrels, which must be switched out periodically to avoid overheating. The higher the rate of fire, the more often barrels will need to be changed out and allowed to cool off. To minimize this, most weapons are not fired continually for long periods of time, or at the highest rate of fire.
Not all machine guns strike the primer in the same way. In blowback machine guns, the act of seating the round also fires the round. In gas operated and recoil-operated guns, a separate step in the firing sequence is needed to strike the round. In progressive-fire guns, the firing pin is cycled by cams.
In weapons where the round seats and fires at the same time, mechanical timing is essential for operator safety, to prevent the round from firing before it is seated properly. This is especially important in weapons like the 40mm grenade launcher, where high explosives are present in the rounds being fired.
Machine guns are controlled by one or more mechanical sears. When a sear is in place, it effectively stops the bolt at some point in its range of motion. Some sears stop the bolt when it is locked to the rear. Other sears stop the firing pin from going forward after the round is locked into the chamber.
Almost all weapons have a "safety" sear, which simply keeps the trigger from engaging.
Typically, the act of pulling the trigger causes something to strike the primer on the round in the chamber, and disengages the sears. This allows continual cycling of the bolt until the trigger is released. A sear then grabs the bolt or firing pin. This stops the machine gun at some point in its cycle.