Sequence-program-component creation program and sequence-program-component creation device
AssigneeMitsubishi Electric Corporation
InventorsTakayuki Yamaoka, Kenichi Sakamoto
Life of this patent
Estimating the term…
Abstract
To provide a sequence-program-component creation program that 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 an extracted common circuit pattern as a candidate for a program component, a component registration setting step of registering a common circuit pattern selected by a user from candidates for the program component, and a replacing step of replacing the common logic part of the sequence program with the program component.
Claims7
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.
A sequence-program-component creation device having a hardware processor comprising:
- a searching section that searches an overall circuit of a sequence program for a common logic part and extracts 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 display unit that displays the extracted common circuit pattern as a candidate among candidates for a program component;
- a component registration unit that registers the extracted common circuit pattern selected by a user from the candidates for the program component, as the program component;
- and
- a replacement unit that replaces the common logic part of the sequence program with the program component, wherein
- the searching section receives, as input from a user, a natural number which is a number of first circuit blocks to be used as a search unit during the search, searches for the common logic part using the number of first circuit blocks specified by the user as the search unit, identifies 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.
Dependencies are inferred from the claim text.