An automatic weapon system that closely controls the operation of a weapon, such as a cam rotor gun. The system has, among other things, an actuator for firing ammunition, a feeder for supplying ammunition to be fired, and a counter for determining the amount of fired ammunition. An actuator sensor is in communication with the actuator and a counter sensor is in communication with the counter. A controller is in communication with the actuator sensor, the counter sensor and the feeder to control the operation of the weapon.