Foot controls
A foot control tells the motor how fast to run. The plug, the number of pins and the lead are part of that match. Two machines with the same badge can use different sockets if they are years apart.
Take a photo of the socket on the machine and compare it with the listing. A two-pin plug is not a three-pin plug.
Some computerised machines put the speed control in the machine and only use the pedal as a switch. The manual will say so.