A device for loop routine setting for carrying out setting relating to a loop length routine for a flatbed knitting machine in which yarn is supplied from a plurality of carriers, a knitted fabric is knitted through operation of needles of needle beds by a cam system in a carriage that moves back and forth over at least a front and a rear needle bed, yarn is supplied to the carriers via a yarn length measurement device, a stitch size is adjusted in the cam system through stitch cam control, and a loop length routine is executed for acquiring stitch cam adjustment data, before knitting the knitted fabric, whereby the device for loop routine setting comprises: a stitch control system setting that analyzes knitting data for knitting a knitted fabric formed of a plurality of areas, in the flatbed knitting machine, and that sets a stitch cam control scheme for each area, on the basis of a knitting structure and a knitting width of each area and a loop routine setting that sets a loop length routine scheme and a stitch target size in a loop length routine, on the basis of a control scheme of each area and on the basis of the knitting structure and a stitch target size of each area, characterized in that the stitch control system setting is configured to set, as control schemes, at least a first scheme in which a yarn consumption amount is compared with a yarn amount calculated on the basis of stitch size in the knitting data, whereby a result thereof is fed back to a stitch cam, and a second scheme in which the yarn consumption amount is compared with a yarn consumption amount in a sample knitted fabric, whereby a result thereof is fed back to the stitch cam; and the stitch control system setting comprises a rule storage that allocates the first scheme to an area of large knitting width and of plain or ribbed knitting structure, and allocates the second scheme to an area of narrow knitting width and of jacquard knitting structure. a stitch control system setting that analyzes knitting data for knitting a knitted fabric formed of a plurality of areas, in the flatbed knitting machine, and that sets a stitch cam control scheme for each area, on the basis of a knitting structure and a knitting width of each area and a loop routine setting that sets a loop length routine scheme and a stitch target size in a loop length routine, on the basis of a control scheme of each area and on the basis of the knitting structure and a stitch target size of each area, characterized in that the stitch control system setting is configured to set, as control schemes, at least a first scheme in which a yarn consumption amount is compared with a yarn amount calculated on the basis of stitch size in the knitting data, whereby a result thereof is fed back to a stitch cam, and a second scheme in which the yarn consumption amount is compared with a yarn consumption amount in a sample knitted fabric, whereby a result thereof is fed back to the stitch cam; and the stitch control system setting comprises a rule storage that allocates the first scheme to an area of large knitting width and of plain or ribbed knitting structure, and allocates the second scheme to an area of narrow knitting width and of jacquard knitting structure.