Weapon computers that are newly placed, or are unlinked -> linked to the ship core again, or are edited in general, are fully charged and can fire once immediately.
Weapons should always start with 0 charge, and increasing weapon size should require you to charge the extra amount needed (starting from the amount already in it).