CN107533322B - Program diagnosing device and program diagnosing method - Google Patents
Program diagnosing device and program diagnosing method Download PDFInfo
- Publication number
- CN107533322B CN107533322B CN201580078870.3A CN201580078870A CN107533322B CN 107533322 B CN107533322 B CN 107533322B CN 201580078870 A CN201580078870 A CN 201580078870A CN 107533322 B CN107533322 B CN 107533322B
- Authority
- CN
- China
- Prior art keywords
- order
- retrieval
- condition
- command
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 44
- 238000003745 diagnosis Methods 0.000 claims description 63
- 238000004088 simulation Methods 0.000 claims description 9
- 238000009825 accumulation Methods 0.000 claims description 5
- 238000001914 filtration Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000011144 upstream manufacturing Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000000758 substrate Substances 0.000 description 3
- 238000010408 sweeping Methods 0.000 description 3
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000003455 independent Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007873 sieving Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
- Human Computer Interaction (AREA)
Abstract
Comprising: a storage unit that stores a control program including an operation command and a conditional command, command specification data including a command name of the command, a command type, and a command processing content, and search result data that accumulates a result of a search performed on the control program; a variable setting unit that sets a target variable; an operation search unit that searches for an operation command in which the value of the target variable is likely to change, and writes the target variable name, the command name of the searched operation command, the type of the command, and the processing content into search result data; a condition search unit that searches for a condition command that determines a condition for executing the operation command, writes a variable name of an argument of the searched condition command, a command name of the condition command, a type of the command, and processing contents into search result data, and sets the argument of the condition command as a new target variable; a search determination unit that causes the action search unit and the condition search unit to execute a search again; and a list display unit that displays the contents of the search result data in a list.
Description
Technical field
The present invention relates to the diagnosis of program device, diagnosis of program method and the diagnosis of program journeys that are diagnosed to control program
Sequence.
Background technique
For the control system controlled in the field (Factory Automation) FA machinery, control program passes through
Program language is described.As program language, ladder diagram (Ladder, LD) language or structured text are exemplified
(Structured Text, ST) language (IEC 61131-3, JIS B 3503:2012).
Controlling program includes order and variable.The value of some variable in the control program feelings different from contemplated value
Under condition, in order to investigate its reason, following operation has manually been carried out.
1st operation is operations described below, that is, backtracking control program, pair there is a possibility that position that the value of target variable changes and
Condition is investigated.
2nd operation is operations described below, that is, carries out control program and emulates, is reproduced in and is investigated out by the 1st operation
Meet the situation of condition at position.
3rd operation is operations described below, that is, further backtracking control program, to the condition met through the 2nd operation reproducing
Position and condition investigated.
Hereafter, the 2nd operation and the 3rd operation are repeated, basic reason is detected out.
But manually backtracking controls program and constantly investigates this way and spend time and workload, it is thus determined that becoming
The value of the amount reason different from contemplated value is difficult.
As the relevant technologies, following trapezoid figure program diagnostic methods are recorded in following patent documents 1, that is, examining
In the case where output signal is measured as abnormal contact, the program step of trapezoid figure program forwardly is returned from the output signal,
Confirmed on one side the contacts status to 11, while be directed at the covering diagnosis the (the 0053rd that fault contact is determined
Section).
In addition, the abnormal reason position in the program for recording ladder diagram sequential manner in following patent documents 2
Find out method, with following processes: the 1st process will export the exception of instruction part as search key, from trapezoid figure program
Discovery includes the program block including the output instruction part that can be operated to the value in interior whole program blocks;2nd process, into
The logical operation in the condition commands portion for the program block that row is found during the 1st, to the logical operation knot with the condition commands portion
The state of the output instruction part of the corresponding program block of fruit is determined, whether carries out the program block to above-mentioned abnormal output
The state of instruction part, which implements operation, makes the genuine validity decision of the state;3rd process, program block is legal during the 2nd
In the case of, searching from the condition commands portion of the program block can be to whole relay that the state of the output instruction part is operated
Device;The relay found during the 3rd is repeated the mistake of the 1st, the 2nd and the 3rd as next search key by the 4th process
Journey;And the 5th process exports the result of the purport in the case where not finding corresponding program block during the 1st, and
And in the case where not finding corresponding relay during the 3rd, export using the relay in the condition commands portion as different
The result (page 4 to page 5) of normal reason.
In addition, recording following timing diagram monitors in following patent documents 3, obtained by timing diagram acquisition unit dynamic
The timing diagram for making state selects the desired symbol in action timing diagram by selector, is thus connected line retrieval portion
The connecting line of upstream relevant to the symbol is retrieved with searching for by following the clues, the output of action state can be readily derived
Whether there is or not, and even if action state changes, the retrieval that also can successively carry out faulty component by reading in the data (illustrates digest
It wants).
Patent document 1: Japanese Unexamined Patent Publication 2001-67122 bulletin
Patent document 2: Japanese Unexamined Patent Publication 3-108005 bulletin
Patent document 3: Japanese Unexamined Patent Publication 9-305207 bulletin
Summary of the invention
But in the technology documented by patent document 1 to 3, the contact for the reason of user understand that as problem, but
It can not know the problem of from contact the reason of becoming to the order between the contact that problem occurs.Therefore, user is difficult to grasp and ask
The whole overview of topic.
The present invention be exactly in view of the foregoing and propose, its object is to obtain one kind be able to use family be easy to grasp ask
The diagnosis of program device of the whole overview of topic.
It in order to solve above-mentioned problem and achieves the goal, diagnosis of program device of the invention has storage unit, the storage unit
Control program, order specification data and search result data are stored, which includes to change the value of independent variable
Action command and to the condition commands that are determined of condition for executing action command, which includes that can control
The classification of the command name of the order described in processing procedure sequence, the process content of order and action command or condition commands, the retrieval
The result for the retrieval that result data accumulation is executed for control program.The present invention includes specification of variables portion, to target variable into
Row setting;Action retrieval portion, the action command for being possible to variation to the value of target variable from control program are retrieved, will
The action command and order specification data retrieved is compareed, and the variable name of target variable and the movement retrieved are ordered
The command name of order, the classification of order and process content are written to search result data;Conditional information retrieval portion is examined from control program
The condition commands that rope determines the condition for the action command that execution is retrieved by action retrieval portion order the condition retrieved
It enables and order specification data is compareed, by the variable name of the independent variable of the condition commands retrieved and the condition retrieved
The command name of order, the classification of order and process content are written to search result data, by becoming certainly for the condition commands retrieved
Amount is set as new target variable;Determination unit is retrieved, action retrieval portion and conditional information retrieval portion is made to execute retrieval again;And one
It lookes at display unit, guide look is carried out to the content of search result data and is shown.
The effect of invention
Diagnosis of program device according to the present invention has following effects, that is, is able to use family and is easy to grasp the whole of problem
Body overview.
Detailed description of the invention
Fig. 1 is the figure for indicating the structure of control system involved in embodiment 1.
Fig. 2 is the figure for indicating the hardware configuration of control device involved in embodiment 1.
Fig. 3 is the figure for indicating the hardware configuration of engineering tools involved in embodiment 1.
Fig. 4 is the figure for indicating the functional block of engineering tools involved in embodiment 1.
Fig. 5 is the figure for indicating the order specification data of engineering tools involved in embodiment 1.
Fig. 6 is the figure for indicating the retrieval number data of engineering tools involved in embodiment 1.
Fig. 7 is the figure for indicating the range of search data of engineering tools involved in embodiment 1.
Fig. 8 is the figure for indicating the search result data of engineering tools involved in embodiment 1.
Fig. 9 is the figure for indicating the project data creation picture of engineering tools involved in embodiment 1.
Figure 10 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
Figure 11 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
Figure 12 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
Figure 13 is the figure for indicating the diagnosis of program picture of engineering tools involved in embodiment 1.
Figure 14 is the figure being illustrated to the retrieval process of engineering tools involved in embodiment 1.
Figure 15 is the figure being illustrated to the retrieval process of engineering tools involved in embodiment 1.
Figure 16 is the figure being illustrated to the retrieval process of engineering tools involved in embodiment 1.
Figure 17 is the figure for indicating the diagnosis of program picture of engineering tools involved in embodiment 1.
Figure 18 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
Figure 19 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
Specific embodiment
In the following, attached drawing is based on, to diagnosis of program device, diagnosis of program method involved in embodiments of the present invention and journey
Sequence diagnostic program is described in detail.In addition, the present invention is not limited to present embodiments.
Embodiment 1.
Fig. 1 is the figure for indicating the structure of control system involved in embodiments of the present invention 1.Control system 1 includes: work
Journey design tool 2, control device 3, machinery 4 and 5.
The creation of engineering tools 2 includes the project data including the control program executed by control device 3, is sent to control
Device 3 processed.Control device 3 passes through the control program that performance of work data are included, to control machinery 4 and 5.As
Control device 3 exemplifies programmable controller (JIS B 3502:2011, programmable controllers (PLC)).
Fig. 2 is the figure for indicating the hardware configuration of control device involved in embodiment 1.Control device 3 includes: main substrate
3a, submount 3b and 3c.
Main substrate 3a includes: CPU (Central Processing Unit) 3a1, RAM (Random Access
Memory) i.e. memory 3a2, communication interface 3a3, bus interface 3a4, storage unit 3a5.CPU 3a1, memory 3a2, communication
Interface 3a3, bus interface 3a4 and storage unit 3a5 are via internal bus B1 connection.
Communication interface 3a3 is communicated with engineering tools 2.
Bus interface 3a4 is the bus bridge circuit for connecting internal bus B1 and expansion bus B2.Submount 3b and
3c is connect via expansion bus B2 with main substrate 3a.Submount 3b is connect with machinery 4.Submount 3c is connect with machinery 5.
Storage unit 3a5 stores the project data 24a received from engineering tools 2.As storage unit 3a5,
Exemplify SSD (Solid State Drive) or HDD (Hard Disk Drive).
Project data 24a includes: control program 24a1, it includes the action command for changing the value of independent variable and to execution
The condition commands that the condition of action command is determined;Control parameter 24a2, it is referenced when executing control program 24a1;
Device memory 24a3 provides the working region in memory 3a2;And link information 24a4, to submount
The connection relationship and submount 3c of 3b and machinery 4 and the connection relationship of machinery 5 are provided.
Control program 24a1 includes: MAIN (master) program 24a1a and SUB (son) program 24a1b.In the embodiment 1, it controls
Processing procedure sequence 24a1 is the program described by trapezoid figure language, and but not limited to this.Remember as to control program 24a1
Other language stated, exemplify structured text language.
In memory 3a2, it is ensured that carry out defined multiple equipment by device memory 24a3.In the embodiment 1,
Multiple equipment in memory 3a2 is respectively corresponding with the control variable of program 24a1.
Fig. 3 is the figure for indicating the hardware configuration of engineering tools involved in embodiment 1.Involved by embodiment 1
Engineering tools 2 can be realized using computer.Computer includes: CPU 21, RAM 22, ROM (Read Only
Memory) 23, storage unit 24, input unit 25, display unit 26, communication interface 27.CPU 21, RAM 22, ROM 23, storage unit
24, input unit 25, display unit 26 and communication interface 27 are connected via bus B.
CPU 21 on one side uses RAM 22 as working region, executes store in ROM 23 and storage unit 24 on one side
Program.As the program stored in ROM 23, BIOS (Basic Input/Output System) or UEFI is exemplified
(Unified Extensible Firmware Interface).As the program stored in storage unit 24, operation is exemplified
System program and engineering tools program.As storage unit 24, SSD or HDD is exemplified.
Input unit 25 receives operation input from the user.As input unit 25, keyboard or mouse are exemplified.Display unit 26
Text and image are shown.As display unit 26, liquid crystal display device is exemplified.Communication interface 27 and control device 3 into
Row communication.
Fig. 4 is the figure for indicating the functional block of engineering tools involved in embodiment 1.Storage unit 24 is to project data
24a is stored.
Project data 24a includes: control program 24a1, it includes the action command for changing the value of independent variable and to execution
The condition commands that the condition of action command is determined;Control parameter 24a2, it is referenced when executing control program 24a1;
Device memory 24a3 provides the working region in the memory 3a2 of control device 3;And link information 24a4,
It closes the connection of the submount 3c and machinery 5 of the submount 3b of control device 3 and the connection relationship of machinery 4 and control device 3
System is provided.
24 couples of order specification data 24b of storage unit are stored, and order specification data 24b includes: in control program
The command name for the complete order that can be described in 24a1;The classification of action command or condition commands;And the process content of order.
In the embodiment 1, control program 24a1 is described by trapezoid figure language.Therefore, order specification number
Include according to 24b: the command name of the complete order of trapezoid figure language;The classification of action command or condition commands;And the place of order
Manage content.
Fig. 5 is the figure for indicating the order specification data of engineering tools involved in embodiment 1.Order specification data
24b includes: the project 24b1 of command name, the project 24b2 of order classification, the project 24b3 of comment and the project of remarks
24b4。
The row 51 of order specification data 24b includes information relevant to " LD " (loading) order.Be expert at 51 command name
Describing in project has command name " LD ".Be expert at 51 order classification project in, since LD order is condition commands, describe
There is order classification " condition ".
Be expert at 51 comment project in, describe have " LD " order movement explanation." LD " order be to the 1st from
Whether variable is order that ON (unlatching) is determined, thus be expert at 51 comment project in, description is described text
" #1 ON ".
Be expert at 51 remarks project in, describe have " LD " order the 1st independent variable data type.The of " LD " order
1 independent variable be bit-type, therefore be expert at 51 remarks project in, description have remarks " bit variable ".
The row 52 of order specification data 24b includes information relevant to " OUT " (output) order.Be expert at 52 command name
In project, description has command name " OUT ".Be expert at 52 order classification project in, due to OUT order be action command,
Description has order classification " movement ".
Be expert at 52 comment project in, describe have " OUT " order movement explanation." OUT " order is by the 1st
Independent variable is set as the order of ON (unlatching), thus be expert at 52 comment project in, description is described text and " is set as #1
ON”。
Be expert at 52 remarks project in, describe have " OUT " order the 1st independent variable data type." OUT " order
1st independent variable be bit-type, therefore be expert at 52 remarks project in, description have remarks " bit variable ".
The row 53 of order specification data 24b includes information relevant to "=" (being equal to) order.Be expert at 53 command name
In project, description has command name "=".Be expert at 53 order classification project in, due to "=" order be condition commands,
Description has order classification " condition ".
Be expert at 53 comment project in, describe have "=" order movement explanation."=" order be to the 1st from
Variable and the whether equal order determined of the 2nd independent variable, thus be expert at 53 comment project in, description is described
Text " #1 is equal with #2 ".
Be expert at 53 remarks project in, describe have "=" order the 1st independent variable and the 2nd independent variable data type.
"=" order the 1st independent variable and the 2nd independent variable be font, therefore be expert at 53 remarks project in, description have remarks " word become
Amount ".
The row 54 of order specification data 24b includes information relevant to " MOV " (movement) order.Be expert at 54 command name
In project, description has command name " MOV ".Be expert at 54 order classification project in, due to " MOV " order be action command, because
This description has order classification " movement ".
Be expert at 54 comment project in, describe have " MOV " order movement explanation." MOV " order is by the 1st
The value of independent variable is forwarded to the order of the 2nd independent variable, thus be expert at 54 comment project in, description be described text
" #1 is forwarded to #2 ".
Be expert at 54 remarks project in, describe have " MOV " order the 1st independent variable and the 2nd independent variable data type.
" MOV " order the 1st independent variable and the 2nd independent variable be font, therefore be expert at 54 remarks project in, description have remarks " word
Variable ".
In fig. 5, it is shown that 4 rows 51,52,53 and 54 relevant to 4 orders.But in fact, order specification data
24b includes multiple rows relevant to the complete order described by trapezoid figure language.
Referring again to Fig. 4,24 couples of retrieval termination condition data 24c of storage unit are stored, the retrieval termination condition data
24c describes the termination condition having for the control program 24a1 retrieval executed.Retrieval termination condition data 24c includes: retrieval time
Number data 24c1 and range of search data 24c2.
Fig. 6 is the figure for indicating the retrieval number data of engineering tools involved in embodiment 1.In retrieval number number
According in 24c1, description has " 10 ".The retrieval executed as a result, for control program 24a1, at most executing terminates until 10 times.
Fig. 7 is the figure for indicating the range of search data of engineering tools involved in embodiment 1.Range of search data
24c2 includes: the project of range starting step number and the project of range end step number.In the project that range originates step number,
Description has " 1 ".In the project of range end step number, description has " 100 ".The inspection executed as a result, for control program 24a1
Rope is limited to the range until from step number 1 to step number 100, terminates if deviateing the range.
Referring again to Fig. 4, storage unit 24 stores search result data 24d, which accumulates needle
To the result of the control program 24a1 retrieval executed.
Fig. 8 is the figure for indicating the search result data of engineering tools involved in embodiment 1.Search result data
24d includes: the project of the project 24d1 of variable name, the project 24d2 of command name, the project 24d3 of order classification, comment
The project 24d6 of 24d4, the project 24d5 of program name and step number.
About the row 61,62,63 and 64 of search result data 24d, in the explanation of the movement of engineering tools 2 into
Row explanation.
Referring again to Fig. 4,24 couples of execution data 24e of storage unit are stored, and execution data 24e accumulation is in control program
Value under the predetermined timing (timing) of whole variable used in 24a1.That is, executing data 24e under multiple and different timings
The values of whole variables accumulated.
About search result data 24d, it is illustrated in the explanation of the movement of engineering tools 2.
CPU 21 executes the engineering tools program stored in storage unit 24.Hereby it is achieved that being created comprising project data
Build the engineering tools portion 21a of portion 21a1 and diagnosis of program portion 21a2.
Project data establishment portion 21a1 creates project data 24a, is sent to control device 3.
Fig. 9 is the figure for indicating the project data creation picture of engineering tools involved in embodiment 1.Project data
Establishment portion 21a1 shows that project data creation picture 30 in display unit 26.
Project data, which creates picture 30, has control program creation column 30a.In Fig. 9, in control program creation column 30a
It is interior, it is created that MAIN program 24a1a.
MAIN program 24a1a includes: row 41,42,43,44,45 and 46.
Row 41 includes: condition commands 41a and action command 41b.Condition commands 41a is " LD M0 "." M0 " therein is to become
Amount.In the embodiment 1, the combination of English alphabet " M " and numerical value indicates the variable of bit-type.
Action command 41b is " INC D0 "." D0 " therein is variable.In the embodiment 1, English alphabet " D " sum number
The combination of value indicates the variable of font." INC " (incremental) order is the order for making the 1st independent variable increase by 1.That is, action command 41b
It is the order for making variable " D0 " to increase by 1.
Row 42 includes: condition commands 42a and action command 42b.Condition commands 42a is " LD M100 "." M100 " therein
It is variable.
Action command 42b is " MOV D0D10 "." D10 " therein is variable." MOV " order is by the value of the 1st independent variable
It is forwarded to the order of the 2nd independent variable.That is, action command 42b is the order that the value of variable " D0 " is forwarded to variable " D10 ".
Row 43 includes: condition commands 43a and action command 43b.Condition commands 43a is " LD M200 "." M200 " therein
It is variable.
Action command 43b is " OUT Y0 "." Y0 " therein is variable.In the embodiment 1, English alphabet " Y " sum number
The combination of value indicates the variable of bit-type.That is, action command 43b is the order that variable " Y0 " is set as to ON.
Row 44 includes: condition commands 44a and action command 44b.Condition commands 44a is "=D10 K10000 ".It is therein
" K10000 " is constant " 10000 ".That is, condition commands 44a be it is whether equal to the value of variable " D10 " and constant " 10000 " into
The order that row determines.
Action command 44b is " MOV K15 D20 "." K15 " therein is constant " 15 ", and " D20 " is variable.That is, movement
Ordering 44b is the order that constant " 15 " is forwarded to variable " D20 ".
Row 45 includes: condition commands 45a and action command 45b.Condition commands 45a is " LD M10 ", " LD M11 ", " LD
The OR (logic or) of M12 "." M10 " therein, " M11 " and " M12 " are variables.That is, condition commands 45a is to variable " M10 "
Value, the value of variable " M11 ", the logic of the value of variable " M12 " or the order determined.
Action command 45b is " MOV D20 D30 "." D30 " therein is variable.That is, action command 45b is by variable
The value of " D20 " is forwarded to the order of variable " D30 ".
Row 46 is to terminate order.
Referring again to Fig. 4, diagnosis of program portion 21a2 includes the specification of variables portion 21a2a set to target variable.Become
Amount configuration part 21a2a can receive the variable that input unit 25 is input to by user, be set as target variable.In addition, specification of variables
Portion 21a2a can receive the variable for the problem that has occurred from control device 3, be set as target variable.
Diagnosis of program portion 21a2 includes action retrieval portion 21a2b, and the action retrieval portion 21a2b is from control program 24a1
The action command for being possible to variation to the value of target variable is retrieved, by the action command retrieved and order specification data
24b is compareed, and the command name of target variable name and the action command retrieved, the classification of order and process content are write
Enter to search result data 24d.
Diagnosis of program portion 21a2 includes conditional information retrieval portion 21a2c, and the conditional information retrieval portion 21a2c is from control program 24a1
The condition commands determined by the condition of the action retrieval portion 21a2b action command retrieved execution are retrieved, will be retrieved
Condition commands and order specification data 24b compareed, by the variable name of the independent variable of the condition commands retrieved and
The command name of the condition commands retrieved, the classification of order and process content are written to search result data 24d, will retrieve
The independents variable of condition commands be set as new target variable.
Diagnosis of program portion 21a2 includes that retrieval determination unit 21a2d, retrieval determination unit 21a2d make action retrieval portion 21a2b
And conditional information retrieval portion 21a2c executes retrieval again.
Diagnosis of program portion 21a2 includes guide look display unit 21a2e, and the guide look display unit 21a2e is to search result data 24d
Content carry out guide look and show.
Diagnosis of program portion 21a2 includes scanner section 21a2f, and scanner section 21a2f is by making a reservation for timing, to control device 3
Memory 3a2 be scanned, thus obtain control program 24a1 used in whole variable value, write-in to execution number
According to 24e.
For predetermined timing, illustrated below.
1st is every by the regular hour.As the regular hour, exemplify 1 second.Executing data 24e as a result,
In, the value of every whole variables by the regular hour is accumulated.
2nd when being the notice for receiving the problem of having occurred this purport from control device 3.Executing data 24e as a result,
In, the value of whole variables when problem has occurred in control device 3 is accumulated.
3rd is that user will execute the instruction for scanning this purport when being input to input unit 25.Executing data as a result,
In 24e, the value of whole variables under the desired timing of user is accumulated.
Figure 10 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
Scanner section 21a2f executes processing shown in Fig. 10 in predetermined timing.
Scanner section 21a2f in step slo, is scanned by the memory 3a2 to control device 3, to obtain
Control the value of whole variable used in program 24a1.
In step s 12, the value of whole variables acquired in step slo is written to execution number by scanner section 21a2f
According to 24e, end processing.
It include simulation part 21a2g referring again to Fig. 4, diagnosis of program portion 21a2, simulation part 21a2g is by emulating
Program 24a1 is controlled, to calculate the value of the whole variable used in control program 24a1, write-in to execution data
24e。
As a result, execute data 24e in, even if do not make control device 3 act, also to control program 24a1 used in
The value of whole variables is accumulated.It therefore, also can be to control journey even if diagnosis of program portion 21a2 acts control device 3
The problem of sequence 24a1, is diagnosed.
Figure 11 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
If the instruction for emulate this purport is input to input unit 25 by user, simulation part 21a2g is executed
It is handled shown in Figure 11.
Simulation part 21a2g is in step S20, by emulating control program 24a1, thus in control program 24a1
Used in the value of whole variable calculated.
The value of whole variable calculated in step S20 is written to execution number in step S22 by simulation part 21a2g
According to 24e, end processing.
Figure 12 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
Specification of variables portion 21a2a in the step s 100, sets target variable.
Figure 13 is the figure for indicating the diagnosis of program picture of engineering tools involved in embodiment 1.Specification of variables portion
21a2a shows that diagnosis of program picture 70 in display unit 26.
Diagnosis of program picture 70 has specification of variables column 71.In Figure 13, in specification of variables column 71, variable " D20 " quilt
It is set as target variable 72.
Specification of variables portion 21a2a can receive the variable that user is input to input unit 25, be set as target variable 72.Separately
Outside, specification of variables portion 21a2a can receive the variable for the problem that has occurred from control device 3, be set as target variable 72.
Referring again to Figure 12, action retrieval portion 21a2b in step s 102, in independent variable from control program 24a1
Description has the action command of target variable 72 to be retrieved.
Action retrieval portion 21a2b by by control program 24a1 in order and order specification data 24b compare, from
And the order classification of the order is obtained, thus, it is possible to retrieve from control program 24a1 to action command.
It is also possible to many places by the search result that action retrieval portion 21a2b is obtained.
Figure 14 is the figure being illustrated to the retrieval process of engineering tools involved in embodiment 1.
In Figure 14, it is the value of each variable under some timing in the value that the lower layer of each variable describes, is that accumulation is being held
Value in row data 24e.
It will be when receiving the notice of the problem of having occurred this purport from control device 3 if diagnosis of program portion 21a2 is set as
The value of the whole variables scanned, then can be based on the whole under the timing that problem has occurred in control device 3 for retrieving
The value of variable carries out the diagnosis of control program 24a1.Diagnosis of program portion 21a2 can have occurred in control device 3 as a result,
The problem of control program 24a1 under the timing of problem, is diagnosed.
If diagnosis of program portion 21a2 be set as by when the notice for receiving the problem of having occurred this purport from control device 3 it
The value of preceding whole variables, then can be based on complete under the timing before when problem has occurred in control device 3 for retrieving
The value of portion's variable carries out the diagnosis of control program 24a1.Diagnosis of program portion 21a2 can occur in control device 3 as a result,
The problem of control program 24a1 under timing before when problem, is diagnosed.
The variable " D20 " for being set to target variable 72 is described in the 2nd independent variable 44b1 of action command 44b.
Action retrieval portion 21a2b in step s 102, finds out and is set to the variable " D20 " of target variable 72 and is described in
The 2nd independent variable 44b1 of action command 44b.Then, action retrieval portion 21a2b is by by the command name " MOV " of action command 44b
It is compareed with order specification data 24b, to obtain the order classification " movement " of command name " MOV ".Therefore, action retrieval portion
21a2b can retrieve action command 44b from control program 24a1.
In addition it is also possible to replace the mode for compareing command name and order specification data 24b, by action retrieval portion
21a2b graphically parses control program 24a1, to obtain action command.
Specifically, action retrieval portion 21a2b is also possible to the row 41,42,43 in control program 24a1 as shown in Figure 9
And in the case that 44 in this way, description there are 2 orders in 1 row, the downstream side that the right side in 2 orders controls program 24a1 is obtained
Order and as action command.
In addition, action retrieval portion 21a2b is also possible to the row 45 in control program 24a1 as shown in Figure 9 in this way, 1 row
In the case that middle description has more than two order, firstly, finding out the point 45a1 for being connected with multiple orders by OR wiring.Then, it moves
Make search part 21a2b obtain point 45a1 right side, that is, control program 24a1 downstream side order 45b and as action command.
Action retrieval portion 21a2b is without compareing command name and order specification data 24b as a result, it will be able to from control
Action command is retrieved in processing procedure sequence 24a1.
Referring again to Figure 12, action retrieval portion 21a2b is in step S104, in the movement retrieved by step S102
In order, the action command for being possible to variation to the value of target variable is retrieved.
The variable " D20 " for being set to target variable 72 is described in the 2nd independent variable 44b1 of action command 44b.Movement life
The command name " MOV " for enabling 44b is the order that the value of the 1st independent variable is forwarded to the 2nd independent variable.
Therefore, action retrieval portion 21a2b is in step S104, can be from control program 24a1 to being set to target
The action command 44b that the value of the variable " D20 " of variable 72 is possible to variation is retrieved.
Action retrieval portion 21a2b in step s 106, by the action command retrieved in step S104 and order specification
Data 24b is compareed, and the information based on the search result in step S104 is written to search result data 24d.
In step s 106, row 61 is created referring again to Fig. 8, action retrieval portion 21a2b.Then, action retrieval
Portion 21a2b by variable name " D20 ", command name " MOV " and order classification " movement " be written to row 61 project 24d1,24d2 and
24d3。
In addition, action retrieval portion 21a2b is by the action command 44b retrieved in step S104 and order specification data
The project 24b3 of the comment of 24b is compareed.The 1st independent variable of action command 44b is constant " K15 ", the 2nd independent variable
It is variable " D20 ".Therefore, action retrieval portion 21a2b creates comment " K15 is forwarded to D20 ", write-in to row 61
Project 24d4.
In addition, the program name " MAIN " that action retrieval portion 21a2b will include action command 44b is written to the project of row 61
24d5。
In addition, action command 44b is the step 11 of MAIN program 24a1a.Therefore, action retrieval portion 21a2b numbers step
" 11 " are written to the project 24d6 of row 61.
Referring again to Figure 12, conditional information retrieval portion 21a2c is in step S108, and retrieval is to execution from control program 24a1
The condition commands determined by the condition of the action retrieval portion 21a2b action command retrieved.
Conditional information retrieval portion 21a2c by by control program 24a1 in order and order specification data 24b compare, from
And the order classification of the order is obtained, thus, it is possible to retrieve from control program 24a1 to condition commands.
It is also possible to many places by the search result that conditional information retrieval portion 21a2c is obtained.
In addition it is also possible to replace the mode for compareing command name and order specification data 24b, by conditional information retrieval portion
21a2c graphically parses control program 24a1, to obtain condition commands.
Specifically, conditional information retrieval portion 21a2c is also possible to the row 41,42,43 in control program 24a1 as shown in Figure 9
And in the case that 44 in this way, description there are 2 orders in 1 row, the upstream side that the left side in 2 orders controls program 24a1 is obtained
Order and as condition commands.
In addition, conditional information retrieval portion 21a2c is also possible to the row 45 in control program 24a1 as shown in Figure 9 in this way, 1 row
In the case that middle description has more than two order, firstly, finding out the point 45a1 for being connected with multiple orders by OR wiring.Then, item
Part search part 21a2c obtain point 45a1 left side be control program 24a1 upstream side order 45a and as condition commands.
Conditional information retrieval portion 21a2c is without compareing command name and order specification data 24b as a result, it will be able to from control
Condition commands are retrieved in processing procedure sequence 24a1.
Referring again to Figure 14, left side, the i.e. upstream side of MAIN program 24a1a, description have in the figure of action command 44b
Condition commands 44a.
Therefore, conditional information retrieval portion 21a2c is in step S108, can from control program 24a1 retrieval to executing movement
The condition commands 44a that the condition of order 44b is determined.
Referring again to Figure 12, conditional information retrieval portion 21a2c in step s 110, the condition that will be retrieved in step S108
Order and order specification data 24b are compareed, and the information based on the search result in step S108 is written to search result
Data 24d.
In step s 110, row 62 is created referring again to Fig. 8, conditional information retrieval portion 21a2c.Then, conditional information retrieval
Portion 21a2c by variable name " D10 ", command name "=" and order classification " condition " be written to row 62 project 24d1,24d2 and
24d3。
In addition, conditional information retrieval portion 21a2c is by the condition commands 44a retrieved in step S108 and order specification data
The project 24b3 of the comment of 24b is compareed.The 1st independent variable of condition commands 44a is variable " D10 ", the 2nd independent variable
It is constant " K10000 ".Therefore, conditional information retrieval portion 21a2c creates comment " D10 is equal with K10000 ", and write-in is extremely
The project 24d4 of row 62.
In addition, the program name " MAIN " that conditional information retrieval portion 21a2c will include condition commands 44a is written to the project of row 62
24d5。
In addition, condition commands 44a is the step 8 of MAIN program 24a1a.Therefore, conditional information retrieval portion 21a2c numbers step
" 8 " are written to the project 24d6 of row 62.
Referring again to Figure 12, conditional information retrieval portion 21a2c is in step S112, the condition that will retrieve in step s 110
The independent variable of order is set as new target variable 72.
New target variable 72 by conditional information retrieval portion 21a2c setting may be multiple.In addition, conditional information retrieval portion
21a2c does not set new target variable 72 in the case where can not further recall control program 24a1.
Figure 15 is the figure being illustrated to the retrieval process of engineering tools involved in embodiment 1.
As shown in figure 15, condition commands 44a includes: the 1st independent variable 44a1 " D10 " and the 2nd independent variable " K10000 ".But
It is that it is not variable that the 2nd independent variable " K10000 ", which is constant,.Therefore, conditional information retrieval portion 21a2c is in step S112, certainly by the 1st
Variable 44a1 " D10 " is set as new target variable 72.
Referring again to Figure 12, determination unit 21a2d is retrieved in step S114, to whether meeting retrieval termination condition and sentence
It is fixed.For retrieving termination condition, illustrated below.
1st is the case where not setting new target variable 72 in step S112.That is, can not further recall control
The case where program 24a1.
2nd is the slave step S102 to step S112 executed by action retrieval portion 21a2b and conditional information retrieval portion 21a2c
Until retrieval number of repetition reach retrieve number data 24c1 in describe number the case where.
Diagnosis of program portion 21a2 has following effects as a result, that is, being able to suppress retrieval does not terminate this case and ensure to examine
Rope stops, that is, ensures the stopping retrieved.Even if in addition, sweeping situation of the diagnosis of program portion 21a2 in control program 24a1
Under, range of search can be also defined, therefore there are following effects, that is, the problem of being able to suppress to control program 24a1
The reason of working hour for being determined.
3rd is the new target variable 72 set out in step S112 by conditional information retrieval portion 21a2c, in retrieving
Situation outside the range of the step number described in range data 24c2.
Diagnosis of program portion 21a2 has effect as the stopping for ensuring to retrieve as a result,.In addition, diagnosis of program portion 21a2
Even if can also be defined to range of search in the sweeping situation of control program 24a1, therefore there are following effects,
That is, the working hour that the reason of the problem of being able to suppress to control program 24a1 is determined.
Retrieval determination unit 21a2d can determine the OR (logic or) of multiple retrieval termination conditions.
Determination unit 21a2d is retrieved in step S114, if it is decided that retrieve termination condition (No) without meeting, then make to locate
Reason enters to step S102.
Figure 16 is the figure being illustrated to the retrieval process of engineering tools involved in embodiment 1.
As shown in figure 16, action command 42b includes: the 1st independent variable " D0 " and the 2nd independent variable 42b1 " D10 ".
Action retrieval portion 21a2b finds out the variable for being set to target variable 72 in step S102 and step S104
" D10 " is described in the 2nd independent variable 42b1 of action command 42b.Then, action retrieval portion 21a2b passes through action command 42b's
Command name " MOV " and order specification data 24b are compareed, to obtain the order classification of command name " MOV " " movement ".Cause
This, action retrieval portion 21a2b can retrieve action command 42b from control program 24a1.
In step s 106, row 63 is created referring again to Fig. 8, action retrieval portion 21a2b.Then, action retrieval
Portion 21a2b by variable name " D0 ", command name " MOV " and order classification " movement " be written to row 63 project 24d1,24d2 and
24d3。
In addition, action retrieval portion 21a2b is by the action command 42b retrieved in step S104 and order specification data
The project 24b3 of the comment of 24b is compareed.The 1st independent variable of action command 42b is variable " D0 ", and the 2nd independent variable is
Variable " D10 ".Therefore, action retrieval portion 21a2b creates comment " D0 is forwarded to D10 ", write-in to row 63
Project 24d4.
In addition, the program name " MAIN " that action retrieval portion 21a2b will include action command 42b is written to the project of row 63
24d5。
In addition, action command 42b is the step 4 of MAIN program 24a1a.Therefore, action retrieval portion 21a2b numbers step
" 4 " are written to the project 24d6 of row 63.
Left side is the upstream side of MAIN program 24a1a in the figure of action command 42b, describes the order 42a that has ready conditions.
Therefore, conditional information retrieval portion 21a2c is in step S108, can from control program 24a1 retrieval to executing movement
The condition commands 42a that the condition of order 42b is determined.
Conditional information retrieval portion 21a2c in step s 110, by the condition commands retrieved in step S108 and order specification
Data 24b is compareed, and the information based on the search result in step S108 is written to search result data 24d.
In step s 110, row 64 is created referring again to Fig. 8, conditional information retrieval portion 21a2c.Then, conditional information retrieval
Portion 21a2c by variable name " M100 ", command name " LD " and order classification " condition " be written to row 64 project 24d1,24d2 and
24d3。
In addition, conditional information retrieval portion 21a2c is by the condition commands 42a retrieved in step S108 and order specification data
The project 24b3 of the comment of 24b is compareed.The 1st independent variable of condition commands 42a is variable " M100 ".Therefore, condition
Search part 21a2c creates comment " M100 ON ", is written to the project 24d4 of row 64.
In addition, the program name " MAIN " that conditional information retrieval portion 21a2c will include condition commands 42a is written to the project of row 64
24d5。
In addition, condition commands 42a is the step 3 of MAIN program 24a1a.Therefore, conditional information retrieval portion 21a2c numbers step
" 3 " are written to the project 24d6 of row 64.
Condition commands 42a includes the 1st independent variable " M100 ".Therefore, conditional information retrieval portion 21a2c is in step S112, by
1 independent variable " M100 " is set as new target variable 72.
Referring again to Figure 12, determination unit 21a2d is retrieved in step S114, if it is decided that meet retrieval termination condition
(Yes), then processing is made to enter to step S116.
Referring again to Figure 16, the action command comprising target variable 72 " M100 " is not present in control program 24a1.
Therefore, retrieval determination unit 21a2d is judged to meeting in step S114 retrieval termination condition (Yes), make to handle into
Enter to step S116.
Referring again to Figure 12, display unit 21a2e is had a guide look of in step S116, by the content of search result data 24d aobvious
Show that portion 26 carries out guide look and shows.
Figure 17 is the figure for indicating the diagnosis of program picture of engineering tools involved in embodiment 1.Have a guide look of display unit
The content of search result data 24d is carried out guide look in the guide look display field 80 of diagnosis of program picture 70 and shown by 21a2e.
Guide look display field 80 includes project 82, the project of variable name 83, command name of the project 81 of program name, step number
Project 84, the project 86 of the project 85 of order classification and comment.
Guide look display unit 21a2e is expert in 91,92,93 and 94, respectively to the row 61,62,63 of search result data 24d and
64 content is shown.
As described above, diagnosis of program portion 21a2 can be not only by the order as questions and prospect shown in 94 of being expert at
Content and the content for the order that problem has occurred shown in 91 of being expert at, also by between be expert at shown in 93 and row 92 at
For questions and prospect order and problem has occurred order between the content of order carry out guide look together and show.
Diagnosis of program portion 21a2 has following effects as a result, that is, user is made to be easy to grasp the order for the reason of becoming problem
And the whole overview between the order of problem has occurred.
Figure 18 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
In step s 200, if selected row 91,92,93 or 94,21a2e pairs of display unit and selection are had a guide look of
Corresponding order 44b, 44a, 42b or 42a of step number in the project 82a of row out is shown.
Diagnosis of program portion 21a2 has following effects as a result, that is, user can immediately carry out desired order true
Recognize.
In addition, guide look display field 80 includes the filter condition input field 81a of the filter condition for inputting program name, uses
The filter condition of filter condition input field 82a in the filter condition of input step number, the filter condition for input variable name
Input field 83a, the filter condition input field 84a of filter condition for inputting command name, the filtering for inputting order classification
The filter condition input field 86a of the filter condition input field 85a of condition, filter condition for inputting comment.
Figure 19 is the flow chart for indicating the processing of engineering tools involved in embodiment 1.
In step S202, if command name is input to filter condition input field 84a, 21a2e pairs of display unit is had a guide look of
The row coincideing in the row 91,92,93 and 94 of search result data 24d with the filter condition inputted carries out guide look and shows.Example
Such as, it if " MOV " is input to filter condition input field 84a, has a guide look of display unit 21a2e and only row 91 and 93 is shown.
Diagnosis of program portion 21a2 has following effects as a result, that is, user is by sieving order related with problem
Choosing, so as to inhibit the working hour being determined to the reason of problem.
In addition, action retrieval portion 21a2b is by compareing command name and order specification data 24b, so as to take
Obtain the order classification " movement " of command name.
Action retrieval portion 21a2b can retrieve action command from control program 24a1 as a result,.
In addition, conditional information retrieval portion 21a2c is by compareing command name and order specification data 24b, so as to take
Obtain the order classification " condition " of command name.
Conditional information retrieval portion 21a2c can retrieve condition commands from control program 24a1 as a result,.
In addition, 24 couples of retrieval termination condition data 24c of storage unit are stored, retrieval termination condition data 24c is described
There is the termination condition for the control program 24a1 retrieval executed.Moreover, if it is determined that retrieval determination unit 21a2d retrieval meets
Termination condition then terminates the retrieval executed by action retrieval portion 21a2b and conditional information retrieval portion 21a2c.
Diagnosis of program portion 21a2 has effect as the stopping for ensuring to retrieve as a result,.In addition, retrieval determination unit
Even if 21a2d can also be defined range of search in the sweeping situation of control program 24a1.Therefore, program is examined
Disconnected portion 21a2 has the effect of the working hour being determined the reason of the problem of being able to suppress to control program 24a1.
In addition, 24 couples of execution data 24e of storage unit are stored, which makes in control program 24a1
Value under the predetermined timing of whole variables is accumulated.
Scanner section 21a2f is being controlled by being scanned in predetermined timing to the memory 3a2 of control device 3 to obtain
The value of whole variable used in processing procedure sequence 24a1, write-in to execution data 24e.
If diagnosis of program portion 21a2 is set as that the problem of having occurred this purport will be being received from control device 3 as a result,
The value of the whole variables scanned when notice, then can be based under the timing that problem has occurred in control device 3 for retrieving
Whole variables value, carry out control program 24a1 diagnosis.Diagnosis of program portion 21a2 can be in control device 3 as a result,
The problem of control program 24a1 under the timing of problem has occurred is diagnosed.
In addition, if diagnosis of program portion 21a2 is set as that leading to for this purport of the problem of having occurred will be received from control device 3
The value of whole variables before when knowing, then can be based on the timing before when problem has occurred in control device 3 for retrieving
Under whole variables value, carry out control program 24a1 diagnosis.Diagnosis of program portion 21a2 can be in control device 3 as a result,
In when problem has occurred before timing under control program 24a1 the problem of diagnosed.
In addition, simulation part 21a2g controls program 24a1 by emulating, thus to controlling used in program 24a1
The value of whole variables is calculated, write-in to execution data 24e.
Even if as a result, diagnosis of program portion 21a2 do not make control device 3 act, also can to control program 24a1 the problem of into
Row diagnosis.
Structure shown in above embodiment shows an example of the contents of the present invention, also can be with other public affairs
Know that technology is combined, in the range for not departing from purport of the invention, a part of structure can also be omitted, change.
The explanation of label
1 control system, 2 engineering tools, 3 control devices, 4,5 is mechanical, 21 CPU, 21a1 project data wound
Build portion, 21a2 diagnosis of program portion, 21a2a specification of variables portion, 21a2b action retrieval portion, 21a2c conditional information retrieval portion, 21a2d
Retrieval determination unit, 21a2e guide look display unit, 21a2f scanner section, 21a2g simulation part, 24 storage units, 24a project data,
24a1 controls program, 24b order specification data, and 24c retrieves termination condition data, 24d search result data, and 24e is executed
Data.
Claims (9)
1. a kind of diagnosis of program device comprising:
Storage unit stores control program, order specification data and search result data, which includes to make certainly
The action command of the value variation of variable and the condition commands that the condition for executing the action command is determined, the order specification
Data include the command name of order, the process content of order and the movement life that can be described in the control program
It enables or the classification of the condition commands, search result data accumulation is directed to the result for the retrieval that the control program executes;
Specification of variables portion, sets target variable;
Action retrieval portion, from it is described control program in the value of the target variable be possible to variation the action command into
Row retrieval, the action command retrieved and the order specification data is compareed, by the variable of the target variable
Name and the command name of the action command, the classification of order and the process content retrieved are written to the search result number
According to;
Conditional information retrieval portion, execution is ordered in retrieval by the movement that the action retrieval portion retrieves from the control program
The condition commands that the condition of order is determined carry out the condition commands retrieved and the order specification data pair
According to by the command name of the variable name of the independent variable of the condition commands retrieved and the condition commands retrieved, life
The classification and process content of order are written to the search result data, and the independent variable of the condition commands retrieved is set as
New target variable;
Determination unit is retrieved, the action retrieval portion and the conditional information retrieval portion is made to execute retrieval again;And
Display unit is had a guide look of, guide look is carried out to the content of the search result data and is shown.
2. diagnosis of program device according to claim 1, which is characterized in that
The action retrieval portion is by compareing the order controlled in program and the order specification data, to take
The order classification for obtaining the order, thus retrieves the action command from the control program.
3. diagnosis of program device according to claim 1, which is characterized in that
The conditional information retrieval portion is by compareing the order controlled in program and the order specification data, to take
The order classification for obtaining the order, thus retrieves the condition commands from the control program.
4. diagnosis of program device according to claim 1, which is characterized in that
The storage unit also stores retrieval termination condition data, and retrieval termination condition data description has for the control
The termination condition for the retrieval that processing procedure sequence executes,
If it is determined that the retrieval determination unit meets institute for the retrieval executed by the action retrieval portion and the conditional information retrieval portion
Termination condition is stated, then terminates the retrieval executed by the action retrieval portion and the conditional information retrieval portion, if it is decided that serve as reasons
The retrieval that the action retrieval portion and the conditional information retrieval portion execute does not meet the termination condition, then makes the action retrieval
Portion and the conditional information retrieval portion execute retrieval again.
5. diagnosis of program device according to claim 4, which is characterized in that
The retrieval termination condition data are the retrieval numbers executed by the action retrieval portion and the conditional information retrieval portion
The data of the range of search of data or the control program.
6. diagnosis of program device according to claim 1, which is characterized in that
If the filtering of the command name of condition commands, the classification of order or process content for having input variable name or retrieving
Condition, then the guide look display unit carries out the content for the data coincideing in the search result data with the filter condition
Guide look display.
7. diagnosis of program device according to claim 1, which is characterized in that
The storage unit also stores execution data, and the execution data are to the whole variable used in the control program
Predetermined timing under value accumulated,
The diagnosis of program device also has scanner section, control of the scanner section in the predetermined timing, to the control program is executed
The memory of device processed is scanned, and is thus obtained the value of the whole variable used in the control program, is written to described
Execute data.
8. diagnosis of program device according to claim 7, which is characterized in that
Also there is simulation part, the simulation part is by emulating the control program, to use in the control program
The values of whole variables calculated, write-in to the execution data.
9. a kind of diagnosis of program method is the method executed by diagnosis of program device, which has storage unit,
The storage unit stores control program, order specification data and search result data, which includes to make independent variable
Value variation action command and condition commands that the condition for executing the action command is determined, the order specification data
Comprising can in the control program command name of order, the process content of order and the action command that describe or
The classification of the condition commands, the search result data accumulation for it is described control program execute retrieval as a result,
The diagnosis of program method is characterized in that thering is following processes:
Specification of variables process, sets target variable;
Action retrieval process, from it is described control program in the value of the target variable be possible to variation the action command into
Row retrieval, the action command retrieved and the order specification data is compareed, by the variable of the target variable
Name and the command name of the action command, the classification of order and the process content retrieved are written to the search result number
According to;
Conditional information retrieval process, the movement that retrieval is retrieved execution by the action retrieval process from the control program
The condition commands that the condition of order is determined carry out the condition commands retrieved and the order specification data
Control, by the command name of the variable name of the independent variable of the condition commands retrieved and the condition commands retrieved,
The classification and process content of order are written to the search result data, and the independent variable of the condition commands retrieved is set
For new target variable;
Judgment process is retrieved, the action retrieval process and the conditional information retrieval process is made to execute retrieval again;And
Guide look display process, carries out guide look to the content of the search result data and shows.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2015/061757 WO2016166876A1 (en) | 2015-04-16 | 2015-04-16 | Program diagnosis device, program diagnosis method and program diagnosis program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107533322A CN107533322A (en) | 2018-01-02 |
CN107533322B true CN107533322B (en) | 2019-04-19 |
Family
ID=57126471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201580078870.3A Active CN107533322B (en) | 2015-04-16 | 2015-04-16 | Program diagnosing device and program diagnosing method |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP6076565B1 (en) |
KR (1) | KR101846140B1 (en) |
CN (1) | CN107533322B (en) |
WO (1) | WO2016166876A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019003313A1 (en) * | 2017-06-27 | 2019-01-03 | 三菱電機株式会社 | Debugging device |
CN113424115B (en) * | 2019-02-14 | 2024-06-18 | 三菱电机株式会社 | Control system, programmable logic controller, method and recording medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1677290A (en) * | 2004-03-31 | 2005-10-05 | 欧姆龙株式会社 | Development aid device |
JP2011028552A (en) * | 2009-07-27 | 2011-02-10 | Keyence Corp | Program creation support device, program creation support method and computer program |
CN102640112A (en) * | 2009-12-28 | 2012-08-15 | 三菱电机株式会社 | Program creation support device |
CN104204975A (en) * | 2012-03-26 | 2014-12-10 | 三菱电机株式会社 | Sequence-program debugging assistance apparatus |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2923997B2 (en) * | 1989-09-21 | 1999-07-26 | ソニー株式会社 | Finding the cause of an error in a ladder sequence program |
JP4242361B2 (en) * | 2004-03-31 | 2009-03-25 | オムロン株式会社 | Development support equipment |
-
2015
- 2015-04-16 KR KR1020177031427A patent/KR101846140B1/en active IP Right Grant
- 2015-04-16 CN CN201580078870.3A patent/CN107533322B/en active Active
- 2015-04-16 WO PCT/JP2015/061757 patent/WO2016166876A1/en active Application Filing
- 2015-04-16 JP JP2016555855A patent/JP6076565B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1677290A (en) * | 2004-03-31 | 2005-10-05 | 欧姆龙株式会社 | Development aid device |
JP2011028552A (en) * | 2009-07-27 | 2011-02-10 | Keyence Corp | Program creation support device, program creation support method and computer program |
CN102640112A (en) * | 2009-12-28 | 2012-08-15 | 三菱电机株式会社 | Program creation support device |
CN104204975A (en) * | 2012-03-26 | 2014-12-10 | 三菱电机株式会社 | Sequence-program debugging assistance apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2016166876A1 (en) | 2016-10-20 |
KR20170127569A (en) | 2017-11-21 |
JPWO2016166876A1 (en) | 2017-04-27 |
CN107533322A (en) | 2018-01-02 |
JP6076565B1 (en) | 2017-02-08 |
KR101846140B1 (en) | 2018-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6377691B2 (en) | Method and apparatus for displaying process control search results, tangible product storing machine-readable instructions | |
US7849364B2 (en) | Kernel-mode in-flight recorder tracing mechanism | |
EP3502814B1 (en) | Processing loads balancing of control and monitoring functions | |
US8832642B2 (en) | Split and merge sequence description | |
JP2015049775A (en) | Apparatus and method for generating fault tree | |
WO2018073868A1 (en) | Debugging assistance device and debugging assistance method | |
CN107533322B (en) | Program diagnosing device and program diagnosing method | |
EP1582949B1 (en) | Method for automatic modeling a process control system and corresponding process control system | |
AU2006336826A1 (en) | Plant control system and method of specifying primary-factor for interlock | |
JP6442131B2 (en) | Control system and control device | |
JP2009122936A (en) | Sequence program monitor device equipped with display function for abnormality research and programmable controller | |
JP5544804B2 (en) | Fault diagnosis system, fault diagnosis apparatus, and fault diagnosis method | |
JP6996807B2 (en) | Methods, equipment, machine-readable storage media, and systems for multi-module process control management | |
JP2008305019A (en) | Simulation device, simulation method and program | |
JP5157844B2 (en) | Fault location identification system, fault location identification method | |
US9122772B2 (en) | Method for analyzing message archives and corresponding computer program | |
CN109035487B (en) | Engine historical data reading-back and processing system | |
JP2006024015A (en) | Plant control system and method for specifying interlock factor | |
US20100268521A1 (en) | Monitoring An Automation System | |
JPH0658716B2 (en) | Failure diagnosis device and failure diagnosis system | |
US20040122623A1 (en) | Method and device for computer-aided analysis of a technical system | |
AU2011202744B2 (en) | Plant control system and method of specifying primary-factor for interlock | |
JP2024070659A (en) | Analysis device, analysis method, and information processing program | |
KR100602706B1 (en) | Non-conformance record system | |
JP2003316434A (en) | Failure diagnosis apparatus, method therefor and its program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |