A yarn winding machine comprising: a yarn winding unit including a yarn feeder configured to supply yarn (Y) and a winding apparatus configured to wind the yarn (Y) supplied from the yarn feeder and to form a package (P); a receiving unit configured to receive a setting of target quality of the yarn (Y) to be wound by the winding apparatus ; and a control device configured to control operation of the yarn winding unit , wherein the control device controls the operation of the yarn winding unit so that yarn (Y) quality of the yarn (Y) to be wound by the winding apparatus results in the target quality that the receiving unit has received, the yarn winding unit further includes a yarn monitoring device configured to detect a state of the yarn (Y) to be wound by the winding apparatus , the control device acquires information concerning the state of the yarn (Y) detected by the yarn monitoring device from the yarn monitoring device , and controls the operation of the yarn winding unit so that the yarn (Y) quality based on the information concerning the state of the yarn (Y) detected by the yarn monitoring device results in the target quality, the control device controls at least one of a winding speed at which the winding apparatus winds the yarn (Y) and a tension of the yarn (Y) to be wound by the winding apparatus so that the yarn (Y) quality satisfies the target quality, characterized in that the yarn (Y) quality is at least any of a yarn (Y) defect of the yarn (Y), hairiness of the yarn (Y), and unevenness in thickness of the yarn (Y), and when at least any of number of the yarn (Y) defects, an amount of the hairiness, and a degree of the unevenness in thickness are set as the target quality, the control device controls the operation of the yarn winding unit to satisfy the set target quality. a yarn winding unit including a yarn feeder configured to supply yarn (Y) and a winding apparatus configured to wind the yarn (Y) supplied from the yarn feeder and to form a package (P); a receiving unit configured to receive a setting of target quality of the yarn (Y) to be wound by the winding apparatus ; and a control device configured to control operation of the yarn winding unit , wherein the control device controls the operation of the yarn winding unit so that yarn (Y) quality of the yarn (Y) to be wound by the winding apparatus results in the target quality that the receiving unit has received, the yarn winding unit further includes a yarn monitoring device configured to detect a state of the yarn (Y) to be wound by the winding apparatus , the control device acquires information concerning the state of the yarn (Y) detected by the yarn monitoring device from the yarn monitoring device , and controls the operation of the yarn winding unit so that the yarn (Y) quality based on the information concerning the state of the yarn (Y) detected by the yarn monitoring device results in the target quality, the control device controls at least one of a winding speed at which the winding apparatus winds the yarn (Y) and a tension of the yarn (Y) to be wound by the winding apparatus so that the yarn (Y) quality satisfies the target quality, characterized in that the yarn (Y) quality is at least any of a yarn (Y) defect of the yarn (Y), hairiness of the yarn (Y), and unevenness in thickness of the yarn (Y), and when at least any of number of the yarn (Y) defects, an amount of the hairiness, and a degree of the unevenness in thickness are set as the target quality, the control device controls the operation of the yarn winding unit to satisfy the set target quality. <EOS>