A cannon needs one piece between itself and its target. When that piece is your own chariot on the same file, you have a battery: the cannon attacks everything the chariot attacks, and the chariot protects the cannon's landing point.
Why the battery wins material
- If the chariot takes a protected piece, the recapture costs you a chariot. If the cannon takes it first, the recapture costs only a cannon.
- After the recapture, your chariot takes again. You win the chariot and the recapturing piece, and lose only a cannon.
- Use it on files where the opponent has a chariot or a horse facing yours.
Order matters: the cannon captures first and the chariot second. Capturing with the front piece gives the opponent an even trade.