WO2000007081A1 - Ladder circuit editing device - Google Patents
Ladder circuit editing device Download PDFInfo
- Publication number
- WO2000007081A1 WO2000007081A1 PCT/JP1998/003402 JP9803402W WO0007081A1 WO 2000007081 A1 WO2000007081 A1 WO 2000007081A1 JP 9803402 W JP9803402 W JP 9803402W WO 0007081 A1 WO0007081 A1 WO 0007081A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- circuit pattern
- circuit
- ladder
- search
- input
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/056—Programming the PLC
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13052—Display of ladder diagram
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/13—Plc programming
- G05B2219/13152—Modification of program
Definitions
- the present invention relates to a programmable controller for controlling mechanical equipment, and more particularly to a ladder one-circuit editing device for programming a ladder one circuit of a programmable controller.
- Landscape technology for controlling mechanical equipment, and more particularly to a ladder one-circuit editing device for programming a ladder one circuit of a programmable controller.
- FIG. 7 is a diagram illustrating an example of a general sequence program displayed by a ladder circuit.
- programmable controllers have been used to control the sequence of machinery and equipment.
- the programming method of this programmable controller generally uses a ladder circuit (ladder diagram) shown in FIG.
- Such a ladder circuit generally has many portions described by repetition of a circuit having a similar configuration, and in many cases, only variable names such as contact names and coil names of similar circuits are different.
- Japanese Patent Laid-Open No. 4-280602 discloses When the regularity of the basic unit and variable name is specified as shown, the copy of the basic unit is automatically repeated, and the variable name is automatically assigned according to the regularity to automatically generate the repeated part. Some have a copy function that converts the automatically generated result into a ladder circuit and displays it. Furthermore, as shown in Japanese Patent Application Laid-Open No.
- the regularity of the basic constituent units and variable names is stored in a memory or an external storage device in the form of a library. Some have a function of selecting a specific circuit pattern from a library on a memory or an external storage device and automatically generating the readout.
- the present invention has been made to solve the above-described problems.
- An operator can automatically search for a similar ladder circuit without performing extra operations, and furthermore, the capacity of an auxiliary storage device. It is an object of the present invention to obtain a ladder circuit editing device that can efficiently design a ladder circuit without wasting the ladder circuit. Disclosure of the invention
- a ladder circuit editing apparatus includes: a sequence program of a program controller, which is input and edited in the form of a ladder diagram; an input area in which at least one input completed circuit pattern is stored; and a new circuit pattern.
- a ladder circuit editing apparatus for inputting a circuit pattern sequentially from the input area, comprising: a circuit pattern component being input to the input area; and a circuit stored in the input area.
- Circuit pattern extracting means for comparing circuit pattern components and extracting a circuit pattern including a matching component; display means for displaying the circuit pattern extracted by the circuit pattern extracting means on an input screen; On the basis of
- the display means sequentially displays the plurality of circuit patterns extracted by the circuit pattern extraction means, and the copying means displays an arbitrary one selected from the plurality of sequentially displayed circuit patterns based on an operation input.
- the circuit pattern is copied to the input area.
- the display means displays the circuit pattern selected last time with priority.
- a selected circuit pattern address storage area for storing the address of the previously selected circuit pattern and an address of the selected circuit pattern are stored in the selected circuit pattern.
- a switching means for switching to the top of the address storage area, and the display means preferentially displays the previously selected circuit pattern in accordance with the order of the addresses stored in the selected circuit pattern address storage area.
- FIG. 1 is a block diagram showing a device configuration of a ladder circuit editing device of the present invention
- FIG. 2 is a diagram showing names of respective parts of the ladder circuit
- Figure 3 is a diagram showing the configuration of the memory that holds the ladder circuit in the memory, that is, the configuration of the character memory.
- Figure 4 is a diagram showing the configuration of one component of the character memory
- Figure 5 shows the internal data structure of the symbol part.
- FIG. 6 is a diagram showing an example of a code set in the instruction code section.
- FIG. 7 is a diagram showing an example of a general sequence program displayed by a ladder circuit
- FIG. 8 is a diagram showing a memory configuration when a ladder circuit is held in a memory, that is, a diagram showing a character memory
- FIG. 9 is a diagram showing a state in which some of the components of the added ladder circuit are added to the ladder circuit shown in FIG. 7,
- FIG. 10 is a diagram showing a configuration of a memory having a case where a ladder circuit is held in a memory, that is, a character memory;
- Figure 11 is a diagram showing the comparison position table created in the memory when the device processes the search operation.
- FIG. 12 is a diagram showing a comparison position table created in the memory when the present apparatus processes a search operation.
- FIG. 13 is a diagram showing a configuration of a search character memory for temporarily saving components of a ladder circuit for comparison
- Figure 14 is a flowchart of the main program that performs the search process.
- Fig. 15 is a flowchart of a subroutine that performs a search for a start condition part.
- Fig. 16 is a flowchart of a subroutine that performs a search of a lock part.
- Fig. 17 is a subroutine that performs a search of an output part.
- flowchart, Fig. 18 is a flowchart of a subroutine for performing "Next circuit block search”.
- Fig. 19 is a flowchart of a subroutine for performing "Pattern matching processing”.
- Fig. 20 is an example of a message displayed on the CRT when a pattern matches. The figure
- Figure 21 is a diagram showing a ladder circuit as a result of copying search character memory data to character memory.
- FIG. 22 is a diagram showing the state of the ladder circuit shown in FIG. 21 on the character memory
- FIG. 23 is a diagram showing an example of another ladder circuit
- Figure 24 shows the configuration when the ladder circuit is stored in the character memory.
- Figure 25 shows the ladder circuit shown in Figure 23 with some additional components of the ladder circuit added.
- Figure 26 is a diagram showing the structure of the memory when the ladder circuit is held in the memory, that is, the character memory.
- FIG. 27 is a diagram showing a configuration of a character memory for temporarily saving a ladder circuit for comparison.
- Fig. 28 is a diagram showing the configuration of character memory for temporarily saving the ladder circuit for comparison.
- Figure 29 is a flowchart of the main program that performs the search process.
- FIG. 30 is a flowchart of a subroutine for performing “pattern matching processing”.
- FIG. 31 is a diagram showing an example of a message displayed on the CRT when a pattern matches.
- FIG. 32 is a diagram showing a table of a circuit pattern storage destination list
- Figure 33 shows the circuit pattern storage area.
- FIG. 34 shows a circuit pattern position table
- FIG. 35 is a diagram showing a circuit pattern position character memory table.
- Figure 36 is a flowchart of the main program that performs the search process.
- FIG. 37 is a flowchart of a subroutine for performing “pattern matching processing”
- FIG. 38 is a flowchart of a subroutine for performing “circuit pattern replacement processing”.
- FIG. 1 is a block diagram showing a device configuration of the ladder circuit editing device of the present invention.
- reference numeral 0 101 denotes a ladder one-circuit editing apparatus
- reference numeral 0 102 denotes a ladder one-circuit editing apparatus.
- 1 1 ⁇ 0 1 0 3 is a keyboard
- 0 1 0 4 is an auxiliary storage device
- 0 1 0 5 is a processing unit
- 0 1 0 6 is a screen control unit
- 0 1 0 7 is a key input control unit
- 0 1 08 indicates an auxiliary storage device control unit
- 0109 indicates memory
- 110110 indicates a function key.
- FIG. 2 is a diagram showing names of respective parts of the ladder circuit.
- reference numeral 0201 denotes a ladder circuit.
- the ladder circuit 0 201 is the left bus 0 202, the start condition section 0 203, the in-lock block 0 204, the output section 205, the right It has a bus bar 0 206.
- FIG. 3 shows a configuration of a memory (hereinafter referred to as a character memory) when the ladder circuit 0201 is held in the memory 0109.
- reference numeral 0301 denotes a character memory stored at a predetermined position of the memory 0109.
- FIG. 4 is a diagram showing the configuration of one component of the character memory.
- reference numeral 0401 denotes a device number portion
- reference numeral 0402 denotes a symbol portion.
- FIG. 5 is a diagram further illustrating the internal data structure of the symbol section 0402.
- reference numeral 0403 denotes an instruction code section
- reference numeral 0404 denotes a branch designation section.
- FIG. 6 is a diagram showing an example of a code set in the instruction code section 04 03.
- FIG. 7 is a diagram illustrating an example of the ladder circuit.
- reference numeral 0501 denotes a ladder circuit.
- FIG. 8 shows a configuration of a memory when the ladder circuit 0501 is held in the memory 0109, that is, a character memory.
- reference numeral 0601 denotes a character memory stored at a predetermined position in the memory 0109.
- FIG. 9 is a diagram showing a state in which some of the components of the ladder circuit added to the ladder circuit shown in FIG. 7 are added.
- 0.701 indicates a ladder circuit
- 0.702 indicates an additional part.
- FIG. 10 shows the configuration of a memory that is used when the ladder circuit 0701 is held in the memory 0109, that is, a character memory.
- reference numerals 0801 and 0802 denote character memories stored at predetermined positions in the memory 0109.
- the character memory 0801 constitutes an input area in which at least one input completed circuit pattern is stored.
- the character memory 0802 is a character memory corresponding to the additional portion 0702 and constitutes an input area for inputting a new circuit pattern.
- FIG. 11 is a diagram showing a comparison position table created in the memory 0109 when the present apparatus processes a search operation.
- 0 901 is a comparison position table for indicating the position on the character memory 0 801 currently being edited
- 0 902 is a column number area of the comparison position table 0 901
- Reference numeral 0903 denotes a line number area of the comparison position table 0901.
- FIG. 12 is a diagram showing a comparison position table created in the memory 0109 when the present apparatus processes a search operation.
- reference numeral 0904 denotes a search position table for indicating a position on the character memory 0801 where a search process is being performed
- reference numeral 0905 denotes a column number area of the search position table 0904
- Reference numeral 0906 denotes a row number entry of the search position table 0904.
- FIG. 13 shows the configuration of a search character memory for temporarily saving the components of the ladder circuit for comparison.
- reference numeral 1001 denotes a search character memory
- reference numeral 1002 denotes a device number portion of the search character memory 1001.
- FIGS. 14, 15, 16, 17, 18, and 19 are flowcharts of the processing of the processing unit 0105.
- Figure 20 shows an example of the message displayed on the CRT when the patterns match.
- FIG. 20, 1301 is a message.
- Figure 21 shows the ladder circuit after the patterns match.
- reference numeral 1310 denotes a ladder circuit after the pattern is matched.
- FIG. 22 shows the character memory after the pattern matches.
- the ladder circuit as shown in Figure 2, There is a start condition unit 0203 on the right of the bus 0202 and an output unit 0205 on the left of the right bus206. Further, an in-lock unit 0204 is combined between the start condition unit 0203 and the output unit 205 to form a ladder circuit 0201.
- Editing such a ladder circuit is performed by the ladder circuit editing apparatus 0101 shown in FIG.
- the memory area for storing is called a character memory as described above, and this character memory is configured, for example, as shown in FIG.
- the character memory 0301 is arranged in the same manner as the screen display, and the position can be indicated by (row, column).
- one component of the character memory 0 310 is a symbol section 04 0 2 where an instruction symbol is set and a device number section 0 4 0 1 where a device number is set. It is composed of As shown in FIG. 5, the symbol section 0402 has an internal structure composed of an instruction code 0403 and a branch designation section 0404. Then, as the data to be entered into the instruction code 403, for example, a value shown in the code table 405 of the instruction code part shown in FIG. 6 is entered.
- the start condition section 0203 of the ladder circuit 0201 in Fig. 2 is located at the positions (1,1) and (2,1) on the character memory 0301 in Fig.3. There is a night.
- the value of the data at the position of (1, 1) is as follows. As shown in FIG. 5, the four bits of the instruction code part 04 03 are the instruction code 0, and the four bits of the branch specification part 04 04 are 0 0 0 0 0 1 0 0 B because there is a branch. Also, the value of the data of (2, 1) is that the 4 bits of the instruction code section 0403 have an instruction code of 0, and the 4 bits of the branch specification section 0404 have a branch above. 0 0 0 0 1 0 0 0 B.
- a search instruction is issued by operating the keyboard 0 1 0 3.
- the search instruction is given, for example, by pressing a function key 0110 of the keyboard 0103.
- the row number 5 of the input area 0 8 0 2 shown in FIG. 10 is moved to the row number area 0 9 0 3 of the comparison position table 0 9 0 1 shown in FIG. Is set.
- the search process starts.
- the search process is performed according to the flowchart of FIG. 14, and roughly checks the pattern matching of the start condition section 0 203, the pattern matching of the interlock section 0 204, and the output section 0 205 Are performed in the order of checking for pattern matching.
- the processing will be described according to the flowchart of FIG.
- 0 is set in the line number area 0906 of the search position table 0904 by step 1100.
- step 1111 "Next circuit block search” is performed.
- the subroutine "Next circuit block search” will be described later in detail.
- search for a start condition part is performed in step 1 1102.
- the subroutine of “Searching for the start condition part” will also be described in detail later.
- step 111 it is determined whether or not the patterns match in step 111. If they match, “search for interlock section” is performed in step 111. The subroutine of “search for lock section” will be described later in detail. Then, it is determined in step 111 that the patterns match. If they match, perform “Search for output” in step 1 1 10 6. The subroutine of "search for output section” will be described later. Next, it is determined whether or not the patterns match in step 111. If they match, the process proceeds to step 111, performs “pattern matching processing”, and ends the processing. The “pattern matching process” subroutine will also be described later.
- step 1 10 3 If it is determined in step 1 1 10 3 that the patterns do not match,
- step 1111 determines whether the patterns match. If it is determined in step 1111 that the patterns match, the flow advances to step 1108 to perform "pattern matching processing" and end the processing. On the other hand, if it is determined in step 1 1 1 1 0 that the patterns do not match, the process further proceeds to step 1 1 1 1 1 to perform “search for an output unit”. . Then, if it is determined in step 111 that the patterns match, the process proceeds to step 111 08 to perform “pattern matching processing”, and ends the processing. If it is determined in Step 1 1 1 1 2 that the patterns do not match, in Step 1 1 1 13 a “Next circuit block search” is performed. In step 1 1 1 1 4 it is determined whether there is a night, and if not, the process is terminated. If there is one night, go to step 1102 and repeat the process.
- step 1121 the search start position (L, C) is set to (1, 1).
- step 1122 (L c ⁇ C c) is set to (value of row number area 0903 of comparison position table 0901, 1).
- step 112203 the data at the (L, C) position of the search character memory 1001 and the symbol of the data at the (Lc, Cc) position of the character memory 0801 are stored. Compare parts 0 4 0 2.
- Step 1 1 204 determines whether or not there is a match. If not, then in step 1 125, Lc and the value of the row number area 0 9 0 3 of the comparison position table 0 9 0 1 Compare. If they are the same, it is determined in step 112 that the patterns do not match, and the process ends. If they are not the same in step 1 1 205, the flow advances to step 1 1 2 1 1 to determine that the patterns match, and ends the processing.
- step 11208 it is checked whether or not there is any data at the (L, C) position of the search character memory 1001.
- step 1131 the search start position (L, C) is set to (1, 2).
- step 1 1 3 2 to (L c, C c)
- step 11303 the symbol portion of the data at the position (L, C) in the search character memory 1001—the evening and the data at the position (Lc, Cc) in the character memory 0801
- step 11304 it is determined whether or not they match, and if they do not match, in step 11305, Lc is compared with the value of the row number area 0903 of the comparison position table 0901. If they are the same, it is determined in step 11306 that the patterns do not match, and the process ends. If it is not the same in step 11305, the flow advances to step 11307 to determine that the patterns match, and ends the processing.
- step 11401 (1, 8) is set to the search start position (L, C).
- step 11402 (0, (0) is set to (the value of the row number area 0903 of the comparison position table 0901, 8).
- the data at the position (L, C) in the search character memory 1001 is compared with the symbol portion 0402 of the data at the position (Lc, Cc) in the character memory 0801.
- step 11404 it is determined whether or not they match, and if they do not match, in step 11405, Lc is compared with the value of the row number area 0903 of the comparison position table 0901. If they are the same, then the pattern Judge and end the process. If not the same in step 11405, the flow advances to step 11410 to determine that the patterns match, and ends the processing.
- step 11408 it is checked whether or not there is any data at the position (L, C) in the search character memory 1001.
- step 11409 it is determined whether there is any data. If not, the process proceeds to 11410, where it is determined that the patterns match, and the process is terminated.
- step 11500 it is determined whether or not the value of the row number area 0906 of the search position table 0904 is 0. If it is not 0, (L, C) is set to (0, 1) in step 11502.
- step 11503 the data at the position of (line number error 0906 + L, C of the search position table 0904) on the character memory 0801 is checked.
- step 11507 a search is made for the data at the position of (line number area 0906 + L, C of the search position table 0904) on the character memory 0801.
- step 11510 L + 1 is added to the value of the row number area 0906 of the search position table 0904.
- step 11511 the character memory 0801
- step 1 1500 If the value of the row number area 0906 of the search position table 0904 is ⁇ at step 1 1500, the value of the line number area 0 906 of the search position table 0904 is set to 1 at step 1 1 501. Go to 1 1 5 1 1. If it is determined that there is no data in step 1 5 12, it is determined that there is no data in step 1 15 18 and the processing is terminated.
- step 1 520 the data at the position of (line number area 0906 + L, C of the search position table 0904) on the character memory 080 1 is examined.
- step 1 523 the line of the character memory 0801 corresponding to the component is copied to the search character memory 1001. That is, in the present embodiment, the third to fourth lines on the character memory 0801 are copied to the search character memory 1001.
- step 122 the data in the device number section 1002 of the search character memory 1001 is deleted.
- step 127 the data of the search character memory 1001 is displayed on the screen CRT0102.
- step 122 it is asked whether this is enough. This is displayed, for example, as message 1301 shown in FIG. Steps 1207 and 1208 constitute a display means for displaying the circuit pattern extracted by the circuit pattern extraction means on the input screen CRT0102.
- step 1209 the search result is discarded in step 1221. The process ends.
- step 1209 the process proceeds to step 1209, where the data in the search character memory 1 0 1 1 is stored in the comparison position table in the character memory 0 8 0 1. 0 9 0 1 line number area Set to 0 9 0 3 line. That is, the data of the search character memory 1 001 is copied to the character memory 808 1. That is, step 12210 constitutes the copying means for copying the circuit pattern extracted by the circuit pattern extracting means into the character memory 0801 which is the input area.
- the ladder circuit becomes a ladder circuit 1310 shown in FIG.
- the corresponding character memory is as shown in FIG.
- the ladder circuit becomes like the ladder circuit 1310.
- FIG. 23 is a diagram showing another example of the ladder circuit.
- 1401 is a ladder circuit.
- FIG. 24 shows a configuration when the ladder circuit 1401 is stored in the character memory.
- 1501 is a character memory.
- FIG. 25 is a diagram showing a state in which components of the ladder circuit are added to the ladder circuit 1401 shown in FIG.
- 1601 indicates a ladder circuit
- 1602 indicates an additional portion.
- FIG. 26 shows the configuration of a memory that is provided when the ladder circuit 1601 is held in the memory 0109, that is, a character memory.
- 1 ⁇ 01 and 1702 indicate character memories stored at predetermined positions in the memory 0109.
- the character memory 1701 constitutes an input area in which at least one input completed circuit pattern is stored.
- the character memory 1702 is a character memory corresponding to the additional portion 1602, and constitutes an input area for inputting a new circuit pattern.
- FIGS. 27 and 28 show the configuration of the character memory for temporarily saving the ladder circuit for comparison.
- 1703 and 1705 indicate the search character memory
- 1704 and 1706 indicate the device number of the search character memory 1703 and 1705. Show.
- FIG. 29 and FIG. 30 are flowcharts of the processing of the processing unit 0105.
- Fig. 3 1 Shows an example of the message displayed on the CRT when the pattern matches.
- reference numeral 2001 denotes a message.
- a search instruction is issued from the keyboard 0 103.
- the search instruction is given by, for example, pressing the function key 0 1 1 0 of the keyboard 0 103.
- the line number 7 of the additional instruction 16 02 is compared.
- the search process starts.
- the search is performed in the following order: a check for a pattern match in the start condition unit 0203, a check for a pattern match in the interface unit 0204, and a check for a pattern match in the output unit 0205.
- the search process is performed according to the flowchart in FIG.
- step 180 0 is set to the row number area 0906 of the search position table 0904.
- step 1802 “Next circuit block search” is performed.
- step 1802 “search for start condition part” is performed.
- step 1803 it is determined whether the patterns match. If they match, proceed to step 1811 to perform “pattern matching processing”.
- step 1803 If it is determined in step 1803 that the patterns do not match, "search for an interlock unit" is performed in step 1804. If it is determined in step 1805 that the pattern of the lock unit matches, the process proceeds to step 1811 to perform “pattern matching processing”.
- step 1805 determines that the patterns do not match.
- step 1807 determines that the pattern of the output unit matches. If it is determined in step 1807 that the pattern of the output unit matches, the flow advances to step 1811 to perform “pattern matching processing”. If step 1807 determines that the pattern does not match, 0 Performs "Next circuit block search" in step 8. In step 1810, it is determined whether there is a next circuit block. If there is no next circuit block, the search processing is terminated. If the next circuit block exists, the process returns to step 1802 and continues. In step 1812, it is determined whether or not "next" is selected in "pattern matching process”. When “next" is selected, the process returns to step 1801. If other than (next) is selected in step 1812, it is determined that the search is completed and the processing is terminated.
- Step 1801 "Search for the next circuit block” in Step 1801
- Step 806 "Search for output unit” and in Step 808 "Search for next circuit block” are the same as in the first embodiment.
- step 1900 all the device number portions 1704 of the search character memory 1 ⁇ 03 are deleted.
- step 1 901 the data of the search character memory 1 ⁇ 0 3 is displayed on the CRT 0102.
- step 1902 the message 2001 shown in Fig. 31 is displayed, and an inquiry is made as to whether to use the displayed circuit block.
- Step 1901 and step 1902 constitute display means for displaying the circuit pattern extracted by the circuit pattern extraction means on the input screen CRT0102.
- step 1904 the search character memory 1 is set.
- the data of 703 is set to the line of the line number area 0903 of the comparison position table 0900 in the character memory. That is, the data in the search character memory 1703 is copied to the character memory. That is, step 1904 constitutes copying means for copying the circuit pattern extracted by the circuit pattern extracting means into the character memory 0801 which is the input area.
- step 1903 If it is determined in step 1903 that "Next" is selected, then nothing is done
- step 1903 When “NO” is selected in step 1903, the "pattern matching process” is ended. In step 1905, the search result is discarded, and the process ends.
- step 1903 the flowchart in Figure 29 Perform “Next circuit block search” by the processing described above.
- “next” is selected based on the ladder circuit of FIG. 25, a search character memory 1704 is created, and the processing of the above-described flowchart of FIG. 29 is performed.
- the effect of the first embodiment can be obtained, and a plurality of similar ladder ones can be automatically searched for, thereby further improving the efficiency of the ladder one-circuit design. be able to.
- Example 3 the effect of the first embodiment can be obtained, and a plurality of similar ladder ones can be automatically searched for, thereby further improving the efficiency of the ladder one-circuit design. be able to.
- FIG. 32 shows a table of the circuit pattern storage destination list.
- 2101 is a circuit pattern storage destination list which is a selected circuit pattern address storage area
- 2102 is a pattern 1 storage address
- 2103 is a pattern M-1 storage address
- 2 1 04 is the pattern M storage address
- 210 is the end of the list
- 210 is the list order M.
- Figure 33 shows the circuit pattern storage area.
- reference numeral 2107 denotes a circuit pattern storage area.
- Figure 34 shows the circuit pattern position table. 2221 indicates a circuit pattern position table, 2222 indicates a column number, and 2203 indicates a row number.
- FIG. 35 shows a circuit pattern position character memory table.
- Reference numeral 222 denotes a circuit pattern position character memory table
- reference numeral 222 denotes a device number part
- reference numeral 222 denotes a symbol part.
- FIG. 36, FIG. 37, and FIG. 38 are flowcharts of the processing of the processing unit 0105. Now, it is assumed that the ladder circuit 0501 shown in FIG. 7 has already been created, and the corresponding character memory 0601 is in the memory 0109 as shown in FIG.
- Instruction 0702 is added to this ladder circuit (Fig. 9). With the addition of the instruction 0702, the character memory 0601 becomes as shown in Fig.10.
- Search instruction is, for example, keyboard
- search process starts.
- the search consists of checking the matching of the pattern in the start condition section 0203, checking the match of the pattern in the interlock section 0204, and checking the match of the pattern in the output section 0205. It is performed in order.
- the search process is performed according to the flowchart in FIG.
- step 2302 the first line number of the circuit pattern storage area 2107 indicated by the pattern M storage address 2104 of the circuit pattern storage destination list 2101 in the search character memory 1 0 Copy it to 01, and set the first row number of the circuit pattern storage area 210 7 in the row number 0906 of the search position table 0904.
- step 2303 “search for a start condition part” is performed by processing according to the flowchart in FIG.
- step 230 it is determined whether the patterns match. If they match, “search for the lock section” is performed in step 2305 by the processing according to the flowchart in FIG.
- step 230 it is determined whether the patterns match. If they match, “search for output section” is performed in step 2305 by processing according to the flowchart in FIG.
- step 2308 it is determined in step 2308 whether the patterns match.
- step 2309 the circuit pattern storage area 2 1 0 1 pattern of the circuit pattern storage list 2 1 0 1
- the circuit pattern storage area 2 1 0 7 indicated by the address 2 1 0 4 is set to the circuit pattern position Set to row number 2203 in table 2201.
- step 230 "pattern matching processing" is performed, and the processing ends.
- step 2 304 determines that the patterns do not match
- Step 2 3 17 If it is determined in Step 2 3 17 that there is no data, the process proceeds to Step 2 3 18 to perform “new circuit pattern search processing”. In step 2 3 19, it is determined whether there is a new match. If it is determined that there is a day, the process proceeds to step 230, and the line number of the line number area 0 906 of the search position table 0 9 0 4 is replaced with the line of the circuit pattern position table 2 2 0 1 Set the number to 2203, perform "pattern matching processing" in step 230, and end the processing. If it is determined in step 2 3 19 that there is no data, the process is terminated.
- step 2501 the list order M2106 is compared with the circuit path storage destination list 2101 at the end of the list 2101.
- step 2506 the data from the row numbers 2203 to N of the circuit pattern position table 2201 are set in the circuit pattern storage area 2107, and the circuit pattern storage area 210 is set. Set the address of 7 to the end 210 5 of the circuit pattern storage destination list 210 1.
- step 2506 the circuit replacement process is completed, and the process returns to step 240.
- step 2502 if it is determined in step 2502 that it is not large, the process proceeds to step 2503.
- Step 2 Delete the pattern M storage destination address 210 4 of the circuit pattern that matches in step 5 03 from the circuit pattern storage destination list 210 1.
- Step 2 Shift storage destination list 2 1 0 1 Pattern 1 Storage destination address 2 1 0 2 to Pattern M-1 Insertion destination address 2 1 0 3 Shift down one line.
- step 2505 set the circuit pattern position table 2201 row number 2203 to N in the circuit pattern storage area 2107 to the circuit pattern storage area 210, and set the circuit pattern storage area 2 1 Set the start address of 07 to the pattern 1 storage destination address 2 1 0 2 of the circuit pattern storage destination list 2 1 0 1.
- the address of the selected circuit pattern is stored at the head of the circuit pattern storage destination list 210.
- the “circuit pattern replacement process” constitutes a replacement means for replacing the address of the selected circuit pattern with the highest order in the circuit pattern storage destination list 210 1.
- step 2406 the data from the row numbers 2203 to N of the circuit pattern position table 2201 are set in the search character memory 1001.
- step 2407 all the device number sections 1002 of the search character memory 1001 are deleted.
- step 2408 the data in the character memory 1001 is displayed on the screen. Inquires whether "OK" in step 2409. If it is determined in step 2410 that "OK” has been selected, the process proceeds to step 2411. When step 2 4 1 1 is completed, the password matching process ends, and the search process ends. If it is determined in step 2 410 that "OK" has not been selected, the process proceeds to 2 4 12. In step 2 4 1 2 the search results are discarded. When step 2 4 1 2 is completed, the pattern matching processing ends, and the search processing ends.
- the effects of the first and second embodiments can be obtained, and the previously selected circuit pattern is automatically searched with priority, and the searched circuit pattern can be easily searched. Since it can be selected and used, the efficiency of ladder circuit design can be further improved.
- a ladder one-circuit editing apparatus comprises: a sequence controller for inputting and editing a sequence program in the form of a ladder diagram; an input area in which at least one input completed circuit pattern is stored; Enter the pattern
- a ladder circuit editing apparatus having an input area and sequentially inputting a circuit pattern from an input area, a component of a circuit pattern being input to an input area and an element of a circuit pattern stored in an input area are provided.
- Circuit pattern extraction means for extracting a circuit pattern including a matching component, a display means for displaying the circuit pattern extracted by the circuit pattern extraction means on an input screen, and And copying means for copying the circuit pattern extracted by the circuit pattern extracting means into the input area.
- the display means sequentially displays the plurality of circuit patterns extracted by the circuit pattern extraction means, and the copying means displays an arbitrary one selected from the plurality of sequentially displayed circuit patterns based on an operation input.
- the circuit pattern is copied to the input area. For this reason, a plurality of similar ladder circuits are automatically searched, and the operator selects an arbitrary circuit pattern from among them, so that the efficiency of the ladder circuit design can be further improved. .
- the display means displays the circuit pattern selected last time with priority. Therefore, the efficiency of ladder circuit design can be further improved.
- the display device further includes a selected circuit pattern address storage area for storing an address of a previously selected circuit pattern, and a switching means for replacing the address of the selected circuit pattern with the top of the selected circuit pattern address storage area. Displays the circuit pattern selected last time with priority according to the order of the addresses stored in the selected circuit pattern address storage area. Therefore, the capacity of the auxiliary storage device is not wasted, and the efficiency of the design of the ladder circuit can be further improved.
Abstract
Description
Claims
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19882995T DE19882995T1 (en) | 1998-07-30 | 1998-07-30 | Lead circuit editing system |
KR10-2001-7001193A KR100432407B1 (en) | 1998-07-30 | 1998-07-30 | Ladder circuit editing device |
PCT/JP1998/003402 WO2000007081A1 (en) | 1998-07-30 | 1998-07-30 | Ladder circuit editing device |
JP2000562808A JP4245811B2 (en) | 1998-07-30 | 1998-07-30 | Ladder circuit editing device |
US09/722,306 US6952811B1 (en) | 1998-07-30 | 2000-11-28 | Ladder circuit editing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP1998/003402 WO2000007081A1 (en) | 1998-07-30 | 1998-07-30 | Ladder circuit editing device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US09/722,306 Continuation US6952811B1 (en) | 1998-07-30 | 2000-11-28 | Ladder circuit editing system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2000007081A1 true WO2000007081A1 (en) | 2000-02-10 |
Family
ID=14208723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP1998/003402 WO2000007081A1 (en) | 1998-07-30 | 1998-07-30 | Ladder circuit editing device |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP4245811B2 (en) |
KR (1) | KR100432407B1 (en) |
DE (1) | DE19882995T1 (en) |
WO (1) | WO2000007081A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1283456A1 (en) * | 2001-08-09 | 2003-02-12 | Mori Seiki Co., Ltd. | Tool for searching similar machining data and automatic programming apparatus based thereon |
US7340683B2 (en) | 2001-03-29 | 2008-03-04 | Mitsubishi Denki Kabushiki Kaisha | Programming tool |
WO2014155717A1 (en) * | 2013-03-29 | 2014-10-02 | 三菱電機株式会社 | Sequence program component creation program and sequence program component creation device |
CN105974875A (en) * | 2015-03-13 | 2016-09-28 | 发那科株式会社 | Monitoring device with function of extracting and displaying branch circuit in ladder program |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100817364B1 (en) * | 2006-04-05 | 2008-03-26 | 미쓰비시덴키 가부시키가이샤 | Programmable logic controller peripheral device and program creation method thereof |
JP6224575B2 (en) | 2014-12-19 | 2017-11-01 | ファナック株式会社 | Ladder program search device that can search ladder circuits based on specified signal operation conditions |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6255703A (en) * | 1985-09-04 | 1987-03-11 | Yaskawa Electric Mfg Co Ltd | Program input device |
JPH02220102A (en) * | 1989-02-22 | 1990-09-03 | Fanuc Ltd | Sequence program editing system |
JPH0310322A (en) * | 1989-06-07 | 1991-01-17 | Toshiba Corp | Logical language editor |
JPH04205312A (en) * | 1990-11-30 | 1992-07-27 | Nissan Motor Co Ltd | Method for collating sequence program |
JPH04348404A (en) * | 1990-11-26 | 1992-12-03 | Hitachi Ltd | Programming device for programmable controller |
JPH05189012A (en) * | 1992-01-10 | 1993-07-30 | Yaskawa Electric Corp | Programming device for programmable controller |
JPH0695712A (en) * | 1992-09-10 | 1994-04-08 | Fanuc Ltd | Sequence proghram editing system |
JPH07146642A (en) * | 1993-11-24 | 1995-06-06 | Fanuc Ltd | Input system for ladder program |
JPH07319513A (en) * | 1994-05-20 | 1995-12-08 | Fuji Electric Co Ltd | Programming device for programmable controller and sequence program preparing method for the same |
JPH09251305A (en) * | 1996-03-14 | 1997-09-22 | Omron Corp | Program preparation device |
-
1998
- 1998-07-30 DE DE19882995T patent/DE19882995T1/en not_active Ceased
- 1998-07-30 JP JP2000562808A patent/JP4245811B2/en not_active Expired - Fee Related
- 1998-07-30 KR KR10-2001-7001193A patent/KR100432407B1/en not_active IP Right Cessation
- 1998-07-30 WO PCT/JP1998/003402 patent/WO2000007081A1/en not_active Application Discontinuation
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6255703A (en) * | 1985-09-04 | 1987-03-11 | Yaskawa Electric Mfg Co Ltd | Program input device |
JPH02220102A (en) * | 1989-02-22 | 1990-09-03 | Fanuc Ltd | Sequence program editing system |
JPH0310322A (en) * | 1989-06-07 | 1991-01-17 | Toshiba Corp | Logical language editor |
JPH04348404A (en) * | 1990-11-26 | 1992-12-03 | Hitachi Ltd | Programming device for programmable controller |
JPH04205312A (en) * | 1990-11-30 | 1992-07-27 | Nissan Motor Co Ltd | Method for collating sequence program |
JPH05189012A (en) * | 1992-01-10 | 1993-07-30 | Yaskawa Electric Corp | Programming device for programmable controller |
JPH0695712A (en) * | 1992-09-10 | 1994-04-08 | Fanuc Ltd | Sequence proghram editing system |
JPH07146642A (en) * | 1993-11-24 | 1995-06-06 | Fanuc Ltd | Input system for ladder program |
JPH07319513A (en) * | 1994-05-20 | 1995-12-08 | Fuji Electric Co Ltd | Programming device for programmable controller and sequence program preparing method for the same |
JPH09251305A (en) * | 1996-03-14 | 1997-09-22 | Omron Corp | Program preparation device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7340683B2 (en) | 2001-03-29 | 2008-03-04 | Mitsubishi Denki Kabushiki Kaisha | Programming tool |
DE10197097B4 (en) * | 2001-03-29 | 2012-02-23 | Mitsubishi Denki K.K. | programming tool |
EP1283456A1 (en) * | 2001-08-09 | 2003-02-12 | Mori Seiki Co., Ltd. | Tool for searching similar machining data and automatic programming apparatus based thereon |
WO2014155717A1 (en) * | 2013-03-29 | 2014-10-02 | 三菱電機株式会社 | Sequence program component creation program and sequence program component creation device |
US9626160B2 (en) | 2013-03-29 | 2017-04-18 | Mitsubishi Electric Corporation | Sequence-program-component creation program and sequence-program-component creation device |
CN105974875A (en) * | 2015-03-13 | 2016-09-28 | 发那科株式会社 | Monitoring device with function of extracting and displaying branch circuit in ladder program |
Also Published As
Publication number | Publication date |
---|---|
JP4245811B2 (en) | 2009-04-02 |
KR100432407B1 (en) | 2004-05-22 |
KR20010106422A (en) | 2001-11-29 |
DE19882995T1 (en) | 2001-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7272450B2 (en) | Development aid device | |
JP4513806B2 (en) | Peripheral device of programmable logic controller and method for creating program | |
JP2526692B2 (en) | Programmable controller programming method | |
JP4242361B2 (en) | Development support equipment | |
JP4366605B2 (en) | Development support apparatus, program, and processing method | |
WO2000007081A1 (en) | Ladder circuit editing device | |
CN111033399B (en) | Ladder program creation support device, method thereof, and recording medium | |
JP2003084813A (en) | Editing device for ladder circuit and its editing method | |
JP2006146955A (en) | Development support device | |
US6952811B1 (en) | Ladder circuit editing system | |
JP4517302B2 (en) | Control method and program for development support apparatus and recording medium | |
JP7423895B2 (en) | Ladder diagram program creation support device, ladder diagram program creation support method, and ladder diagram program creation support program | |
WO2024014354A1 (en) | Control program editing device, editing method, and program | |
WO2024014355A1 (en) | Control program editing device, editing method, and program | |
JPH05181510A (en) | Picture display method for programming device in programmable controller | |
JPH0895612A (en) | Sfc program development device | |
JP4362777B2 (en) | Programming device, symbol automatic registration method, program, and recording medium | |
JP2848444B2 (en) | Schematic editor | |
US20040210867A1 (en) | Sequence program editing apparatus | |
JP3111796B2 (en) | How to generate sequence data | |
JPH09212673A (en) | Picture editing device | |
JP4592646B2 (en) | Drawing method, drawing device and computer program | |
JP3223559B2 (en) | Setting method of digital protection relay | |
JPH02228722A (en) | Output code determining method by combined key input | |
JPH04367029A (en) | Programming device for programmable controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): DE JP KR US |
|
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 09722306 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020017001193 Country of ref document: KR |
|
RET | De translation (de og part 6b) |
Ref document number: 19882995 Country of ref document: DE Date of ref document: 20010621 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 19882995 Country of ref document: DE |
|
WWP | Wipo information: published in national office |
Ref document number: 1020017001193 Country of ref document: KR |
|
WWR | Wipo information: refused in national office |
Ref document number: 1020017001193 Country of ref document: KR |
|
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8607 |