Be careful about the weapons - an epee was drawn in post #12, which uses 2 wire and a normally-open contact button that closes on a touch. There is no lame. The bellguard is electrically isolated from the button wires. Closing the button against the opponent bellguard will show a ground light on a scoring machine, and does not register as a touch. Button press against any part of body, hand, foot, non-metallic ground will score a touch. Tournaments are fenced on metallic strips so missed foot attacks do not score.
Blade and bellguard are not isolated.
Foil has a normally closed button that opens when pressed to detect a touch. There is only 1 wire from the button. Blade and bellguard are not isolated. A metallic lame is used. Button opening on the lame scores a touch. Button opening on bellguard does not. Foil lame covers torso, groin, and front/sides neck. If the button opens on something besides the lame, I believe there is an off-target light, the action stops, and the Ref calls off target attack, and a successful counter attack does not score.
Sabre is similar, but there is no button. Any part of blade/bellguard can score a touch. Blade on blade does not. Touching your blade to your lame lights your ground light. Sabre lame covers waist up (not groin) , arms, and front/sides of neck and head. If an opponent attacks and hits off target (like a leg) a successful counter attack would score (attack off target, counter attack, touch (for the counter attacker)).
There are also minimum contact times for a touch to be valid. If opponent B touch occurs within so many milliseconds opponent A's initial touch, both touches show on scoring and both count in epee. In foil & sabre, the lights also go on, but referee decides which opponent started the scoring action (whose arm/hand/leg started the attack vs being counter attacked. Sometimes simultaneous, and no touch awarded.
Off topic: I once fenced in a coaches tournament, in foil, and had pushed my opponent to the back of the strip - if you back someone off you score. He had half a foot on the strip - so I attacked it, laying my blade flat on his foot so the tip wouldn't score. He looked down at me all stretched out in a lunge like I was nuts, this was foil not epee, and while he did I scored on his torso. I thought it was pretty funny, coming from an epee fencing background, so did some other coaches, my opponent did not
. He didn't move his foot, but he didn't parry or counter attack either, just too surprised I guess.
One of the loudest noises I ever heard was also fencing foil, someone attacked with a fleche (a sort of running attack, only allowed in epee and foil, where the rear foot can pass the front foot) which I parried and our bellguards banged together - man, that was loud, and less than an armlength away from my head - a lot of folks turned to see where it came from, it was that loud. Made my ears ring for a bit.