contact with it when the stitching frame holder 1 is moved to a right deep end as viewed in fig1 the x axis home position switch 29 is pushed by a side surface of the stitching frame holder 1 and fixed to the x axis motor bracket 6 in such a way as a contact point may contact with it a signal from this x axis home position switch 29 is inputted to the micro computer 24 in fig5 similarly the y axis rotary encoder disk 30 is fixed to a shaft of the y axis stepping motor 18 the y axis photo interrupter base plate 31 is fixed to the y axis motor bracket 22 so as to hold the above mentioned y axis rotary encoder disk 30 between the light receiving part and the light emitting part of the photo interruptor 32 the y axis rotary encoder disk 30 the y axis photo interrupter base plate 31 and the photo interrupter 32 may constitute the y axis rotary encoder a signal from the photo interrupter 32 is inputted to the counter 28 in fig5 the y axis home position sensor base plate 33 is fixed to the base 14 in such a way as a light shielding plate 34 fixed to the y axis motor timing belt holder 16 fitted to the y axis timing belt 17 is moved to a right end as viewed in the figure and held between the light receiving part and the light emitting.