That sort of implies that in the present, they are fired for some other reason. It's true to some extent - they are sometimes fired for ceremonial reasons, but without cannonballs. But the real meaning of the sentence, I think, is that they are not used any more in wars.
Cannons were used in wars in the past.
Cannons used to be used in wars.
We just need used because everyone knows how cannons work.