from the arm 68 and is formed in a clip 78 for holding the magnetic reed switch 64 in fig4 a simplified schematic diagram shows the wiring for the magnetic reed switch 64 the switch 64 is shown connected across the inputs of the linear motor 28 in parallel with the signal leads from the electronic circuit logic 32 of the sewing machine 10 by connecting the switch 64 in this manner the closing thereof will short the electrical input of the linear motor 28 inhibiting the operation thereof in operation when for example a zig zag presser foot not having the magnet 62 installed thereon is attached to the presser bar 40 the magnetic reed switch 64 which is normally open has no effect on the linear motor 28 therefore if the operator selects a pattern which requires zig zag stitches the linear motor 28 responding to the circuit logic 32 causes the needle bar gate 26 to jog the needle bar 20 laterally when the straight stitch presser foot 50 is installed on the presser bar 40 the magnet 62 attached thereto causes the magnetic reed switch 64 to close which in turn grounds any signals to the linear motor 28 accordingly if the operator selects a pattern which would require the needle bar 20.