The Singer footswitch is a variable resistance speed controller, in this case, for a 6211C.
The clamshell opens up to reveal as shown here:
Stepping on the footswitch applies pressure on the carbon pile, reducing its resistance from 150Ω to 50Ω.
The plug has the pin out as shown, current IN, controlled current OUT, and COM: