1. A non-transitory computer readable recording medium having stored thereon a sequence-program-component creation program that, when executed, causes a computer to perform: a searching step of searching an overall circuit of a sequence program for a common logic part and extracting a logic pattern that appears in common in a circuit pattern arranged in the common logic part as a common circuit pattern; a component-candidate displaying step of displaying the extracted common circuit pattern as a candidate among candidates for a program component; a component registration setting step of registering the extracted common circuit pattern, selected by a user from the candidates for the program component, as the program component; and a replacing step of replacing the common logic part of the sequence program with the program component, wherein the searching comprises: inputting, by a user, a natural number which is a number of first circuit blocks to be used as a search unit during the searching; searching the common logic part using the number of first circuit blocks specified by the user as the search unit; and identifying a logic pattern that is common to a group of first circuit blocks numbering equal to or greater than the natural number as a matching logic pattern, and extracting the matching logic pattern as the common circuit pattern.