CN105229542B - Programming tool - Google Patents
Programming tool Download PDFInfo
- Publication number
- CN105229542B CN105229542B CN201380075672.2A CN201380075672A CN105229542B CN 105229542 B CN105229542 B CN 105229542B CN 201380075672 A CN201380075672 A CN 201380075672A CN 105229542 B CN105229542 B CN 105229542B
- Authority
- CN
- China
- Prior art keywords
- fbd
- fbd parts
- parts
- execution sequence
- position range
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/056—Programming the PLC
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
Have:Program editing portion (11), it is configured to functional block diagram (FBD) part, and the FBD parts to being configured are attached each other;Execution sequence determination section (13), its positional information and link information for being based on FBD parts determines the execution sequence of FBD parts;Member information management portion (12), its positional information and link information to FBD parts is managed;And compile again whether detection unit (14), whether it is to needing again compile associated with the configuration change of FBD parts of implementation to judge, if specified in program editing portion making the FBD parts of configuration change, even if then member information management portion pair changes the position of the FBD parts specified by program editing portion, also identical position range is extracted execution sequence, compile again in the case that whether positional information of the detection unit after the configuration change of specified FBD parts be included in the position range extracted by member information management portion, it is judged to implement to compile again.
Description
Technical field
The present invention relates to programming tool, especially, it is related to following programming tools, i.e. for by functional block diagram (FBD) language
The description of speech and the programming that carries out.
Background technology
The scene of production line, each device, factory building, office building at workshop etc., using for pressing suitable to controlled device
The programmable logic controller (PLC) (PLC) being controlled to sequence.In order to be rewritten to the program being stored in PLC, using in meter
The Program Generating servicing unit (programming tool) of special software is mounted with calculation machine.
FBD language is used in the programming of the loop control program that PLC is used etc..According to International Electrotechnical Commission (IEC)
Standard specification IEC61131-3, the FBD language of distribution receives definition as one of the program language of PLC.Use FBD
The programming tool pair of the language FBD part corresponding with the treatment that each specifies (function or functional block) is configured.Programming work
Tool carries out wiring along data or signal stream to FBD parts, so as to be described to a series for the treatment of.
The software generated using FBD language by compiling so that positional information and link information based on FBD parts and
Determine the execution sequence for the treatment of.Programming tool determines a series of execution sequence for the treatment of, so as to generate to be performed using PLC
FBD programs and required data (execution data).In addition, programming tool uses FBD programs and figure in the maintenance of FBD programs
Shape describes related data (graph data).Programming tool is implemented the execution of the engineering (project) by being obtained after compiling
Data, graph data write the treatment (PC write-ins) of PLC.
On the software generated using FBD language, sometimes because after a compilation, the configuration of FBD parts is changed,
It is accordingly changed into non-compiled state.User implements to compile again in order to non-compiled state is eliminated.In addition, for have passed through it is above-mentioned again
The engineering of compiling, it is sometimes desirable to by implementing the PC write-ins of execution data, graph data, so as to be reflected to PLC.
In addition, it is current, for the software generated using FBD language, as carrying out afterwards before changing to FBD programs
The method for comparing, it is known that the method (referring for example to patent document 1) of applicating text conversion.According to the method for patent document 1, for
All of FBD parts in program, the numerical information (machine language) to command code carries out text transform, to two texts of program
This information is compared successively.
Patent document 1:Japanese Unexamined Patent Publication 10-149208 publications
The content of the invention
As described in patent document 1, in the comparing of program in the method for applicating text conversion, first, for as comparing
The program both sides of object are, it is necessary to enter the treatment of line translation to machine language.At the moment, the treatment suitable with compiling is already needed
Burden.Also, by the treatment that machine language is converted to character string, the treatment that character string is exported to text, to two
The text of individual program is compared.According to prior art, in order to FBD programs are compared, it is necessary to more operation and
Treatment, compares and takes time.
For example, needing program after user is confirmed by the compiling of control program and PC write-ins to the action of equipment
Document when etc., in order to the pattern to control program is adjusted, it is sometimes desirable to carry out configuration change to FBD parts.Existing
In the programming tool of technology, if because the configuration to FBD parts is changed, program immediately becomes non-compiled state, because
There are following problems in this, i.e. even if the configuration of FBD parts only somewhat changes, it is also desirable to be compiled again, PC writes.
The present invention is exactly to propose in view of the foregoing, it is intended that a kind of programming tool is obtained, the programming tool
The homework burden of program editing caused by the change due to the configuration of FBD parts can be mitigated.
In order to solve above-mentioned problem, purpose is realized, it is a feature of the present invention that having:Program editing portion, it is to functional block
Figure (FBD) part is configured, and the FBD parts to being configured are attached each other, so as to enter edlin to program;Perform
Order determination section, it is directed to edited described program, based on the positional information and link information of the FBD parts, determines
The execution sequence of the FBD parts;Member information management portion, its FBD part configured to described program editorial office
The positional information and the link information are managed;And compile again whether detection unit, its to whether need implement and institute
Associated the compiling again of configuration change for stating the FBD parts in program editing portion is judged, if in described program editor
Being specified in portion makes the FBD parts of configuration change, even if then the member information management portion pair makes by described program editor
The FBD parts that portion specifies position change, also identical position range is extracted the execution sequence, it is described compile again whether
Positional information of the detection unit after the configuration change of the FBD parts specified is included in be extracted by the member information management portion
In the case of in the position range that goes out, it is judged to implement described compile again.
The effect of invention
, according to before and after FBD parts are moved, whether the execution sequence for the treatment of changes programming tool involved in the present invention,
To whether needing to compile again and judging.On the program editing associated with the configuration change of FBD parts, if by being configured to
The execution sequence for the treatment of need not then be compiled again without change such that it is able to be mitigated due to compiling again, the caused operation of PC write-ins is born
Load.Thus, with following effects, i.e. the operation that can mitigate program editing caused by the change due to the configuration of FBD parts is born
Load.
Brief description of the drawings
Fig. 1 is the block diagram of the structure for representing the programming tool involved by embodiments of the present invention 1.
Fig. 2 is the flow chart of the process step of programming tool when illustrating to change the configuration of FBD parts.
Fig. 3 is the figure of the method for illustrating the execution sequence according to rule decision FBD parts.
Fig. 4 is the figure of the example for representing the execution sequence for determining FBD parts.
Fig. 5 is the flow of the detailed step for representing relevant with the extraction of the execution sequence identical position range of FBD parts
Figure.
Fig. 6 is the figure of the example of the graph data for representing FBD programs.
Fig. 7 is the flow chart of the process step for illustrating the programming tool involved by embodiments of the present invention 2.
Fig. 8 is the figure for representing the example shown to the execution sequence identical position range of FBD parts.
Fig. 9 is the flow chart of the process step for illustrating the programming tool involved by embodiments of the present invention 3.
Figure 10 is the figure for illustrating FBD parts to the limitation of the movement outside the position range of setting.
Specific embodiment
Below, based on accompanying drawing, the implementation method to programming tool involved in the present invention is described in detail.Additionally, this
Invention is not limited to present embodiment.
Implementation method 1
Fig. 1 is the block diagram of the structure for representing the programming tool involved by embodiments of the present invention 1.Programming tool 10 is by pacifying
The computer for having filled programming tool software is realized.Programming tool 10 is to enter edlin to loop control program for being run by PLC etc.
Instrument.
Programming tool 10 has program editing portion 11, member information management portion 12, execution sequence determination section 13 and compiles again
Translate whether detection unit 14.Program editing portion 11 configures to functional block diagram (FBD) part, to the FBD parts for postponing each other
It is attached, so as to enter edlin to program.
Member information management portion 12 is connected with program editing portion 11.12 pairs, member information management portion is matched somebody with somebody by program editing portion 11
The positional information and link information of the FBD parts put are managed.
Execution sequence determination section 13 is connected with member information management portion 12.Execution sequence determination section 13 is directed to by program editing
Program obtained from edlin is entered in portion 11, positional information and link information based on FBD parts, determines that the execution of FBD parts is suitable
Sequence.
Compile whether detection unit 14 is connected with member information management portion 12 again.Compile whether whether detection unit 14 pairs needs again
Implement to be judged with associated the compiling again of configuration change of the FBD parts in program editing portion 11.
Fig. 2 is the flow chart of the process step of programming tool when illustrating to change the configuration of FBD parts.For making
The FBD programs generated with FBD parts, select to become configuration in the FBD parts that user is configured from program editing portion 11
FBD parts (step S1) more.User specifies in program editing portion 11 makes the FBD parts of configuration change.
Selection in the receiving step S1 of member information management portion 12, makes the position of the FBD parts specified by program editing portion 11
Change is put, the execution sequence identical position range to FBD parts is extracted (step S10).
Herein, on the extraction of the positional information in step S10, the rule to the execution sequence of FBD parts is said
It is bright.Fig. 3 is the figure of the method for illustrating the execution sequence according to rule decision FBD parts.
Figure 3 illustrates the 11 FBD parts (A~K) represented with solid-line rectangle.Assuming that treatment group is by being connected to each other
A series of FBD parts groups that FBD parts are constituted.Program bag shown in Fig. 3 contains 5 treatment groups (a), (b), (c), (d), (e).
In Fig. 3, using the border for the treatment of group as shown in phantom.
Treatment group (a) is made up of 1 FBD part (H).Treatment group (b) is made up of 1 FBD part (I).Treatment group (c) by
6 FBD parts (A, B, C, D, E, F) being connected to each other are constituted.Treatment group (d) is by 2 FBD parts (J, K) structures being connected to each other
Into.Treatment group (e) is made up of 1 FBD part (G).
The positional information of FBD parts XY coordinate representations.Assuming that the execution sequence of the treatment in program is in the Y-axis direction
From top to bottom, order in the X-axis direction from left to right.Assuming that in the position sequence of Y direction and the position sequence of X-direction, making Y-axis
The position sequence in direction is preferential.Using above-mentioned position corresponding with positional information sequence rule as the 1st rule.
According to the 1st rule, for each treatment group, decision represents the FBD parts for the treatment of group.Assuming that with blacking quadrangle in figure
Representative position PPa, PPb, PPc, PPd, PPe of expression are denoted as a left side for the FBD parts of the representative of each treatment group (a)~(e)
Upper coordinate.In each FBD parts, so-called top-left coordinates refer to the coordinate of position that is top in FBD parts and most keeping left.
It is respectively FBD parts (H), (I), the top-left coordinates of (G) to represent position PPa, PPb, PPe.It is place to represent position PPc
In 6 FBD parts that reason group (c) is included, the FBD parts (D) in most higher level in the 1st rule top-left coordinates.Generation
Epitope put PPd be in 2 FBD parts that treatment group (d) is included, the FBD parts (J) in higher level in the 1st rule
Top-left coordinates.Each mutual execution sequences for the treatment of group (a)~(e) are by will represent the position of position PPa, PPb, PPc, PPd, PPe
Relation is put to be compared according to the 1st rule and determined.
Fig. 4 is the figure of the example for representing the execution sequence for determining FBD parts.By according to the 1st rule to representing position
The position relationship of PPa, PPb, PPc, PPd, PPe is compared, thus the execution sequence for the treatment of group be determined as (a), (b), (d),
(c)、(e)。
In the treatment group comprising multiple FBD parts, in the feelings that there is the FBD parts being input into certain FBD part
Under condition, from the FBD parts of the upstream in the adapter path of above-mentioned input, execution sequence is determined.By it is above-mentioned be connected
The corresponding position sequence rule of information is used as the 2nd rule.
For example, the FBD parts (D) on the representative as treatment group (c), FBD parts (C) are connected with its input side.
FBD parts (A) are also associated with the input side of FBD parts (C).Between these FBD parts, according to the 2nd rule, execution sequence
For FBD parts (A), (C), (D) order.
FBD parts (C), FBD parts (B) are connected with the input side of FBD parts (E).According to the 2nd rule, FBD parts
(C) and FBD parts (B) compared with FBD parts (E) be located at higher level.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 FBD parts (C), (B), the order of (E).
Between FBD parts (E) and FBD parts (F), in any one in the 1st rule and the 2nd rule, FBD parts
(E) it is higher level.Thus, the execution sequence of each FBD parts in treatment group (c) be FBD parts (A), (C), (D), (B),
(E), the order of (F).
Between the FBD parts (J) and FBD parts (K) for the treatment of group (d), according to the 1st rule, FBD parts (J) are higher level.
According to the 1st rule, from position sequence treatment group start to process high, if the treatment of all FBD parts in treatment group is completed, open
The treatment of beginning position order treatment group high.Thus, as shown in figure 4, determining the FBD parts (A~K) of each treatment group (a)~(e)
Execution sequence.
Fig. 5 is the flow of the detailed step for representing relevant with the extraction of the execution sequence identical position range of FBD parts
Figure.Extracted to execution sequence in the case where the configuration to specified FBD parts is changed in member information management portion 12
Produce FBD parts (step S11) of influence.In FBD programs, treatment is performed according to the execution sequence of FBD parts.FBD programs
Processing procedure be controlled by the execution sequence of FBD modules.It is so-called that the shape for influenceing is produced on execution sequence on step S11
Condition, refers to the situation that can change the control content of the processing procedure realized by performing FBD programs.
For example, it is assumed that member information management portion 12 preserves all objects depicted in the editor in program editing portion 11
(object) data.In the FBD parts that member information management portion 12 is selected from the step S1 shown in Fig. 2, the company of follow
Connect information, the FBD parts that retrieval is connected with the FBD parts.Thus, the FBD parts institute that 12 pairs, member information management portion is selected
FBD parts in the treatment group of category are determined.Also, member information management portion 12 extracts can be due to the FBD parts selected
Movement and on execution sequence produce influence FBD parts.
Herein, reference picture 6, illustrate the extraction of the FBD parts in step S11.Fig. 6 is the figure number for representing FBD programs
According to example figure.Graph data shown in Fig. 6 for example shows on the display that the computer for constituting programming tool 10 has
Show.
FBD parts 401,402,403 belong to treatment group 410.FBD parts 404,405,406,407 belong to treatment group 411.
FBD parts 408,409 belong to treatment group 412.For example, it is assumed 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 of FBD parts 406
Terminal IN is connected with the lead-out terminal OUT2 of FBD parts 404.According to the 2nd rule, in order to determine FBD parts 405 and FBD portions
The execution sequence of part 406, it is thus necessary to determine that go out the execution sequence of FBD parts 404.
If it is determined that the execution sequence of FBD parts 404, then member information management portion 12 sits to the upper left of FBD parts 405
The top-left coordinates of mark and FBD parts 406 are compared, and the execution sequence of FBD parts 405 is determined according to the 1st rule.Then,
Determine the execution sequence of FBD parts 406.
The lead-out terminal OUT of FBD parts 405 is connected with the input terminal IN1 of FBD parts 407.The output of FBD parts 406
Terminal OUT is connected with the input terminal IN2 of FBD parts 407.According to the 2nd rule, by determining FBD parts 405 and FBD portions
The execution sequence of part 406, the execution sequence of FBD parts 407 is determined.
Decision on the execution sequence inside treatment group 411, FBD parts 404 and FBD parts 407 are only by connecting letter
Breath determines execution sequence, and unrelated with positional information.On the other hand, FBD parts 405 and FBD parts 406 pass through positional information
And link information both sides and determine execution sequence.
It is right that member information management portion 12 extracts both positional information and link information in the above described manner, in step s 11
The execution sequence FBD parts that fixed output quota life influences really.Member information management portion 12 is become in the configuration to FBD parts 405
In the case of more, FBD parts 406 are extracted, the FBD parts for influenceing are produced as on execution sequence.
Then, member information management portion 12 is from each treatment group, extracts the positional information that decides treatment group unit
FBD parts (step S12).The FBD parts of the so-called positional information that decide treatment group unit, refer to what treatment group was included
FBD parts in FBD parts, to represent treatment group.The FBD parts that decide the positional information for the treatment of group unit are according to the 1st
Rule and determine.
The extraction of above-mentioned FBD parts is with the treatment group in addition to the treatment group of FBD parts has been selected in step S1
Object.In the example shown in Fig. 6, the treatment group 410,412 in addition to the treatment group 411 comprising FBD parts 405 is step
Extracting object in S12.Member information management portion 12 extracts FBD parts 401 from treatment group 410.Member information management portion
12 extract FBD parts 408 from treatment group 412.
Then, the positional information of each FBD parts that 12 pairs, member information management portion extracts in step S11 and S12 is entered
Row extracts (step S13).Member information management portion 12 extracts the top-left coordinates of the FBD parts 406 for extracting in step s 11,
As the positional information of FBD parts 406.Extract the FBD parts 401 that extract in step s 12 in member information management portion 12
Top-left coordinates, as the positional information of FBD parts 401.Extract the FBD for extracting in step s 12 in member information management portion 12
The top-left coordinates of part 408, as the positional information of FBD parts 408.
Then, even if 12 pairs, member information management portion makes the movement of FBD parts, the execution sequence selected in step sl
Identical position range is extracted (step S14).Member information management portion 12 is based on the position letter for extracting in step s 13
Breath and the positional information of FBD parts selected in step sl, even if pair moving FBD parts, execution sequence also identical
Scope is extracted.
In the example shown in Fig. 6, in the case where FBD parts 405 are moved in position range 420, everywhere
The execution sequence of each FBD parts of reason group 410,411,412 is constant before the movement of FBD parts 405 and after movement.In FBD portions
In the case that part 405 outside position range 420 to being moved, the execution of each FBD parts of each treatment group 410,411,412
Before movement of the order relative to FBD parts 405, can change after movement.
In the 1st rule, position range 420 is located at subordinate compared with the top-left coordinates of FBD parts 401, with FBD parts
406 top-left coordinates are compared to positioned at higher level.Member information management portion 12 is based on what is extracted for FBD parts 401,406,408
The positional information of each position information and FBD parts 405, extracts to position range 420.In the present embodiment, position model
420 are enclosed to be set as following ranges, i.e. even if in the Y-axis direction move pair FBD parts, execution sequence it is also identical
Scope limited.According to mode configured to each FBD parts etc., position range 420 can also be in the Y-axis direction
And execution sequence identical scope is limited in X-direction.
Member information management portion 12, according to the positional information of FBD parts, calculates execution sequence phase for example using topological sorting
Same position range.Additionally, member information management portion 12 can utilize any particular algorithms, even if obtain making FBD parts move, perform
Order also identical scope.
Fig. 2 is returned to, user makes the FBD parts specified in step sl move (step S2) by program editing portion 11.Portion
Part Information Management Department 12 obtains the positional information of the FBD parts after movement from program editing portion 11.
Compile whether detection unit 14 obtains the FBD portions for configuring be changed in step s 2 from member information management portion 12 again
The positional information of part and the position range for extracting in step slo.Compile whether detection unit 14 pairs configures what is be changed again
The positional information and execution sequence identical position range of FBD parts are compared (step S3).
Compile whether whether 14 pairs of positional informations for configuring the FBD parts being changed of detection unit are included in execution sequence again
Judged (step S4) in identical position range.In the example shown in Fig. 6, then compile whether after 14 pairs of movements of detection unit
The top-left coordinates of FBD parts 405 whether be included in position range 420 and judged.
The positional information of the FBD parts being changed in configuration is included in the situation in execution sequence identical position range
Under (step S4, Yes), then compile whether detection unit 14 be judged to need not with the configuration change of the FBD parts of step S2 accompany
Compile again.
In the example shown in Fig. 6, then compile whether detection unit 14 the FBD parts 405 specified by step S1 configuration
In the case that positional information after change is included in the position range 420 extracted by member information management portion 12, it is judged to
Need not implement to compile again.Program editing portion 11 maintains the compiled state of FBD programs according to the judgement that need not be compiled again
(step S5).
On the other hand, the positional information of the FBD parts being changed in configuration is not included in execution sequence identical position
In the range of in the case of (step S4, No), then compile whether detection unit 14 is judged to need the configuration with the FBD parts of step S2
Change is associated to be compiled again.
In the example shown in Fig. 6, then compile whether detection unit 14 the FBD parts 405 specified by step S1 configuration
In the case that positional information after change is not included in the position range 420 that is extracted by member information management portion 12, judge
To need to implement to compile again.The judgement that program editing portion 11 compiles again as needed, makes FBD programs to non-compiled state change
(step S6).Thus, programming tool 10 terminates a series for the treatment of in the configuration change of FBD parts.
Programming tool of the invention 10 in the program described using FBD language, according to the positional information of FBD parts,
Whether the execution sequence to processing changes and judges due to the configuration change of FBD parts.Even if in the configuration to FBD parts
In the case of being changed, if the execution sequence of front and rear each FBD parts of configuration change is identical, programming tool 10 is also maintained
The compiled state of FBD programs.With then always make FBD programs to non-compiled state whenever the configuration change that there is FBD parts
The situation of change is compared, and programming tool 10 can mitigate to be implemented to compile again and the caused workload of PC write-ins.
Currently, in order to be compared the treatment, it is necessary to suitable with compiling to FBD programs, on the other hand, in the present invention,
FBD parts it is mobile when, execution sequence can be determined according to the positional information of FBD parts and link information, by perform
The comparing of order, is compared to FBD programs.According to the present invention, due to suitable with compiling in the comparing for not needing FBD programs
Treatment, therefore, it is possible to the homework burden in the configuration change for mitigating FBD parts.Thus, programming tool 10 has following effects,
That is, the homework burden of the program editing caused by the configuration change of FBD parts can be mitigated.
Programming tool 10 in whether the judgement for compiling again is needed, by suitable to performing according to link information and positional information
Treatment that sequence is extracted and the treatment being compared to execution sequence, realize the comparing of program.For programming tool 10, with
Need the comparative approach realized by prior art of the conversion to machine language etc. to compare, can reduce for entering to program
Operation and treatment that row compares.Thus, programming tool 10 can make program before changing after comparing treatment high speed.User's energy
Programming tool 10 is enough utilized, easily implements the judgement for whether needing to compile again.
User needs program after for example confirming to the action of equipment by the compiling of control program and PC write-ins
Document when, the pattern to control program is adjusted sometimes.User when the pattern to control program is adjusted, Neng Gou great
Amplitude ground mitigates homework burden when being changed to the configuration of FBD parts.
Implementation method 2
Fig. 7 is the flow chart of the process step for illustrating the programming tool involved by embodiments of the present invention 2.Pair with implement
The identical part of mode 1 marks identical label, and suitably the repetitive description thereof will be omitted.
Programming tool involved by implementation method 2 has and programming tool 10 (reference picture 1) phase involved by implementation method 1
Same structure.Also, in implementation method 2, even if member information management portion 12 implements for will make specified FBD parts
Also identical position range is processed to the output that user is notified for position change, execution sequence.
For the FBD programs generated using FBD parts, in the FBD parts that user is configured from program editing portion 11, choosing
Select FBD parts (step S21) changed to configuration.User is in program editing portion 11 to making the FBD parts of configuration change
Specified.
Selection in the receiving step S21 of member information management portion 12, even if pair making the FBD portions specified by program editing portion 11
The position of part is changed, also identical position range is extracted (step S22) execution sequence of FBD parts.Step S22 and implementation
The step of mode 1 S10 (reference picture 2), is identical.The detailed content phase of the detailed content of step S22 and the step S10 shown in Fig. 3
Together.
Implement what is shown over the display for the position range for making to be extracted in step S22 in member information management portion 12
Output is processed.The execution sequence identical position range of FBD parts is shown (step S23) by programming tool 10 over the display.
Fig. 8 is the figure for representing the example shown to the execution sequence identical position range of FBD parts.Programming tool
10 on the picture that the graph data to FBD programs is shown, to the position range 420 extracted in step S22 and removes
Position range beyond this carries out color differentiation.In addition, programming tool 10 pairs extracted in step S22 position range 420,
The boundary line between position range in addition is shown.The display that programming tool 10 passes through display, by FBD parts
Execution sequence identical position range notified to user.
User makes the FBD parts specified in the step s 21 move (step S24) by program editing portion 11.User can
Observe the display of the execution sequence identical position range of FBD parts and be identified, on this basis move FBD parts.
Additionally, programming tool 10 can also be suitable by the one party in color differentiation and boundary line, the execution to FBD parts
Sequence identical position range 420 is shown.Programming tool 10 can show position range 420 by any-mode.
Compile whether detection unit 14 is from member information management portion 12 again, to configuring the FBD being changed in step s 24
The positional information of part and the position range extracted in step S22 are obtained.Compile whether detection unit 14 pairs is configured again
The positional information and execution sequence identical position range of the FBD parts being changed are compared (step S25).Compile again
Whether whether 14 pairs of positional informations for configuring the FBD parts being changed of detection unit are included in execution sequence identical position range
Inside judged (step S26).
The positional information of the FBD parts being changed in configuration is included in the situation in execution sequence identical position range
Under (step S26, Yes), then compile whether detection unit 14 be judged to need not be with the configuration change phase of the FBD parts of step S24
Companion's compiles again.Program editing portion 11 maintains the compiled state (step of FBD programs according to the judgement that need not be compiled again
S27)。
On the other hand, the positional information of the FBD parts being changed in configuration is not included in execution sequence identical position
In the range of in the case of (step S26, No), then compile whether detection unit 14 is judged to need to match somebody with somebody with the FBD parts of step S24
Change is put associated to compile again.The judgement that program editing portion 11 compiles again as needed, makes FBD programs to non-compiled state change
(step S28).
According to implementation method 2, when have selected the FBD parts changed to configuration, can clearly grasp makes user
The FBD parts need the position range for compiling again and the position range that need not be compiled again, and basis herein in the case of moving
The editor of upper implementation FBD programs.For example, user can be by selecting the configuration change that need not be compiled again as far as possible, so as to enter one
Step mitigates homework burden when being adjusted to the pattern of control program.
In order to inform the user the execution sequence identical position range of FBD parts, programming tool 10 can be using any
Means.Enable that member information management portion 12 implements at output corresponding with the means for being notified position range
Reason.In step s 24, programming tool 10 can also for example utilize display, output of alarm sound of dialog box on display etc.
The positional information of the FBD parts that means have been changed to configuration is not included in this case in execution sequence identical position range
Notified.
Whether programming tool 10 by user it can also be provided that can arbitrarily be switched identical to the execution sequence of FBD parts
Position range notified.User can be arbitrarily selected according to whether wish to grasp the position range that need not compile again
There is N/A.
Implementation method 3
Fig. 9 is the flow chart of the process step for illustrating the programming tool involved by embodiments of the present invention 3.Pair with implement
The identical part of mode 1 marks identical label, and appropriate the repetitive description thereof will be omitted.
Programming tool involved by implementation method 3 has and programming tool 10 (reference picture 1) phase involved by implementation method 1
Same structure.Also, in implementation method 3, even if FBD parts specified by 11 pairs, program editing portion are to making the FBD parts
Position change, movement of the execution sequence also beyond identical position range are limited.
For the FBD programs generated using FBD parts, in the FBD parts that user is configured from program editing portion 11, choosing
Select FBD parts (step S31) changed to configuration.User in program editing portion 11, to making the FBD parts of configuration change
Specified.
Selection in the receiving step S31 of member information management portion 12, even if pair making the FBD portions specified by program editing portion 11
The position of part is changed, also identical position range is extracted (step S32) execution sequence of FBD parts.Step S32 and implementation
The step of mode 1 S10 (reference picture 2), is identical.The detailed content phase of the detailed content of step S32 and the step S10 shown in Fig. 3
Together.User makes the FBD parts specified in step S31 move (step S33) by program editing portion 11.
If setting the execution sequence identical position range of FBD parts, program editing portion 11 is directed to the FBD portions
Part, to being set to the mobile limitation outside set position range.
Compile whether detection unit 14 is from member information management portion 12 again, to configuring the FBD being changed in step S33
The positional information of part and the position range for extracting in step s 32 are obtained.Compile whether detection unit 14 pairs is configured again
The positional information and execution sequence identical position range of the FBD parts being changed are compared (step S34).Compile again
Whether whether 14 pairs of positional informations for configuring the FBD parts being changed of detection unit are included in execution sequence identical position range
Inside judged (step S35).
The positional information of the FBD parts being changed in configuration is included in the situation in execution sequence identical position range
Under (step S35, Yes), program editing portion 11 allows the movement in step S33.Compile whether detection unit 14 is judged to be not required to again
Associated with the configuration change of the FBD parts of step S33 to compile again.Program editing portion 11 is according to sentencing for need not compiling again
It is fixed, maintain the compiled state (step S36) of FBD programs.
On the other hand, the positional information of the FBD parts being changed in configuration is not included in execution sequence identical position
In the range of in the case of (step S35, No), the movement of the FBD parts that 11 pairs, program editing portion is selected in step S31 carries out
Limitation (step S37).
Figure 10 is the figure for illustrating FBD parts to the limitation of the movement outside set position range.In Fig. 10, omit
The diagram of the treatment group 410,411,412 shown in Fig. 6 and Fig. 8.For example, program editing portion 11 is directed to FBD parts 405, to logical
The extraction of crossing step S32 and the movement outside the position range 420 that sets are limited.
Program editing portion 11 outside the figure of FBD parts 405 is by position range 420 during pulling so that FBD portions
Part 405 puts down action and cannot complete.In the above described manner, the refusal of program editing portion 11 FBD parts 405 to position range 420
Outside movement.
For example, in step S33, it is assumed that user is directed to FBD parts 405, attempts to the position outside position range 420
430 pull.Program editing portion 11 sets back FBD parts 405, makes the FBD parts 405 cannot to the action of putting down of position 430
Complete.
Program editing portion 11 limits FBD parts to the movement outside execution sequence identical position range, so that
The FBD parts that movement has been attempted in step S33 are made to stay in execution sequence identical position range.Thus, program editing portion
The 11 compiled states (step S36) for maintaining FBD programs.Additionally, programming tool 10 can also be by except causing to put down dynamic
Make any means beyond cannot completing, FBD parts are limited to the movement outside execution sequence identical position range.
According to implementation method 3, the configuration change of the FBD parts that programming tool 10 can reliably to needing to compile again is carried out
Limitation.Thus, the configuration change that user needs to compile again by exclusion, when can suppress to be adjusted the pattern of control program
Homework burden.
Programming tool 10 is it can also be provided that whether user can arbitrarily switch using the FBD parts in implementation method 3
Mobile limitation.User can be according to whether wish to needing the configuration change for compiling again to exclude, arbitrarily selection whether there is
The mobile limitation of FBD parts.
The explanation of label
10 programming tools, 11 program editing portions, 12 member information management portions, 13 execution sequence determination sections, 14 compile again
Translate whether detection unit, 401~409 FBD parts, 410,411,412 treatment groups, 420 position ranges, 430 positions, PPa,
PPb, PPc, PPd, PPe represent position.
Claims (3)
1. a kind of programming tool, it has:
Program editing portion, it is configured to functional block diagram, i.e. FBD parts, and the FBD parts to being configured connect each other
Connect, so as to enter edlin to program;
Execution sequence determination section, it is directed to edited described program, positional information and connection letter based on the FBD parts
Breath, determines the execution sequence of the FBD parts;And
Member information management portion, it is to the positional information of the FBD parts that is configured by described program editorial office and described
Link information is managed,
The programming tool is characterised by also having:
Compile again whether detection unit, its to whether need implement with described program editorial office in the FBD parts configuration become
More associated compiling again judged,
If specified in described program editorial office making the FBD parts of configuration change, the member information management portion
Even if the position for pair making the FBD parts specified by described program editorial office is changed, the execution sequence also identical position range
Extracted,
It is described to compile whether positional information of the detection unit after the configuration change of the FBD parts specified is included in by described again
In the case of in the position range that member information management portion extracts, it is judged to implement described compile again.
2. programming tool according to claim 1, it is characterised in that
Even if the member information management portion implements to be changed for pair position for making the FBD parts specified, the execution is suitable
The sequence output that also position range described in identical is notified is processed.
3. programming tool according to claim 1 and 2, it is characterised in that
Even if described program editorial office changes to the FBD parts specified to the position for making the FBD parts specified, described
Movement of the execution sequence also outside position range described in identical is limited.
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 CN105229542A (en) | 2016-01-06 |
CN105229542B true 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) |
Families Citing this family (5)
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 |
US10769049B2 (en) * | 2016-10-17 | 2020-09-08 | Mitsubishi Electric Corporation | Debugging support apparatus and debugging support 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 |
Citations (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 |
CN1219252A (en) * | 1997-03-11 | 1999-06-09 | 三菱电机株式会社 | Visual programming method and its system |
CN1591254A (en) * | 2003-08-28 | 2005-03-09 | 三菱电机株式会社 | Inspecting device and programming tool |
CN101488012A (en) * | 2009-02-13 | 2009-07-22 | 国网电力科学研究院 | Method for implementing sequential control by flow diagram |
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 |
---|---|---|---|---|
JPH09230915A (en) * | 1996-02-26 | 1997-09-05 | Matsushita Electric Works Ltd | Programming device |
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 |
JP4424198B2 (en) * | 2004-12-27 | 2010-03-03 | 三菱電機株式会社 | Function block diagram programming device |
JP2011113276A (en) * | 2009-11-26 | 2011-06-09 | Mitsubishi Electric Corp | Engineering tool |
-
2013
- 2013-04-18 JP JP2015512252A patent/JP5777842B2/en active Active
- 2013-04-18 CN CN201380075672.2A patent/CN105229542B/en active Active
- 2013-04-18 WO PCT/JP2013/061525 patent/WO2014170992A1/en active Application Filing
Patent Citations (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 |
CN1219252A (en) * | 1997-03-11 | 1999-06-09 | 三菱电机株式会社 | Visual programming method and its system |
CN1591254A (en) * | 2003-08-28 | 2005-03-09 | 三菱电机株式会社 | Inspecting device and programming tool |
CN101488012A (en) * | 2009-02-13 | 2009-07-22 | 国网电力科学研究院 | Method for implementing sequential control by flow diagram |
JP2012159868A (en) * | 2011-01-28 | 2012-08-23 | Mitsubishi Electric Corp | Programming device of programmable logic controller |
Also Published As
Publication number | Publication date |
---|---|
CN105229542A (en) | 2016-01-06 |
WO2014170992A1 (en) | 2014-10-23 |
JP5777842B2 (en) | 2015-09-09 |
JPWO2014170992A1 (en) | 2017-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105229542B (en) | Programming tool | |
Xiao et al. | A complete CAD/CAM/CNC solution for STEP-compliant manufacturing | |
CN103970087B (en) | Operation program generating apparatus | |
Rauch et al. | An advanced STEP-NC controller for intelligent machining processes | |
CN104991863B (en) | A kind of method that test case is automatically generated based on FBD test model | |
DE112010005023B4 (en) | USE OF A PROGRAM CREATION SUPPORT DEVICE FOR CREATE PROGRAMS FOR EQUIPMENT TO BE CONTROLLED | |
CN109760042A (en) | Program auxiliary device, robot system and program creating method | |
CN105137902B (en) | Simulation system | |
JPH07104701B2 (en) | CAD / CAM device | |
KR20030058445A (en) | Method for automatically generating part program for use in step-nc | |
Malik et al. | Modelling large-scale discrete-event systems using modules, aliases, and extended finite-state automata | |
CN105144004B (en) | Program map display device and programme diagram display methods | |
US20130190918A1 (en) | Numerical control programming method, numerical control programming device, program, and numerical control apparatus | |
CN105408823A (en) | Engineering tool, program editing device, and program editing system | |
ITVI20090080A1 (en) | METHOD FOR BREAKING A PART PROGRAM IN ELEMENTARY OPERATIONS. | |
JP6201574B2 (en) | Programming tool for PLC | |
CN114510900A (en) | Interactive editing method and tool for analog circuit layout wiring | |
Peng et al. | Application and evaluation of VR-based CAPP system | |
Phoon et al. | Interactive solution approach for loop layout problem using virtual reality technology | |
JPH0476606A (en) | Curve extracting device and nc programming system | |
CN107295810B (en) | Engineering tools | |
KR101405039B1 (en) | Manufacturing process automation method and system | |
CN106709217A (en) | Method for automatically detecting routing angles | |
CN105095189B (en) | A kind of method and device of one-touch strategy programming | |
CN104076804B (en) | Operation path information setting device and operation path information setting method |
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 |