WO2014170992A1 - Programming tool - Google Patents
Programming tool Download PDFInfo
- Publication number
- WO2014170992A1 WO2014170992A1 PCT/JP2013/061525 JP2013061525W WO2014170992A1 WO 2014170992 A1 WO2014170992 A1 WO 2014170992A1 JP 2013061525 W JP2013061525 W JP 2013061525W WO 2014170992 A1 WO2014170992 A1 WO 2014170992A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- fbd
- component
- execution order
- parts
- program
- Prior art date
Links
Images
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
Definitions
- the present invention relates to a programming tool, and more particularly to a programming tool for programming by description in a function block diagram (FBD) language.
- BBD function block diagram
- PLCs Programmable logic controllers
- the FBD language is used for programming loop control programs used by the PLC. According to the standard IEC 61131-3 issued by the International Electrotechnical Commission (IEC), the FBD language is defined as one of programming languages for PLC.
- a programming tool using the FBD language arranges FBD parts (functions or function blocks) corresponding to predetermined processes.
- the programming tool describes a series of processes by connecting FBD parts along the flow of data and signals.
- the software created using the FBD language determines the processing execution order based on the position information and connection information of the FBD parts by compiling.
- the programming tool generates the data (execution data) necessary for executing the FBD program by the PLC by determining the execution order of the series of processes. Further, the programming tool uses data (graphic data) related to graphic drawing of the FBD program for maintenance of the FBD program.
- the programming tool performs a process (PC writing) for writing the execution data and graphic data of the compiled project to the PLC.
- Software created using the FBD language may be in an uncompiled state by changing the arrangement of FBD parts after compilation. In order to eliminate the uncompiled state, the user performs recompilation. In some cases, the project that has undergone such recompilation needs to be reflected in the PLC by executing execution data and graphic data in the PC.
- Patent Document 1 a method in which text conversion is applied to software created using the FBD language is known (see, for example, Patent Document 1). According to the method of Patent Document 1, numerical information (machine language) of instruction codes is converted into text for all FBD parts in the program, and the text information of both programs is sequentially compared.
- the user wants to document the program after confirming the operation of the device by compiling the control program and writing to the PC
- the programming tool of the prior art when the arrangement of the FBD parts is changed, the program is immediately put into an uncompiled state. Therefore, every time the arrangement of the FBD parts is changed, recompilation and PC writing are required.
- the present invention has been made in view of the above, and an object of the present invention is to obtain a programming tool that can reduce the work burden of program editing due to a change in the arrangement of FBD parts.
- the present invention includes a program editing unit that arranges function block diagram (FBD) parts and edits the program by connecting the arranged FBD parts, An execution order determining unit that determines an execution order of the FBD parts based on position information and connection information of the FBD parts for the edited program, and the FBD parts arranged in the program editing part A component information management unit that manages position information and the connection information; and a recompilation necessity determination unit that determines whether or not recompilation should be performed in accordance with a change in the arrangement of the FBD component in the program editing unit.
- FBD function block diagram
- the component information management unit When the FBD component whose arrangement is to be changed is designated in the program editing unit, the component information management unit The position range in which the execution order is the same even if the position of the FBD part specified by the program editing unit is changed is extracted, and the recompilation necessity determination unit is configured to change the position of the specified FBD part. When position information is included in the position range extracted by the component information management unit, it is determined that the recompilation is unnecessary.
- the programming tool determines whether or not recompilation is necessary depending on whether or not the execution order of the processes is changed before and after the FBD component is moved. For program editing that involves changing the arrangement of FBD parts, if there is no change in the execution sequence of processing, recompilation is not necessary, thereby reducing the work burden due to recompilation and PC writing. Thereby, there is an effect that it is possible to reduce the work burden of program editing due to the change in the arrangement of the FBD parts.
- FIG. 1 is a block diagram showing a configuration of a programming tool according to the first embodiment of the present invention.
- FIG. 2 is a flowchart for explaining the processing procedure of the programming tool when changing the arrangement of the FBD parts.
- FIG. 3 is a diagram for explaining a method of determining the execution order of FBD parts according to a rule.
- FIG. 4 is a diagram illustrating an example in which the execution order of the FBD parts is determined.
- FIG. 5 is a flowchart showing a detailed procedure for extracting a position range in which the execution order of the FBD parts is the same.
- FIG. 6 is a diagram showing an example of graphic data of the FBD program.
- FIG. 7 is a flowchart for explaining the processing procedure of the programming tool according to the second embodiment of the present invention.
- FIG. 1 is a block diagram showing a configuration of a programming tool according to the first embodiment of the present invention.
- FIG. 2 is a flowchart for explaining the processing procedure of the programming tool when changing the arrangement
- FIG. 8 is a diagram illustrating an example of displaying a position range in which the execution order of the FBD parts is the same.
- FIG. 9 is a flowchart for explaining the processing procedure of the programming tool according to the third embodiment of the present invention.
- FIG. 10 is a diagram for explaining the restriction on the movement of the FBD component outside the set position range.
- FIG. 1 is a block diagram showing a configuration of a programming tool according to the first embodiment of the present invention.
- the programming tool 10 is realized by a computer in which programming tool software is installed.
- the programming tool 10 is a tool for editing a loop control program or the like that is operated by the PLC.
- the programming tool 10 includes a program editing unit 11, a component information management unit 12, an execution order determination unit 13, and a recompilation necessity determination unit 14.
- the program editing unit 11 arranges function block diagram (FBD) parts and edits the program by connecting the arranged FBD parts.
- FBD function block diagram
- the part information management unit 12 is connected to the program editing unit 11.
- the part information management unit 12 manages the position information and connection information of the FBD parts arranged in the program editing unit 11.
- the execution order determination unit 13 is connected to the component information management unit 12.
- the execution order determination unit 13 determines the execution order of the FBD parts for the program edited by the program editing unit 11 based on the position information and connection information of the FBD parts.
- the recompile necessity determination unit 14 is connected to the component information management unit 12.
- the recompilation necessity determination unit 14 determines whether or not recompilation is necessary in accordance with the change in the arrangement of the FBD parts in the program editing unit 11.
- FIG. 2 is a flowchart for explaining the processing procedure of the programming tool when changing the arrangement of the FBD parts.
- the user selects an FBD part whose arrangement is to be changed from the FBD parts arranged in the program editing unit 11 (step S1).
- the user designates an FBD part whose arrangement is to be changed in the program editing unit 11.
- the part information management unit 12 extracts a position range in which the execution order of the FBD parts is the same even if the position of the FBD parts specified by the program editing unit 11 is changed (step S1). S10).
- FIG. 3 is a diagram for explaining a method of determining the execution order of FBD parts according to a rule.
- FIG. 3 shows eleven FBD parts (A to K) indicated by solid rectangles.
- the processing group is a series of FBD component groups composed of FBD components connected to each other.
- the program shown in FIG. 3 includes five processing groups (a), (b), (c), (d), and (e). In FIG. 3, the boundaries of the processing groups are shown as broken lines.
- Processing group (a) consists of one FBD part (H).
- the processing group (b) is composed of one FBD component (I).
- the processing group (c) is composed of six FBD parts (A, B, C, D, E, F) connected to each other.
- the processing group (d) is composed of two FBD parts (J, K) connected to each other.
- the processing group (e) is composed of one FBD part (G).
- the position information of the FBD part is expressed using XY coordinates.
- the execution order of processing in the program is assumed to be from top to bottom in the Y-axis direction and from left to right in the X-axis direction.
- the order in the Y-axis direction is given priority between the order in the Y-axis direction and the order in the X-axis direction.
- the ranking rule corresponding to the position information is set as the first rule.
- an FBD part representing the processing group is determined.
- representative positions PPa, PPb, PPc, PPd, and PPe represented by black squares represent the upper left coordinates of the FBD parts that are representative of the processing groups (a) to (e).
- the upper left coordinate is the coordinate at the top and leftmost position in the FBD component.
- the representative positions PPa, PPb, PPe are the upper left coordinates of the FBD parts (H), (I), (G), respectively.
- the representative position PPc is the upper left coordinate of the FBD part (D) that is the highest in the first rule among the six FBD parts included in the processing group (c).
- the representative position PPd is the upper left coordinate of the FBD part (J) that is higher in the first rule among the two FBD parts included in the processing group (d).
- the execution order of the processing groups (a) to (e) is determined by comparing the positional relationship of the representative positions PPa, PPb, PPc, PPd, PPe according to the first rule.
- FIG. 4 is a diagram illustrating an example in which the execution order of the FBD parts is determined.
- the execution order of the processing groups is as follows: (a), (b), (d), (c), (e) by comparing the positional relationship of the representative positions PPa, PPb, PPc, PPd, PPe according to the first rule. ) Is determined.
- the execution order is determined from the upstream FBD part in the connection route of the input.
- the ranking rule corresponding to the connection information is set as the second rule.
- the FBD component (C) is connected to the input side of the FBD component (D) that is representative of the processing group (c).
- the FBD component (A) is further connected to the input side of the FBD component (C).
- the execution order is the order of FBD parts (A), (C), and (D) according to the second rule.
- the FBD part (C) and the FBD part (B) are connected to the input side of the FBD part (E).
- the FBD part (C) and the FBD part (B) are higher than the FBD part (E) according to the second rule.
- the FBD part (C) is ranked higher in accordance with the first rule.
- the execution order is the order of FBD parts (C), (B), and (E).
- the FBD part (E) is higher in both the first rule and the second rule.
- the execution order of the FBD parts in the processing group (c) is the order of the FBD parts (A), (C), (D), (B), (E), and (F).
- the FBD part (J) is ranked higher in accordance with the first rule.
- the processing is started from the processing group with the highest order, and when the processing of all the FBD parts in the processing group is completed, the processing of the processing group with the next highest order is started.
- the execution order of the FBD parts (A to K) of the processing groups (a) to (e) is determined.
- FIG. 5 is a flowchart showing a detailed procedure for extracting a position range in which the execution order of the FBD parts is the same.
- the part information management unit 12 extracts an FBD part that affects the execution order (step S11).
- processing is executed in accordance with the execution order of the FBD parts.
- the process by the FBD program is controlled by the execution order of the FBD blocks.
- the situation that affects the execution order refers to a situation in which the control content of the process by the execution of the FBD program may be changed.
- the part information management unit 12 holds data of all objects drawn in editing by the program editing unit 11.
- the component information management unit 12 searches for an FBD component connected to the FBD component by tracing the connection information from the FBD component selected in step S1 shown in FIG. Thereby, the component information management unit 12 specifies the FBD component in the processing group to which the selected FBD component belongs. Furthermore, the component information management unit 12 extracts FBD components that have an influence on the execution order due to the movement of the selected FBD component.
- FIG. 6 is a diagram showing an example of graphic data of the FBD program.
- the graphic data shown in FIG. 6 is displayed on, for example, a display included in a computer constituting the programming tool 10.
- the FBD parts 401, 402, and 403 belong to the processing group 410.
- the FBD parts 404, 405, 406, and 407 belong to the processing group 411.
- the FBD parts 408 and 409 belong to the processing group 412.
- the FBD component 405 is the FBD component designated in step S1.
- the input terminal IN of the FBD component 405 is connected to the output terminal OUT1 of the FBD component 404.
- the input terminal IN of the FBD component 406 is connected to the output terminal OUT2 of the FBD component 404. According to the second rule, in order to determine the execution order of the FBD component 405 and the FBD component 406, it is necessary that the execution order of the FBD component 404 is fixed.
- the part information management unit 12 compares the upper left coordinates of the FBD parts 405 with the upper left coordinates of the FBD parts 406, and determines the execution order of the FBD parts 405 according to the first rule. To do. Next, the execution order of the FBD parts 406 is determined.
- the output terminal OUT of the FBD component 405 is connected to the input terminal IN1 of the FBD component 407.
- the output terminal OUT of the FBD component 406 is connected to the input terminal IN2 of the FBD component 407.
- the execution order of the FBD component 407 is determined by determining the execution order of the FBD component 405 and the FBD component 406.
- the execution order of the FBD component 404 and the FBD component 407 is determined only by the connection information regardless of the position information.
- the execution order of the FBD component 405 and the FBD component 406 is determined by both the position information and the connection information.
- the part information management unit 12 extracts the FBD parts in which both the position information and the connection information are related to the determination of the execution order in step S11.
- the component information management unit 12 extracts the FBD component 406 as an FBD component that affects the execution order.
- the parts information management unit 12 extracts the FBD parts that determine the position information for each processing group from each processing group (step S12).
- the FBD component that determines the position information for each processing group is an FBD component that represents the processing group among the FBD components included in the processing group.
- the FBD component that determines the position information for each processing group is determined according to the first rule.
- the extraction of the FBD part is targeted for a processing group other than the processing group in which the FBD part is selected in step S1.
- the processing groups 410 and 412 other than the processing group 411 including the FBD component 405 are the extraction targets in step S ⁇ b> 12.
- the component information management unit 12 extracts the FBD component 401.
- the component information management unit 12 extracts the FBD component 408 from the processing group 412.
- the parts information management unit 12 extracts the position information of each FBD part extracted in steps S11 and S12 (step S13).
- the component information management unit 12 extracts the upper left coordinate of the FBD component 406 extracted in step S ⁇ b> 11 as position information of the FBD component 406.
- the component information management unit 12 extracts the upper left coordinates of the FBD component 401 extracted in step S ⁇ b> 12 as position information of the FBD component 401.
- the component information management unit 12 extracts the upper left coordinate of the FBD component 408 extracted in step S ⁇ b> 12 as position information of the FBD component 408.
- the part information management unit 12 extracts a position range in which the execution order is the same even if the FBD part selected in step S1 is moved (step S14). Based on the position information extracted in step S13 and the position information of the FBD part selected in step S1, the part information management unit 12 extracts a range in which the execution order is the same even if the FBD part is moved.
- the position range 420 is a position range that is lower than the upper left coordinate of the FBD part 401 and higher than the upper left coordinate of the FBD part 406 in the first rule.
- the part information management unit 12 extracts the position range 420 based on the position information extracted for the FBD parts 401, 406, and 408 and the position information of the FBD part 405.
- the position range 420 is set to limit the range in which the execution order is the same even if the FBD component is moved in the Y-axis direction.
- the position range 420 may limit the range in which the execution order is the same in both the Y-axis direction and the X-axis direction according to the manner in which each FBD component is arranged.
- the part information management unit 12 calculates a position range in which the execution order is the same from the position information of the FBD parts using, for example, topological sort. Note that the component information management unit 12 may obtain a range in which the execution order is the same even if the FBD component is moved by any algorithm.
- the user moves the FBD part specified in step S1 by the program editing unit 11 (step S2).
- the component information management unit 12 acquires the position information of the moved FBD component from the program editing unit 11.
- the recompile necessity determination unit 14 acquires the position information of the FBD part whose arrangement has been changed in step S2 and the position range extracted in step S10 from the part information management unit 12. The recompilation necessity determination unit 14 compares the position information of the FBD component whose arrangement has been changed with the position range in which the execution order is the same (step S3).
- the recompilation necessity determination unit 14 determines whether or not the position information of the FBD part whose arrangement has been changed is included in a position range in which the execution order is the same (step S4). In the example illustrated in FIG. 6, the recompilation necessity determination unit 14 determines whether or not the upper left coordinate of the FBD component 405 after movement is included in the position range 420.
- the recompile necessity determination unit 14 accompanies the change in the arrangement of the FBD part in step S2. It is determined that recompilation is unnecessary.
- the recompilation necessity determination unit 14 includes the position information after the placement change of the FBD component 405 specified in step S ⁇ b> 1 included in the position range 420 extracted by the component information management unit 12. It is determined that re-compilation is not necessary. In response to determining that recompilation is unnecessary, the program editing unit 11 maintains the compiled state of the FBD program (step S5).
- the recompile necessity determination unit 14 determines the arrangement of the FBD part in step S2. It is determined that recompilation due to the change is necessary.
- the recompilation necessity determination unit 14 does not include the position information after the placement change of the FBD component 405 specified in step S ⁇ b> 1 in the position range 420 extracted by the component information management unit 12. If it is determined that re-compilation is necessary. In response to the determination that recompilation is necessary, the program editing unit 11 changes the FBD program to an uncompiled state (step S6). Thereby, the programming tool 10 ends a series of processes in changing the arrangement of the FBD parts.
- the programming tool 10 of the present invention determines from the position information of the FBD parts whether or not the execution order of the processing is changed by changing the arrangement of the FBD parts in the program written in the FBD language. Even when the arrangement of the FBD parts is changed, the programming tool 10 maintains the compiled state of the FBD program if the execution order of the FBD parts is the same before and after the arrangement change.
- the programming tool 10 can reduce the trouble of performing recompilation and PC writing as compared with the case where the FBD program is always changed to an uncompiled state every time there is a change in the arrangement of the FBD parts.
- the comparison of the FBD program requires a process equivalent to compilation.
- the execution order is determined from the position information and the connection information of the FBD part, and the execution order is compared. Makes the FBD program comparable.
- the programming tool 10 has the effect that the work burden of the program editing by the change of arrangement
- the programming tool 10 realizes the comparison of the programs by the process of extracting the execution order from the connection information and the position information and the process of comparing the execution order in determining whether recompilation is necessary.
- the programming tool 10 can reduce the number of steps and processes for comparing programs as compared with the comparison method according to the prior art that requires conversion into machine language. Thereby, the programming tool 10 can speed up the comparison process before and after the change of the program. The user can easily determine whether or not recompilation is necessary by using the programming tool 10.
- the user may arrange the appearance of the control program when the document of the program becomes necessary after confirming the operation of the device by compiling the control program and writing to the PC, for example.
- the user can greatly reduce the work load when changing the arrangement of the FBD parts.
- FIG. FIG. 7 is a flowchart for explaining the processing procedure of the programming tool according to the second embodiment of the present invention.
- the same parts as those in the first embodiment are denoted by the same reference numerals, and repeated description will be omitted as appropriate.
- the programming tool according to the second embodiment has the same configuration as the programming tool 10 according to the first embodiment (see FIG. 1). Furthermore, in the second embodiment, the part information management unit 12 performs an output process for notifying the user of a position range in which the execution order is the same even if the position of the designated FBD part is changed.
- the user selects the FBD part whose arrangement is to be changed from the FBD parts arranged in the program editing unit 11 (step S21).
- the user designates an FBD part whose arrangement is to be changed in the program editing unit 11.
- step S21 the parts information management unit 12 extracts a position range in which the execution order of the FBD parts is the same even if the position of the FBD parts specified by the program editing unit 11 is changed (step S21).
- step S22 is the same as step S10 (see FIG. 2) of the first embodiment.
- the details of step S22 are the same as the details of step S10 shown in FIG.
- the component information management unit 12 performs an output process for displaying the position range extracted in step S22 on the display.
- the programming tool 10 displays the position range where the execution order of the FBD parts is the same on the display (step S23).
- FIG. 8 is a diagram illustrating an example of displaying a position range in which the execution order of the FBD parts is the same.
- the programming tool 10 color-codes the position range 420 extracted in step S22 and the other position ranges on the screen that displays the graphic data of the FBD program. Further, the programming tool 10 displays a boundary line between the position range 420 extracted in step S22 and the other position ranges. The programming tool 10 notifies the user of a position range in which the execution order of the FBD parts is the same by the display on the display.
- the user moves the FBD part specified in step S21 in the program editing unit 11 (step S24).
- the user can move the FBD part after recognizing the position range in which the execution order of the FBD parts is the same by looking at the display.
- the programming tool 10 may display the position range 420 in which the execution order of the FBD parts is the same by either one of the color coding and the boundary line.
- the programming tool 10 may indicate the position range 420 in any manner.
- the recompile necessity determination unit 14 acquires the position information of the FBD part whose arrangement has been changed in step S24 and the position range extracted in step S22 from the part information management unit 12. The recompilation necessity determination unit 14 compares the position information of the FBD part whose arrangement has been changed with the position range in which the execution order is the same (step S25). The recompilation necessity determination unit 14 determines whether the position information of the FBD part whose arrangement has been changed is included in a position range in which the execution order is the same (step S26).
- the recompilation necessity determination unit 14 accompanies the change in the arrangement of the FBD part in step S24. It is determined that recompilation is unnecessary. In response to determining that recompilation is not necessary, the program editing unit 11 maintains the compiled state of the FBD program (step S27).
- the recompile necessity determination unit 14 arranges the FBD part in step S24. It is determined that recompilation due to the change is necessary. In response to the determination that recompilation is necessary, the program editing unit 11 changes the FBD program to an uncompiled state (step S28).
- the FBD program can be edited after clearly grasping the above. For example, the user can further reduce the work load when adjusting the appearance of the control program by selecting an arrangement change that makes recompilation unnecessary.
- the programming tool 10 may use any means to notify the user of the position range in which the execution order of the FBD parts is the same. It is assumed that the component information management unit 12 can perform output processing according to a means for notifying the position range.
- the programming tool 10 confirms that the position information of the FBD part whose arrangement has been changed is not included in the position range in which the execution order is the same, such as displaying a dialog on the display, outputting an alarm sound, etc. You may alert
- the programming tool 10 may be configured so that the user can arbitrarily switch whether or not to notify the position range in which the execution order of the FBD parts is the same.
- the user can arbitrarily select presence / absence of notification according to whether or not the user wants to grasp the position range where recompilation is unnecessary.
- FIG. 9 is a flowchart for explaining the processing procedure of the programming tool according to the third embodiment of the present invention.
- the same parts as those in the first embodiment are denoted by the same reference numerals, and repeated description will be omitted as appropriate.
- the programming tool according to the third embodiment has the same configuration as the programming tool 10 according to the first embodiment (see FIG. 1). Furthermore, in the third embodiment, the program editing unit 11 restricts the movement of the FBD part outside the position range in which the execution order is the same even if the position of the designated FBD part is changed.
- the user selects the FBD part whose arrangement is to be changed from the FBD parts arranged in the program editing unit 11 (step S31).
- the user designates an FBD part whose arrangement is to be changed in the program editing unit 11.
- step S31 the part information management unit 12 extracts a position range in which the execution order of the FBD parts is the same even if the position of the FBD part specified by the program editing part 11 is changed (step S31).
- step S32 is the same as step S10 (see FIG. 2) of the first embodiment.
- the details of step S32 are the same as the details of step S10 shown in FIG.
- the user moves the FBD part specified in step S31 in the program editing unit 11 (step S33).
- the program editing unit 11 sets the movement restriction outside the set position range for the FBD part.
- the recompilation necessity determination unit 14 acquires the position information of the FBD part whose arrangement has been changed in step S33 and the position range extracted in step S32 from the part information management unit 12. The recompilation necessity determination unit 14 compares the position information of the FBD component whose arrangement has been changed with the position range in which the execution order is the same (step S34). The recompilation necessity determination unit 14 determines whether or not the position information of the FBD component whose arrangement has been changed is included in the position range in which the execution order is the same (step S35).
- step S35 When the position information of the FBD part whose arrangement has been changed is included in the position range in which the execution order is the same (step S35, Yes), the program editing unit 11 permits the movement in step S33.
- the recompilation necessity determination unit 14 determines that recompilation accompanying the change in the arrangement of the FBD part in step S33 is unnecessary.
- the program editing unit 11 maintains the compiled state of the FBD program (step S36).
- step S35, No when the position information of the FBD part whose arrangement has been changed is not included in the position range in which the execution order is the same (step S35, No), the program editing unit 11 moves the FBD part selected in step S31. (Step S37).
- FIG. 10 is a diagram for explaining the restriction on the movement of the FBD component outside the set position range.
- the processing groups 410, 411, and 412 shown in FIGS. 6 and 8 are not shown.
- the program editing unit 11 restricts the FBD component 405 from moving outside the position range 420 set by the extraction in step S32.
- the program editing unit 11 prevents the drop of the FBD part 405 from being completed while the figure of the FBD part 405 is being dragged out of the position range 420. In this way, the program editing unit 11 rejects the movement of the FBD component 405 outside the position range 420.
- step S33 it is assumed that the user tries to drag the FBD part 405 to the position 430 outside the position range 420 in step S33.
- the program editing unit 11 returns the FBD part 405 to the original position without completing the dropping of the FBD part 405 to the position 430.
- the program editing unit 11 restricts the movement of the FBD part to the outside of the position range where the execution order is the same, so that the FBD part attempted to move in step S33 is within the position range where the execution order is the same. Let it stop. Thereby, the program editing part 11 maintains the compiled state of the FBD program (step S36). Note that the programming tool 10 may limit the movement of the FBD component outside the position range in which the execution order is the same by any method other than preventing the completion of the drop.
- the programming tool 10 can reliably limit the change in the arrangement of the FBD parts that needs to be recompiled. Thereby, the user can suppress the work burden when arranging the appearance of the control program by eliminating the arrangement change that requires recompilation.
- the programming tool 10 may be configured so that the user can arbitrarily switch whether or not to restrict the movement of the FBD component in the third embodiment.
- the user can arbitrarily select whether or not to restrict the movement of the FBD component, depending on whether or not to eliminate the layout change that requires recompilation.
Abstract
Description
図1は、本発明の実施の形態1にかかるプログラミングツールの構成を示すブロック図である。プログラミングツール10は、プログラミングツールソフトウェアがインストールされたコンピュータで実現される。プログラミングツール10は、PLCで動作させるループ制御プログラムなどを編集するツールである。
FIG. 1 is a block diagram showing a configuration of a programming tool according to the first embodiment of the present invention. The
図7は、本発明の実施の形態2にかかるプログラミングツールの処理手順を説明するフローチャートである。実施の形態1と同一の部分には同一の符号を付し、重複する説明を適宜省略する。
FIG. 7 is a flowchart for explaining the processing procedure of the programming tool according to the second embodiment of the present invention. The same parts as those in the first embodiment are denoted by the same reference numerals, and repeated description will be omitted as appropriate.
図9は、本発明の実施の形態3にかかるプログラミングツールの処理手順を説明するフローチャートである。実施の形態1と同一の部分には同一の符号を付し、重複する説明を適宜省略する。 Embodiment 3 FIG.
FIG. 9 is a flowchart for explaining the processing procedure of the programming tool according to the third embodiment of the present invention. The same parts as those in the first embodiment are denoted by the same reference numerals, and repeated description will be omitted as appropriate.
Claims (3)
- ファンクションブロックダイアグラム(FBD)部品を配置し、配置された前記FBD部品同士を接続することによりプログラムを編集するプログラム編集部と、
編集された前記プログラムに対し、前記FBD部品の位置情報および接続情報を基に、前記FBD部品の実行順序を決定する実行順序決定部と、
前記プログラム編集部にて配置されている前記FBD部品の前記位置情報および前記接続情報を管理する部品情報管理部と、
前記プログラム編集部における前記FBD部品の配置の変更に伴う再コンパイルの実施の要否を判定する再コンパイル要否判定部と、を有し、
配置を変更させる前記FBD部品が前記プログラム編集部において指定されると、前記部品情報管理部は、前記プログラム編集部で指定されたFBD部品の位置を変更させても前記実行順序が同一となる位置範囲を抽出し、
前記再コンパイル要否判定部は、前記指定されたFBD部品の配置変更後の位置情報が、前記部品情報管理部で抽出された前記位置範囲に含まれる場合、前記再コンパイルの実施を不要と判定することを特徴とするプログラミングツール。 A program editing unit that arranges function block diagram (FBD) parts and edits the program by connecting the arranged FBD parts;
An execution order determining unit that determines the execution order of the FBD parts based on the position information and connection information of the FBD parts for the edited program;
A component information management unit that manages the position information and the connection information of the FBD component arranged in the program editing unit;
A recompilation necessity determination unit that determines whether or not to perform recompilation associated with a change in the arrangement of the FBD parts in the program editing unit,
When the FBD component whose arrangement is to be changed is specified in the program editing unit, the component information management unit is a position where the execution order is the same even if the position of the FBD component specified in the program editing unit is changed. Extract the range,
The re-compilation necessity determination unit determines that the re-compilation is not required when the position information after the change in the layout of the designated FBD component is included in the position range extracted by the component information management unit. A programming tool characterized by - 前記部品情報管理部は、前記指定されたFBD部品の位置を変更させても前記実行順序が同一となる前記位置範囲を報知するための出力処理を実施することを特徴とする請求項1に記載のプログラミングツール。 The component information management unit performs an output process for notifying the position range in which the execution order is the same even if the position of the designated FBD component is changed. Programming tools.
- 前記プログラム編集部は、前記指定されたFBD部品の位置を変更させても前記実行順序が同一となる前記位置範囲の外への、前記指定されたFBD部品の移動を制限することを特徴とする請求項1または2に記載のプログラミングツール。 The program editing unit restricts the movement of the designated FBD part to the outside of the position range where the execution order is the same even if the position of the designated FBD part is changed. The programming tool according to claim 1 or 2.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201380075672.2A CN105229542B (en) | 2013-04-18 | 2013-04-18 | Programming tool |
PCT/JP2013/061525 WO2014170992A1 (en) | 2013-04-18 | 2013-04-18 | Programming tool |
JP2015512252A JP5777842B2 (en) | 2013-04-18 | 2013-04-18 | Programming tools |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2013/061525 WO2014170992A1 (en) | 2013-04-18 | 2013-04-18 | Programming tool |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014170992A1 true WO2014170992A1 (en) | 2014-10-23 |
Family
ID=51730962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2013/061525 WO2014170992A1 (en) | 2013-04-18 | 2013-04-18 | Programming tool |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP5777842B2 (en) |
CN (1) | CN105229542B (en) |
WO (1) | WO2014170992A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104503338A (en) * | 2014-12-30 | 2015-04-08 | 浙江中控技术股份有限公司 | Functional block sorting executing method and device |
CN106707973A (en) * | 2015-11-17 | 2017-05-24 | 发那科株式会社 | Sequence-control programming apparatus, sequence-control programming method, and operating system |
WO2022004095A1 (en) * | 2020-07-02 | 2022-01-06 | 株式会社日立製作所 | Program creating device and method |
WO2023089722A1 (en) * | 2021-11-18 | 2023-05-25 | 三菱電機株式会社 | Control logic creation assistance device and control logic creation assistance method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6430037B2 (en) * | 2016-10-17 | 2018-11-28 | 三菱電機株式会社 | Debugging support apparatus and debugging support method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09230915A (en) * | 1996-02-26 | 1997-09-05 | Matsushita Electric Works Ltd | Programming device |
JP2003271207A (en) * | 2002-03-14 | 2003-09-26 | Fuji Electric Co Ltd | Execution method of program and program development support device |
JP2006185015A (en) * | 2004-12-27 | 2006-07-13 | Mitsubishi Electric Corp | Program device of function block diagram |
JP2011113276A (en) * | 2009-11-26 | 2011-06-09 | Mitsubishi Electric Corp | Engineering tool |
JP2012159868A (en) * | 2011-01-28 | 2012-08-23 | Mitsubishi Electric Corp | Programming device of programmable logic controller |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10149208A (en) * | 1996-11-18 | 1998-06-02 | Hitachi Ltd | Method for comparing program and device for preparing controller program |
US6366300B1 (en) * | 1997-03-11 | 2002-04-02 | Mitsubishi Denki Kabushiki Kaisha | Visual programming method and its system |
JP3603301B2 (en) * | 2000-02-09 | 2004-12-22 | 日本電気株式会社 | Information processing apparatus and recording medium recording job stream processing program |
JP3940389B2 (en) * | 2003-08-28 | 2007-07-04 | 三菱電機株式会社 | Inspection device and programming tool |
CN101488012A (en) * | 2009-02-13 | 2009-07-22 | 国网电力科学研究院 | Method for implementing sequential control by flow diagram |
-
2013
- 2013-04-18 WO PCT/JP2013/061525 patent/WO2014170992A1/en active Application Filing
- 2013-04-18 CN CN201380075672.2A patent/CN105229542B/en active Active
- 2013-04-18 JP JP2015512252A patent/JP5777842B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09230915A (en) * | 1996-02-26 | 1997-09-05 | Matsushita Electric Works Ltd | Programming device |
JP2003271207A (en) * | 2002-03-14 | 2003-09-26 | Fuji Electric Co Ltd | Execution method of program and program development support device |
JP2006185015A (en) * | 2004-12-27 | 2006-07-13 | Mitsubishi Electric Corp | Program device of function block diagram |
JP2011113276A (en) * | 2009-11-26 | 2011-06-09 | Mitsubishi Electric Corp | Engineering tool |
JP2012159868A (en) * | 2011-01-28 | 2012-08-23 | Mitsubishi Electric Corp | Programming device of programmable logic controller |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104503338A (en) * | 2014-12-30 | 2015-04-08 | 浙江中控技术股份有限公司 | Functional block sorting executing method and device |
CN106707973A (en) * | 2015-11-17 | 2017-05-24 | 发那科株式会社 | Sequence-control programming apparatus, sequence-control programming method, and operating system |
CN106707973B (en) * | 2015-11-17 | 2019-08-13 | 发那科株式会社 | Timing control programmer, timing control programmed method and operating system |
WO2022004095A1 (en) * | 2020-07-02 | 2022-01-06 | 株式会社日立製作所 | Program creating device and method |
JP2022012742A (en) * | 2020-07-02 | 2022-01-17 | 株式会社日立製作所 | Control controller programming device and method |
JP7340494B2 (en) | 2020-07-02 | 2023-09-07 | 株式会社日立製作所 | Controller programming device and method |
WO2023089722A1 (en) * | 2021-11-18 | 2023-05-25 | 三菱電機株式会社 | Control logic creation assistance device and control logic creation assistance method |
Also Published As
Publication number | Publication date |
---|---|
JPWO2014170992A1 (en) | 2017-02-16 |
CN105229542A (en) | 2016-01-06 |
CN105229542B (en) | 2017-06-09 |
JP5777842B2 (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5777842B2 (en) | Programming tools | |
CN102640112B (en) | Program creation support device | |
CN103970087B (en) | Operation program generating apparatus | |
CN102508654B (en) | Method for designing ladder diagram editing software of embedded PLC (Programmable Logic Controller) | |
US10031654B2 (en) | Apparatus and method for generating industrial process graphics | |
CN104007958B (en) | Program editor and method for creating and processing the program for industrial automation arrangement | |
US20160004242A1 (en) | Ladder-program display program and ladder-program display apparatus | |
US20100313128A1 (en) | System and method for free form comments for a programmable logic controller | |
JP2019091426A (en) | System and method for facilitating graphic display configuration design in process control plant | |
TWI553435B (en) | Program for compiling program | |
US9176734B2 (en) | Ladder program creation apparatus | |
CN105431790B (en) | Programmer | |
CN106737676A (en) | It is a kind of based on script can secondary development industrial robot programing system | |
JP7031627B2 (en) | Analytical equipment, analysis method, and analysis program | |
CN105408823A (en) | Engineering tool, program editing device, and program editing system | |
JPWO2014167623A1 (en) | Program graph display device, program graph display method, and program graph display program | |
JP5498446B2 (en) | Ladder program creation device and ladder program creation method | |
Falkman et al. | Automatic generation: A way of ensuring PLC and HMI standards | |
CN107295810B (en) | Engineering tools | |
JP2012159868A (en) | Programming device of programmable logic controller | |
JPWO2021106082A1 (en) | SCADA web HMI system | |
US10762256B2 (en) | Hand-drawn ladder logic conversion method and system | |
CN112534368A (en) | Graph display device, graph display method, and graph display program | |
US11307551B1 (en) | Methods, systems and computer program products for generating implementable sequential function charts codes for process control systems | |
JP4652072B2 (en) | Design support apparatus and method with simulation function, and operation support apparatus and method with simulation function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201380075672.2 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13882444 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2015512252 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13882444 Country of ref document: EP Kind code of ref document: A1 |