CN105229542A - Programming tool - Google Patents

Programming tool Download PDF

Info

Publication number
CN105229542A
CN105229542A CN201380075672.2A CN201380075672A CN105229542A CN 105229542 A CN105229542 A CN 105229542A CN 201380075672 A CN201380075672 A CN 201380075672A CN 105229542 A CN105229542 A CN 105229542A
Authority
CN
China
Prior art keywords
fbd parts
fbd
parts
execution sequence
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201380075672.2A
Other languages
Chinese (zh)
Other versions
CN105229542B (en
Inventor
大西勘司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Corp
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Corp filed Critical Mitsubishi Corp
Publication of CN105229542A publication Critical patent/CN105229542A/en
Application granted granted Critical
Publication of CN105229542B publication Critical patent/CN105229542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC

Abstract

Have: program editing portion (11), it is configured functional block diagram (FBD) parts, connects each other configured FBD parts, execution sequence determination section (13), its positional information based on FBD parts and link information, determine the execution sequence of FBD parts, member information management portion (12), it manages the positional information of FBD parts and link information, and no detection unit (14) is wanted in compiling again, it judges the compiling again that the configuration change the need of enforcement and FBD parts accompanies, if specify the FBD parts making configuration change in program editing portion, even if then member information management portion changes the position of the FBD parts making to be specified by program editing portion, the position range that execution sequence is also identical extracts, compiling wants the positional information of no detection unit after the configuration change of specified FBD parts to be included in the position range that extracted by member information management portion again, be judged to not need to implement to compile again.

Description

Programming tool
Technical field
The present invention relates to programming tool, especially, relate to following programming tool, that is, the programming carried out for the description by functional block diagram (FBD) language.
Background technology
The scene of the production line at workshop, each device, factory building, office building etc., uses the programmable logic controller (PLC) (PLC) being used for controlling according to priority controlled device.In order to rewrite the program be stored in PLC, use the Program Generating servicing unit (programming tool) having installed special software on computers.
Use in the programming of the cycle control program that FBD language uses at PLC etc.According to the standard specification IEC61131-3 that International Electrotechnical Commission (IEC) issues, FBD language as PLC one of program language and receive definition.The programming tool pair FBD parts corresponding with the process that each specifies (function or functional block) of FBD language are used to be configured.Programming tool, along data or signal stream, carries out wiring to FBD parts, thus describes a series of process.
Use FBD language and the software that generates by compiling, thus determine the execution sequence that processes based on the positional information of FBD parts and link information.Programming tool determines the execution sequence of a series of process, thus generates to utilize PLC to perform FBD program and required data (execution data).In addition, programming tool uses the data (graph data) relevant to graphic depiction of FBD program in the maintenance of FBD program.Programming tool is implemented the process (PC write) of the execution data of the engineering (project) obtained after compiling, graph data write PLC.
About using FBD language and the software that generates, sometimes due to after a compilation, the configuration of FBD parts is changed, thus becomes the state of compiling.User implements to compile to will not compile state elimination again.In addition, for have passed through the above-mentioned engineering compiled again, sometimes needing the PC write by implementing to perform data, graph data, thus reflecting to PLC.
In addition, current, for using FBD language and the software that generates, as the method compared afterwards before changing to FBD program, the method (such as with reference to patent documentation 1) of known applications text transform.According to the method for patent documentation 1, for FBD parts all in program, text transform is carried out to the numerical information (machine language) of command code, the text message of two programs is compared successively.
Patent documentation 1: Japanese Unexamined Patent Publication 10-149208 publication
Summary of the invention
As described in patent document 1, which, program relatively in applicating text conversion method in, first, for the program both sides as comparison other, need to carry out to machine language the process that converts.In this moment, need the processing load suitable with compiling already.Further, through the process that machine language is converted to character string, the process that character string is exported to text, the text of two programs is compared.According to prior art, in order to compare FBD program, need more operation and process, comparing and take time.
Such as, when user needs the document of program after confirming the action of equipment by the compiling of control program and PC write etc., in order to adjust the pattern of control program, sometimes wish to be configured change to FBD parts.In the programming tool of prior art, if owing to changing the configuration of FBD parts, then program becomes the state of compiling immediately, therefore there is following problems, even if that is, the configuration of FBD parts is only change a little, also needs to compile, PC write again.
The present invention proposes in view of the foregoing, and its object is to, obtain a kind of programming tool, this programming tool can alleviate the homework burden of the program editing that the change due to the configuration of FBD parts causes.
In order to solve above-mentioned problem, realizing object, the invention is characterized in, have: program editing portion, it is configured functional block diagram (FBD) parts, connects each other, thus edit program configured described FBD parts, execution sequence determination section, it, for by the described program after editing, based on positional information and the link information of described FBD parts, determines the execution sequence of described FBD parts, member information management portion, it manages the described positional information of the described FBD parts that described program editing portion configures and described link information, and no detection unit is wanted in compiling again, it judges the need of the compiling again implementing to accompany with the configuration change of the described FBD parts in described program editing portion, if specify the described FBD parts making configuration change in described program editing portion, even if then described member information management portion changes making the position of the FBD parts of being specified by described program editing portion, the position range that described execution sequence is also identical extracts, described compiling again wants the positional information of no detection unit after the configuration change of described FBD parts of specifying to be included in the described position range that extracted by described member information management portion, be judged to not need to compile again described in enforcement.
The effect of invention
Programming tool involved in the present invention is according to making FBD parts move front and back, and whether the execution sequence of process changes, and judges the need of compiling again.About the program editing that the configuration change with FBD parts accompanies, if by the execution sequence that is configured to process without change, do not need to compile again, thus can alleviate owing to compiling again, PC writes the homework burden caused.Thus, there is following effect, that is, the homework burden of the program editing that the change due to the configuration of FBD parts causes can be alleviated.
Accompanying drawing explanation
Fig. 1 is the block diagram of the structure of the programming tool represented involved by embodiments of the present invention 1.
Fig. 2 is the process flow diagram of the treatment step of the programming tool illustrated when changing the configuration of FBD parts.
Fig. 3 is the figure that the method determining the execution sequence of FBD parts according to rule is described.
Fig. 4 is the figure of the example representing the execution sequence determining FBD parts.
Fig. 5 is the process flow diagram representing the detailed step that the extraction of the position range identical with the execution sequence of FBD parts is relevant.
Fig. 6 is the figure of the example of the graph data representing FBD program.
Fig. 7 is the process flow diagram of the treatment step of the programming tool illustrated involved by embodiments of the present invention 2.
Fig. 8 is the figure representing the example that the position range identical to the execution sequence of FBD parts shows.
Fig. 9 is the process flow diagram of the treatment step of the programming tool illustrated involved by embodiments of the present invention 3.
Figure 10 illustrates the figure of FBD parts to the restriction of the movement outside the position range of setting.
Embodiment
Below, based on accompanying drawing, the embodiment of programming tool involved in the present invention is described in detail.In addition, the present invention is not limited to present embodiment.
Embodiment 1
Fig. 1 is the block diagram of the structure of the programming tool represented involved by embodiments of the present invention 1.Programming tool 10 is realized by the computing machine having installed programming tool software.Programming tool 10 is the instruments edited the cycle control program etc. run by PLC.
Programming tool 10 has program editing portion 11, member information management portion 12, execution sequence determination section 13 and compiling will no detection unit 14 again.11 pairs, program editing portion functional block diagram (FBD) parts are configured, and connect each other, thus edit program the FBD parts after configuration.
Member information management portion 12 is connected with program editing portion 11.Member information management portion 12 manages the positional information of the FBD parts configured by program editing portion 11 and link information.
Execution sequence determination section 13 is connected with member information management portion 12.The program that execution sequence determination section 13 obtains for being undertaken editing by program editing portion 11, based on positional information and the link information of FBD parts, determines the execution sequence of FBD parts.
Compiling wants no detection unit 14 to be connected with member information management portion 12 again.Compiling wants no detection unit 14 to judge the compiling again that the configuration change the need of the FBD parts implemented and in program editing portion 11 accompanies again.
Fig. 2 is the process flow diagram of the treatment step of the programming tool illustrated when changing the configuration of FBD parts.The FBD program generated for using FBD parts, user selects configuring the FBD parts (step S1) changed from the FBD parts that program editing portion 11 configures.User specifies the FBD parts making configuration change in program editing portion 11.
Selection in member information management portion 12 receiving step S1, the position of the FBD parts of being specified by program editing portion 11 is changed, and the position range identical to the execution sequence of FBD parts extracts (step S10).
Here, about the extraction of the positional information in step S10, the rule of the execution sequence of FBD parts is described.Fig. 3 is the figure that the method determining the execution sequence of FBD parts according to rule is described.
11 the FBD parts (A ~ K) represented with solid-line rectangle shown in Figure 3.Suppose that processed group is a series of FBD parts groups be made up of the FBD parts be connected to each other.Routine package shown in Fig. 3 is containing 5 processed group (a), (b), (c), (d), (e).In figure 3, the border of processed group is illustrated as dotted line.
Processed group (a) is made up of 1 FBD parts (H).Processed group (b) is made up of 1 FBD parts (I).Processed group (c) is made up of 6 the FBD parts (A, B, C, D, E, F) be connected to each other.Processed group (d) is made up of 2 the FBD parts (J, K) be connected to each other.Processed group (e) is made up of 1 FBD parts (G).
The positional information of FBD parts represents with XY coordinate.The execution sequence of the process in suppose program be in the Y-axis direction from top to bottom, order from left to right in the X-axis direction.Suppose, in the position sequence of Y direction and the position sequence of X-direction, to make the position sequence of Y direction preferential.Using the above-mentioned position sequence rule corresponding to positional information as the 1st rule.
According to the 1st rule, for each processed group, determine the FBD parts representing processed group.Suppose the top-left coordinates representing the FBD parts of the representative as each processed group (a) ~ (e) in figure using representative position PPa, PPb, PPc, PPd, PPe that blacking quadrilateral represents.In each FBD parts, so-called top-left coordinates refers to the most top in FBD parts and the coordinate of the position kept left most.
Represent the top-left coordinates that position PPa, PPb, PPe are FBD parts (H), (I), (G) respectively.Represent the top-left coordinates that position PPc is FBD parts (D) in 6 FBD parts comprising of processed group (c), be in most higher level in the 1st rule.Represent the top-left coordinates that position PPd is FBD parts (J) in 2 FBD parts comprising of processed group (d), be in higher level in the 1st rule.Each processed group (a) ~ (e) execution sequence is each other by comparing the position relationship representing position PPa, PPb, PPc, PPd, PPe according to the 1st rule and determining.
Fig. 4 is the figure of the example representing the execution sequence determining FBD parts.By comparing the position relationship representing position PPa, PPb, PPc, PPd, PPe according to the 1st rule, thus the execution sequence of processed group determines as (a), (b), (d), (c), (e).
In the processed group comprising multiple FBD parts, when existence carries out to certain FBD parts the FBD parts inputted, from the FBD parts of the upstream in the adapter path of above-mentioned input, execution sequence is determined.Using the above-mentioned position sequence rule corresponding to link information as the 2nd rule.
Such as, about the FBD parts (D) of the representative as processed group (c), FBD parts (C) are connected with at its input side.FBD parts (A) are also connected with at the input side of FBD parts (C).Between these FBD parts, according to the 2nd rule, execution sequence is the order of FBD parts (A), (C), (D).
FBD parts (C), FBD parts (B) are connected with at the input side of FBD parts (E).According to the 2nd rule, FBD parts (C) and FBD parts (B) are positioned at higher level compared with FBD parts (E).Between FBD parts (C) and FBD parts (B), according to the 1st rule, FBD parts (C) are higher levels.Between these FBD parts, execution sequence is the order of FBD parts (C), (B), (E).
Between FBD parts (E) and FBD parts (F), in any one in the 1st rule and the 2nd rule, FBD parts (E) are higher level.Thus, the execution sequence of each FBD parts in processed group (c) is the order of FBD parts (A), (C), (D), (B), (E), (F).
Between the FBD parts (J) and FBD parts (K) of processed group (d), according to the 1st rule, FBD parts (J) are higher level.According to the 1st rule, process from the processed group that position sequence is high, if the process of all FBD parts in processed group completes, then arrange in order the process of high processed group in start bit.Thus, as shown in Figure 4, the execution sequence of the FBD parts (A ~ K) of each processed group (a) ~ (e) is determined.
Fig. 5 is the process flow diagram representing the detailed step that the extraction of the position range identical with the execution sequence of FBD parts is relevant.Member information management portion 12, when having carried out the configuration of specified FBD parts changing, extracts the FBD parts (step S11) had an impact to execution sequence.In FBD program, perform process according to the execution sequence of FBD parts.The processing procedure of FBD program is controlled by the execution sequence of FBD module.About step S11, the so-called situation had an impact to execution sequence, refers to the situation of the control content change that can make the processing procedure realized by performing FBD program.
Such as, suppose that member information management portion 12 preserves the data of all objects (object) depicted in the editor in program editing portion 11.Member information management portion 12, from the FBD parts selected among the step S1 shown in Fig. 2, follows link information, retrieves the FBD parts be connected with these FBD parts.Thus, member information management portion 12 determines the FBD parts in the processed group belonging to the FBD parts selected.Further, the member information management portion 12 extraction FBD parts that can have an impact to execution sequence due to the movement of FBD parts selected.
Here, with reference to Fig. 6, the extraction of the FBD parts in description of step S11.Fig. 6 is the figure of the example of the graph data representing FBD program.Graph data shown in Fig. 6 such as shows forming on the display that the computing machine of programming tool 10 has.
FBD parts 401,402,403 belong to processed group 410.FBD parts 404,405,406,407 belong to processed group 411.FBD parts 408,409 belong to processed group 412.Such as, suppose that FBD parts 405 are appointed FBD parts in step sl.
The input terminal IN of FBD parts 405 is connected with the lead-out terminal OUT1 of FBD parts 404.The input terminal IN of FBD parts 406 is connected with the lead-out terminal OUT2 of FBD parts 404.According to the 2nd rule, in order to determine the execution sequence of FBD parts 405 and FBD parts 406, need the execution sequence determining FBD parts 404.
If determine the execution sequence of FBD parts 404, then the top-left coordinates of the 12 pairs of FBD parts 405 in member information management portion and the top-left coordinates of FBD parts 406 compare, and determine the execution sequence of FBD parts 405 according to the 1st rule.Then, the execution sequence of FBD parts 406 is determined.
The lead-out terminal OUT of FBD parts 405 is connected with the input terminal IN1 of FBD parts 407.The lead-out terminal OUT of FBD parts 406 is connected with the input terminal IN2 of FBD parts 407.According to the 2nd rule, by determining the execution sequence of FBD parts 405 and FBD parts 406, the execution sequence of FBD parts 407 is determined.
About the decision of the execution sequence of processed group 411 inside, FBD parts 404 and FBD parts 407 determine execution sequence by means of only link information, and have nothing to do with positional information.On the other hand, FBD parts 405 and FBD parts 406 determine execution sequence by positional information and link information both sides.
Member information management portion 12 in the above described manner, extracts the FBD parts that the determination to execution sequence of both positional information and link information has an impact in step s 11.Member information management portion 12, when having carried out the configuration of FBD parts 405 changing, extracts FBD parts 406, as the FBD parts had an impact to execution sequence.
Then, member information management portion 12, from each processed group, extracts the FBD parts (step S12) of the positional information that decide processed group unit.What is called decides the FBD parts of the positional information of processed group unit, refers in the FBD parts that processed group comprises, to represent processed group FBD parts.The FBD parts that decide the positional information of processed group unit determine according to the 1st rule.
The extraction of above-mentioned FBD parts with the processed group except the processed group except having selected FBD parts in step S1 for object.In the example shown in Fig. 6, the processed group 410,412 except the processed group 411 comprising FBD parts 405 is the extraction objects in step S12.Member information management portion 12 extracts FBD parts 401 from processed group 410.Member information management portion 12 extracts FBD parts 408 from processed group 412.
Then, the positional information of member information management portion 12 to each FBD parts extracted in step S11 and S12 is extracted (step S13).Member information management portion 12 extracts the top-left coordinates of the FBD parts 406 extracted in step s 11, as the positional information of FBD parts 406.Member information management portion 12 extracts the top-left coordinates of the FBD parts 401 extracted in step s 12, as the positional information of FBD parts 401.Member information management portion 12 extracts the top-left coordinates of the FBD parts 408 extracted in step s 12, as the positional information of FBD parts 408.
Then, even if member information management portion 12 extracts (step S14) the position range that FBD parts move, execution sequence is also identical making to select in step sl.Member information management portion 12 based on the positional information extracted in step s 13 and the positional information of FBD parts selected in step sl, even if to making the scope that FBD parts move, execution sequence is also identical extract.
In the example shown in Fig. 6, when having carried out in position range 420 at FBD parts 405 moving, the execution sequence of each FBD parts of each processed group 410,411,412 is before the movement of FBD parts 405 and move rear constant.When to have carried out mobile outside position range 420 at FBD parts 405, before the movement relative to FBD parts 405 of the execution sequence of each FBD parts of each processed group 410,411,412, can change after movement.
In the 1st rule, position range 420 is positioned at subordinate compared with the top-left coordinates of FBD parts 401, is positioned at higher level compared with the top-left coordinates of FBD parts 406.Member information management portion 12, based on the positional information of each position information extracted for FBD parts 401,406,408 and FBD parts 405, extracts position range 420.In the present embodiment, position range 420 sets as following ranges, even if that is, in the Y-axis direction to making the scope that FBD parts move, execution sequence is also identical limit.According to the mode etc. be configured each FBD parts, position range 420 also can be that all identical to execution sequence scope limits in the Y-axis direction and in X-direction.
Member information management portion 12 such as uses topological sorting, according to the positional information of FBD parts, calculates the position range that execution sequence is identical.In addition, member information management portion 12 can utilize any particular algorithms, makes even if obtain the scope that FBD parts move, execution sequence is also identical.
Return Fig. 2, user makes the FBD parts of specifying in step sl move (step S2) by program editing portion 11.Member information management portion 12 obtains the positional information of the FBD parts after moving from program editing portion 11.
Compiling wants no detection unit 14 to obtain the positional information configuring the FBD parts be changed in step s 2 and the position range extracted in step slo from member information management portion 12 again.The position range that compiling wants no detection unit 14 identical with execution sequence to the positional information configuring the FBD parts be changed again compares (step S3).
Whether compiling wants no detection unit 14 to be included in the identical position range of execution sequence to judge (step S4) configuring the positional information of FBD parts be changed again.In the example shown in Fig. 6, more whether compiling wants the top-left coordinates of no detection unit 14 to the FBD parts 405 after movement to be included in position range 420 and to judge.
When configuring the positional information of FBD parts be changed and being included in the identical position range of execution sequence (step S4, Yes), then compiling compiling again of wanting no detection unit 14 to be judged to not need to accompany with the configuration change of the FBD parts of step S2.
In the example shown in Fig. 6, compiling wants the positional information of no detection unit 14 after the configuration change of the FBD parts 405 of being specified by step S1 to be included in the position range 420 that extracted by member information management portion 12 again, be judged to not need to implement to compile again.Program editing portion 11, according to the judgement not needing to compile again, maintains the state (step S5) compiled of FBD program.
On the other hand, when configuring the positional information of FBD parts be changed and not being included in the identical position range of execution sequence (step S4, No), then compiling compiling again of wanting no detection unit 14 to be judged to need to accompany with the configuration change of the FBD parts of step S2.
In the example shown in Fig. 6, compiling wants the positional information of no detection unit 14 after the configuration change of the FBD parts 405 of being specified by step S1 not to be included in the position range 420 that extracted by member information management portion 12 again, be judged to need to implement to compile again.The judgement that program editing portion 11 compiles as required again, makes FBD program to not compiling state change (step S6).Thus, programming tool 10 terminates a series of process in the configuration change of FBD parts.
In the program that programming tool 10 of the present invention describes utilizing FBD language, according to the positional information of FBD parts, whether the execution sequence of process being changed due to the configuration change of FBD parts and judges.Even if when changing the configuration of FBD parts, if the execution sequence of the front and back of configuration change each FBD parts is identical, then programming tool 10 also maintains the state compiled of FBD program.Compared with the situation then always making FBD program change to the state that do not compile whenever the configuration change that there are FBD parts, programming tool 10 can alleviate enforcement and to compile and PC writes the workload caused again.
Current, in order to compare FBD program, need the process suitable with compiling, on the other hand, in the present invention, when FBD parts mobile, execution sequence can be determined according to the positional information of FBD parts and link information, by the comparison of execution sequence, FBD program be compared.According to the present invention, due to do not need FBD program relatively in the suitable process of compiling, therefore, it is possible to alleviate the homework burden in the configuration change of FBD parts.Thus, programming tool 10 has following effect, that is, the homework burden of the program editing that the configuration change that can alleviate FBD parts causes.
Programming tool 10 the need of in the judgement compiled again, by the process of extracting execution sequence according to link information and positional information with to the process that execution sequence compares, realizes the comparison of program.For programming tool 10, compared with the comparative approach realized by prior art needed to the conversion etc. of machine language, the operation for comparing program and process can be reduced.Thus, programming tool 10 can make program before changing after comparison process high speed.User can utilize programming tool 10, easily implements the judgement the need of compiling again.
User, when such as being needed the document of program after confirming the action of equipment by the compiling of control program and PC write, is adjusted the pattern of control program sometimes.User, when adjusting the pattern of control program, can alleviate homework burden when changing the configuration of FBD parts significantly.
Embodiment 2
Fig. 7 is the process flow diagram of the treatment step of the programming tool illustrated involved by embodiments of the present invention 2.Mark identical label to the part identical with embodiment 1, suitably the repetitive description thereof will be omitted.
Programming tool involved by embodiment 2 has the structure identical with the programming tool 10 (with reference to Fig. 1) involved by embodiment 1.Further, in embodiment 2, even if member information management portion 12 implements to be used for by making that the position of specified FBD parts is changed, position range that execution sequence is also identical carries out the output processing that notifies to user.
The FBD program generated for using FBD parts, user, from the FBD parts that program editing portion 11 configures, selects configuring the FBD parts (step S21) changed.User in program editing portion 11 to making the FBD parts of configuration change specify.
Selection in member information management portion 12 receiving step S21, even if extract (step S22) the position range that position is changed, the execution sequence of FBD parts is also identical of the FBD parts making to be specified by program editing portion 11.Step S22 is identical with the step S10 (with reference to Fig. 2) of embodiment 1.The detailed content of step S22 is identical with the detailed content of the step S10 shown in Fig. 3.
Member information management portion 12 implements the output processing for making the position range extracted in step S22 show over the display.Position range identical for the execution sequence of FBD parts shows (step S23) by programming tool 10 over the display.
Fig. 8 is the figure representing the example that the position range identical to the execution sequence of FBD parts shows.Programming tool 10, on the picture shown the graph data of FBD program, carries out color differentiation to the position range 420 extracted in step S22 and position range in addition.In addition, programming tool 10 shows the boundary line between the position range 420 extracted in step S22 and position range in addition.Position range identical for the execution sequence of FBD parts, by the display of display, notifies to user by programming tool 10.
User makes the FBD parts of specifying in the step s 21 move (step S24) by program editing portion 11.User can observe the display of the identical position range of the execution sequence of FBD parts and identify, makes FBD parts move on this basis.
In addition, programming tool 10 also can be distinguished by color and one party in boundary line, and the position range 420 identical to the execution sequence of FBD parts shows.Programming tool 10 can illustrate position range 420 by any-mode.
Compiling wants no detection unit 14 from member information management portion 12 again, obtains the positional information configuring the FBD parts be changed in step s 24 which and the position range that extracts in step S22.The position range that compiling wants no detection unit 14 identical with execution sequence to the positional information configuring the FBD parts be changed again compares (step S25).Whether compiling wants no detection unit 14 to be included in the identical position range of execution sequence to judge (step S26) configuring the positional information of FBD parts be changed again.
When configuring the positional information of FBD parts be changed and being included in the identical position range of execution sequence (step S26, Yes), then compiling compiling again of wanting no detection unit 14 to be judged to not need to accompany with the configuration change of the FBD parts of step S24.Program editing portion 11, according to the judgement not needing to compile again, maintains the state (step S27) compiled of FBD program.
On the other hand, when configuring the positional information of FBD parts be changed and not being included in the identical position range of execution sequence (step S26, No), then compiling compiling again of wanting no detection unit 14 to be judged to need to accompany with the configuration change of the FBD parts of step S24.The judgement that program editing portion 11 compiles as required again, makes FBD program to not compiling state change (step S28).
According to embodiment 2, user have selected to configure change FBD parts time, the position range that to need when making this FBD parts movement to compile again can be grasped clearly and do not need the position range that compiles again, and implement the editor of FBD program on this basis.Such as, user by selecting the configuration change not needing to compile again as far as possible, thus can alleviate homework burden when adjusting the pattern of control program further.
In order to the position range that the execution sequence informing the user FBD parts is identical, programming tool 10 can use any means.Make member information management portion 12 can implement the output processing corresponding to the means for notifying position range.In step s 24 which, programming tool 10 such as also can utilize the means such as the display of the dialog box on display, the output of alarm sound to notify positional information this situation in the identical position range of execution sequence that is not contained in configuring the FBD parts be changed.
Programming tool 10 also can be set to can at random switch whether the position range identical to the execution sequence of FBD parts notifies by user.User according to whether wishing to grasp the position range not needing to compile again, can at random select there is N/A.
Embodiment 3
Fig. 9 is the process flow diagram of the treatment step of the programming tool illustrated involved by embodiments of the present invention 3.Mark identical label to the part identical with embodiment 1, suitably the repetitive description thereof will be omitted.
Programming tool involved by embodiment 3 has the structure identical with the programming tool 10 (with reference to Fig. 1) involved by embodiment 1.Further, in embodiment 3, even if the movement of program editing portion 11 to specified FBD parts to making that the position of these FBD parts is changed, beyond the also identical position range of execution sequence limits.
The FBD program generated for using FBD parts, user, from the FBD parts that program editing portion 11 configures, selects configuring the FBD parts (step S31) changed.User, in program editing portion 11, specifies making the FBD parts of configuration change.
Selection in member information management portion 12 receiving step S31, even if extract (step S32) the position range that position is changed, the execution sequence of FBD parts is also identical of the FBD parts making to be specified by program editing portion 11.Step S32 is identical with the step S10 (with reference to Fig. 2) of embodiment 1.The detailed content of step S32 is identical with the detailed content of the step S10 shown in Fig. 3.User makes the FBD parts of specifying in step S31 move (step S33) by program editing portion 11.
If set the position range that the execution sequence of FBD parts is identical, then program editing portion 11 is for these FBD parts, and the mobile restriction outside the position range set by subtend sets.
Compiling wants no detection unit 14 from member information management portion 12 again, obtains the positional information configuring the FBD parts be changed in step S33 and the position range that extracts in step s 32.The position range that compiling wants no detection unit 14 identical with execution sequence to the positional information configuring the FBD parts be changed again compares (step S34).Whether compiling wants no detection unit 14 to be included in the identical position range of execution sequence to judge (step S35) configuring the positional information of FBD parts be changed again.
When the positional information configuring the FBD parts be changed is included in the identical position range of execution sequence (step S35, Yes), program editing portion 11 allows the movement in step S33.What compiling wanted no detection unit 14 to be judged to not need to accompany with the configuration change of the FBD parts of step S33 again compiles again.Program editing portion 11, according to the judgement not needing to compile again, maintains the state (step S36) compiled of FBD program.
On the other hand, when the positional information configuring the FBD parts be changed is not included in the identical position range of execution sequence (step S35, No), the movement of program editing portion 11 to the FBD parts selected in step S31 limits (step S37).
Figure 10 illustrates the figure of FBD parts to the restriction of the movement outside set position range.In Fig. 10, the diagram of the processed group 410,411,412 shown in Fig. 6 and Fig. 8 is omitted.Such as, program editing portion 11 is for FBD parts 405, and the movement outside the position range 420 that subtend is set by the extraction of step S32 limits.
Program editing portion 11, during the figure of FBD parts 405 is pulled outside position range 420, makes putting down action and cannot completing of FBD parts 405.In the above described manner, program editing portion 11 refuse FBD parts 405 to the movement outside position range 420.
Such as, in step S33, suppose that user is for FBD parts 405, attempt pulling to the position 430 outside position range 420.FBD parts 405 set back by program editing portion 11, make FBD parts 405 putting down action and cannot complete to position 430.
11 pairs, program editing portion FBD parts limit to the movement outside the identical position range of execution sequence, thus the FBD parts having attempted movement in step S33 are stayed in the identical position range of execution sequence.Thus, program editing portion 11 maintains the state (step S36) compiled of FBD program.In addition, programming tool 10 also can by except make to put down action cannot complete except any means, FBD parts are limited to the movement outside the identical position range of execution sequence.
According to embodiment 3, programming tool 10 can reliably limit the configuration change of the FBD parts needing to compile again.Thus, user, by getting rid of the configuration change needing to compile again, can suppress homework burden when adjusting the pattern of control program.
Programming tool 10 also can be set to the mobile restriction that user at random can switch the FBD parts whether adopted in embodiment 3.User according to whether wishing that the configuration change to needing to compile again is got rid of, can at random select the mobile restriction with or without FBD parts.
The explanation of label
10 programming tools, 11 program editing portions, 12 member information management portions, 13 execution sequence determination sections, 14 again compiling want no detection unit, 401 ~ 409FBD parts, 410,411,412 processed group, 420 position ranges, 430 positions, PPa, PPb, PPc, PPd, PPe represent position.

Claims (3)

1. a programming tool, is characterized in that, has:
Program editing portion, it is configured functional block diagram, i.e. FBD parts, connects each other, thus edit program configured described FBD parts;
Execution sequence determination section, it, for by the described program after editing, based on positional information and the link information of described FBD parts, determines the execution sequence of described FBD parts;
Member information management portion, it manages the described positional information of the described FBD parts configured by described program editing portion and described link information; And
No detection unit is wanted in compiling again, and it judges the need of the compiling again implementing to accompany with the configuration change of the described FBD parts in described program editing portion,
If specify the described FBD parts making configuration change in described program editing portion, even if then described member information management portion extracts making the position range that the position of the FBD parts of being specified by described program editing portion is changed, described execution sequence is also identical,
Described compiling again wants the positional information of no detection unit after the configuration change of described FBD parts of specifying to be included in the described position range that extracted by described member information management portion, compile again described in being judged to not need to implement.
2. programming tool according to claim 1, is characterized in that,
Even if described member information management portion implements to be used for making the position of described FBD parts of specifying change, the described position range that described execution sequence is also identical carries out the output processing notified.
3. programming tool according to claim 1 and 2, is characterized in that,
Even if the movement of described program editing portion to described FBD parts of specifying to making that the position of described FBD parts of specifying is changed, outside the also identical described position range of described execution sequence limits.
CN201380075672.2A 2013-04-18 2013-04-18 Programming tool Active CN105229542B (en)

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 (2)

Publication Number Publication Date
CN105229542A true CN105229542A (en) 2016-01-06
CN105229542B CN105229542B (en) 2017-06-09

Family

ID=51730962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380075672.2A Active CN105229542B (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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109844660A (en) * 2016-10-17 2019-06-04 三菱电机株式会社 Debug auxiliary device and debugging householder method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503338B (en) * 2014-12-30 2017-07-11 浙江中控技术股份有限公司 A kind of function block sequencing performs method and device
JP6400558B2 (en) * 2015-11-17 2018-10-03 ファナック株式会社 Sequence control programming device, sequence control programming method, and work system
JP7340494B2 (en) * 2020-07-02 2023-09-07 株式会社日立製作所 Controller programming device and method
JPWO2023089722A1 (en) * 2021-11-18 2023-05-25

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09230915A (en) * 1996-02-26 1997-09-05 Matsushita Electric Works Ltd Programming device
JPH10149208A (en) * 1996-11-18 1998-06-02 Hitachi Ltd Method for comparing program and device for preparing controller program
DE19880536B4 (en) * 1997-03-11 2004-08-05 Mitsubishi Denki K.K. Visual programming method and programming system using this method
JP3603301B2 (en) * 2000-02-09 2004-12-22 日本電気株式会社 Information processing apparatus and recording medium recording job stream processing program
JP3838124B2 (en) * 2002-03-14 2006-10-25 富士電機機器制御株式会社 Program execution method and program development support apparatus
JP3940389B2 (en) * 2003-08-28 2007-07-04 三菱電機株式会社 Inspection device and programming tool
JP4424198B2 (en) * 2004-12-27 2010-03-03 三菱電機株式会社 Function block diagram programming device
CN101488012A (en) * 2009-02-13 2009-07-22 国网电力科学研究院 Method for implementing sequential control by flow 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109844660A (en) * 2016-10-17 2019-06-04 三菱电机株式会社 Debug auxiliary device and debugging householder method

Also Published As

Publication number Publication date
CN105229542B (en) 2017-06-09
JPWO2014170992A1 (en) 2017-02-16
WO2014170992A1 (en) 2014-10-23
JP5777842B2 (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN105229542A (en) Programming tool
CN101957745B (en) Method for converting ladder diagram language into structure text language
CN103260824A (en) Tool path part program modification system of NC machine tool
CN105408823A (en) Engineering tool, program editing device, and program editing system
JP6375666B2 (en) Programming tools for PLC and PLC
CN105431790A (en) Programming device
CN104875204A (en) Offline programming module and application method of plasma space cutting robot
US9176734B2 (en) Ladder program creation apparatus
CN112585547A (en) Analysis device, analysis method, and analysis program
CN106575111B (en) Display device and display methods
JP6201574B2 (en) Programming tool for PLC
CN107295810B (en) Engineering tools
Ehmann et al. The idea of Virtual Teach-In in the field of industrial robotics
JP2016118888A (en) Numerical control system including automatic display means of teaching program
JP2012159868A (en) Programming device of programmable logic controller
US20190121320A1 (en) Apparatus and method for adapting a numerical controller to a machine to be controlled
JPWO2014013550A1 (en) Numerical control apparatus and numerical control system
CN112292659A (en) Code for programming a device from a controlling computer by invoking a development tool from a semantic zoom enhancement user interface
RU2449339C2 (en) Replacement method of structural components of automation system
KR101622402B1 (en) Hmi apparatus capable of providing gui-based hmi screen and method for providing gui-based hmi screen
CN104932467A (en) Method for controlling program-controlled equipment in centralized way
CN112534368A (en) Graph display device, graph display method, and graph display program
US10762256B2 (en) Hand-drawn ladder logic conversion method and system
CN112543898B (en) Chart display device, chart display method, and recording medium
JP6777516B2 (en) Information processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant