WO2007144936A1 - プログラマブルロジックコントローラの周辺装置およびプログラムの自動検証方法 - Google Patents

プログラマブルロジックコントローラの周辺装置およびプログラムの自動検証方法 Download PDF

Info

Publication number
WO2007144936A1
WO2007144936A1 PCT/JP2006/311807 JP2006311807W WO2007144936A1 WO 2007144936 A1 WO2007144936 A1 WO 2007144936A1 JP 2006311807 W JP2006311807 W JP 2006311807W WO 2007144936 A1 WO2007144936 A1 WO 2007144936A1
Authority
WO
WIPO (PCT)
Prior art keywords
plc
timing
trace result
trace
sequence program
Prior art date
Application number
PCT/JP2006/311807
Other languages
English (en)
French (fr)
Inventor
Kaori Sakagami
Masanobu Sumiya
Tomohiro Sato
Makoto Nonomura
Original Assignee
Mitsubishi Electric Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corporation filed Critical Mitsubishi Electric Corporation
Priority to PCT/JP2006/311807 priority Critical patent/WO2007144936A1/ja
Priority to JP2008521050A priority patent/JP4890545B2/ja
Priority to KR1020087030180A priority patent/KR101006787B1/ko
Priority to CN2006800549883A priority patent/CN101467111B/zh
Priority to US12/304,632 priority patent/US8060221B2/en
Priority to GB0822737A priority patent/GB2454832B/en
Priority to DE112006003926.1T priority patent/DE112006003926B4/de
Publication of WO2007144936A1 publication Critical patent/WO2007144936A1/ja

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13037Tracing

Definitions

  • the present invention relates to a PLC peripheral device that creates and edits a sequence program of a programmable logic controller (hereinafter referred to as “PLC”) and an automatic program verification method.
  • PLC programmable logic controller
  • Patent Document 1 In this sequence program test method described in Patent Document 1, based on a sequence time chart that is an operation pattern of a device controlled by a sequencer program, an operation pattern matrix table in which operation patterns are numerically entered is created in advance. In addition, the value obtained by numerically calculating the operation output of the device power controlled by the sequencer program is compared with the operation pattern matrix table. If they match, the sequencer program is determined to be normal, and if they do not match, the sequencer program is determined to be abnormal, and the result is sent to the operator of the PLC peripheral device. Output.
  • Patent Document 1 Japanese Patent Application Laid-Open No. 2002-73619
  • the present invention has been made in view of the above, and there is provided a peripheral device for a programmable logic controller and a program that can execute verification of a sequence program created based on a time chart with high accuracy.
  • the purpose is to obtain an automatic verification method.
  • Another object of the present invention is to obtain a programmable logic controller peripheral device and a program automatic verification method capable of detecting a deviation from a time chart due to the passage of time of a trace result when a sequence program is actually executed.
  • the position on the device or sequence program that causes the deviation of the trace result from the time chart is detected, and the part that can be automatically corrected is corrected. If that cannot be corrected automatically, that part is displayed.
  • Another object of the present invention is to obtain a programmable logic controller peripheral device and an automatic program verification method.
  • a peripheral device of a PLC that is useful in the present invention is connected to a programmable logic controller (hereinafter referred to as a PLC) that controls an external device based on a sequence program.
  • a PLC programmable logic controller
  • the trace result obtained by the PLC executing the sequence processing corresponding to the predetermined signal input / output unit of the external device is used as the performance of the external device.
  • the trace result optimization processing means for generating the post-optimization trace result corrected, the post-optimization trace result, and the time chart that is the basis of the sequence processing for the external device are collated.
  • Trace result matching processing means for detecting a shift in the trace result after optimization.
  • the trace processing is executed, and the post-optimized trace result and the time chart are taken into consideration in consideration of the performance error of the verification target device. Since the comparison is made, it is possible to efficiently and accurately verify the sequence program without debugging the trace results obtained by the user ability SPLC.
  • the sequence program execution target Since the timing shift due to the performance of the equipment is not subject to comparison, only the problem of the original sequence program can be detected.
  • FIG. 1 is a block diagram schematically showing the structure of Embodiment 1 of a PLC peripheral device according to the present invention together with a PLC.
  • FIG. 2 is a data structure diagram of device performance information in the PLC peripheral device.
  • FIG. 3 is a data structure diagram of a time chart and a trace result in the PLC peripheral device.
  • FIG. 4 is a flowchart showing an example of a sequence program automatic verification process in the PLC and the PLC peripheral device.
  • FIG. 5 is a flowchart illustrating an example of a procedure of a trace result optimization process.
  • FIG. 6 is a diagram schematically showing an example of the configuration of a PLC, a PLC peripheral device, and an external device.
  • FIG. 7 is a diagram showing an example of a sequence program to be executed in the configuration diagram of FIG.
  • FIG. 8 is a diagram showing an example of a trace result optimization process according to the first embodiment.
  • FIG. 9 is a diagram showing an example of collation processing of trace results after optimization according to the first embodiment.
  • FIG. 10 is a block diagram schematically showing the structure of the PLC peripheral device according to the second embodiment of the present invention together with a PLC.
  • FIG. 11 is a flowchart showing an example of a timing shift detection process over time in a PLC peripheral device.
  • FIG. 12 is a diagram showing an example of a collation process for detecting a timing shift due to the passage of time in the PLC peripheral device.
  • FIG. 13 is a block diagram schematically showing the structure of the third embodiment of the PLC peripheral device according to the present invention together with the PLC.
  • FIG. 14 shows a sequence program automatic correction process in the PLC peripheral device. It is a flowchart which shows an example of a physical procedure.
  • FIG. 15 is a diagram showing a specific example of the sequence program automatic timing correction in the PLC peripheral device.
  • FIG. 16 is a block diagram schematically showing the structure of the fourth embodiment of the PLC peripheral device according to the present invention together with the PLC.
  • FIG. 17 is a flowchart showing an example of a procedure of position presentation processing of the sequence program of the PLC peripheral device.
  • FIG. 18 is a block diagram schematically showing the structure of the PLC peripheral device according to the fifth embodiment of the present invention together with a PLC.
  • FIG. 19 is a flowchart illustrating an example of a procedure of processing for displaying a timing correction necessary portion of the sequence program of the PLC peripheral device.
  • FIG. 20 is a diagram showing an example of a process for displaying a timing correction necessary portion of the sequence program in the PLC peripheral device.
  • PLC Programmable logic controller
  • PLC peripheral device a peripheral device (hereinafter referred to as a PLC peripheral device) of a programmable logic controller (hereinafter referred to as a PLC) and an automatic program verification method according to the present invention
  • PLC peripheral device a peripheral device of a programmable logic controller
  • PLC programmable logic controller
  • FIG. 1 is a block diagram schematically showing the structure of the first embodiment of the PLC peripheral device that works on the present invention together with the PLC.
  • the PLC peripheral device 2 is connected to the PLC1 main unit that controls the device to be controlled.
  • the PLC peripheral device 2 includes a display device 3 such as CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display), and the like.
  • the input device 4 such as a keyboard is connected to the.
  • the PLC 1 includes a data memory 11 that stores a sequence program, a device value, and the like, a trace processing unit 12 that executes a sampling trace, a peripheral device IZF unit 13 that serves as an interface with the PLC peripheral device 2 main unit, Is provided.
  • the data memory 11 includes a program 1 la such as a sequence program, a device value l ib resulting from the sequential execution of instructions of the sequence program, a trace target device 11 c that specifies a device to be traced, and a trace Information including the trace result l id of the target device is stored.
  • the PLC peripheral device 2 includes a PLC interface unit (hereinafter referred to as “PLC IZF unit”) 21 serving as an interface with the PLC 1, a display processing unit 22 for displaying information on the display device 3, and an input device 4 Trace target device acquisition process that acquires the trace target device 24c from the input processing unit 23 that processes input from the data, the data memory 24 that stores the program that performs the trace processing, and the time chart 24b that is stored in the data memory 24 Section 25, the trace result optimization processing section 26 that optimizes the trace result 24d in consideration of the performance of the device, and the time chart 24b stored in the data memory and the post-optimization trace result 24f are collated. And a trace result matching processing unit 27.
  • PLC IZF unit PLC interface unit
  • the data memory 24 includes a program 24a that performs processing for optimizing a trace result and collating it with a time chart, a time chart 24b that is executed by a device that is controlled by the PLC 1, and a device that is to be traced Trace target device 24c, trace result 24d that is the result of tracing by PLC1, device performance information 24e that is information about the performance of devices connected to PLC 1, and trace result optimization processing Information including the post-optimization trace result 24f created by the unit 26 and the matching result 24g processed by the trace result matching processing unit 27 is stored.
  • FIG. 2 is a data structure diagram of device performance information in the PLC peripheral device.
  • the device performance information 24e is performance information related to the device to be controlled connected to the PLC 1, and more specifically, information for correcting the trace result of the device including timing deviation due to the device performance.
  • This device performance information 24e is composed of a collection of performance information 241 of a plurality of devices, and the performance information 241 of a plurality of devices is a signal input / output unit combination that combines a signal input unit and a signal output unit of each device. It is a collection of performance information 2410.
  • Each signal input / output combination performance information 2410 is the signal input unit name 2411, the signal output unit name 2412, and the time until the signal from the signal input unit 2411 of the device is output from the output signal unit 2412.
  • Reference response time 2413, and allowable error rate 2414 which is an error rate allowed for reference response time 2413, are included. These pieces of information are information set in the PLC peripheral device 2 in advance. However, the allowable error rate 2414 can be changed to any value by the user.
  • FIG. 3 is a data structure diagram of a time chart and a trace result in the PLC peripheral device.
  • the time chart and the trace result have a common data structure.
  • the time chart or trace result stores the ONZOFF status for each elapsed time for each device.
  • the ON state is represented by “1”
  • the OFF state is represented by “0”.
  • the device name is specified by a combination of program name and step number.
  • the trace target device acquisition processing unit 25 acquires a device that executes the trace from the time chart 24b stored in the data memory 24. Also, obtain the trace target device The processing unit 25 stores the acquired device in the data memory 24 as the trace target device 24c. Specifically, the device registered in the time chart 24b in the data memory 24 is selected and acquired as the trace target device 24c.
  • the trace result optimization processing unit 26 optimizes the trace result 24d in the data memory 24 in consideration of the performance of the traced device. Specifically, for the trace result data related to the trace result data output from the signal output part of the device in the trace result 24d in the data memory 24, the reference response time 2413 of the device performance information 24e shown in FIG. The process of subtracting is performed.
  • the trace result optimized by the trace result optimization processing unit 26 is referred to as post-optimization trace result.
  • the trace result optimization processing unit 26 stores the post-optimization trace result 24f in the data memory 24.
  • the trace result comparison processing unit 27 includes a time chart 24b for the trace target device 24c stored in the data memory 24, and a trace result 24f after optimization of the device of the device corresponding to the time chart 24b.
  • the verification result 24g is stored in the data memory 24. Here, it is verified whether or not the post-optimization trace result 24f is within the allowable error rate 2414 of the device performance information 24e shown in FIG. 2 as compared with the corresponding time chart 24b.
  • FIG. 4 is a flowchart showing an example of a sequence program automatic verification process in the PLC and the PLC peripheral device shown in FIG.
  • the PLC peripheral device 2 determines whether or not there is an automatic verification instruction for the sequence program from the user (operator) (step S 101). If there is no instruction for automatic verification of the sequence program from the user (No in step S101), the automatic verification processing of the sequence program in the PLC peripheral device 2 ends. On the other hand, when there is an automatic verification instruction of the sequence program from the user (Yes in step S101), the trace target device acquisition processing unit 25 selects the trace target device 24c from the time chart 24b in the data memory 24. Obtain (step S102).
  • the device registered in the time chart 24 b stored in the data memory 24 is acquired as the trace target device 24 c and set in the data memory 24.
  • the trace target device acquisition processing unit 25 transmits the acquired trace target device 24 c to the PLC 1 via the PLC IZF unit 21 (step S103).
  • the PLC 1 Upon receiving the trace target device from the PLC peripheral device 2 (step S104), the PLC 1 stores the received trace target device 11c in the data memory 11 (step S 105). Thereafter, a storage completion signal indicating that the received trace target device 1 lc has been stored in the data memory 11 is transmitted to the PLC peripheral device 2 via the peripheral device IZF unit 13 (step S 106).
  • the PLC peripheral device 2 When the PLC peripheral device 2 receives the storage completion signal from the PLC 1 (step S107), the PLC peripheral device 2 transmits a trace start instruction to the PLC 1 via the PLC IZF unit 21 (step S108).
  • PLC 1 receives a trace start instruction from PLC peripheral device 2 (step S 109), it executes a trace process in its trace processing unit 12 (step S 110).
  • the trace processing unit 12 stores the data during execution of the sequence program in the data memory 11 as the trace result l id. After the trace processing by the trace processing unit 12 is executed, the PLC 1 transmits the trace result l id to the PLC peripheral device 2 via the peripheral device IZF unit 13 (step S11).
  • PLC peripheral device 2 Upon receiving the trace result from PLC 1 (step S112), PLC peripheral device 2 stores the received trace result 24d in data memory 24. Since the trace result 24d includes the performance error of the external device, the trace result optimization processing unit 26 performs an optimization process to remove the performance error of the external device from the trace result 24d (step S113). .
  • FIG. 5 is a flowchart showing an example of the procedure of the trace result optimization process.
  • the trace result optimization processing unit 26 acquires the device performance information 24e for the target device to be automatically verified from the data memory 24 (step S131), and further performs the automatic verification from the acquired device performance information 24e of the target device.
  • the signal input / output unit combination performance information 2410 corresponding to the combination of the signal input unit and the signal output unit performed is acquired (step S132).
  • step S133 among the trace results 24d stored in the data memory 24, for the trace result data related to the output of the target device, subtract the reference response time 2413 in the signal input / output unit combination performance information 2410 and optimize the trace result Is generated (step S133).
  • the generated post-optimization trace result 24f is stored in the data memory 24 (step S134), the trace result optimization process ends, and the process returns to the flowchart of FIG.
  • the trace result matching processing unit 27 performs optimization after being stored in the data memory 24.
  • the trace result 24f and the time chart 24b are extracted, both are collated (step S114), and the collation result 24g is stored in the data memory 24.
  • the display processing unit 22 extracts the verification result 24g from the data memory 24, displays the verification result 24g on the display device 3 connected to the PLC peripheral device 2 (step S115), and automatically verifies the sequence program. The process ends.
  • FIG. 6 is a diagram schematically showing an example of the configuration of a PLC, a PLC peripheral device, and an external device.
  • Fig. 7 is an example of a sequence program executed in the configuration diagram of Fig. 6, and Fig. 8 shows this implementation.
  • FIG. 9 is a diagram illustrating an example of the optimization process of the trace result according to the first embodiment, and FIG. 9 is a diagram illustrating an example of the collation process of the trace result after optimization according to the first embodiment.
  • FIG. 810 before optimizing the trace result in FIG. 8 shows the trace result of the device taken by the trace processing unit 12 of PLC1.
  • the rising timing of the signals of device C and device D is delayed by time At compared to the rising of the signals of device A and device B in the ladder diagram of FIG. This is a deviation due to the performance of external equipment.
  • the trace result optimization processing unit 26 of the PLC peripheral device 2 performs the reference response in the performance information corresponding to the combination of the signal input and signal output of the device A in the device performance information.
  • the optimization process is executed using time. Specifically, for device C, which is a signal from the output section of an external device, and device D, which uses this device C as a contact point, subtract the reference response time (At) that also acquired the trace result power, Create trace results after conversion. The result is shown at 820 after optimizing the trace results in FIG.
  • the post-optimization trace result 920 shown in the lower side of FIG. 9 includes a reference response time that becomes a performance error of the external device connected to the PLC 1, and therefore it operates normally. /! Corresponds to the time chart 910 shown on the upper side of FIG. However, the time chart 910 and the post-optimization trace result 920 may not match depending on the system configuration status and operating environment. In this case, if the difference between the two is within the allowable error rate in the signal input / output unit combination performance information in Fig. 2, they are considered to match. As described above, optimization processing and matching processing of the trace result are performed.
  • the trace process is executed, and the reference response time that is an error time due to the performance of the device is also subtracted from the trace result power. Since the trace results after optimization are compared with the time chart, the sequence program that the user cannot debug with PLC1 can be verified efficiently and accurately. In addition, by making it possible for the user to set an arbitrary allowable error rate, there is also an effect that it is possible to perform verification that allows a performance error that may occur depending on the system configuration and environment.
  • the post-optimization trace results obtained in the first embodiment are accumulated, and the trace results and time charts that are checked every time a predetermined time set in the PLC peripheral device by the operator is collated.
  • a PLC peripheral device that can detect timing deviations over time.
  • FIG. 10 is a block diagram schematically showing the structure of the second embodiment of the PLC peripheral device according to the present invention together with the PLC.
  • This PLC peripheral device 2 has a configuration in which the data memory 24 in the PLC peripheral device 2 of FIG. 1 of Embodiment 1 can accumulate and store the post-optimization trace result 24f and the collation result 24g.
  • the post-optimization trace result 24 ⁇ is the trace result of the first, second, ..., "trace result l" 24f-1, "trace result 2" 24f-2, ... Stored as the collation result 24g, the collation result of the first, second, ..., "collation result l" 24g-1 and “collation result 2" 24g-2, ... are stored .
  • the data memory 24 is configured to store the timing shift detection result 24h detected by the trace result matching processing unit 27.
  • the trace result matching processing unit 27 collates the post-optimization trace result 24f with the corresponding device time chart 24b. At this time, the post-optimization trace result 24f is automatically verified. The results are connected and displayed, and each post-optimization trace result is verified using the reference time chart 24b. Here, if the post-optimization trace result 24f is within the allowable error rate compared to the time chart 24b, the post-optimization trace result 24f is determined to match the time chart 24b. Force optimization After tracing result 24f exceeds the allowable error rate range compared to the time chart 24b.
  • the deviation is detected as a timing deviation, and it is further provided with a function for determining that it is a timing deviation due to the passage of time. Then, the detected timing shift detection result 24h is stored in the data memory 24. Note that the same components as those in Embodiment 1 are denoted by the same reference numerals, and description thereof is omitted.
  • FIG. 11 is a flowchart illustrating an example of a timing shift detection process over time in the PLC peripheral device.
  • the PLC peripheral device 2 determines the presence / absence of an instruction for detection processing of timing deviation due to the lapse of time of user power (step S201). If there is no instruction to detect a timing shift due to the passage of time (No in step S201), the timing shift detection process due to the passage of time is terminated. On the other hand, when there is an instruction to detect a timing shift due to the passage of time (Yes in step S201), the trace target device acquisition processing unit 25 acquires the trace target device from the time chart 24b in the data memory 24. (Step S202), the trace target device 24c is set in the data memory 24. Thereafter, the trace target device acquisition processing unit 25 transmits the acquired trace target device to the PLC 1 via the PLC IZF unit 21 (step S203).
  • PLC1 receives the trace target device from PLC peripheral device 2, stores it in data memory 11, and then receives the received trace target device 1lc as data.
  • a storage completion signal indicating that the data has been stored in the memory 11 is transmitted to the PLC peripheral device 2 (steps S204 to S206).
  • step S 207 when the PLC peripheral device 2 receives a storage completion signal from the PLC 1 (step S 207), a trace execution process for executing the trace process is started every predetermined time (steps S 208 to S 218). In other words, the PLC peripheral device 2 sends a trace start instruction to the PLC 1 (step S209) .
  • the trace processing unit 12 performs the trace processing. (Step S211), and the trace result l id is stored in the data memory 11. Then, after executing the trace processing, PLC 1 transmits the trace result to PLC peripheral device 2 (step S212).
  • the PLC peripheral device 2 When the PLC peripheral device 2 receives the trace result from the PLC 1 (step S213), it stores it in the data memory 24. Since the trace result 24d includes the performance error of the external device that executed the trace, the trace result optimization processing by the trace result optimization processing unit 26 is executed (step S214). This optimization process of the trace result is the process described with reference to FIG. 5 of the first embodiment. From the trace result 24d in the data memory 24, the trace result in the device performance information 24e about the target device being traced is stored. This is done by subtracting the reference response time.
  • FIG. 12 is a diagram showing an example of a collation process for detecting a timing shift due to the passage of time in the PLC peripheral device.
  • FIG. 12 shows a reference time chart 1210 and a post-optimization trace result 1220.
  • the shaded range is the device performance range (range considering the allowable error rate) 1201.
  • the trace result collation processing unit 27 determines that the post-optimization trace result is in good agreement with the time chart.
  • the trace result verification processing unit 27 The range 1202 that exceeds the performance range of the device, that is, the difference between the trace result after optimization and the time chart is detected as a timing deviation due to the passage of time.
  • step S216 if there is a post-optimization trace result 24f, collation result 24g, and timing deviation, the timing deviation detection result 24h is stored in the data memory 24 (step S216), and then the display processing unit 22 The location causing the timing shift due to the above is extracted and displayed on the display device 3 connected to the PLC peripheral device 2 (step S217), and the timing shift detection process with the passage of time is completed.
  • a method for showing the user the location that causes the timing deviation when the timing deviation due to the passage of time in step S217 is detected will be described in the fourth embodiment. Steps S209 to S218 are repeatedly executed at predetermined time intervals.
  • FIG. 13 is a block diagram schematically showing the structure of the third embodiment of the PLC peripheral device according to the present invention together with the PLC.
  • This PLC peripheral device 2 includes a correction target timing detection processing unit 28 that detects the timing that needs to be corrected in the sequence program based on the verification result 24g in the PLC peripheral device 2 of FIG.
  • the target timing detection processing unit 28 further includes a timing correction processing unit 29 that corrects the sequence program based on the correction target timing list 24i detected by the processing unit 28.
  • the data memory 24 further stores a correction target timing list 24i that is a list of correction target timings.
  • the correction target timing detection processing unit 28 detects a timing that needs to be corrected based on the collation result 24g, and extracts a place where the timer is used before the timing detected from within the sequence program. Calculate a value that does not cause a difference between the time chart 24b and the post-optimization trace result 24f for the current timer setting value, and use that value to calculate a new timer setting value.
  • the detected timing in the sequence program that requires correction and the correction timing including the new timer set value are stored in the data memory 24 as one piece of information in the correction target timing list 24i.
  • the timing correction processing unit 29 determines the timers that exist before the timing on the sequence program that requires correction. Correct the set value to the new timer set value.
  • FIG. 14 is a flowchart showing an example of the sequence automatic sequence correction processing procedure in the PLC peripheral device.
  • the PLC peripheral device 2 is It is determined whether or not there is an automatic correction instruction for one sequence program (step S301). If there is no sequence program automatic correction instruction (No in step S301), the sequence program automatic correction processing in the PLC peripheral device 2 ends. On the other hand, if there is an instruction to automatically correct the sequence program (Yes in step S301), a process is executed to detect from the sequence program the place where the post-optimization trace result 24f is different from the time chart 24b (step S301). S302 to S308).
  • the correction target timing detection processing unit 28 uses the time chart 24b in the data memory 24 and the collation result 24g of the post-optimization trace result 24f to acquire a mismatched portion (step S303) and stores it in the data memory 24.
  • the step corresponding to the mismatched location is searched from the sequence program in the stored program 24a (step S304). For example, the corresponding step in the sequence program is searched based on the device corresponding to the trace result data having the mismatched portion. Thereafter, it is determined whether there is a timer process before the retrieved step (step S305).
  • step S305 when timer processing is present (Yes in step S305), the correction target timing detection processing unit 28 compares the time chart 24b and the post-optimization trace result 24f with respect to the current timer setting value. A value that does not cause a difference between them is calculated, and a new timer set value is calculated using the value (step S306). Then, the correction target timing detection processing unit 28 stores the correction target timing data including the step searched in step S304 and the new timer setting value calculated in step S306 in the correction target timing list 24i in the data memory 24. (Step S307). On the other hand, if there is no timer processing before the corresponding step in step S305 (No in step S305), no processing is performed for that step here. The processing is executed until there is no inconsistency between the processing time chart from step S302 and the trace result after optimization (steps S302 to S308).
  • the timing correction processing unit 29 executes timing correction processing until the correction target timing data disappears from the correction target timing list 24i (steps S309 to S312).
  • the timing correction processing unit 29 acquires the correction target timing data (steps requiring correction and new timer set values) from the correction target timing list 24i in the data memory 24 (step S310), and the program 24a of the data memory 24
  • the correction processing of the program for changing the timer setting value of the timer processing existing before the step to be corrected to the acquired new timer setting value is executed (step S311).
  • the processing power from step S309 is corrected from the correction target timing list 24i as the timing correction process, and is executed until there is no correction target timing data (steps S309 to S312).
  • the sequence program automatic timing correction processing ends.
  • FIG. 15 is a diagram showing a specific example of the sequence program automatic timing correction in the PLC peripheral device.
  • a time chart 1510, a post-optimization trace result 1520 and a sequence program 1530 before timing correction, a post-optimization trace result 1540 and a sequence program 1550 after timing correction are shown.
  • This figure shows a case in which the result of exceeding the allowable error rate with respect to the time chart 1510, which is the device D force standard of the post-optimized trace result 1540, is shown.
  • the correction target timing detection processing unit 28 acquires the pre-correction sequence program 1530 from the data memory, and determines whether there is a timer process before “device D” 1531 of the pre-correction sequence program 1530.
  • a timer process called a waiting timer 1532 exists before “device D” 1531 of the sequence program 1530 before correction.
  • the time At when the difference between the time chart 1510 and the post-optimization trace result 1520 does not occur is 1 second from the post-optimization trace result 1 520 and the time chart 1510.
  • the detection processing unit 28 sets a new timer setting value obtained by correcting the setting value of the standby timer 1532 from “K20” to “K10”. At this time, for example, the number “80” written on the bus on the left side of the sequence program is used to specify the step.
  • the timing correction processing unit 29 corrects each based on the correction target timing as shown in the post-correction post-optimization trace result 1540 and the post-correction sequence program 1550.
  • the place in the sequence program of the trace result after optimization that is shifted in timing as compared with the reference time chart is specified and set before the specified position. Since the amount of deviation of the timer setting value of the timer is corrected, it is possible to automatically obtain a sequence program having a trace result that matches the time chart. [0051] Embodiment 4.
  • FIG. 16 is a block diagram schematically showing the structure of the fourth embodiment of the PLC peripheral device according to the present invention together with the PLC.
  • This PLC peripheral device 2 is a correction target sequence program detection processing unit 30 that detects a position that needs to be corrected in the sequence program based on the timing deviation detection result 24h in the PLC peripheral device 2 of FIG. 10 of the second embodiment.
  • the display processing unit 22 further includes a sequence program highlight display processing function 221 for highlighting the position of the correction target in the sequence program displayed on the display device 3, and the data memory 24 includes
  • the correction target sequence program detection processing unit 30 includes a correction target sequence program list 24j that is a correction target in the sequence program that causes the timing detected by the correction target sequence to be shifted. Note that the same components as those in the first and second embodiments are denoted by the same reference numerals and description thereof is omitted.
  • FIG. 17 is a flowchart showing an example of a sequence program position presentation process that causes a timing shift due to the passage of time of the PLC peripheral device.
  • the PLC peripheral device 2 checks whether or not a timing shift due to the passage of time has been detected (step S401). Detection of timing deviation due to elapse of time is performed by the trace result matching processing unit 27, and the result is stored in the data memory 24 as force timing deviation detection result 24h. Therefore, the presence / absence of timing deviation detection can be determined by the presence / absence of the timing deviation detection result 24h in the data memory 24. Note that the timing shift detection processing by the trace result matching processing unit 27 has been described in the second embodiment, and thus the description thereof is omitted.
  • step S401 If a timing shift due to the passage of time has not been detected (No in step S401), the timing shift position presentation process ends. On the other hand, when a timing shift due to the passage of time has been detected (Yes in step S401), a position detection process that causes the timing shift is performed (steps S402 to S407).
  • the correction target sequence program detection processing unit 30 first acquires the cause device from the timing deviation detection result 24 h (step S 403), and uses the acquired device to create a data memory.
  • the corresponding step in 24 programs (sequence program) 24a is searched (step S404). For example, the corresponding step in the sequence program is searched based on the device corresponding to the trace result data in which the timing deviation is detected. As a result of the search, if the step corresponding to the device is found (Yes in step S405), the corresponding part in the sequence program is stored in the correction target sequence program list 24j as the correction target sequence program (step S406). ). If no step corresponding to the device is found in step S405 (No in step S405), no processing is performed for that step. The above processing power of step S402 is executed until the end of the sequence program (steps S402 to S407)
  • the sequence program highlight display processing function 221 of the display processing unit 22 executes the highlight display process until the correction target sequence disappears from the correction target sequence program list 24j (steps S408 to S411).
  • the sequence program highlight display processing function 221 of the display processing unit 22 acquires the position on the program that needs to be corrected (step S409), and displays the corresponding device on the display device 3 Is highlighted (step S410). Then, after the no and ill display is performed until there is no corresponding correction target sequence program (steps S409 to S411), the timing shift position presentation processing is ended.
  • the location where the device causing the problem is used is searched, and the related sequence program portion is sent to the user. Describes the PLC peripherals that can be shown.
  • FIG. 18 is a block diagram schematically showing the structure of the fifth embodiment of the PLC peripheral device according to the present invention together with the PLC.
  • This PLC peripheral device 2 detects the timing required for correction based on the verification result 24g in the PLC peripheral device 2 shown in FIG.
  • a correction target sequence program detection processing unit 30 for detecting a necessary sequence program is further provided, and the display processing unit 22 highlights a sequence program that needs correction in the sequence program displayed on the display device 3.
  • a highlight display processing function 221 is further provided, and the data memory has a list of sequence programs to be corrected including sequence programs that need correction.
  • the same components as those in the first and third embodiments are denoted by the same reference numerals, and the description thereof is omitted. Further, since the functions of the sequence program highlight display processing function 221 of the modification target sequence program detection processing unit 30 and the display processing unit 22 are the same as those described in the fourth embodiment, description thereof will be omitted.
  • FIG. 19 is a flowchart showing an example of the procedure of the timing correction necessary portion display process at the time of automatic correction of the timing of the sequence program of the PLC peripheral device.
  • the PLC peripheral device 2 determines whether or not there is an instruction to automatically correct the sequence program timing (step S501). If the sequence program timing automatic correction instruction is not given (No in step S501), the sequence program timing correction necessary point display processing in the PLC peripheral device 2 ends. On the other hand, when there is an instruction to automatically correct the timing of the sequence program (Yes in step S501), the processing to detect the sequence program force is executed at the place where the post-optimization trace result is different from the time chart. (Steps S502 to S511).
  • the correction target timing detection processing unit 28 uses the time chart 24b in the data memory 24 and the matching result 24g of the post-optimization trace result 24f to acquire a mismatched portion (step S503), and stores it in the data memory 24.
  • a step corresponding to the mismatched location is searched from the sequence program in the stored program 24a (step S504). For example, the corresponding step in the sequence program is searched based on the device corresponding to the trace result data having the mismatched portion. Thereafter, it is determined whether there is a timer process before the retrieved step (step S505).
  • the correction target timing detection processing unit 28 compares the time chart 24b and the post-optimization trace result 24f with respect to the current timer setting value. A value that does not cause a difference between them is calculated, and a new timer setting value is calculated using the value (step S506). And the correction target time The detection detection unit 28 stores the correction target timing data including the step searched in step S504 and the new timer set value calculated in step S506 in the correction target timing list 24i in the data memory 24 (step S507).
  • step S508 the correction target sequence program detection processing unit 30 sets the contact point of the corresponding step in the sequence program. Search for the corresponding coil (step S508).
  • the correction target sequence program detection processing unit 30 finds the corresponding coil (Yes in step S508), the correction target sequence program detection processing unit 30 starts the sequence program including the coil. And the end step are stored in the correction target sequence program list 24j as a correction target sequence program (step S510). If the correction target sequence program detection processing unit 30 cannot find the corresponding coil (No in step S508), no processing is performed for that step.
  • the above processing from step S502 is executed until there is no inconsistency between the time chart and the post-optimization trace result (steps S502 to S511).
  • the timing correction processing unit 29 executes the timing correction process until the correction target timing data disappears from the correction target timing list 24i (steps S512 to S515).
  • the timing correction processing unit 29 acquires the correction target timing data (steps requiring correction and new timer set values) from the correction target timing list 24i in the data memory 24 (step S513), and the sequence in the data memory 24
  • the program correction process is executed for changing the timer setting value of the timer process existing before the step to be corrected to the acquired new timer setting value (step S514).
  • Step S512 Powerful processing power Correct timing list 24 as a timing correction process. The process is executed until the correction target timing data disappears (steps S512 to S515).
  • the sequence program no / ill display display function 221 of the display processing unit 22 executes the highlight display process until the correction target sequence program is no longer in the correction target sequence program list 24j (steps S516 to S519). ).
  • the sequence program highlight display processing function 221 of the display processing unit 22 2 The ram list 24j also obtains the start step and end step of the correction target sequence program (step S517), and displays the correction target sequence program in a noise display (step S518).
  • the highlight display is performed until there is no corresponding modification target sequence program (steps S516 to S519).
  • steps S512 to S5155 the position in the sequence program where the timing was not automatically corrected is displayed to the user.
  • FIG. 20 is a diagram showing an example of processing for displaying a timing correction necessary portion of the sequence program in the PLC peripheral device.
  • the post-optimization trace result 2020 before timing correction is compared with the reference time chart 2010, and the corresponding position on the sequence program 2030 that does not match is detected. . If the coil processing is not performed before the corresponding step, the coil corresponding to the contact of the correction target step is searched. In the case shown in Fig. 20, looking at the post-optimization trace result 2020, the trace result data for device C does not match the time chart. Therefore, in the pre-correction sequence program 2030, there is no timer in front of ⁇ device table '' 2031, which is the step to be corrected. Start switch 2033 is extracted.
  • the “Step 78” and “Step 80” steps in the sequence program 2030 using these “device B” 2032 and “start switch” 2033 as coils are the correction target sequence programs. Store in the list. Then, the sequence program information / illite display processing function 221 of the display processing unit 22 performs a process of displaying the steps stored in the correction target sequence program list in a noright manner. In the case of FIG. 20, as shown in the sequence program 2040, “step 78” and “step 80” including “device B” and “start switch” as a coil are highlighted.
  • the timing of the sequence program of the PLC peripheral device is automatically corrected, and the position of the sequence program that needs to be corrected is clearly indicated without the timing being automatically corrected. Therefore, it is easy to pursue the cause when there is a discrepancy between the time chart and the trace result, and the debugging work can be performed efficiently.
  • the PLC peripheral device and the program automatic verification method that are effective in the present invention are suitable for use in debugging a sequence program.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

 タイムチャートに基づいて作成されたシーケンスプログラムの検証を、高い精度で実行することができるプログラマブルロジックコントローラの周辺装置を得ること。外部機器をシーケンスプログラムに基づいて制御するPLC(1)に接続され、PLC(1)でのシーケンスプログラムの動作状態を検証するPLCの周辺装置(2)において、PLC(1)が外部機器のうちの所定の信号入出力部に対応するシーケンス処理を実行することによって得られるトレース結果を外部機器の性能に基づいて補正した最適化後トレース結果を生成するトレース結果最適化処理部(26)と、最適化後トレース結果と外部機器に対するシーケンス処理の基になるタイムチャートとを照合して、最適化後トレース結果のずれを検出するトレース結果照合処理部(27)と、を備える。

Description

明 細 書
プログラマブルロジックコントローラの周辺装置およびプログラムの自動検 証方法
技術分野
[0001] この発明は、プログラマブルロジックコントローラ(以下、 PLCという)のシーケンスプ ログラムの作成、編集を行う PLCの周辺装置およびプログラムの自動検証方法に関 するものである。
背景技術
[0002] 従来から、 PLCの周辺装置における、タイムチャートから作成されたシーケンスプロ グラムの動作試験を行うシーケンスプログラムの試験方法が提案されて 、る(たとえば
、特許文献 1参照)。この特許文献 1に記載のシーケンスプログラムの試験方法は、シ 一ケンサプログラムによって制御される機器の動作パターンであるシーケンスタイム チャートに基づいて、動作パターンを数値ィ匕した動作パターンマトリクス表を予め作 成しておき、シーケンサプログラムによって制御される機器力もの動作出力を数値ィ匕 した値と動作パターンマトリクス表とを比較する。そして、両者が一致した場合には、 シーケンサプログラムは正常であると判定し、両者が一致しない場合には、シーケン サプログラムは異常であると判定して、その結果を PLCの周辺装置のオペレータに 出力する。
[0003] 特許文献 1 :特開 2002— 73619号公報
発明の開示
発明が解決しょうとする課題
[0004] し力しながら、特許文献 1に記載のシーケンスプログラムの試験方法では、シーケン スプログラムによって制御される機器が有する固有の性能によって生じるタイミングの ずれを考慮していな力つた。その結果、比較の基準となる動作パターンマトリクス表と 、比較の対象となる機器からの動作出力を数値ィ匕した値とは厳密には一致しないの で、判定処理においては、両者のずれを許容するような誤差率を設定しなければな らず、精度の高い判定を行うことができないという問題点があった。また、精度の高い 判定を行う場合には、オペレータが、機器力もの動作出力を数値ィ匕した値のデバッ グ処理を行わなければならな ヽと 、う問題点もあった。
[0005] この発明は上記に鑑みてなされたもので、タイムチャートに基づいて作成されたシ 一ケンスプログラムの検証を、高 、精度で実行することができるプログラマブルロジッ クコントローラの周辺装置およびプログラムの自動検証方法を得ることを目的とする。 また、シーケンスプログラムを実際に実行した場合のトレース結果の時間経過による タイムチャートからのずれを検出することができるプログラマブルロジックコントローラ の周辺装置およびプログラムの自動検証方法を得ることも目的とする。さらに、トレー ス結果のタイムチャートからのずれの原因となるデバイスやシーケンスプログラム上の 位置を検出し、自動的に修正可能な部分では修正し、自動的に修正できない場合 にはその部分を表示することができるプログラマブルロジックコントローラの周辺装置 およびプログラムの自動検証方法を得ることも目的とする。
課題を解決するための手段
[0006] 上記目的を達成するため、この発明に力かる PLCの周辺装置は、外部機器をシー ケンスプログラムに基づいて制御するプログラマブルロジックコントローラ(以下、 PLC という)に接続され、前記 PLCでの前記シーケンスプログラムの動作状態を検証する PLCの周辺装置において、前記 PLCが前記外部機器のうちの所定の信号入出力 部に対応するシーケンス処理を実行することによって得られるトレース結果を前記外 部機器の性能に基づ 、て補正した最適化後トレース結果を生成するトレース結果最 適化処理手段と、前記最適化後トレース結果と、前記外部機器に対するシーケンス 処理の基になるタイムチャートとを照合して、前記最適化後トレース結果のずれを検 出するトレース結果照合処理手段と、を備えることを特徴とする。
発明の効果
[0007] この発明によれば、タイムチャートから作成したシーケンスプログラムの検証を行う 場合に、トレース処理を実行し、検証対象の機器の性能誤差を考慮した最適化後ト レース結果とタイムチャートとを比較するようにしたので、ユーザ力 SPLCで得られたト レース結果をデバッグすることなぐシーケンスプログラムを効率的にかつ正確に検 証するができるという効果を有する。また、シーケンスプログラムの実行対象となる外 部機器の性能によるタイミングのずれは比較対象にならないようにしたので、本来の シーケンスプログラムの問題のみ検出することができるという効果を有する。
図面の簡単な説明
[図 1]図 1は、この発明による PLC周辺装置の実施の形態 1の構造を PLCとともに模 式的に示すブロック図である。
[図 2]図 2は、 PLC周辺装置における機器性能情報のデータ構造図である。
[図 3]図 3は、 PLC周辺装置におけるタイムチャートとトレース結果のデータ構造図で ある。
[図 4]図 4は、 PLCと PLC周辺装置におけるシーケンスプログラム自動検証処理の手 順の一例を示すフローチャートである。
[図 5]図 5は、トレース結果の最適化処理の手順の一例を示すフローチャートである。
[図 6]図 6は、 PLC, PLC周辺装置および外部機器の構成の一例を模式的に示す図 である。
[図 7]図 7は、図 6の構成図で実行させるシーケンスプログラムの一例を示す図である
[図 8]図 8は、この実施の形態 1によるトレース結果の最適化処理の一例を示す図で ある。
[図 9]図 9は、この実施の形態 1による最適化後トレース結果の照合処理の一例を示 す図である。
[図 10]図 10は、この発明による PLC周辺装置の実施の形態 2の構造を PLCとともに 模式的に示すブロック図である。
[図 11]図 11は、 PLC周辺装置における時間経過によるタイミングずれの検出処理の 一例を示すフローチャートである。
[図 12]図 12は、 PLC周辺装置における時間経過によるタイミングのずれを検出する 照合処理の一例を示す図である。
[図 13]図 13は、この発明による PLC周辺装置の実施の形態 3の構造を PLCとともに 模式的に示すブロック図である。
[図 14]図 14は、 PLC周辺装置におけるシーケンスプログラムのタイミング自動修正処 理の手順の一例を示すフローチャートである。
[図 15]図 15は、 PLC周辺装置におけるシーケンスプログラムのタイミング自動修正の 具体例を示す図である。
[図 16]図 16は、この発明による PLC周辺装置の実施の形態 4の構造を PLCとともに 模式的に示すブロック図である。
[図 17]図 17は、 PLC周辺装置のシーケンスプログラムの位置提示処理の手順の一 例を示すフローチャートである。
[図 18]図 18は、この発明による PLC周辺装置の実施の形態 5の構造を PLCとともに 模式的に示すブロック図である。
[図 19]図 19は、 PLC周辺装置のシーケンスプログラムのタイミング修正必要箇所表 示処理の手順の一例を示すフローチャートである。
[図 20]図 20は、 PLC周辺装置におけるシーケンスプログラムのタイミング修正必要箇 所表示処理の一例を示す図である。
符号の説明
1 プログラマブルロジックコントローラ(PLC)
2 PLC周辺装置
3 表示装置
4 入力装置
11, 24 データメモリ
12 トレース処理部
13 周辺装置 IZF部
21 PLC I/F部
22 表示処理部
23 入力処理部
25 トレース対象デバイス取得処理部
26 トレース結果最適化処理部
27 トレース結果照合処理部
28 修正対象タイミング検出処理部 29 タイミング修正処理部
30 修正対象シーケンスプログラム検出処理部
221 シーケンスプログラムハイライト表示機能
発明を実施するための最良の形態
[0010] 以下に添付図面を参照して、この発明に力かるプログラマブルロジックコントローラ( 以下、 PLCという)の周辺装置(以下、 PLC周辺装置という)およびプログラムの自動 検証方法の好適な実施の形態を詳細に説明する。なお、これらの実施の形態により この発明が限定されるものではない。
[0011] 実施の形態 1.
図 1は、この発明に力かる PLC周辺装置の実施の形態 1の構造を PLCとともに模式 的に示すブロック図である。制御対象である機器などを制御する PLC1本体に、 PLC 周辺装置 2が接続され、この PLC周辺装置 2には、 CRT (Cathode Ray Tube)や L CD (Liquid Crystal Display)などの表示装置 3と、キーボードなどの入力装置 4と、 が接続された構成を有する。
[0012] PLC1は、シーケンスプログラムやデバイス値などを格納するデータメモリ 11と、サ ンプリングトレースを実行するトレース処理部 12と、 PLC周辺装置 2本体とのインタフ エースとなる周辺装置 IZF部 13と、を備える。データメモリ 11には、シーケンスプログ ラムなどのプログラム 1 laと、シーケンスプログラムの命令を順次実行した結果となる デバイス値 l ibと、トレースの対象となるデバイスを指定するトレース対象デバイス 11 cと、トレース対象デバイスのトレース結果 l idと、を含む情報が格納される。
[0013] PLC周辺装置 2は、 PLC1本体とのインタフェースとなる PLCインタフェース部(以 下、 PLC IZF部という) 21と、表示装置 3に情報を表示するための表示処理部 22と 、入力装置 4からの入力を処理する入力処理部 23と、トレース処理を行うプログラム などを格納するデータメモリ 24と、データメモリ 24に格納されるタイムチャート 24bか らトレース対象デバイス 24cを取得するトレース対象デバイス取得処理部 25と、トレー ス結果 24dをその機器の性能を考慮して最適化するトレース結果最適化処理部 26と 、データメモリに格納されるタイムチャート 24bと最適化後トレース結果 24fとを照合す るトレース結果照合処理部 27と、を備える。 [0014] データメモリ 24には、トレース結果を最適化してタイムチャートと照合する処理など を行うプログラム 24aと、 PLC1の制御対象である機器に実行させるタイムチャート 24 bと、トレースの対象となるデバイスを指定するトレース対象デバイス 24cと、 PLC1に よるトレースの結果であるトレース結果 24dと、 PLC 1に接続される機器の性能にっ ヽ ての情報である機器性能情報 24eと、トレース結果最適化処理部 26によって作成さ れた最適化後トレース結果 24fと、トレース結果照合処理部 27によって処理された照 合結果 24gと、を含む情報が格納される。
[0015] 図 2は、 PLC周辺装置における機器性能情報のデータ構造図である。機器性能情 報 24eは、 PLC1に接続される制御対象となる機器に関する性能情報であり、具体的 には機器の性能によるタイミングのずれを含むその機器のトレース結果を補正するた めの情報である。この機器性能情報 24eは、複数の機器の性能情報 241の集合体か らなり、複数の機器の性能情報 241は、各機器の信号入力部と信号出力部を組み合 わせた信号入出力部組み合わせ性能情報 2410の集合体である。各信号入出力組 み合わせ性能情報 2410は、信号入力部の名称 2411、信号出力部の名称 2412、 その機器の信号入力部 2411からの信号が出力信号部 2412から出力されるまでの 時間である基準応答時間 2413、基準応答時間 2413に対して許容される誤差率で ある許容誤差率 2414を含む。これらの情報は、 PLC周辺装置 2に予め設定されて いる情報である。ただし、許容誤差率 2414は、ユーザによって任意の値に変更可能 であるものとする。
[0016] 図 3は、 PLC周辺装置におけるタイムチャートとトレース結果のデータ構造図である 。なお、タイムチャートとトレース結果は、共通のデータ構造を有している。この図に示 されるように、タイムチャートまたはトレース結果は、経過時間ごとの ONZOFF状態 をデバイスごとに格納している。たとえば、 ON状態は「1」で表し、 OFF状態は「0」で 表す。なお、デバイス名は、プログラム名やステップ番号の組み合わせで特定される
[0017] トレース対象デバイス取得処理部 25は、ユーザによって入力装置 4からシーケンス プログラムの自動検証指示を受けると、データメモリ 24に格納されているタイムチヤ一 ト 24bからトレースを実行するデバイスを取得する。また、トレース対象デバイス取得 処理部 25は、取得したデバイスを、トレース対象デバイス 24cとしてデータメモリ 24に 格納する。具体的には、データメモリ 24内のタイムチャート 24bに登録されているデ バイスをトレース対象デバイス 24cとして選択し、取得する。
[0018] トレース結果最適化処理部 26は、データメモリ 24中のトレース結果 24dに対して、ト レースを行った機器の性能を考慮して最適化する。具体的には、データメモリ 24内 のトレース結果 24d中の機器の信号出力部から出力されるトレース結果データに関 係するトレース結果データについて、図 2に示される機器性能情報 24eの基準応答 時間 2413を差し引く処理を行う。このトレース結果最適化処理部 26によって最適化 されたトレース結果を、最適化後トレース結果という。トレース結果最適化処理部 26 は、最適化後トレース結果 24fをデータメモリ 24中に格納する。
[0019] トレース結果照合処理部 27は、データメモリ 24に格納されるトレース対象デバイス 2 4cについてのタイムチャート 24bと、そのタイムチャート 24bに対応する機器のデバイ スの最適化後トレース結果 24fとを照合し、その照合結果 24gをデータメモリ 24に格 納する。ここでは、最適化後トレース結果 24fが、対応するタイムチャート 24bと比較し て図 2に示される機器性能情報 24eの許容誤差率 2414内に収まって 、るか否かが 照合される。
[0020] 図 4は、図 1に示した PLCと PLC周辺装置におけるシーケンスプログラム自動検証 処理の手順の一例を示すフローチャートである。まず、 PLC周辺装置 2はユーザ (ォ ペレータ)からのシーケンスプログラムの自動検証指示の有無を判別する (ステップ S 101)。ユーザからのシーケンスプログラムの自動検証指示がない場合 (ステップ S 10 1で Noの場合)には、 PLC周辺装置 2におけるシーケンスプログラムの自動検証処 理が終了する。一方、ユーザからのシーケンスプログラムの自動検証指示があった場 合 (ステップ S101で Yesの場合)には、トレース対象デバイス取得処理部 25は、デー タメモリ 24内のタイムチャート 24bからトレース対象デバイス 24cを取得する(ステップ S102)。具体的には、データメモリ 24に格納されているタイムチャート 24bに登録さ れているデバイスをトレース対象デバイス 24cとして取得し、データメモリ 24に設定す る。ついで、トレース対象デバイス取得処理部 25は、取得したトレース対象デバイス 2 4cを、 PLC IZF部 21を介して PLC1へ送信する(ステップ S103)。 [0021] PLC1は PLC周辺装置 2からトレース対象デバイスを受信すると (ステップ S104)、 受信したトレース対象デバイス 11cをデータメモリ 11へ格納する (ステップ S 105)。そ の後、受信したトレース対象デバイス 1 lcをデータメモリ 11へ格納したことを示す格 納完了信号を PLC周辺装置 2へ、周辺装置 IZF部 13を介して送信する (ステップ S 106)。
[0022] PLC周辺装置 2は、 PLC1から格納完了信号を受信すると (ステップ S 107)、トレー ス開始指示を、 PLC IZF部 21を介して PLC1へ送信する(ステップ S108)。 PLC1 は、 PLC周辺装置 2からトレース開始指示を受信すると (ステップ S 109)、そのトレー ス処理部 12にてトレース処理を実行する(ステップ S110)。トレース処理部 12は、シ 一ケンスプログラムの実行処理中のデータをトレース結果 l idとしてデータメモリ 11 に格納する。トレース処理部 12によるトレース処理が実行された後、 PLC1はトレース 結果 l idを、周辺装置 IZF部 13を介して PLC周辺装置 2へ送信する(ステップ S11
D o
[0023] PLC周辺装置 2は、 PLC1からトレース結果を受信すると (ステップ S112)、その受 信したトレース結果 24dをデータメモリ 24に格納する。トレース結果 24dには外部機 器の性能誤差が含まれているため、トレース結果最適化処理部 26は、トレース結果 2 4dから外部機器の性能誤差を取り除く最適化処理を実施する (ステップ S 113)。
[0024] 図 5は、トレース結果の最適化処理の手順の一例を示すフローチャートである。まず 、トレース結果最適化処理部 26は、自動検証を行う対象機器についての機器性能 情報 24eをデータメモリ 24から取得し (ステップ S131)、さらに取得した対象機器の 機器性能情報 24eから、自動検証を行った信号入力部と信号出力部の組み合わせ に対応する信号入出力部組み合わせ性能情報 2410を取得する (ステップ S132)。 ついで、データメモリ 24に格納されたトレース結果 24dのうち、対象機器の出力に関 係するトレース結果データについて、信号入出力部組み合わせ性能情報 2410中の 基準応答時間 2413を引いて最適化後トレース結果を生成する (ステップ S133)。そ して、生成した最適化後トレース結果 24fをデータメモリ 24に格納して (ステップ S 13 4)、トレース結果の最適化処理が終了し、図 4のフローチャートに処理が戻る。
[0025] 図 4に戻り、トレース結果照合処理部 27は、データメモリ 24に格納される最適化後 トレース結果 24fとタイムチャート 24bとを抽出し、両者の照合処理を実施して (ステツ プ S114)、その照合結果 24gをデータメモリ 24に格納する。そして、表示処理部 22 は、データメモリ 24から照合結果 24gを抽出し、 PLC周辺装置 2に接続された表示 装置 3に照合結果 24gを表示して (ステップ S 115)、シーケンスプログラムの自動検 証処理が終了する。
[0026] ここで、シーケンスプログラムの自動検証処理の具体例にっ 、て説明する。図 6は、 PLC, PLC周辺装置および外部機器の構成の一例を模式的に示す図であり、図 7 は、図 6の構成図で実行させるシーケンスプログラムの一例であり、図 8は、この実施 の形態 1によるトレース結果の最適化処理の一例を示す図であり、図 9は、この実施 の形態 1による最適化後トレース結果の照合処理の一例を示す図である。
[0027] 図 8のトレース結果最適化前 810は、 PLC1のトレース処理部 12でとられたデバイ スのトレース結果を示している。この図に示されるように、図 7のラダー図におけるデ バイス Aとデバイス Bの信号の立ち上がりに比べ、デバイス Cとデバイス Dの信号の立 ち上がりのタイミングが時間 A tだけ遅れている。これは、外部機器の性能に起因する ずれである。
[0028] このようなトレース結果に対して、 PLC周辺装置 2のトレース結果最適化処理部 26 は、機器性能情報中の機器 Aの信号入力と信号出力の組み合わせに対応する性能 情報中の基準応答時間を用いて最適化処理を実行する。具体的には、外部機器の 出力部からの信号であるデバイス Cと、このデバイス Cを接点とするデバイス Dにつ ヽ て、トレース結果力も取得した基準応答時間(A t)を差し引いて、最適化後トレース 結果を作成する。その結果が、図 8のトレース結果最適化後 820に示されている。
[0029] また、図 9の下側に示される最適化後トレース結果 920には、 PLC1に接続される 外部機器の性能誤差となる基準応答時間が含まれて 、な 、ために、正常動作して!/、 れば、図 9の上側に示されるタイムチャート 910と一致する。ただし、システム構成の 状態や動作環境により、タイムチャート 910と最適化後トレース結果 920がー致しな い可能性もある。その場合、両者のずれが図 2の信号入出力部組み合わせ性能情 報中の許容誤差率の範囲内であれば、両者が一致しているものとみなす。以上のよ うにして、トレース結果の最適化処理と照合処理が行われる。 [0030] この実施の形態 1によれば、タイムチャートから作成したシーケンスプログラムの検 証を行う場合に、トレース処理を実行し、機器の性能による誤差時間となる基準応答 時間をトレース結果力も差し引いた最適化後トレース結果を、タイムチャートと比較す るようにしたので、ユーザが PLC1でデバッグすることがなぐシーケンスプログラムを 効率的にかつ正確に検証することができるという効果を有する。また、ユーザが任意 の許容誤差率を設定可能とすることで、システム構成や環境によって発生する可能 性がある性能誤差を許容した検証を行うことができるという効果も有する。
[0031] 実施の形態 2.
この実施の形態 2では、実施の形態 1で取得した最適化後トレース結果を蓄積し、 オペレータによって PLC周辺装置に設定された所定時間の経過毎に行われたトレー ス結果とタイムチャートの照合を行うことで、時間経過によるタイミングのずれを検出 することができる PLC周辺装置について説明する。
[0032] 図 10は、この発明に力かる PLC周辺装置の実施の形態 2の構造を PLCとともに模 式的に示すブロック図である。この PLC周辺装置 2は、実施の形態 1の図 1の PLC周 辺装置 2において、データメモリ 24が、最適化後トレース結果 24fと照合結果 24gを 蓄積して格納することができる構成を有する。たとえば、最適化後トレース結果 24^ して、 1回目、 2回目、 · · ·、のトレース結果である「トレース結果 l」24f— 1、 「トレース 結果 2」 24f— 2、 · · ·、が格納され、照合結果 24gとして、 1回目、 2回目、 · · ·、の照 合結果である「照合結果 l」24g— 1、「照合結果 2」24g— 2、 · · ·、が格納される。ま た、データメモリ 24はトレース結果照合処理部 27によって検出されたタイミングずれ 検出結果 24hを格納することができる構成となっている。
[0033] さらに、トレース結果照合処理部 27は、最適化後トレース結果 24fと対応する機器 のタイムチャート 24bとを照合するが、このとき、最適化後トレース結果 24fを、自動検 証処理を実行した回数分つなげて表示させ、各最適化後トレース結果について基準 となるタイムチャート 24bを用いて照合を行う。ここで、最適化後トレース結果 24fが、 タイムチャート 24bに比べて許容誤差率の範囲内に収まっている場合には、最適化 後トレース結果 24fは、タイムチャート 24bに一致しているものと判定する力 最適化 後トレース結果 24fが、タイムチャート 24bに比べて許容誤差率の範囲を超えてしま つている場合には、そのずれをタイミングずれとして検出し、時間の経過によるタイミ ングずれであると判定する機能をさらに有している。そして、その検出したタイミング ずれ検出結果 24hをデータメモリ 24に格納する。なお、実施の形態 1と同一の構成 要素には同一の符号を付して、その説明を省略している。
[0034] つぎに、このような構成の PLC周辺装置 2における蓄積したトレース結果とタイムチ ヤートを比較することによって、時間経過によるタイミングのずれを検出する方法につ いて説明する。図 11は、 PLC周辺装置における時間経過によるタイミングずれの検 出処理の一例を示すフローチャートである。
[0035] まず、 PLC周辺装置 2は、ユーザ力 の時間経過によるタイミングずれの検出処理 の指示の有無を判定する (ステップ S201)。時間経過によるタイミングずれを検出す る指示がない場合 (ステップ S 201で Noの場合)には、時間経過によるタイミングずれ の検出処理を終了する。一方、時間経過によるタイミングずれを検出する指示があつ た場合 (ステップ S201で Yesの場合)には、トレース対象デバイス取得処理部 25は、 データメモリ 24内のタイムチャート 24bからトレース対象デバイスを取得し (ステップ S 202)、データメモリ 24内にトレース対象デバイス 24cを設定する。その後、トレース対 象デバイス取得処理部 25は、取得したトレース対象デバイスを、 PLC IZF部 21を 介して PLC1へ送信する(ステップ S203)。
[0036] ついで、実施の形態 1のステップ S104〜S106と同様に、 PLC1は PLC周辺装置 2からトレース対象デバイスを受信し、データメモリ 11へ格納した後、受信したトレー ス対象デバイス 1 lcをデータメモリ 11へ格納したことを示す格納完了信号を PLC周 辺装置 2に対して送信する(ステップ S204〜S206)。
[0037] ついで、 PLC周辺装置 2は、 PLC1から格納完了信号を受信すると (ステップ S 207 )、所定時間毎にトレース処理を実行するトレース実行処理が開始される (ステップ S2 08〜S218)。つまり、 PLC周辺装置 2は、トレース開始指示を PLC1へ送信し (ステ ップ S209)、 PLC1は、 PLC周辺装置 2からトレース開始指示を受信すると (ステップ S210)、トレース処理部 12にてトレース処理を実行し (ステップ S211)、そのトレース 結果 l idをデータメモリ 11に格納する。その後、 PLC1は、トレース処理を実行した 後、トレース結果を PLC周辺装置 2へ送信する (ステップ S212)。 [0038] PLC周辺装置 2は、 PLC1からトレース結果を受信すると (ステップ S213)、データ メモリ 24内に格納する。このトレース結果 24dには、トレースを実行した外部機器の性 能誤差が含まれているため、トレース結果最適化処理部 26によるトレース結果の最 適化処理が実行される (ステップ S214)。このトレース結果の最適化処理は、実施の 形態 1の図 5で説明した処理であり、データメモリ 24中のトレース結果 24dから、トレ ースしている対象の機器についての機器性能情報 24e内の基準応答時間を差し引く こと〖こよって行われる。
[0039] ついで、トレース結果照合処理部 27は、最適化後トレース結果 24fをデータメモリ 2 4に格納された対応する機器のタイムチャート 24bと比較する照合処理を実施する( ステップ S215)。図 12は、 PLC周辺装置における時間経過によるタイミングのずれ を検出する照合処理の一例を示す図である。この図 12には、基準となるタイムチヤ一 ト 1210と最適化後トレース結果 1220とが示されて 、る。この図 12の下側の最適化 後トレース結果 1220のトレース 1, 2に示されるように、網掛けがしている範囲が機器 の性能範囲 (許容誤差率を考慮した範囲) 1201であり、この機器の性能範囲 1201 内に最適化後トレース結果が納まっている場合には、トレース結果照合処理部 27は 、最適化後トレース結果はタイムチャートとよく一致しているものと判定する。一方、図 12の下側の最適化後トレース結果 1220のトレース 3に示されるように、トレース結果 力 機器の性能範囲 1201を超えてしまっている場合には、トレース結果照合処理部 27は、その機器の性能範囲を超えた範囲 1202、すなわち最適化後トレース結果と タイムチャートとの差を、時間経過によるタイミングずれとして検出する。
[0040] ついで、最適化後トレース結果 24f、照合結果 24gおよびタイミングずれがある場合 にはタイミングずれ検出結果 24hをデータメモリ 24に蓄積した後 (ステップ S 216)、 表示処理部 22は、時間経過によるタイミングのずれの原因となる箇所を抽出し、 PL C周辺装置 2に接続される表示装置 3に表示して (ステップ S217)、時間経過による タイミングずれの検出処理が終了する。なお、ステップ S217での時間経過によるタイ ミングずれを検出した場合における、その原因となる箇所をユーザに示す方法につ いては、実施の形態 4で説明する。また、ステップ S209〜S218は、所定の時間ごと に繰り返し実行される。 [0041] この実施の形態 2によれば、最適化後トレース結果を蓄積して格納するようにしたの で、時間の経過によるタイムチャートからのずれを検出することができるという効果を 有する。
[0042] 実施の形態 3.
この実施の形態 3では、実施の形態 1でタイムチャートと最適化後トレース結果とを 照合した結果、タイミングずれを検出した場合に、シーケンスプログラムに含まれるタ イマの設定値などを修正し、そのタイミングずれを自動修正することができる PLC周 辺装置について説明する。
[0043] 図 13は、この発明に力かる PLC周辺装置の実施の形態 3の構造を PLCとともに模 式的に示すブロック図である。この PLC周辺装置 2は、実施の形態 1の図 1の PLC周 辺装置 2において、照合結果 24gに基づいてシーケンスプログラム中の修正が必要 なタイミングを検出する修正対象タイミング検出処理部 28と、修正対象タイミング検出 処理部 28で検出された修正対象タイミング一覧 24iを基にシーケンスプログラムを修 正するタイミング修正処理部 29と、をさらに備える構成を有する。また、データメモリ 2 4は、修正対象のタイミングの一覧である修正対象タイミング一覧 24iをさらに格納す る。
[0044] 修正対象タイミング検出処理部 28は、照合結果 24gに基づいて修正が必要なタイ ミングを検出し、シーケンスプログラム内から検出したタイミングよりも前でタイマを使 用している箇所を抽出し、現在のタイマの設定値に対してタイムチャート 24bと最適 化後トレース結果 24fとの間に差異が生じない値を算出し、その値を用いて新しいタ イマ設定値を算出する。検出した修正が必要なシーケンスプログラム上のタイミングと 新たなタイマ設定値を含む修正タイミングは、修正対象タイミング一覧 24iの一つの 情報としてデータメモリ 24に格納される。
[0045] タイミング修正処理部 29は、修正対象タイミング検出処理部 28によって作成された 修正対象タイミング一覧 24iに基づ 、て、修正が必要なシーケンスプログラム上のタ イミングよりも前に存在するタイマの設定値を新たなタイマ設定値に修正する。
[0046] 図 14は、 PLC周辺装置におけるシーケンスプログラムのタイミング自動修正処理の 手順の一例を示すフローチャートである。まず、 PLC周辺装置 2は、ユーザからのシ 一ケンスプログラムの自動修正指示の有無を判別する (ステップ S301)。シーケンス プログラムの自動修正指示がない場合 (ステップ S301で Noの場合)には、 PLC周辺 装置 2におけるシーケンスプログラムの自動修正処理が終了する。一方、シーケンス プログラムの自動修正指示があった場合 (ステップ S301で Yesの場合)には、最適 化後トレース結果 24fがタイムチャート 24bとずれている箇所をシーケンスプログラム から検出する処理を実行する(ステップ S302〜S308)。
[0047] 修正対象タイミング検出処理部 28は、データメモリ 24内のタイムチャート 24bと最適 化後トレース結果 24fの照合結果 24gとを用いて不一致箇所を取得し (ステップ S30 3)、データメモリ 24に格納されるプログラム 24a中のシーケンスプログラムから、不一 致箇所に該当するステップを検索する (ステップ S304)。たとえば、不一致箇所を有 するトレース結果データに対応するデバイスを基に、シーケンスプログラム内の該当 するステップを検索する。その後、検索したステップの前にタイマ処理があるかを判別 する(ステップ S305)。その結果、タイマ処理がある場合 (ステップ S305で Yesの場 合)には、修正対象タイミング検出処理部 28は、現在のタイマの設定値に対してタイ ムチャート 24bと最適化後トレース結果 24fとの間に差異が生じない値を算出し、その 値を用いて新しいタイマ設定値を算出する (ステップ S306)。そして、修正対象タイミ ング検出処理部 28は、ステップ S304で検索したステップとステップ S306で算出した 新タイマ設定値とを含む修正対象タイミングデータをデータメモリ 24内の修正対象タ イミング一覧 24iに格納する(ステップ S307)。一方、ステップ S 305で該当するステツ プの前にタイマ処理がない場合 (ステップ S305で Noの場合)には、そのステップに ついての処理はここでは何も行われない。以上のステップ S302からの処理力 タイ ムチャートと最適化後トレース結果との間の不一致箇所がなくなるまで実行される (ス テツプ S302〜S308)。
[0048] っ 、で、タイミング修正処理部 29は、修正対象タイミングデータが修正対象タイミン グ一覧 24i中からなくなるまで、タイミング修正処理を実行する(ステップ S309〜S31 2)。つまり、タイミング修正処理部 29は、データメモリ 24内の修正対象タイミング一覧 24iから修正対象タイミングデータ (修正が必要なステップと新タイマ設定値)を取得 し (ステップ S310)、データメモリ 24のプログラム 24a中のシーケンスプログラムに対 して、修正対象のステップよりも前に存在するタイマ処理のタイマ設定値を、取得した 新 、タイマ設定値に変更するプログラムの修正処理を実行する (ステップ S311)。 以上のステップ S309からの処理力 タイミング修正処理として修正対象タイミング一 覧 24iから修正して 、な 、修正対象タイミングデータがなくなるまで実行される (ステツ プ S309〜S312)。そして、シーケンスプログラムのタイミング自動修正処理が終了 する。
[0049] 図 15は、 PLC周辺装置におけるシーケンスプログラムのタイミング自動修正の具体 例を示す図である。この図には、タイムチャート 1510と、タイミング修正前の最適化後 トレース結果 1520とシーケンスプログラム 1530、タイミング修正後の最適化後トレー ス結果 1540とシーケンスプログラム 1550とが示されている。この図では、修正後最 適化後トレース結果 1540のデバイス D力 基準となるタイムチャート 1510に対して許 容誤差率を超えた結果を有してしまって 、る場合を示して 、る。修正対象タイミング 検出処理部 28は、データメモリから修正前シーケンスプログラム 1530を取得し、この 修正前シーケンスプログラム 1530の「デバイス D」 1531よりも前にタイマ処理がある かを判断する。この修正前シーケンスプログラム 1530の「デバイス D」 1531の前に待 機タイマ 1532というタイマ処理が存在する。またタイムチャート 1510と最適化後トレ ース結果 1520との間で差異が生じない時間 A tは、修正前最適化後トレース結果 1 520とタイムチャート 1510から 1秒であるとすると、修正対象タイミング検出処理部 28 は、待機タイマ 1532の設定値を「K20」から「K10」に修正した新たなタイマ設定値 を設定する。このとき、ステップを特定するために、たとえばシーケンスプログラムの左 側の母線に書かれている番号「80」などが用いられる。その後、タイミング修正処理 部 29によって、修正後最適化後トレース結果 1540と修正後シーケンスプログラム 15 50に示されるように、それぞれ修正対象タイミングに基づいて修正される。
[0050] この実施の形態 3によれば、基準となるタイムチャートに比べてタイミングのずれて いる最適化後トレース結果のシーケンスプログラム中の場所を特定し、その特定され た位置の前に設定されているタイマのタイマ設定値をそのずれの量力 修正するよう にしたので、自動的にタイムチャートに合致したトレース結果を有するシーケンスプロ グラムを得ることができるという効果を有する。 [0051] 実施の形態 4.
この実施の形態 4では、実施の形態 2で、時間経過によるタイミングのずれを検出し た場合に、原因となる箇所をユーザに示すことができる PLC周辺装置について説明 する。
[0052] 図 16は、この発明に力かる PLC周辺装置の実施の形態 4の構造を PLCとともに模 式的に示すブロック図である。この PLC周辺装置 2は、実施の形態 2の図 10の PLC 周辺装置 2において、タイミングずれ検出結果 24hを基に、シーケンスプログラム内で 修正が必要な箇所を検出する修正対象シーケンスプログラム検出処理部 30をさらに 備え、表示処理部 22は、表示装置 3に表示されるシーケンスプログラム中の修正対 象の位置をハイライト表示するシーケンスプログラムハイライト表示処理機能 221をさ らに備え、データメモリ 24は、修正対象シーケンスプログラム検出処理部 30によって 検出されたタイミングがずれる原因となるシーケンスプログラム中の修正対象である修 正対象シーケンスプログラム一覧 24jを有する構成となっている。なお、実施の形態 1 , 2と同一の構成要素には同一の符号を付して、その説明を省略している。
[0053] 図 17は、 PLC周辺装置の時間経過によるタイミングずれの原因となるシーケンスプ ログラムの位置提示処理の手順の一例を示すフローチャートである。まず、 PLC周辺 装置 2は、時間経過によるタイミングずれが検出されているか否かを確認する (ステツ プ S401)。時間経過によるタイミングずれの検出は、トレース結果照合処理部 27によ つて行われ、その結果力タイミングずれ検出結果 24hとしてデータメモリ 24に記憶さ れる。それ故、タイミングずれの検出の有無は、データメモリ 24におけるタイミングず れ検出結果 24hの有無で判断することができる。なお、トレース結果照合処理部 27 によるタイミングずれ検出処理は、実施の形態 2で説明したのでその説明を省略する 。時間経過によるタイミングずれが検出されて 、な 、場合 (ステップ S401で Noの場 合)には、タイミングずれ位置提示処理を終了する。一方、時間経過によるタイミング ずれが検出されていた場合 (ステップ S401で Yesの場合)には、タイミングずれの原 因となるシーケンスプログラム上の位置の検出処理を行う(ステップ S402〜S407)。
[0054] 修正対象シーケンスプログラム検出処理部 30は、まず、タイミングずれ検出結果 24 hから原因のデバイスを取得し (ステップ S403)、取得したデバイスによりデータメモリ 24のプログラム(シーケンスプログラム) 24a中の該当するステップを検索する(ステツ プ S404)。たとえば、タイミングずれが検出されたトレース結果データに対応するデ バイスを基に、シーケンスプログラム内の該当するステップを検索する。検索の結果、 デバイスに該当するステップが見つ力つた場合 (ステップ S405で Yesの場合)には、 シーケンスプログラム中の該当箇所を修正対象シーケンスプログラムとして修正対象 シーケンスプログラム一覧 24jへ格納する(ステップ S406)。また、ステップ S405でデ バイスに該当するステップが見つからなかった場合 (ステップ S405で Noの場合)に は、そのステップについての処理はここでは何も行われない。以上のステップ S402 力 の処理力 シーケンスプログラムの最後まで実行される(ステップ S402〜S407)
[0055] ついで、表示処理部 22のシーケンスプログラムハイライト表示処理機能 221は、修 正対象シーケンスが修正対象シーケンスプログラム一覧 24j中からなくなるまで、ハイ ライト表示処理を実行する(ステップ S408〜S411)。つまり、表示処理部 22のシー ケンスプログラムハイライト表示処理機能 221は、修正対象シーケンスプログラム一覧 24j力も修正が必要なプログラム上の位置を取得して (ステップ S409)、その該当デ バイスを表示装置 3にハイライト表示する (ステップ S410)。そして、ノ、イライト表示を 該当する修正対象シーケンスプログラムがなくなるまで実施した後 (ステップ S409〜 S411)、タイミングずれ位置提示処理が終了する。
[0056] この実施の形態 4によれば、時間経過によるタイミングずれの原因となるシーケンス プログラム上の位置をユーザに表示するようにしたので、シーケンスプログラム中のそ の時間ずれの原因を特定することができるという効果を有する。
[0057] 実施の形態 5.
この実施の形態 5では、実施の形態 3にお 、てシーケンスプログラムを修正する必 要がある場合に、原因となるデバイスが使用されている箇所を検索し、関連するシー ケンスプログラム部分をユーザに示すことができる PLC周辺装置について説明する。
[0058] 図 18は、この発明に力かる PLC周辺装置の実施の形態 5の構造を PLCとともに模 式的に示すブロック図である。この PLC周辺装置 2は、実施の形態 3の図 13の PLC 周辺装置 2において、照合結果 24gを基に修正が必要なタイミングを検出し、修正が 必要なシーケンスプログラムを検出する修正対象シーケンスプログラム検出処理部 3 0をさらに備え、表示処理部 22は、表示装置 3に表示されるシーケンスプログラム中 の修正が必要なシーケンスプログラムをハイライト表示するシーケンスプログラムハイ ライト表示処理機能 221をさらに備え、データメモリは、修正が必要なシーケンスプロ グラムを含む修正対象シーケンスプログラム一覧を有する。なお、実施の形態 1, 3と 同一の構成要素には同一の符号を付して、その説明を省略している。また、修正対 象シーケンスプログラム検出処理部 30と表示処理部 22のシーケンスプログラムハイ ライト表示処理機能 221の機能は、実施の形態 4で説明したものと同一であるので、 その説明を省略する。
[0059] 図 19は、 PLC周辺装置のシーケンスプログラムのタイミング自動修正時におけるタ イミング修正必要箇所表示処理の手順の一例を示すフローチャートである。まず、 P LC周辺装置 2は、シーケンスプログラムのタイミングの自動修正指示の有無を判別 する (ステップ S501)。シーケンスプログラムのタイミングの自動修正指示がな 、場合 (ステップ S501で Noの場合)には、 PLC周辺装置 2におけるシーケンスプログラムの タイミング修正必要箇所表示処理が終了する。一方、シーケンスプログラムのタイミン グの自動修正指示があった場合 (ステップ S501で Yesの場合)には、最適化後トレ ース結果がタイムチャートとずれている箇所をシーケンスプログラム力 検出する処理 を実行する(ステップ S502〜S511)。
[0060] 修正対象タイミング検出処理部 28は、データメモリ 24内のタイムチャート 24bと最適 化後トレース結果 24fの照合結果 24gとを用いて不一致箇所を取得し (ステップ S50 3)、データメモリ 24に格納されるプログラム 24a中のシーケンスプログラムから、不一 致箇所に該当するステップを検索する (ステップ S504)。たとえば、不一致箇所を有 するトレース結果データに対応するデバイスを基に、シーケンスプログラム内の該当 するステップを検索する。その後、検索したステップの前にタイマ処理があるかを判別 する(ステップ S505)。その結果、タイマ処理がある場合 (ステップ S505で Yesの場 合)には、修正対象タイミング検出処理部 28は、現在のタイマの設定値に対してタイ ムチャート 24bと最適化後トレース結果 24fとの間に差異が生じない値を算出し、その 値を用いて新しいタイマ設定値を算出する (ステップ S506)。そして、修正対象タイミ ング検出処理部 28は、ステップ S504で検索したステップとステップ S506で算出した 新タイマ設定値とを含む修正対象タイミングデータをデータメモリ 24内の修正対象タ イミング一覧 24iに格納する(ステップ S507)。
[0061] 一方、ステップ S505で該当するステップの前にタイマ処理がない場合 (ステップ S5 05で Noの場合)には、修正対象シーケンスプログラム検出処理部 30は、シーケンス プログラムにおける該当するステップの接点に対応するコイルを検索する (ステップ S 508)。その結果、修正対象シーケンスプログラム検出処理部 30が該当するコイルを 見つけた場合 (ステップ S508で Yesの場合)には、修正対象シーケンスプログラム検 出処理部 30は、そのコイルを含むシーケンスプログラムの開始ステップと終了ステツ プを修正対象シーケンスプログラムとして、修正対象シーケンスプログラム一覧 24jへ 格納する (ステップ S510)。また、修正対象シーケンスプログラム検出処理部 30が該 当するコイルを見つけることができなかった場合 (ステップ S508で Noの場合)には、 そのステップについての処理はここでは何も行われない。以上のステップ S502から の処理が、タイムチャートと最適化後トレース結果との間の不一致箇所がなくなるまで 実行される(ステップ S502〜S511)。
[0062] っ 、で、タイミング修正処理部 29は、修正対象タイミングデータが修正対象タイミン グ一覧 24i中からなくなるまで、タイミング修正処理を実行する(ステップ S512〜S51 5)。つまり、タイミング修正処理部 29は、データメモリ 24内の修正対象タイミング一覧 24iから修正対象タイミングデータ (修正が必要なステップと新タイマ設定値)を取得 し (ステップ S513)、データメモリ 24内のシーケンスプログラムに対して、修正対象の ステップよりも前に存在するタイマ処理のタイマ設定値を、取得した新タイマ設定値に 変更するプログラムの修正処理を実行する(ステップ S514)。以上のステップ S512 力もの処理力 タイミング修正処理として修正対象タイミング一覧 24 も修正して ヽ な!、修正対象タイミングデータがなくなるまで実行される(ステップ S512〜S 515)。
[0063] その後、表示処理部 22のシーケンスプログラムノ、イライト表示処理機能 221は、修 正対象シーケンスプログラムが修正対象シーケンスプログラム一覧 24j中力もなくなる まで、ハイライト表示処理を実行する (ステップ S516〜S519)。つまり、表示処理部 2 2のシーケンスプログラムハイライト表示処理機能 221は、修正対象シーケンスプログ ラム一覧 24j力も修正対象シーケンスプログラムの開始ステップと終了ステップを取得 し (ステップ S517)、修正対象シーケンスプログラムをノヽイライト表示する(ステップ S5 18)。そして、ハイライト表示を該当する修正対象シーケンスプログラムがなくなるまで 実施する(ステップ S516〜S519)。これにより、ステップ S512〜S515で、タイミング の自動修正がなされなかったシーケンスプログラム中の位置をユーザに対して表示 する。以上により、 PLC周辺装置 2におけるシーケンスプログラムのタイミング修正必 要箇所表示処理が終了する。
[0064] 図 20は、 PLC周辺装置におけるシーケンスプログラムのタイミング修正必要箇所表 示処理の一例を示す図である。この図に示されるように、タイミング修正前の最適化 後トレース結果 2020を、基準となるタイムチャート 2010と比較して照合を行い、両者 がー致しないシーケンスプログラム 2030上の該当する位置を検出する。そして、該 当するステップの前にコイル処理がな ヽ場合には、修正対象ステップの接点に対応 するコイルを検索する。図 20に示される場合には、その修正前最適化後トレース結 果 2020を見ると、デバイス Cのトレース結果データがタイムチャートと不一致である。 そこで、修正前シーケンスプログラム 2030を見ると、修正対象ステップである「デバイ スじ」 2031の前にはタイマがないので、「デバイス C」 2031を有するステップの接点 である「デバイス B」 2032と「始動スィッチ」 2033を抽出する。その後、これらの「デバ イス B」 2032と「始動スィッチ」 2033をコイルとするシーケンスプログラム 2030中のス テツプである「ステップ 78」と「ステップ 80」を修正対象シーケンスプログラムとして、修 正対象シーケンスプログラム一覧に格納する。そして、表示処理部 22のシーケンス プログラムノ、イライト表示処理機能 221は、この修正対象シーケンスプログラム一覧 に格納されるステップをノヽイライト表示させる処理を行う。図 20の場合には、シーケン スプログラム 2040に示されるように、コイルとして「デバイス B」と「始動スィッチ」を含 む「ステップ 78」と「ステップ 80」がハイライト表示される。
[0065] この実施の形態 5によれば、 PLC周辺装置のシーケンスプログラムのタイミング自動 修正時にぉ 、て、自動的にタイミングが修正されな力つた修正が必要なシーケンスプ ログラムの位置が明示されるので、タイムチャートとトレース結果にずれが生じた際の 原因追求が容易となり、効率的にデバッグ作業が実施できるという効果を有する。 産業上の利用可能性
以上のように、この発明に力かる PLCの周辺装置およびプログラムの自動検証方 法は、シーケンスプログラムのデバッグを行う際において用いられるのに適している。

Claims

請求の範囲
[1] 外部機器をシーケンスプログラムに基づ 、て制御するプログラマブルロジックコント ローラ(以下、 PLCという)に接続され、前記 PLCでの前記シーケンスプログラムの動 作状態を検証する PLCの周辺装置において、
前記 PLCが前記外部機器のうちの所定の信号入出力部に対応するシーケンス処 理を実行することによって得られるトレース結果を前記外部機器の性能に基づいて 補正した最適化後トレース結果を生成するトレース結果最適化処理手段と、 前記最適化後トレース結果と、前記外部機器に対するシーケンス処理の基になるタ ィムチャートとを照合して、前記最適化後トレース結果のずれを検出するトレース結果 照合処理手段と、
を備えることを特徴とする PLCの周辺装置。
[2] 前記 PLCが前記外部機器のうちの所定の信号入出力部に対するシーケンス処理 を、所定の時間間隔で実行することによって得られるトレース結果を蓄積して格納す るトレース結果記憶手段をさらに備え、
前記トレース結果記憶手段に前記トレース結果が格納される毎に、
前記トレース結果最適化処理手段は、最適化後トレース結果を生成し、 前記トレース結果照合処理手段は、前記最適化後トレース結果と前記タイムチヤ一 トとの照合を行い、時間経過によるタイミングのずれを検出する機能を備えることを特 徴とする請求項 1に記載の PLCの周辺装置。
[3] 前記トレース結果照合処理手段によって得られた照合結果から前記タイムチャート と前記最適化後トレース結果との間にタイミングのずれが検出されると、そのタイミン グのずれに対応する前記シーケンスプログラム上の位置と、そのタイミングのずれの 量を特定した修正対象タイミング情報を生成する修正対象タイミング検出処理手段と 前記修正対象タイミング検出処理手段によって生成された前記修正対象タイミング に基づいて前記シーケンスプログラムの修正処理を行うタイミング修正処理手段と、 をさらに備えることを特徴とする請求項 1に記載の PLCの周辺装置。
[4] 前記修正対象タイミング検出処理手段は、前記タイミングのずれに対応する前記シ 一ケンスプログラム上の位置よりも前にタイマ処理が存在する場合に、このタイマ処理 のタイマ設定値に対して前記タイミングのずれの量が解消される新たなタイマ設定値 を算出し、
前記タイミング修正処理手段は、前記シーケンスプログラム上の前記タイマ処理の タイマ設定値に前記新たなタイマ設定値を設定することを特徴とする請求項 3に記載 の PLCの周辺装置。
[5] 前記トレース結果照合処理手段によって得られた照合結果から前記タイムチャート と前記最適化後トレース結果との間に時間経過によるタイミングのずれが検出される と、そのタイミングのずれの原因となるデバイスを取得し、このデバイスに関係する前 記シーケンスプログラム中のステップを取得する修正対象シーケンスプログラム検出 処理手段と、
前記シーケンスプログラム中の前記タイミングのずれが生じる原因となる前記デバイ スを強調して、当該 PLCの周辺装置に接続される表示手段に表示させる表示処理 手段と、
をさらに備えることを特徴とする請求項 2に記載の PLCの周辺装置。
[6] 前記トレース結果照合処理手段によって得られた照合結果から前記タイムチャート と前記最適化後トレース結果との間にタイミングのずれが検出されると、そのタイミン グのずれの原因となる前記シーケンスプログラム中のステップを取得する修正対象シ 一ケンスプログラム検出処理手段と、
前記シーケンスプログラム中の前記タイミングのずれが生じる原因となるステップを 強調して、当該 PLCの周辺装置に接続される表示手段に表示させる表示処理手段 と、
をさらに備えることを特徴とする請求項 1に記載の PLCの周辺装置。
[7] 前記修正対象シーケンスプログラム検出処理手段は、前記タイミングのずれに対応 する前記シーケンスプログラム中のステップを抽出し、このステップで接点として使用 されるデバイスをコイルとするステップを、前記タイミングのずれが生じる原因となるス テツプとして取得することを特徴とする請求項 6に記載の PLCの周辺装置。
[8] 外部機器をシーケンスプログラムに基づ 、て制御するプログラマブルロジックコント ローラ(以下、 PLCという)に接続される PLCの周辺装置で、前記 PLCでの前記シー ケンスプログラムの動作状態を検証するプログラムの自動検証方法にお 、て、 前記 PLCが前記外部機器のうちの所定の信号入出力部に対応するシーケンス処 理を実行することによって得られるトレース結果を前記外部機器の性能に基づいて 補正した最適化後トレース結果を生成する工程と、
前記最適化後トレース結果と、前記外部機器に対するシーケンス処理の基になるタ ィムチャートとを照合して、前記最適化後トレース結果のずれを検出する工程と、 を含むことを特徴とするプログラムの自動検証方法。
PCT/JP2006/311807 2006-06-13 2006-06-13 プログラマブルロジックコントローラの周辺装置およびプログラムの自動検証方法 WO2007144936A1 (ja)

Priority Applications (7)

Application Number Priority Date Filing Date Title
PCT/JP2006/311807 WO2007144936A1 (ja) 2006-06-13 2006-06-13 プログラマブルロジックコントローラの周辺装置およびプログラムの自動検証方法
JP2008521050A JP4890545B2 (ja) 2006-06-13 2006-06-13 プログラマブルロジックコントローラの周辺装置
KR1020087030180A KR101006787B1 (ko) 2006-06-13 2006-06-13 프로그래머블 로직 컨트롤러의 주변 장치
CN2006800549883A CN101467111B (zh) 2006-06-13 2006-06-13 可编程逻辑控制器的外围装置
US12/304,632 US8060221B2 (en) 2006-06-13 2006-06-13 Peripheral device of programmable logic controller
GB0822737A GB2454832B (en) 2006-06-13 2006-06-13 Peripheral device of programmable logic controller
DE112006003926.1T DE112006003926B4 (de) 2006-06-13 2006-06-13 Peripheriegerät für einen programmierbaren Logik-Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2006/311807 WO2007144936A1 (ja) 2006-06-13 2006-06-13 プログラマブルロジックコントローラの周辺装置およびプログラムの自動検証方法

Publications (1)

Publication Number Publication Date
WO2007144936A1 true WO2007144936A1 (ja) 2007-12-21

Family

ID=38831460

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/311807 WO2007144936A1 (ja) 2006-06-13 2006-06-13 プログラマブルロジックコントローラの周辺装置およびプログラムの自動検証方法

Country Status (7)

Country Link
US (1) US8060221B2 (ja)
JP (1) JP4890545B2 (ja)
KR (1) KR101006787B1 (ja)
CN (1) CN101467111B (ja)
DE (1) DE112006003926B4 (ja)
GB (1) GB2454832B (ja)
WO (1) WO2007144936A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014126108A1 (ja) * 2013-02-15 2014-08-21 株式会社安川電機 機器制御装置及び機器制御方法
JP7483183B1 (ja) 2023-08-31 2024-05-14 三菱電機株式会社 画像生成プログラム、画像生成装置、支援システム及び画像生成方法

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5252014B2 (ja) 2011-03-15 2013-07-31 オムロン株式会社 制御装置、制御システム、ツール装置および収集指示プログラム
JP5218585B2 (ja) * 2011-03-15 2013-06-26 オムロン株式会社 制御装置およびシステムプログラム
WO2013186889A1 (ja) * 2012-06-14 2013-12-19 三菱電機株式会社 I/oデバイス、プログラマブルロジックコントローラ及び演算方法
CN102968089B (zh) * 2012-10-23 2014-12-24 深圳市汇川控制技术有限公司 可编程逻辑控制器及实现方法
TWI489232B (zh) * 2012-11-14 2015-06-21 Inst Information Industry 遠端監控系統及方法及其記錄媒體
CN104699019B (zh) * 2013-12-09 2019-09-17 中芯国际集成电路制造(上海)有限公司 机台恢复检验系统以及机台恢复检验方法
US10156837B2 (en) 2014-03-14 2018-12-18 Omron Corporation Control systems for setting sampling timing
US9983986B2 (en) 2015-09-28 2018-05-29 International Business Machines Corporation Testing code response to injected processing errors
JP6087478B1 (ja) * 2016-01-27 2017-03-01 三菱電機株式会社 制御装置及び編集装置
CN107065748A (zh) * 2017-05-10 2017-08-18 许继集团有限公司 一种plc程序控制逻辑的检测装置
JP6922583B2 (ja) * 2017-09-15 2021-08-18 オムロン株式会社 情報処理装置、情報処理方法、および、情報処理プログラム
US11086919B2 (en) * 2018-02-19 2021-08-10 Harness Inc. Service regression detection using real-time anomaly detection of log data
US11841691B2 (en) * 2020-03-23 2023-12-12 Canon Kabushiki Kaisha Information processing device, information processing method, recording medium, and method of manufacturing product
CN113189933B (zh) * 2021-03-29 2022-09-06 大族激光科技产业集团股份有限公司 示教轨迹修改方法、装置、设备及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0581009A (ja) * 1991-09-18 1993-04-02 Mazda Motor Corp 生産設備の故障診断方法
JP2000259216A (ja) * 1999-03-12 2000-09-22 Digital Electronics Corp 産業用制御装置のプログラミングのためのシステムおよび方法ならびにそのソフトウェアが記録された記録媒体

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6368904A (ja) 1986-09-10 1988-03-28 Asahi Chem Ind Co Ltd プログラマブルコントロ−ラのチエツク方法及び装置
JPS643748A (en) * 1987-06-26 1989-01-09 Hitachi Ltd Test device for software logical device
JPH02294841A (ja) 1989-05-10 1990-12-05 Hokuriku Nippon Denki Software Kk 論理シミュレーション方式
JPH0314180A (ja) 1989-06-13 1991-01-22 Hokuriku Nippon Denki Software Kk 論理シミュレーション方式
JPH05341819A (ja) * 1991-02-05 1993-12-24 Mitsubishi Electric Corp Sfcプログラムのデバッグ装置及びデバッグ方法
JP3126493B2 (ja) 1991-06-25 2001-01-22 松下電工株式会社 設備故障診断方法
DE4206076A1 (de) * 1992-02-27 1993-09-16 Wacker Chemie Gmbh Verfahren zur kontrolle und steuerung von chargenprozessen
JPH06259129A (ja) * 1993-03-03 1994-09-16 Fanuc Ltd シーケンス・プログラムのデバッグ方式
JP2762893B2 (ja) * 1993-04-02 1998-06-04 三菱電機株式会社 プログラマブルコントローラ及びそのプログラマブルコントローラを用いたsfcプログラム実行方法
TW421761B (en) * 1994-04-12 2001-02-11 Yokogawa Electric Corp Verification support system
JP3225757B2 (ja) * 1994-10-24 2001-11-05 三菱電機株式会社 プログラマブルコントローラ
JPH08194634A (ja) 1995-01-18 1996-07-30 Hitachi Ltd テスト実行システム
JP3217648B2 (ja) 1995-07-07 2001-10-09 松下電工株式会社 設備故障診断装置
US5996092A (en) * 1996-12-05 1999-11-30 International Business Machines Corporation System and method for tracing program execution within a processor before and after a triggering event
US6145123A (en) * 1998-07-01 2000-11-07 Advanced Micro Devices, Inc. Trace on/off with breakpoint register
US6442441B1 (en) * 1999-05-17 2002-08-27 Ford Global Technologies, Inc. Method of automatically generating and verifying programmable logic controller code
JP2002073619A (ja) 2000-06-12 2002-03-12 Ricoh Co Ltd 電子文書掲示システム
JP2002099312A (ja) 2000-09-22 2002-04-05 Mitsubishi Electric Corp プログラマブルコントローラおよび制御プログラム開発支援装置
JP2002163020A (ja) * 2000-11-27 2002-06-07 Matsushita Electric Works Ltd プログラマブルコントローラにおける異常検出方法およびその装置
JP2002268079A (ja) 2001-03-09 2002-09-18 Seiko Epson Corp 電気光学装置と電子機器
JP2003050716A (ja) * 2001-08-06 2003-02-21 Matsushita Electric Ind Co Ltd ソフトウエアデバッガとソフトウエア開発支援システム
JP2003140919A (ja) * 2001-10-31 2003-05-16 Fujitsu Ltd プロセッサのルーチン実行順を検証するシミュレーション方法並びにデバッグ方法、デバッガプログラム及びその記録媒体
JP2003248504A (ja) 2002-02-22 2003-09-05 Digital Electronics Corp 制御プログラムのデバッグ方法
US20050033457A1 (en) * 2003-07-25 2005-02-10 Hitoshi Yamane Simulation aid tools and ladder program verification systems
US7587709B2 (en) * 2003-10-24 2009-09-08 Microsoft Corporation Adaptive instrumentation runtime monitoring and analysis
JP2005243008A (ja) * 2004-01-29 2005-09-08 Omron Corp 診断システムおよび診断方法ならびにツールおよびコンポ
US7272453B2 (en) * 2004-11-30 2007-09-18 Air Products And Chemicals, Inc. Method and apparatus for utilizing a sequence interpreter approach to control logic of a programmable logic controller
US7827022B2 (en) * 2006-09-27 2010-11-02 Rockwell Automation Technologies, Inc. Sequential function chart validation tool

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0581009A (ja) * 1991-09-18 1993-04-02 Mazda Motor Corp 生産設備の故障診断方法
JP2000259216A (ja) * 1999-03-12 2000-09-22 Digital Electronics Corp 産業用制御装置のプログラミングのためのシステムおよび方法ならびにそのソフトウェアが記録された記録媒体

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014126108A1 (ja) * 2013-02-15 2014-08-21 株式会社安川電機 機器制御装置及び機器制御方法
JP6052387B2 (ja) * 2013-02-15 2016-12-27 株式会社安川電機 機器制御装置及び機器制御方法
JP7483183B1 (ja) 2023-08-31 2024-05-14 三菱電機株式会社 画像生成プログラム、画像生成装置、支援システム及び画像生成方法

Also Published As

Publication number Publication date
GB2454832B (en) 2011-04-27
DE112006003926B4 (de) 2016-12-01
KR101006787B1 (ko) 2011-01-10
GB2454832A (en) 2009-05-27
CN101467111A (zh) 2009-06-24
DE112006003926T5 (de) 2009-05-28
US20100049337A1 (en) 2010-02-25
JPWO2007144936A1 (ja) 2009-10-29
KR20090009320A (ko) 2009-01-22
JP4890545B2 (ja) 2012-03-07
GB0822737D0 (en) 2009-01-21
CN101467111B (zh) 2011-02-16
US8060221B2 (en) 2011-11-15

Similar Documents

Publication Publication Date Title
WO2007144936A1 (ja) プログラマブルロジックコントローラの周辺装置およびプログラムの自動検証方法
EP3220222B1 (en) Evaluation system, evaluation method, and evaluation program
US20140236997A1 (en) Controller, information processing apparatus, and recording medium
JP6525366B2 (ja) エレベーター遠隔保守支援システム
CN111446015B (zh) 核电站反应堆控制棒组试验方法、装置、设备及介质
EP3220220A1 (en) Evaluation system, evaluation method, and evaluation program
CN108226838B (zh) 一种实现保护测控装置精度自动校正的方法
US20170212798A1 (en) Ladder program display device having automatic trace function for self-holding circuit of ladder program
TW201435527A (zh) 可程式邏輯控制器、可程式邏輯控制系統及執行錯誤資訊作成方法
JP2015076049A (ja) プログラム開発支援装置およびコンピュータプログラム
TW201437946A (zh) 工程工具
CN111142469B (zh) 一种plc的组态程序的调试方法及调试系统
CN106060615B (zh) 利用光传感器实现屏参自动匹配的判断方法和装置
JP2019174967A (ja) 操作性を向上した統合シミュレーションシステム
JP2007025820A (ja) ソフトウェアのリスク診断プログラム
JP2008097285A (ja) プラント監視制御システム
US11151016B2 (en) Control-program-development supporting apparatus, control-program-development supporting system, control-program-development supporting method, and non-transitory computer-readable storage medium
CN110366040B (zh) 电视出厂复位方法、装置、计算机可读存储介质及系统
JP2011107992A (ja) ジョブスケジュール変更管理システム
CN108880907B (zh) 基于运行日志的网络设备自动化检查维修系统
JP4000864B2 (ja) 開発支援装置及びプログラム製品及び自動モニタリング方法
CN115345481A (zh) 操作票执行方法、装置、电子设备和存储介质
CN114851987A (zh) 一种车辆功能执行方法、装置、设备及介质
CN117182447A (zh) 激光设备的修复方法、激光设备修复装置及存储介质
US20190278258A1 (en) Operation management apparatus

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200680054988.3

Country of ref document: CN

DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 06766619

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2008521050

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 1020087030180

Country of ref document: KR

ENP Entry into the national phase

Ref document number: 0822737

Country of ref document: GB

Kind code of ref document: A

Free format text: PCT FILING DATE = 20060613

WWE Wipo information: entry into national phase

Ref document number: 0822737.3

Country of ref document: GB

WWE Wipo information: entry into national phase

Ref document number: 1120060039261

Country of ref document: DE

WWE Wipo information: entry into national phase

Ref document number: 12304632

Country of ref document: US

RET De translation (de og part 6b)

Ref document number: 112006003926

Country of ref document: DE

Date of ref document: 20090528

Kind code of ref document: P

122 Ep: pct application non-entry in european phase

Ref document number: 06766619

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: DE

Ref legal event code: 8607