36 for supporting a workpiece cloth is removably attached to the y direction movement mechanism 38 when the drive unit 16 is mounted in the sewing machine 10 the cpu 26 controls a y direction movement motor 40 of the y direction movement mechanism 38 which moves the embroidery frame 36 in the front and rear direction i e y direction relative to the sewing machine 10 an x direction movement mechanism is provided inside the drive unit 16 for moving the y direction movement mechanism 38 in the left and right direction relative to the sewing machine 10 when the drive unit 16 is fitted into the sewing machine 10 the cpu 26 controls an x direction movement motor 44 of the x direction movement mechanism a detailed description of these devices will be omitted here as the same devices are described in japanese laid open patent publication no hei 4 364887 next operations for arranging the drive unit 16 in a condition for storage will be described with reference to the flowchart in fig5 the user fits the drive unit 16 and inserts the card rom 34 into the sewing machine 10 and turns on the power source for the sewing machine 10 the cpu 26 displays on the lcd 20 the initial screen shown in fig6 for selecting a category of embroidery patterns s10 when a category is chosen s14 yes a screen for selecting embroidery patterns in that category is displayed s16 allowing the user to choose a desired pattern when a selection is made s20 yes the selected pattern is displayed s22 at this point if the user presses the start stop switch 32 s26 yes the.