WO2011125280A1 - Debugging support device, debugging support method and debugging support program - Google Patents

Debugging support device, debugging support method and debugging support program Download PDF

Info

Publication number
WO2011125280A1
WO2011125280A1 PCT/JP2011/001103 JP2011001103W WO2011125280A1 WO 2011125280 A1 WO2011125280 A1 WO 2011125280A1 JP 2011001103 W JP2011001103 W JP 2011001103W WO 2011125280 A1 WO2011125280 A1 WO 2011125280A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
control signal
external device
transmitted
operation mode
Prior art date
Application number
PCT/JP2011/001103
Other languages
French (fr)
Japanese (ja)
Inventor
覚 大浦
Original Assignee
株式会社ベイビッグ
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 株式会社ベイビッグ filed Critical 株式会社ベイビッグ
Publication of WO2011125280A1 publication Critical patent/WO2011125280A1/en

Links

Images

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/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • 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/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24069Diagnostic
    • 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/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33297Diagnostic, test, debug

Definitions

  • the present invention relates to a debugging support device, a debugging support method, and a debugging support program, and more particularly to a debugging support device that supports debugging of a control application that controls an external device.
  • Patent Document 1 an attempt is made to reproduce the order of occurrence of “events” that occurred in a program to be debugged when a failure occurs.
  • the debugging device described in Patent Document 1 can only confirm that an event occurs in a task generated in the computer according to a predetermined generation order in each task.
  • the present invention has been made in order to solve the above-described problems.
  • transmission / reception of a control signal is considered without connecting to the external device to be controlled.
  • An object is to provide a debugging support device capable of debugging.
  • a debugging support apparatus is a debugging support apparatus that supports debugging of a control application that controls an external device, and the control application is an operation of the external device.
  • a plurality of first processes including a screen processing process for a user to perform an input operation on the external device
  • the debugging support apparatus includes: (1) the management process In response to the first control signal transmitted from the external device to the management process, the first control signal transmitted to the external device is transmitted to the external device to instruct the operation of the external device.
  • a normal operation mode in which a first response signal indicating a result of the operation of the external device is transmitted to the management process; and (2) receiving the first control signal.
  • the same operation as when the external device is connected is simulated to the management process.
  • a signal transmission unit having a debug operation mode wherein the plurality of first processes transmit and receive signals to and from each other via the signal transmission unit, and the signal transmission unit is in a normal operation mode.
  • the third process is transmitted from a second process that is one of the management process and the screen processing process to a third process that is the other of the management process and the screen processing process.
  • a second control signal instructing processing is transmitted to the third process; and (ii) the second control signal transmitted from the third process to the second process.
  • a second response signal indicating a result of processing by the third process in response to the second process is transmitted to the second process, and in a debug operation mode, (iii) when the second control signal is received, Even if the third process is stopped by generating the second response signal and transmitting the generated second response signal to the second process, the third response signal
  • the second process is simulated to perform the same operation as when the process is being executed.
  • the debugging support apparatus can simulate transmission / reception of signals between the management process in the control application and the external device by using the debug operation mode. Therefore, the debugging support apparatus according to an aspect of the present invention can perform debugging in consideration of control signal transmission / reception processing performed by the control application without connecting the control application to an external device.
  • control application independent program development can be performed for each process constituting the control application.
  • independent program development can be performed for each process constituting the control application.
  • control application can be debugged as the program is completed.
  • the debug support apparatus further includes a first type of any of the first control signal and the second control signal, the first response signal corresponding to the first type, and the second type.
  • a verification condition holding unit that holds a verification condition indicating any second type of the response signal and an execution type that designates one of the normal operation mode and the debug operation mode for the first type.
  • the execution type corresponding to the first type when the first control signal of the first type indicated by the verification condition is received from the management process.
  • the debugging support apparatus simulates transmission / reception of a specific signal among signals transmitted / received between the control application and the external device. Can do. Therefore, for example, when debugging is performed by actually connecting an external device and a control application, it is possible to easily separate a signal that causes a failure from a signal that does not occur among a plurality of signals.
  • the verification condition includes a waiting time
  • the signal transmission unit receives the first control signal of the first type indicated by the verification condition from the management process in the debug operation mode.
  • Generating the first response signal of the second type corresponding to the type, waiting for the waiting time after receiving the first control signal of the first type, and then generating the second type of the generated second type A first response signal may be sent to the management process.
  • the debugging support apparatus changes the transmission timing of the simulation signal when simulating transmission / reception of a specific signal among signals transmitted / received between the control application and the external device. can do.
  • the debugging support apparatus further includes a transmission history recording unit that records the history of the first control signal and the first response signal transmitted by the signal transmission unit, and the recording history recording unit that records the transmission history recording unit.
  • a verification condition generation unit that generates the verification condition so as to reproduce the transmission / reception pattern of the first control signal and the first response signal included in the history from the history may be provided.
  • the debugging support apparatus can simulate signals transmitted and received in the past between the control application and the external device. Therefore, for example, when a control application or an external device is changed, an operation test based on a past operation state can be performed.
  • the verification condition generation unit transmits and receives the first control signal and the first response signal included in the history from the history of the first period according to the time when the execution of the control application has failed.
  • the verification condition may be generated so as to reproduce the pattern.
  • the debugging support apparatus is selected according to the time at which a failure occurs in execution of the control application among signals transmitted and received in the past between the control application and the external device. Only the received signal can be simulated.
  • the verification condition generation unit acquires the first period specified by the user, and from the acquired history of the first period, the first control signal and the first response signal included in the history
  • the verification condition may be generated so as to reproduce the transmission / reception pattern.
  • the debugging support apparatus can easily simulate a signal transmitted and received in the past between the control application and the external device at a time specified by the user. Can do.
  • the verification condition further includes an abnormal condition indicating a transmission / reception pattern of the first control signal and the first response signal, and the signal transmission unit includes the first control signal and the first control signal. If the pattern in which the response signal is transmitted and received matches the abnormal condition, the user may be notified that an abnormality has occurred.
  • the debugging support apparatus can notify the user when a signal matching a specific abnormality pattern is transmitted and received between the control application and the external device. Therefore, it is possible to monitor the generation pattern of abnormal signals and improve the elucidation of the cause of the failure.
  • the verification condition further includes a third type of the first control signal or the first response signal and the number of receptions corresponding to the third type, and the signal transmission unit includes the verification condition.
  • the third type of the first control signal or the first response signal included in the number of times of reception is received, the user may be notified that an abnormality has occurred.
  • the debug support apparatus can notify the user when a control signal is received from a control application a specified number of times or more.
  • the verification condition further includes a normal condition indicating a transmission / reception pattern of the first control signal and the first response signal, and the signal transmission unit includes the first control signal and the first response signal. If the pattern in which the response signal is transmitted and received does not match the normal condition, the user may be notified that an abnormality has occurred.
  • the debugging support apparatus allows a user to perform transmission / reception of signals that deviate from predetermined control signal transmission and response signal reception patterns. Can be notified.
  • the plurality of first processes include a communication process that communicates with the external device, and in the normal operation mode, the signal transmission unit communicates the first control signal transmitted from the management process with the communication.
  • the communication process converts the transmitted first control signal into a format interpretable by the external device, and transmits the converted first control signal to the external device;
  • a first response signal indicating a result of operation of the external device in response to the converted first control signal transmitted from the external device is converted into a format that can be interpreted by the management process. Converting, and transmitting the converted first response signal to the signal transmission unit, wherein the signal transmission unit transmits the converted first response signal transmitted from the communication process to the management process. It may be transmitted.
  • the debugging support apparatus is configured so that, even when the control application implements a communication function with an external device in a separate process, A signal transmitted / received to / from an external device can be simulated.
  • the present invention can be realized not only as such a debugging support apparatus, but also as a debugging support method using characteristic means included in the debugging support apparatus as a step, or such characteristic steps in a computer. It can also be realized as a program to be executed. It goes without saying that such a program can be distributed via a recording medium such as a CD-ROM (Compact Disc Read Only Memory) and a transmission medium such as the Internet.
  • a recording medium such as a CD-ROM (Compact Disc Read Only Memory)
  • a transmission medium such as the Internet.
  • the present invention can be realized as a semiconductor integrated circuit (LSI) that realizes part or all of the functions of such a debugging support device, or can be realized as a debugging support system including such a debugging support device.
  • LSI semiconductor integrated circuit
  • the present invention can provide a debugging support device capable of efficient debugging in consideration of transmission / reception of control signals without being connected to an external device to be controlled when developing a control application for controlling the external device.
  • FIG. 1 is a diagram showing an outline of a machine control system in Embodiments 1 and 2 of the present invention.
  • FIG. 2 is a diagram showing an outline of the hardware configuration of the control device according to the first and second embodiments of the present invention.
  • FIG. 3 is a block diagram showing an outline of the functions of the control application and the debugging support apparatus in the first and second embodiments of the present invention.
  • FIG. 4 is a flowchart showing an outline of processing of the machine control system in the first and second embodiments of the present invention.
  • FIG. 5 is a sequence diagram showing the flow of control signals during normal operation in the first and second embodiments of the present invention.
  • FIG. 6A is a diagram showing an API for transmitting a transmission-required signal in Embodiments 1 and 2 of the present invention.
  • FIG. 6B is a diagram showing an API for transmitting a received signal in Embodiments 1 and 2 of the present invention.
  • FIG. 7 is a sequence diagram showing the flow of control signals during the debugging operation in the first and second embodiments of the present invention.
  • FIG. 8 is a diagram showing an example of the data structure of the transmission mode file in the first and second embodiments of the present invention.
  • FIG. 9 is a diagram showing an example of the data structure of the verification condition file in the first and second embodiments of the present invention.
  • FIG. 10 is a diagram showing another example of the data structure of the verification condition file in the first and second embodiments of the present invention.
  • FIG. 11 is a flowchart showing processing of the signal transmission unit corresponding to the verification condition file shown in FIG.
  • FIG. 12 is a flowchart showing the flow of processing in another embodiment 2 of the present invention.
  • FIG. 13 is a diagram showing an example of a history file according to Embodiment 2 of the present invention.
  • FIG. 14 is a diagram showing an example of a verification condition file template according to the second embodiment of the present invention.
  • FIG. 15 is a diagram showing a GUI screen for correcting the template of the verification condition file in the second embodiment of the present invention.
  • FIG. 1 shows an appearance of a machine control system 100 having a debugging support apparatus according to the present invention.
  • the machine control system 100 includes a control device 200 and an external device 280.
  • the machine control system 100 is a system for producing a semiconductor substrate by controlling an external device 280 that performs assembly work in a semiconductor substrate production line by the control device 200 according to a predetermined work target.
  • the control device 200 is a computer, such as a general-purpose PC (Personal Computer) or a dedicated control device for the control device.
  • control device 200 includes a control application 220 and a debugging support device 300.
  • control device 200 transmits a control signal to the robot arm 260 that is a part of the external device 280. Further, the control device 200 receives a response signal from the robot arm 260. As described above, the control device 200 realizes the function of the machine control system 100 by repeatedly transmitting and receiving signals to and from the external device 280.
  • the external device 280 is, for example, one or more production apparatuses constituting a semiconductor production line or a board mounting line.
  • the external device 280 has a function of transmitting and receiving control signals to and from the control device 200 such as the robot arm 260 and the belt compare 270.
  • FIG. 2 is a schematic diagram showing a hardware configuration of the control device 200. As shown in FIG.
  • the control device 200 includes a CPU 201, a memory 202, a display device 203, a storage 204, an input device 205, and a communication I / F 206.
  • the CPU 201 is a numerical arithmetic unit used for normal computer processing.
  • the CPU 201 performs calculations necessary for the execution of the control application 220 and the debug support apparatus 300.
  • the memory 202 is a storage device such as a RAM (Random Access Memory).
  • the memory 202 is used as a work area for the CPU.
  • the CPU 201 is used in inter-process communication performed between the control application 220 and the debug support apparatus 300 as described later.
  • the memory 202 may include a ROM (Read Only Memory) for storing data that does not need to be rewritten, such as a program of the control application 220 or the debug support apparatus 300.
  • ROM Read Only Memory
  • the display device 203 is, for example, an LCD (Liquid Crystal Display) or the like, and the CPU 201 outputs the operation status of the control application 220 and the debug support device 300 to the user. In addition, the CPU 201 uses the GUI screen for operating the control application 220 and the debugging support apparatus 300.
  • LCD Liquid Crystal Display
  • the storage 204 is an external storage device, such as a hard disk or a CD-ROM drive.
  • programs used by the control application 220 and the debug support apparatus 300 are recorded.
  • the CPU 201 executes a program that realizes the functions of the control application 220 and the debugging support apparatus 300
  • the CPU 201 reads the program from the storage 204, writes the program in the RAM area in the memory 202, and loads the program from the RAM area. Can be executed.
  • the CPU 201 uses the storage 204 as a place to read and write files generated by the control application 220 and the debug support apparatus 300.
  • the input device 205 is an input device for a user to give an instruction to the control application 220 and the debug support device 300, and is, for example, a mouse, a keyboard, a touch panel, or the like.
  • the communication I / F 206 is a communication interface for transmitting a control signal and receiving a response signal between the control application 220 and the external device 280.
  • the communication I / F 206 is, for example, a LAN (Local Area Network) or a serial port.
  • the control application 220 and the debug support device 300 operate by multitask processing performed by dividing the calculation time of the CPU 201 in a time-sharing manner. Further, when there are a plurality of CPUs 201, each CPU may be assigned to the control application 220 and the debug support apparatus 300, respectively.
  • the debugging support apparatus 300 may be executed by a computer different from the control apparatus 200.
  • the control application 220 operating on the control apparatus 200 is debugged by connecting the control apparatus 200 and the debug support apparatus 300 according to the present invention via a communication interface such as a LAN.
  • FIG. 3 is a block diagram showing an outline of the functions of the control application 220 and the debug support apparatus 300 according to the present embodiment.
  • the control application 220 includes a screen processing process 222, a management process 224, and a communication process 226.
  • the debug support apparatus 300 includes a signal transmission unit 310, a transmission mode switching unit 320, a transmission history recording unit 340, a verification condition generation unit 360, and a verification condition holding unit 380.
  • the screen processing process 222 displays an operation screen for operating the control application 220 by the user, such as GUI (Graphical User Interface), on the display device 203 and receives the user input from the input device 205.
  • GUI Graphic User Interface
  • a “origin return button” for returning the arm position of the robot arm 260 to the origin is displayed on the display device 203, and when the user clicks the origin return button with the mouse, the click signal is received and managed.
  • Notify process 224 is displayed on the display device 203, and when the user clicks the origin return button with the mouse, the click signal is received and managed.
  • Management process 224 processes the operation logic of control application 220. For example, when a signal notifying that the origin return button has been clicked is received from the screen processing process 222, a process necessary for returning the arm position of the robot arm 260 to the origin is performed via a communication process. An origin return command is transmitted to the robot arm 260.
  • the communication process 226 transmits a control signal from the control application 220 to the external device 280 and receives a response signal from the external device 280 to the control application 220. Note that the contents of the control signal from the control application 220 to the external device 280 and the response signal from the external device 280 to the control application 220 are different for each external device 280 to be controlled. Therefore, the communication process 226 holds information regarding the control signal and the response signal for each external device 280.
  • the communication process 226 converts the reception required signal 3200, which is a control signal transmitted from the signal transmission unit 310, into a control command that can be interpreted by the external device 280 as necessary, and converts the converted control command to the external device 280. Send to.
  • the communication process 226 converts a response command indicating a result of the operation of the external device 280 in response to the transmitted control command into a response signal that can be interpreted by the management process 224 as necessary, and converts the converted response signal. It transmits to the signal transmission part 310 as the transmission required signal 3100.
  • the signal transmission unit 310 transmits the response signal transmitted from the communication process 226 to the management process 224 as the reception required signal 3200.
  • the screen processing process 222, the management process 224, and the communication process 226 do not necessarily have to be separate processes, and may be executed as a plurality of threads processed in one process.
  • the screen processing process 222, the management process 224, and the communication process 226 do not have to be executed in one control device 200, and may be executed in a distributed manner in a plurality of control devices 200 connected to the network.
  • the signal transmission unit 310 transmits and receives signals between a plurality of processes included in the control application 220. When each process included in the control application 220 communicates with another process, communication is always performed via the signal transmission unit 310.
  • the signal transmission unit 310 includes a control signal transmission unit 311 and a control signal reception unit 312.
  • the control signal receiver 312 receives the transmission required signal 3100 from one process of the control application 220.
  • the transmission-required signal 3100 includes the name of another process designated as the destination and the content of the control signal to be transmitted.
  • the control signal transmission unit 311 transmits a reception required signal 3200 to the another process designated as the destination.
  • the reception required signal 3200 includes the contents of the control signal included in the transmission required signal 3100.
  • the screen processing process 222 when the screen processing process 222 receives a click signal for the origin return button, the screen processing process 222 sends a transmission request signal 3100 with the management process 224 as a destination and a content indicating that the origin return button has been pressed. The signal is sent to the signal transmission unit 310.
  • the signal transmission unit 310 that has received the transmission required signal 3100 sends a reception required signal 3200 that indicates that the origin return button has been pressed to the management process 224 designated as the destination.
  • the debug support apparatus 300 is also executed. This is because the signal transmission unit 310 is indispensable for the execution of the control application 220.
  • the control signal receiving unit 312 and the control signal transmitting unit 311 can be realized by, for example, a shared memory or a remote function call via a network.
  • the transmission mode switching unit 320 reads the transmission mode file 322 and sets the transmission mode of the debug support apparatus 300 according to the contents.
  • the operation of the signal transmission unit 310 differs depending on the mode. Details will be described later.
  • the transmission history recording unit 340 records the processing performed by the signal transmission unit 310 in the history file 342.
  • the processing performed by the signal transmission unit 310 includes, for example, the time when the transmission required signal 3100 is received, the time when the reception required signal 3200 is transmitted, and the contents thereof.
  • the signal transmission unit 310 transmits a command to the external device 280 without passing through the communication process 226 or receives the execution result of the command, the signal transmission unit 310 also indicates the transmission / reception time and content of the command. Is included in the processing performed.
  • the verification condition generation unit 360 Based on the history file 342 acquired from the transmission history recording unit 340, the verification condition generation unit 360 generates a verification condition file 382 so as to reproduce the signal transmission / reception performed by the signal transmission unit 310 included in the history. Write to the condition holding unit 380.
  • the signal transmission / reception performed by the signal transmission unit 310 includes, for example, reception of a transmission request signal 3100, transmission of a reception signal 3200 corresponding to the transmission signal 3100 required, transmission of a command to the external device 280, For example, command processing result notification from the external device 280 corresponding to command transmission.
  • the verification condition file 382 generated by the verification condition generation unit 360 can be used to clarify the cause of the problem.
  • FIG. 4 is a flowchart showing an outline of processing of the debug support apparatus 300 according to the embodiment of the present invention.
  • the transmission mode switching unit 320 determines either the normal operation mode or the debug operation mode as the operation mode of the debug support device 300 (S312).
  • the signal transmission unit 310 If the determination result of the transmission mode switching unit 320 is the normal operation mode (Yes in S314), the signal transmission unit 310 performs the normal operation (S316). On the other hand, if it is the debug operation mode (No in S314), the signal transmission unit 310 reads the corresponding verification condition file 382 (S317), and performs the debug operation according to the verification condition file 382 (S318).
  • FIG. 5 is a sequence diagram showing an example of the flow of control signal transmission in the normal operation (S316).
  • the screen processing process 222 detects that the “origin return button” has been pressed by the user.
  • the screen processing process 222 sends a “return button request” indicating that the origin return button has been pressed to the signal transmission unit 310 as a transmission required signal 3100 (S511).
  • the signal transmission unit 310 that has received the transmission required signal 3100 sends a “return button request” as the reception required signal 3200 to the management process 224 (S512).
  • the management process 224 knows that the origin return button has been pressed.
  • the management process 224 transmits an “origin return request” for instructing the origin return of the external device to the signal transmission unit 310 as a transmission required signal 3100 (S513).
  • the signal transmission unit 310 that has received the transmission required signal 3100 sends an “origin return request” as the reception required signal 3200 to the communication process 226 (S514).
  • the communication process 226 knows that the external device must be returned to the origin.
  • the communication process 226 sends an “origin return command request” corresponding to the origin return command to the external device 280 (S515).
  • the external device 280 that has received the “origin return command request” performs an origin return operation (S516).
  • the external device 280 transmits a “origin return command response” for notifying that the origin return command is completed to the communication process 226 (S517).
  • the communication process 226 sends an “origin return response” for notifying completion of the origin return to the signal transmission unit 310 as a transmission required signal 3100 (S520).
  • the signal transmission unit 310 that has received the transmission-required signal 3100 sends a “return-to-origin response” for notifying completion of the return to origin to the management process 224 as a required reception signal 3200 (S521).
  • the management process 224 knows that the external device has returned to the origin.
  • the management process 224 sends a “return button response” for notifying the completion of the origin return button process to the signal transmission unit 310 as a transmission required signal 3100 (S522).
  • the signal transmission unit 310 that has received the transmission required signal 3100 sends a “return button response” for notifying the completion of the origin return button processing to the screen processing process 222 as a reception required signal 3200 (S523).
  • the screen processing process 222 knows that the processing corresponding to the pressing of the origin return button has been completed, and displays, for example, on the display device 203 to that effect.
  • the above is the transmission processing of the signal transmission unit 310 in the normal operation mode.
  • the management process 224 may issue a plurality of origin return requests (S513). For example, there may be a case where an X-axis origin return request, a Y-axis origin return request, a Z-axis origin return request, or the like is issued.
  • a mechanism for transmitting and receiving a message as an API Application Programming Interface
  • FIG. 6A shows ReqApi 3101, which is an example of a “return button request” and “origin return request” API, which implements the transmission required signal 3100 and the reception required signal 3200 in the present embodiment.
  • This ReqApi 3101 takes an event type 3102, an issuer ID 3104, a final issuer ID 3106, and an argument 3108 (variable length) according to the event type as arguments.
  • the event type 3102 indicates contents to be transmitted using a control signal such as “button pressed” or “issue command to external device”.
  • Issuer ID 3104 is the source of the control signal.
  • the issuer ID 3104 is an ID indicating one process in the control application 220.
  • the final issue destination ID 3106 is the final destination of the control signal.
  • the final issue destination ID 3106 is an ID indicating another process in the control application 220.
  • Argument 3108 by event type specifies an argument specific to event type 3102 as necessary. For example, it is used to specify that the button is an origin return button for the event type 3102 “button pressed”.
  • FIG. 6B shows AnsApi 3201, which is an example of “return button response” and “origin return response” APIs that implement the transmission required signal 3100 and the reception required signal 3200.
  • This AnsApi 3201 takes an event type 3202, an issuer ID 3204, a final issue destination ID 3206, and an argument 3208 according to the event type as arguments.
  • the event type 3202, the issuer ID 3204, the final issue destination ID 3206, and the event type argument 3208 have the same meaning as the event type 3102, the issuer ID 3104, the final issue destination ID 3106, and the event type argument 3108 in the ReqApi 3101, respectively.
  • FIG. 7 is a sequence diagram showing the flow of control signals during the debugging operation (S318 in FIG. 4) when the external device 280 is not present.
  • the signal transmission unit 310 cannot issue an origin return command to the external device 280 via the communication process 226. Therefore, the developer of the control application 220 as a user performs debugging using the debug operation mode.
  • the screen processing process 222 sends a “return button request” for notifying that the origin return button has been pressed to the signal transmission unit 310 as a transmission required signal 3100 (S511).
  • the signal transmission unit 310 that has received the transmission required signal 3100 transmits a “return button request” for notifying that the origin return button has been pressed to the management process 224 as a reception required signal 3200 (S512).
  • the management process 224 knows that the origin return button has been pressed.
  • the management process 224 transmits an “origin return request” for instructing the origin return of the external device to the signal transmission unit 310 as a transmission required signal 3100 (S513).
  • the processing is the same as the normal operation mode shown in FIG.
  • the signal transmission unit 310 sends a “origin return response” for notifying the completion of the origin return to the management process 224 as a reception required signal 3200 (S521). Thereafter, the debug support apparatus 300 performs the same process as in the normal operation mode again (S522, S523).
  • the developer of the control application 220 can execute the control application 220 without the external device 280 at hand.
  • the program can be executed. If necessary, the developer of the control application 220 can debug the control application 220 by a normal debugging method using a general-purpose debugger.
  • the debug support apparatus 300 refers to the transmission mode file 322 and switches between the normal operation mode and the debug operation mode.
  • FIG. 8 is a diagram showing an example of the data structure of the transmission mode file 322 in the present embodiment.
  • the file name of the verification condition file 382 is described.
  • the second column of the transmission mode file 322 specifies whether or not to use the verification condition file 382 in which the file name is described in the debug operation mode.
  • the debug operation mode is designated as “1” for the verification condition file name “first file”. Therefore, the debug support apparatus 300 uses the “first file” as a file for determining the operation in the debug operation mode. Specifically, the signal transmission unit 310 reads the “first file” (S317) and uses it as the verification condition file. If all the columns of “debug operation mode” are set to 0, the debug support apparatus 300 operates in the normal operation mode.
  • FIG. 9 is a diagram illustrating an example of the data structure of the verification condition file 382.
  • Each row of the verification condition file 382 describes a pattern corresponding to one of the transmission required signal 3100 and the reception required signal 3200.
  • each row of the verification condition file 382 includes a transmission required signal 3100 and a reception required signal 3200.
  • a pattern corresponding to any one of a control signal transmitted from the signal transmission unit 310 to the external device 280 and a control signal received by the signal transmission unit 310 from the external device 280 is described.
  • Trigger 3822 indicates whether the corresponding line is a “trigger message” in the debug operation mode. If “1” is designated for the trigger 3822, the corresponding line indicates the pattern of the trigger message.
  • the response 3823 specifies whether or not the corresponding line is a “response message” in the debug operation mode. Specifically, if “1” is set in the response 3823, the corresponding line indicates a response message pattern.
  • the signal transmission unit 310 receives the transmission required signal 3100 from the management process 224, the received transmission required signal 3100 matches one of the trigger message patterns described in the verification condition file 382. Check whether or not.
  • the signal transmission unit 310 If they match, the signal transmission unit 310 generates a required reception signal 3200 corresponding to the response message pattern corresponding to the trigger message, and transmits the generated required reception signal 3200 to the management process 224. If they do not match, the signal transmission unit 310 performs the same normal operation as the normal operation mode.
  • the response message corresponding to the trigger message is, for example, a continuous response message of one or more lines described immediately after the description of the continuous trigger message of one or more lines in the verification condition file 382.
  • the trigger message is a transmission required signal 3100
  • the response message is a reception required signal 3200.
  • the type 3825 indicates whether the corresponding line is a request signal or a response signal.
  • the first argument 3824 indicates the transmission source of the control signal.
  • the second argument 3826 indicates the transmission destination of the control signal.
  • the final destination of the control signal is designated as the destination.
  • the third argument 3828 indicates the content of the control signal.
  • the first line of FIG. 9 is a pattern showing a transmission-required signal 3100 that contains a request for return to origin from the management process 224 to the communication process 226. This pattern is designated as a trigger message.
  • Log 3830 specifies whether or not the transmission history recording unit 340 records a signal transmission / reception history.
  • the transmission history recording unit 340 When “1” is specified in the Log 3830, the transmission history recording unit 340 performs signal transmission for all the transmission required signals 3100 and reception required signals 3200 transmitted and received by the signal transmission unit 310 after the row in which “1” is specified. Record the transmission / reception history.
  • the transmission history recording unit 340 does not record the signal transmission / reception history for the 3100 and the reception required signal 3200.
  • the signal transmission unit 310 When “3” is set in the Log 3830, when the signal transmission unit 310 receives the transmission required signal 3100 that matches the pattern described in the row in which the “3” is set, the signal transmission unit 310 The time and the like are recorded in the transmission history recording unit 340. Similarly, the signal transmission unit 310 records the time and the like in the transmission history recording unit 340 even when the reception required signal 3200 matching the pattern is transmitted.
  • the user can specify what the transmission history recording unit 340 records among the transmission required signal 3100 and the reception required signal 3200 transmitted and received by the signal transmission unit 310. It is also possible to do.
  • the transmission history recording unit 340 does not perform recording.
  • Execution 3832 specifies whether control signals can be transmitted in the debug operation mode. Specifically, if it is a trigger message, it is specified whether the signal transmission unit 310 performs normal processing (designates “1”) or not (designates “0”). In the case of a response message, it is specified whether to generate a reception required signal 3200 (designate “1”) or not (designate “0”).
  • Wait 3834 designates a waiting time from when the signal transmission unit 310 receives the required transmission signal 3100 matching the trigger message to when the corresponding response message is transmitted as the necessary reception signal 3200. To do.
  • the signal transmission unit 310 when the signal transmission unit 310 receives the transmission-required signal 3100 that matches the trigger message from the management process 224, the signal transmission unit 310 uses the communication process 226 as the transmission source, A reception required signal 3200 with 224 as the final destination is generated. Further, the signal transmission unit 310 waits for 3 seconds after receiving the transmission required signal 3100 and then transmits the generated reception required signal 3200 to the management process 224.
  • FIG. 10 shows a description example of the verification condition file 382, as in FIG.
  • the meaning of each column in FIG. 10 is the same as that in FIG.
  • an identifier 3821 is added to the leftmost column.
  • Debug 3836 specifies whether to notify the user of the occurrence of a debug event (specify “1”) or not (specify “0”) when the pattern described in the row matches. When “2” is designated, the debug support apparatus 300 displays a dialog box for the user to correct the content of the argument.
  • Order 3837 specifies the order of trigger messages. There are two ways to specify the order: a method for specifying the order as a normal condition and a method for specifying the order as an abnormal condition.
  • the signal transmission unit 310 informs the user that a failure has occurred as a debug event when signals are transmitted and received in an order that does not match the specified normal condition.
  • the signal transmission unit 310 informs the user that a malfunction has occurred as a debug event when signals are transmitted and received in the order that matches the designated abnormal condition.
  • the order is not considered.
  • the continuity 3838 designates whether transmission / reception of a signal designated as a normal condition should be continuously performed (designation of “1”) or not (blank).
  • the number of times 3840 designates the number of times of transmission / reception of the control signal of the row. Specifically, when the signal transmission unit 310 transmits or receives a signal more than the number specified in the number 3840, the debug event is notified to the user.
  • the first comparison 3842 to the third comparison 3846 designate a comparison method and comparison contents. That is, the signal transmission unit 310 is designated with the supplementary argument that can be specified as an option for the transmission required signal 3100 or the reception required signal 3200 and the comparison content specified from the first comparison 3842 to the third comparison 3846. Comparison is made by the comparison method. If “1” is specified as the comparison method, the same value is obtained; if "2" is specified, less than; if "3” is specified, greater than; if "4" is specified, the following: If “5” is designated, the above is indicated, and if “6” is designated, a mismatch is indicated.
  • the signal transmission unit 310 is designated as an option in the comparison contents described in the first comparison 3842 to the third comparison 3848 and the transmission required signal 3100 or the reception required signal 3200 by the comparison method specified by numerals.
  • the fourth to sixth arguments are compared. If the condition is met, the user is notified of a debug event.
  • the signal transmission unit 310 may perform additional processing by calling a predetermined internal processing or external function.
  • pointer information address value in the memory
  • the signal transmission unit 310 performs additional processing, so that the substance of data stored at the address indicated by the pointer information (specifically, image data or measurement data). ) Is preferably stored in a separate static memory area or file.
  • FIG. 11 is a flowchart showing a processing flow of the signal transmission unit 310 corresponding to the verification condition file 382 shown in FIG.
  • the verification condition file 382 can be set from the outside.
  • the transmission history recording unit 340 starts recording of signal transmission / reception (S604).
  • the signal transmission unit 310 waits for a trigger message pattern.
  • the signal transmission unit 310 receives a trigger message having the pattern of the identifier a (S608).
  • 1 and 2 are designated in the order 3837 of the trigger messages a and b, respectively.
  • 1 is designated for both continuity 3838 of the trigger messages a and b. Therefore, the trigger message b must be received after the trigger message a.
  • the signal transmission unit 310 receives the trigger message with the identifier b after the trigger message a (Yes in S610), the signal transmission unit 310 transmits the response message c with the management process 224 as the final destination. (S616). Further, the signal transmission unit 310 transmits the response message d with the management process 224 as the final destination (S618).
  • the signal transmission unit 310 waits for 3 seconds before transmitting the response messages c and d (S614).
  • the signal transmission unit 310 does not send the trigger messages a and b to the communication process 226 that is the final destination specified by the second argument.
  • the signal transmission unit 310 sends the response messages c and d as the reception required signal 3200 to the management process 224 that is the final destination designated by the second argument.
  • transmission / reception of signals between the management process 224 in the control application 220 and the external device 280 can be simulated by using the debug operation mode. Therefore, without considering the control application 220 to be connected to the external device 280, it is possible to perform debugging in consideration of control signal transmission / reception processing performed by the control application 220.
  • FIG. 12 is a flowchart showing the flow of processing in another embodiment of the debug support apparatus 300 according to the present invention.
  • the transmission history recording unit 340 in the present embodiment always records the processing of the signal transmission unit 310 even in the normal operation mode (S704).
  • the debug support apparatus 300 periodically determines whether or not an “exception event” that is an event for notifying occurrence of a defect from the control application 220 has been notified (S706).
  • the verification condition generation unit 360 acquires the time when the exception event is notified (S708), and reads the history file 342 from the transmission history recording unit 340 (S710).
  • the verification condition generation unit 360 cuts out an appropriate history around the time when the exception event is notified from the history file 342, and creates a model of the verification condition file 382 (S711).
  • the template of the verification condition file 382 is generated so as to reproduce, for example, the pattern of reception of the required transmission signal 3100 by the signal transmission unit 310 and transmission of the required reception signal 3200 corresponding to the transmission required signal 3100. .
  • the verification condition generation unit 360 displays a GUI screen on the display device 203, and acquires the correction condition of the verification condition file 382 from the user (S712).
  • the template of the verification condition file 382 is corrected to generate a final verification condition file 382 (S714).
  • the user can efficiently reproduce and debug the defect by using the verification condition file 382 created immediately after the occurrence of the defect, without creating the verification condition file 382 by himself / herself.
  • FIG. 13 is a diagram showing an example of the history file 342 in the embodiment of the present invention.
  • the history file 342 includes a time 802, a first argument 806, a second argument 808, and a third argument 810.
  • Time 802 indicates the time when the signal transmission unit 310 processed the transmission required signal 3100 or the reception required signal 3200.
  • the time notation format may be an elapsed time or date / time from a specific time.
  • the first argument 806 indicates the transmission source of the transmission required signal 3100 or the reception required signal 3200.
  • a second argument 808 indicates a final destination corresponding to the first argument 806.
  • the third argument 810 indicates contents corresponding to the first argument 806 and the second argument 808.
  • the first line in FIG. 13 indicates that the signal transmission unit 310 has received the transmission-required signal 3100 after 100 seconds have elapsed since the debugging support device 300 was activated.
  • the transmission source is the screen processing process 222
  • the final destination is the management process 224
  • the content indicates that the return button has been pressed.
  • the history file 342 also records the additional arguments.
  • Possible arguments include, for example, a variable at the time of execution, an address value on the memory indicating the start address of the function, a variable value indicating the internal state of the program, and the like.
  • FIG. 14 is a diagram showing an example of a template of the verification condition file 382 (for example, created in step S711 shown in FIG. 12) in the present embodiment.
  • the columns from the first argument 806 to the third argument 810 are the same as the columns to which the same sign is assigned in the history file 342 shown in FIG.
  • a failure occurs 300 seconds after the debugging support device 300 is activated, and a verification condition file template is created from the history file 342 from the occurrence time to 300 seconds ago.
  • the verification condition generation unit 360 extracts a history (that is, a row) in which the time 802 is included in the range from 300 seconds to 0 seconds from the history file 342 shown in FIG.
  • the history file 342 is formatted into the verification condition file 382. Specifically, the column of the time 802 is deleted, and columns corresponding to the trigger 3822, the response 3823, and the Log 3830 to the third comparison 3846 are added.
  • the file generated in this way is a template of the verification condition file 382 shown in FIG.
  • FIG. 15 is an example of a GUI screen for acquiring the template correction conditions of the verification condition file 382 from the user (S712).
  • a template of the verification condition file 382 automatically generated from the history file 342 using the occurrence time of the defect (FIG. 12, S711) is displayed.
  • the selection 3820 column and the time 802 are displayed in the leftmost column.
  • the selection 3820 column is a check box, for example.
  • a verification condition file 382 including only a pattern corresponding to the selected row is generated ( S714).
  • a verification condition file 382 can be generated to reproduce.
  • Time 802 is obtained by adding again the time at which the history file 342 was deleted in order to match the format of the verification condition file 382 when the template was created (S711). Specifically, it is the time when the signal transmission unit 310 processed the transmission required signal 3100 or the reception required signal 3200.
  • the contents from the trigger 3822 column to the third comparison 3846 column can be corrected by selecting with the mouse, for example.
  • the order 3837, continuity 3838, number of times 3840, and the like can be designated or changed for each transmission / reception pattern.
  • the developer of the control application 220 can easily create the verification condition file 382 specifying the signal transmission / reception pattern in the signal transmission unit 310.
  • the verification condition file 382 created in this way and operating the debug support apparatus 300 in the debug mode, the developer of the control application 220 can easily identify the defective part.
  • the debug support apparatus 300 creates a verification condition file describing an abnormal pattern based on a signal transmitted and received between the control application 220 and the external device 280 when a failure occurs. can do. Therefore, the developer of the control application 220 can efficiently isolate the cause of the failure.
  • the debug support apparatus according to the present invention has been described using the embodiment, but the present invention is not limited to the present embodiment.
  • communication between the management process 224 operating on the control application 220 and any one or more processes other than the management process 224 is required via the signal transmission unit 310. It can also be performed using the transmission signal 3100 and the reception required signal 3200. Furthermore, communication between any two or more processes other than the management process 224 can be performed using the transmission required signal 3100 and the reception required signal 3200 via the signal transmission unit 310.
  • control application 220 independent program development can be performed for each process constituting the control application 220.
  • control application 220 is unlikely to become a “spaghetti program” having a complicated structure in the program.
  • the verification condition file 382 is generated by correcting the history file 342 read from the transmission history recording unit 340.
  • the verification condition file 382 is generated using the read history file 342 as it is ( In FIG. 12, only S704, S706, S710, and S714 may be executed). In that case, a signal transmitted and received in the past between the control application 220 and the external device 280 can be simulated. Therefore, for example, when the control application 220 or the external device 280 is changed, an operation test based on the past operation state can be performed.
  • the user in order to generate the verification condition file 382 from the history file 342, the user inputs the time using the selection check box displayed on the GUI screen (FIG. 15).
  • the user may select a part of the history file 342 by performing a drag operation with the mouse or a numerical value input with the keyboard.
  • verification condition file 382 may be created by another method instead of the history file 342.
  • the verification condition generation unit 360 generates the verification condition file from the history according to the time when the execution of the control application 220 has failed. For example, a method of cutting out only a certain time before the time when the trouble occurs, a method of cutting out only after a certain time from the time when the trouble occurs can be considered.
  • the signal transmission unit 310 that has received the transmission signal 3100 that matches the trigger message receives a control signal having a designated time or a separately designated pattern. The process may be stopped until it is done. In this case, when the specified time has elapsed, the signal transmission unit 310 notifies the user to that effect.
  • the debug operation mode may be applied to transmission / reception of signals between different processes in the control application 220. For example, even if the origin return button is not pressed, it is assumed that the transmission required signal 3100 indicating that the button has been pressed is from the screen processing process 222, and the reception required signal is sent from the signal transmission unit 310 to the management process 224. 3200 may be sent. In this case, even if the screen processing process 222 is incomplete, the operation verification of the management process 224 and the communication process 226 can be performed. *
  • each processing unit included in the debug support apparatus 300 may be realized as an LSI that is an integrated circuit. These may be individually made into one chip, or may be made into one chip so as to include a part or all of them.
  • LSI is used, but it may be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.
  • circuits are not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor.
  • An FPGA Field Programmable Gate Array
  • reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.
  • the present invention may be a program or a recording medium on which the program is recorded.
  • the program can be distributed via a transmission medium such as the Internet.
  • connection relationship between the components is exemplified for specifically explaining the present invention, and the connection relationship for realizing the function of the present invention is not limited to this.
  • the configuration using hardware can also be configured using software
  • the configuration using software uses hardware. Can be configured.
  • the configuration of the debug support apparatus is for illustrating the present invention in detail, and the debug support apparatus according to the present invention does not necessarily have all of the above configurations.
  • the debugging support apparatus 300 according to the present invention only needs to have a minimum configuration that can realize the effects of the present invention.
  • control application 220 may not have the communication process 226.
  • the signal transmission unit 310 directly transmits and receives control signals to and from the external device 280.
  • the signal transmission unit 310 transmits a transmission-required signal 3100 for instructing the operation of the external device 280 transmitted from the management process 224 to the external device 280, and a control signal corresponding to the origin return command. To the external device 280.
  • the signal transmission unit 310 transmits a notification of completion of the origin return command by the external device 280 transmitted from the external device 280 to the management process 224 as a reception required signal 3200 for notifying completion of the origin return of the external device 280. 224.
  • the signal transmission unit 310 when the signal transmission unit 310 receives a transmission-required signal 3100 instructing the operation of the external device 280 transmitted from the management process 224 to the external device 280, the origin return of the external device 280 is completed.
  • the signal transmission unit 310 generates the reception required signal 3200 for notifying the mobile station, and transmits the generated reception required signal 3200 to the management process 224 so that the signal transmission unit 310 performs the same operation as when the external device 280 is connected.
  • the management process 224 can be simulated.
  • the debug support apparatus 300 may not further include the transmission history recording unit 340, the verification condition generation unit 360, and the verification condition holding unit 380.
  • the signal transmission unit 310 does not send the signal to the external device 280 whenever the signal transmission unit 310 receives a signal for controlling the external device 280 from the management process 224 in the debug operation mode.
  • a response signal from the external device 280 corresponding to the signal may be transmitted to the management process 224.
  • the debugging support device 300 may not have the transmission mode switching unit 320. In that case, it is conceivable that the debug support apparatus 300 is always activated in the normal operation mode or the debug operation mode.
  • the debug support method by the debug support apparatus is for illustrating the present invention in detail, and the debug support method by the debug support apparatus according to the present invention includes all of the above steps. It is not always necessary to include it. In other words, the debugging support method according to the present invention needs to include only the minimum steps that can realize the effects of the present invention.
  • the order in which the above steps are executed is for illustration in order to specifically describe the present invention, and may be in an order other than the above.
  • a part of the above steps may be executed simultaneously (in parallel) with other steps.
  • the present invention can be applied to a debugging support device in an application that transmits and receives control signals to and from an external device.

Abstract

Disclosed is a debugging support device capable of debugging into which is taken into consideration up to the transmission and reception of a control signal without connecting to an external apparatus to be controlled at development time of a control application. The disclosed debugging support device (300) is provided with a signal conveyance unit (310) having a normal operation mode and a debugging operation mode; wherein in the normal operation mode, the signal conveyance unit (310) conveys as a control command to the external apparatus (280) an operation instruction for an external apparatus (280) which is transmitted from a management process (224) to the external apparatus (280), and conveys to the management process (224) a response signal that has been transmitted from the external apparatus (280) to the management process (224). Furthermore, in the debugging operation mode, the signal conveyance unit (310) transmits a response signal indicating the result of the external apparatus (280) having operated to the management process (224) upon receiving an operation instruction for the external apparatus (280) that has been transmitted from the management process (224) to the external apparatus (280).

Description

デバッグ支援装置、デバッグ支援方法及びデバッグ支援プログラムDebug support device, debug support method, and debug support program
 本発明は、デバッグ支援装置、デバッグ支援方法及びデバッグ支援プログラムに関し、特に、外部機器を制御する制御アプリケーションのデバッグを支援するデバッグ支援装置に関する。 The present invention relates to a debugging support device, a debugging support method, and a debugging support program, and more particularly to a debugging support device that supports debugging of a control application that controls an external device.
 製造装置や検査装置等を制御する制御アプリケーションの多くは、受注生産品である。よって、客先の生産ラインを構成する前記装置にあわせて、受注を受けたプログラマが制御アプリケーションを開発する。 Many control applications that control manufacturing equipment, inspection equipment, etc. are made-to-order products. Therefore, a programmer who has received an order develops a control application in accordance with the apparatus constituting the customer's production line.
 その場合、客先のラインを停止させることが困難である場合が多い。そのため、プログラマは制御対象となる装置を用いて開発中の前記制御アプリケーションを検証することが困難である。 In that case, it is often difficult to stop the customer's line. For this reason, it is difficult for a programmer to verify the control application under development using a device to be controlled.
 また、客先に前記制御アプリケーションを導入した後に不具合が発生した場合であっても、生産ラインを停止させることは損失となるため、いち早く不具合を解決する必要がある。さらに、多くの装置とアプリケーションが組み合わされた制御アプリケーションは動作が非決定的となるため、不具合要因の切り分けが困難である。 In addition, even if a problem occurs after installing the control application at the customer, it is necessary to resolve the problem as soon as possible because it is a loss to stop the production line. Furthermore, since the operation of a control application in which many devices and applications are combined becomes nondeterministic, it is difficult to isolate the cause of the failure.
 従来、非決定的なプログラム向けのデバッグ装置による、デバッグ作業の効率化が試みられてきた。 Conventionally, attempts have been made to improve the efficiency of debugging work by using a debugging device for non-deterministic programs.
 例えば特許文献1では、不具合発生時にデバッグ対象プログラムで発生した「イベント」の発生順序を、再現することが試みられている。 For example, in Patent Document 1, an attempt is made to reproduce the order of occurrence of “events” that occurred in a program to be debugged when a failure occurs.
特開平9-212385号公報JP-A-9-212385
 しかしながら、特許文献1に記載のデバッグ装置は、計算機内で生成されたタスクについて、各タスク内で事前に定められた発生順序に従ってイベントが発生することを確認できるに留まる。 However, the debugging device described in Patent Document 1 can only confirm that an event occurs in a task generated in the computer according to a predetermined generation order in each task.
 また、アプリケーションが制御対象である外部機器と制御信号を送受信するような機械制御システムのデバッグにおいては、送受信された制御信号の内容及び時刻によってアプリケーションの挙動が変わる。こうした場合、特許文献1のデバッグ装置では、デバッグを効率化することができないという問題がある。 Also, in debugging of a machine control system in which an application transmits / receives control signals to / from an external device to be controlled, the behavior of the application changes depending on the contents and time of the transmitted / received control signals. In such a case, the debugging device of Patent Document 1 has a problem that debugging cannot be made efficient.
 さらに、前述の通り、制御アプリケーションが制御の対象とする外部機器は一般に客先にしかなく、アプリケーションと外部機器とをつないで長期間のデバッグを行うことが困難であるという問題がある。 Furthermore, as described above, there is generally a customer only as an external device to be controlled by the control application, and there is a problem that it is difficult to perform long-term debugging by connecting the application and the external device.
 本発明は、上述の問題点を解決するためになされたものであり、外部機器を制御する制御アプリケーションの開発時において、制御対象である外部機器と接続せずに、制御信号の送受信まで考慮したデバッグが可能な、デバッグ支援装置を提供することを目的とする。 The present invention has been made in order to solve the above-described problems. In developing a control application for controlling an external device, transmission / reception of a control signal is considered without connecting to the external device to be controlled. An object is to provide a debugging support device capable of debugging.
 上記問題点を解決するために、本発明の一態様であるデバッグ支援装置は、外部機器を制御する制御アプリケーションのデバッグを支援するデバッグ支援装置であって、前記制御アプリケーションは、前記外部機器の動作を制御する管理プロセスと、前記外部機器に対してユーザが入力操作を行うための画面処理プロセスとを含む複数の第1のプロセスを含み、前記デバッグ支援装置は、(1)前記管理プロセスから前記外部機器へ送信される、前記外部機器の動作を指示する第1の制御信号を前記外部機器へ伝達し、前記外部機器から前記管理プロセスへ送信される、前記第1の制御信号に応答して前記外部機器が動作した結果を示す第1の応答信号を前記管理プロセスへ伝達する通常動作モードと、(2)前記第1の制御信号を受信した場合に、前記第1の応答信号を生成し、生成した前記第1の応答信号を前記管理プロセスへ送信することにより、前記外部機器が接続されている場合と同じ動作を前記管理プロセスに擬似的に行わせるデバッグ動作モードと、を有する信号伝達部を備えており、前記複数の第1のプロセスは、互いに前記信号伝達部を介して信号の送受信を行い、前記信号伝達部は、通常動作モード時には、(i)前記管理プロセス及び前記画面処理プロセスの一方である第2のプロセスから、前記管理プロセス及び前記画面処理プロセスの他方である第3のプロセスへ送信される、前記第3のプロセスの処理を指示する第2の制御信号を前記第3のプロセスへ伝達し、(ii)前記第3のプロセスから前記第2のプロセスへ送信される、前記第2の制御信号に応答して前記第3のプロセスが処理した結果を示す第2の応答信号を前記第2のプロセスへ伝達し、デバッグ動作モード時には、(iii)前記第2の制御信号を受信した場合に、前記第2の応答信号を生成し、生成した前記第2の応答信号を前記第2のプロセスへ送信することにより、前記第3のプロセスが停止している場合であっても、前記第3のプロセスが実行されている場合と同じ動作を前記第2のプロセスに擬似的に行わせる。 In order to solve the above problems, a debugging support apparatus according to an aspect of the present invention is a debugging support apparatus that supports debugging of a control application that controls an external device, and the control application is an operation of the external device. And a plurality of first processes including a screen processing process for a user to perform an input operation on the external device, and the debugging support apparatus includes: (1) the management process In response to the first control signal transmitted from the external device to the management process, the first control signal transmitted to the external device is transmitted to the external device to instruct the operation of the external device. A normal operation mode in which a first response signal indicating a result of the operation of the external device is transmitted to the management process; and (2) receiving the first control signal. In this case, by generating the first response signal and transmitting the generated first response signal to the management process, the same operation as when the external device is connected is simulated to the management process. A signal transmission unit having a debug operation mode, wherein the plurality of first processes transmit and receive signals to and from each other via the signal transmission unit, and the signal transmission unit is in a normal operation mode. Sometimes, (i) the third process is transmitted from a second process that is one of the management process and the screen processing process to a third process that is the other of the management process and the screen processing process. A second control signal instructing processing is transmitted to the third process; and (ii) the second control signal transmitted from the third process to the second process. A second response signal indicating a result of processing by the third process in response to the second process is transmitted to the second process, and in a debug operation mode, (iii) when the second control signal is received, Even if the third process is stopped by generating the second response signal and transmitting the generated second response signal to the second process, the third response signal The second process is simulated to perform the same operation as when the process is being executed.
 この構成によると、本発明の一態様であるデバッグ支援装置は、デバッグ動作モードを使用することで、制御アプリケーション内の管理プロセスと外部機器との信号の送受信を模擬することができる。従って、本発明の一態様であるデバッグ支援装置は、制御アプリケーションを外部機器と接続せずに、制御アプリケーションが行う制御信号の送受信処理までを考慮したデバッグを行うことができる。 According to this configuration, the debugging support apparatus according to an aspect of the present invention can simulate transmission / reception of signals between the management process in the control application and the external device by using the debug operation mode. Therefore, the debugging support apparatus according to an aspect of the present invention can perform debugging in consideration of control signal transmission / reception processing performed by the control application without connecting the control application to an external device.
 また、制御アプリケーションを構成するプロセス毎に独立したプログラム開発を行うことができる。その結果、長期間にわたる開発及び保守作業を行っても、制御アプリケーションが、プログラム内の構造が複雑に入り組んだ「スパゲッティプログラム」となりにくい、という利点が生じる。 Also, independent program development can be performed for each process constituting the control application. As a result, there is an advantage that even if development and maintenance work is performed over a long period of time, the control application is unlikely to be a “spaghetti program” having a complicated structure in the program.
 さらにまた、制御アプリケーションが有する一部のプロセスがプログラムとして未実装であっても、そのプログラムが完成したものとして、制御アプリケーションのデバッグを行うことができるという利点が生じる。 Furthermore, even if some processes of the control application are not implemented as a program, there is an advantage that the control application can be debugged as the program is completed.
 これに加えて、制御アプリケーションが操作用GUI画面を別プロセスで実現している場合であっても、デバッグ動作モードにおいて、制御アプリケーションと外部機器との間で送受信される信号を模擬することができるという利点が生じる。 In addition to this, even when the control application implements the operation GUI screen in a separate process, it is possible to simulate signals transmitted and received between the control application and an external device in the debug operation mode. This produces the advantage.
 また、前記デバッグ支援装置は、さらに、前記第1の制御信号及び前記第2の制御信号のいずれかの第1種別と、当該第1種別に対応する前記第1の応答信号及び前記第2の応答信号のいずれかの第2種別と、当該第1種別について、前記通常動作モード及び前記デバッグ動作モードのうちいずれかの動作モードを指定する実行種別とを示す検証条件を保持する検証条件保持部を備え、前記信号伝達部は、(1)前記検証条件に示される第1種別の前記第1の制御信号を前記管理プロセスから受信した場合であって、前記第1種別に対応する前記実行種別に前記デバッグ動作モードが指定されている場合には、当該第1種別に対応する前記第2種別の前記第1の応答信号を生成し、生成した前記第1の応答信号を前記管理プロセスへ送信する前記デバッグ動作モードとして動作し、(2)前記検証条件に示される第1種別の前記第2の制御信号を前記第2プロセスから受信した場合であって、前記第1種別に対応する前記実行種別に前記デバッグ動作モードが指定されている場合には、当該第1種別に対応する前記第2種別の前記第2の応答信号を生成し、生成した前記第2の応答信号を前記第2プロセスへ送信する前記デバッグ動作モードとして動作し、(3)前記検証条件に示される第1種別の前記第1の制御信号を前記管理プロセスから受信した場合であって、前記第1種別に対応する前記実行種別に前記通常動作モードが指定されている場合には、前記第1の制御信号を前記外部機器へ伝達する前記通常動作モードとして動作し、(4)前記検証条件に示される第1種別の前記第2の制御信号を前記第2プロセスから受信した場合であって、前記第1種別に対応する前記実行種別に前記通常動作モードが指定されている場合には、前記第2の制御信号を前記第3プロセスへ伝達する前記通常動作モードとして動作してもよい。 The debug support apparatus further includes a first type of any of the first control signal and the second control signal, the first response signal corresponding to the first type, and the second type. A verification condition holding unit that holds a verification condition indicating any second type of the response signal and an execution type that designates one of the normal operation mode and the debug operation mode for the first type. And (1) the execution type corresponding to the first type when the first control signal of the first type indicated by the verification condition is received from the management process. When the debug operation mode is specified in the first type, the first response signal of the second type corresponding to the first type is generated, and the generated first response signal is transmitted to the management process. You (2) the execution type corresponding to the first type when operating as the debug operation mode and (2) receiving the second control signal of the first type indicated by the verification condition from the second process When the debug operation mode is designated in the above, the second response signal of the second type corresponding to the first type is generated, and the generated second response signal is sent to the second process. (3) when the first control signal of the first type indicated in the verification condition is received from the management process, the execution corresponding to the first type When the normal operation mode is designated as the type, the normal operation mode is transmitted as the normal control mode for transmitting the first control signal to the external device, and (4) the first type indicated in the verification condition When the second control signal is received from the second process and the normal operation mode is specified for the execution type corresponding to the first type, the second control signal is You may operate | move as the said normal operation mode transmitted to a said 3rd process.
 この構成によると、事前に検証条件を与えることにより、本発明の一態様であるデバッグ支援装置は、制御アプリケーションと外部機器との間で送受信される信号のうち特定の信号の送受信を模擬することができる。したがって、例えば、外部機器と制御アプリケーションを実際に接続してデバッグを行う場合において、複数回の信号のうち、不具合が発生する信号と発生しない信号を容易に切り分けることができる。 According to this configuration, by providing a verification condition in advance, the debugging support apparatus according to an aspect of the present invention simulates transmission / reception of a specific signal among signals transmitted / received between the control application and the external device. Can do. Therefore, for example, when debugging is performed by actually connecting an external device and a control application, it is possible to easily separate a signal that causes a failure from a signal that does not occur among a plurality of signals.
 また、前記検証条件は待機時間を含み、前記信号伝送部は前記デバッグ動作モードにおいて、前記検証条件に示される第1種別の前記第1の制御信号を前記管理プロセスから受信した場合、当該第1種別に対応する前記第2種別の前記第1の応答信号を生成し、前記第1種別の第1の制御信号を受信してから前記待機時間分待機した後、生成した前記第2種別の前記第1の応答信号を前記管理プロセスへ送信してもよい。 The verification condition includes a waiting time, and the signal transmission unit receives the first control signal of the first type indicated by the verification condition from the management process in the debug operation mode. Generating the first response signal of the second type corresponding to the type, waiting for the waiting time after receiving the first control signal of the first type, and then generating the second type of the generated second type A first response signal may be sent to the management process.
 この構成によると、本発明の一態様であるデバッグ支援装置は、制御アプリケーションと外部機器との間で送受信される信号のうち特定の信号の送受信を模擬する際に、模擬信号の送信タイミングを変更することができる。 According to this configuration, the debugging support apparatus according to one aspect of the present invention changes the transmission timing of the simulation signal when simulating transmission / reception of a specific signal among signals transmitted / received between the control application and the external device. can do.
 また前記デバッグ支援装置は、さらに、前記信号伝達部が伝達した前記第1の制御信号及び前記第1の応答信号の履歴を記録する伝達履歴記録部と、前記伝達履歴記録部に記録された前記履歴から、前記履歴に含まれる第1の制御信号及び前記第1の応答信号の送受信のパターンを再現するように前記検証条件を生成する検証条件生成部とを備えてもよい。 The debugging support apparatus further includes a transmission history recording unit that records the history of the first control signal and the first response signal transmitted by the signal transmission unit, and the recording history recording unit that records the transmission history recording unit. A verification condition generation unit that generates the verification condition so as to reproduce the transmission / reception pattern of the first control signal and the first response signal included in the history from the history may be provided.
 この構成によると、デバッグ支援装置は、制御アプリケーションと外部機器との間で過去に送受信された信号を、模擬することができる。したがって、例えば制御アプリケーションや外部機器を変更した場合に、過去の稼働状態に基づいた動作テストを行うことができる。 According to this configuration, the debugging support apparatus can simulate signals transmitted and received in the past between the control application and the external device. Therefore, for example, when a control application or an external device is changed, an operation test based on a past operation state can be performed.
 また、前記検証条件生成部は、前記制御アプリケーションの実行に不具合が生じた時刻に応じた第1期間の前記履歴から、前記履歴に含まれる第1の制御信号及び前記第1の応答信号の送受信のパターンを再現するように前記検証条件を生成してもよい。 In addition, the verification condition generation unit transmits and receives the first control signal and the first response signal included in the history from the history of the first period according to the time when the execution of the control application has failed. The verification condition may be generated so as to reproduce the pattern.
 この構成によると、本発明の一態様であるデバッグ支援装置は、制御アプリケーションと外部機器との間で過去に送受信された信号のうち前記制御アプリケーションの実行に不具合が生じた時刻に応じて選択された信号のみを、模擬することができる。 According to this configuration, the debugging support apparatus according to an aspect of the present invention is selected according to the time at which a failure occurs in execution of the control application among signals transmitted and received in the past between the control application and the external device. Only the received signal can be simulated.
 また、前記検証条件生成部は、ユーザにより指定された前記第1期間を取得し、取得した前記第1期間の前記履歴から、前記履歴に含まれる第1の制御信号及び前記第1の応答信号の送受信のパターンを再現するように前記検証条件を生成してもよい。 The verification condition generation unit acquires the first period specified by the user, and from the acquired history of the first period, the first control signal and the first response signal included in the history The verification condition may be generated so as to reproduce the transmission / reception pattern.
 この構成によると、本発明の他の一態様であるデバッグ支援装置は、ユーザにより指定された時刻に絞って、制御アプリケーションと外部機器との間で過去に送受信された信号を容易に模擬することができる。 According to this configuration, the debugging support apparatus according to another aspect of the present invention can easily simulate a signal transmitted and received in the past between the control application and the external device at a time specified by the user. Can do.
 また、前記検証条件は、さらに、前記第1の制御信号及び前記第1の応答信号の送受信のパターンを示す異常条件を含み、前記信号伝達部は、前記第1の制御信号及び前記第1の応答信号を送受信したパターンが前記異常条件に一致する場合に、異常が発生したことをユーザに通知してもよい。 The verification condition further includes an abnormal condition indicating a transmission / reception pattern of the first control signal and the first response signal, and the signal transmission unit includes the first control signal and the first control signal. If the pattern in which the response signal is transmitted and received matches the abnormal condition, the user may be notified that an abnormality has occurred.
 この構成によると、本発明の一態様であるデバッグ支援装置は、制御アプリケーションと外部機器との間で特定の異常パターンに一致する信号が送受信された場合には、ユーザに通知することができる。したがって、異常な信号の発生パターンを監視し、不具合要因の解明を効率化することができる。 According to this configuration, the debugging support apparatus according to one aspect of the present invention can notify the user when a signal matching a specific abnormality pattern is transmitted and received between the control application and the external device. Therefore, it is possible to monitor the generation pattern of abnormal signals and improve the elucidation of the cause of the failure.
 また、前記検証条件は、さらに、前記第1の制御信号又は前記第1の応答信号の第3種別と、当該第3種別に対応する受信回数とを含み、前記信号伝達部は、前記検証条件に含まれる第3種別の、前記第1の制御信号又は前記第1の応答信号を、前記受信回数分受信した場合に、異常が発生したことをユーザに通知してもよい。 The verification condition further includes a third type of the first control signal or the first response signal and the number of receptions corresponding to the third type, and the signal transmission unit includes the verification condition. When the third type of the first control signal or the first response signal included in the number of times of reception is received, the user may be notified that an abnormality has occurred.
 この構成によると、本発明の他の一態様であるデバッグ支援装置は、例えば制御アプリケーションから制御信号を指定回数以上受信した場合に、ユーザに通知することができる。 According to this configuration, the debug support apparatus according to another aspect of the present invention can notify the user when a control signal is received from a control application a specified number of times or more.
 また、前記検証条件は、さらに、前記第1の制御信号及び前記第1の応答信号の送受信のパターンを示す正常条件を含み、前記信号伝達部は、前記第1の制御信号及び前記第1の応答信号を送受信したパターンが前記正常条件に一致しない場合に、異常が発生したことをユーザに通知してもよい。 The verification condition further includes a normal condition indicating a transmission / reception pattern of the first control signal and the first response signal, and the signal transmission unit includes the first control signal and the first response signal. If the pattern in which the response signal is transmitted and received does not match the normal condition, the user may be notified that an abnormality has occurred.
 この構成によると、本発明の他の一態様であるデバッグ支援装置は、事前に定められた、正常な制御信号の送信及び応答信号の受信パターンから逸脱した信号の送受信が生じた場合に、ユーザに通知することができる。 According to this configuration, the debugging support apparatus according to another aspect of the present invention allows a user to perform transmission / reception of signals that deviate from predetermined control signal transmission and response signal reception patterns. Can be notified.
 また、前記複数の第1のプロセスは、前記外部機器と通信する通信プロセスを含み、前記通常動作モードにおいて、前記信号伝達部は、前記管理プロセスから送信された前記第1の制御信号を前記通信プロセスへ伝達し、前記通信プロセスは、伝達された前記第1の制御信号を、前記外部機器が解釈可能な形式に変換し、変換された前記第1の制御信号を前記外部機器へ送信し、前記通信プロセスは、前記外部機器から送信される前記変換された第1の制御信号に応答して前記外部機器が動作した結果を示す第1の応答信号を、前記管理プロセスが解釈可能な形式に変換し、変換された前記第1の応答信号を前記信号伝達部へ送信し、前記信号伝達部は、前記通信プロセスから送信された前記変換された第1の応答信号を前記管理プロセスへ伝達してもよい。 The plurality of first processes include a communication process that communicates with the external device, and in the normal operation mode, the signal transmission unit communicates the first control signal transmitted from the management process with the communication. The communication process converts the transmitted first control signal into a format interpretable by the external device, and transmits the converted first control signal to the external device; In the communication process, a first response signal indicating a result of operation of the external device in response to the converted first control signal transmitted from the external device is converted into a format that can be interpreted by the management process. Converting, and transmitting the converted first response signal to the signal transmission unit, wherein the signal transmission unit transmits the converted first response signal transmitted from the communication process to the management process. It may be transmitted.
 この構成によると、本発明の他の一態様であるデバッグ支援装置は、制御アプリケーションが外部機器との通信機能を別プロセスで実現している場合であっても、デバッグ動作モードにおいて、制御アプリケーションと外部機器との間で送受信される信号を模擬することができる。 According to this configuration, the debugging support apparatus according to another aspect of the present invention is configured so that, even when the control application implements a communication function with an external device in a separate process, A signal transmitted / received to / from an external device can be simulated.
 なお、本発明は、このようなデバッグ支援装置として実現できるだけでなく、デバッグ支援装置に含まれる特徴的な手段をステップとするデバッグ支援方法として実現したり、そのような特徴的なステップをコンピュータに実行させるプログラムとして実現したりすることもできる。そして、そのようなプログラムは、CD-ROM(Compact Disc Read Only Memory)等の記録媒体及びインターネット等の伝送媒体を介して流通させることができるのは言うまでもない。 The present invention can be realized not only as such a debugging support apparatus, but also as a debugging support method using characteristic means included in the debugging support apparatus as a step, or such characteristic steps in a computer. It can also be realized as a program to be executed. It goes without saying that such a program can be distributed via a recording medium such as a CD-ROM (Compact Disc Read Only Memory) and a transmission medium such as the Internet.
 さらに、本発明は、このようなデバッグ支援装置の機能の一部又は全てを実現する半導体集積回路(LSI)として実現したり、このようなデバッグ支援装置を含むデバッグ支援システムとして実現したりできる。 Furthermore, the present invention can be realized as a semiconductor integrated circuit (LSI) that realizes part or all of the functions of such a debugging support device, or can be realized as a debugging support system including such a debugging support device.
 本発明は、外部機器を制御する制御アプリケーションの開発時において、制御対象である外部機器と接続せずに、制御信号の送受信まで考慮した効率的なデバッグが可能な、デバッグ支援装置を提供できる。 The present invention can provide a debugging support device capable of efficient debugging in consideration of transmission / reception of control signals without being connected to an external device to be controlled when developing a control application for controlling the external device.
図1は、本発明の実施の形態1及び2における、機械制御システムの概要を示す図である。FIG. 1 is a diagram showing an outline of a machine control system in Embodiments 1 and 2 of the present invention. 図2は、本発明の実施の形態1及び2における、制御装置が有するハードウェア構成の概要を示す図である。FIG. 2 is a diagram showing an outline of the hardware configuration of the control device according to the first and second embodiments of the present invention. 図3は、本発明の実施の形態1及び2における、制御アプリケーション及びデバッグ支援装置が有する機能の概要を示したブロック図である。FIG. 3 is a block diagram showing an outline of the functions of the control application and the debugging support apparatus in the first and second embodiments of the present invention. 図4は、本発明の実施の形態1及び2における機械制御システムの処理の概要を示したフローチャートである。FIG. 4 is a flowchart showing an outline of processing of the machine control system in the first and second embodiments of the present invention. 図5は、本発明の実施の形態1及び2における、通常動作時の制御信号の流れを示すシーケンス図である。FIG. 5 is a sequence diagram showing the flow of control signals during normal operation in the first and second embodiments of the present invention. 図6Aは、本発明の実施の形態1及び2において、要送信信号を送信するためのAPIを示す図である。FIG. 6A is a diagram showing an API for transmitting a transmission-required signal in Embodiments 1 and 2 of the present invention. 図6Bは、本発明の実施の形態1及び2において、要受信信号を送信ためのAPIを示す図である。FIG. 6B is a diagram showing an API for transmitting a received signal in Embodiments 1 and 2 of the present invention. 図7は、本発明の実施の形態1及び2における、デバッグ動作時の制御信号の流れを示すシーケンス図である。FIG. 7 is a sequence diagram showing the flow of control signals during the debugging operation in the first and second embodiments of the present invention. 図8は、本発明の実施の形態1及び2における、伝達モードファイルのデータ構造の一例を示す図である。FIG. 8 is a diagram showing an example of the data structure of the transmission mode file in the first and second embodiments of the present invention. 図9は、本発明の実施の形態1及び2における、検証条件ファイルのデータ構造の一例を示す図である。FIG. 9 is a diagram showing an example of the data structure of the verification condition file in the first and second embodiments of the present invention. 図10は、本発明の実施の形態1及び2における、検証条件ファイルのデータ構造の他の一例を示す図である。FIG. 10 is a diagram showing another example of the data structure of the verification condition file in the first and second embodiments of the present invention. 図11は、本発明の実施の形態1における、図10に示した検証条件ファイルに対応する、信号伝達部の処理を示すフローチャートである。FIG. 11 is a flowchart showing processing of the signal transmission unit corresponding to the verification condition file shown in FIG. 10 according to Embodiment 1 of the present invention. 図12は、本発明の他の実施の形態2における、処理の流れを示すフローチャートである。FIG. 12 is a flowchart showing the flow of processing in another embodiment 2 of the present invention. 図13は、本発明の実施の形態2における履歴ファイルの一例を示す図である。FIG. 13 is a diagram showing an example of a history file according to Embodiment 2 of the present invention. 図14は、本発明の実施の形態2における検証条件ファイルの雛形の一例を示す図である。FIG. 14 is a diagram showing an example of a verification condition file template according to the second embodiment of the present invention. 図15は、本発明の実施の形態2における、検証条件ファイルの雛形を修正するためのGUI画面を示す図である。FIG. 15 is a diagram showing a GUI screen for correcting the template of the verification condition file in the second embodiment of the present invention.
 以下、本発明の実施の形態について図面を用いて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
 図1は、本発明に係るデバッグ支援装置を有する機械制御システム100の外観を示す。 FIG. 1 shows an appearance of a machine control system 100 having a debugging support apparatus according to the present invention.
 機械制御システム100は、制御装置200及び外部機器280を備えている。 The machine control system 100 includes a control device 200 and an external device 280.
 例えば、機械制御システム100は、半導体基板の生産ラインにおいて、組み付け作業を行う外部機器280を、制御装置200が所定の作業目標に従って制御することにより、半導体基板を生産するシステムである。 For example, the machine control system 100 is a system for producing a semiconductor substrate by controlling an external device 280 that performs assembly work in a semiconductor substrate production line by the control device 200 according to a predetermined work target.
 制御装置200は計算機であり、例えば汎用のPC(Personal Computer)又は、制御装置の専用コントロール装置等である。 The control device 200 is a computer, such as a general-purpose PC (Personal Computer) or a dedicated control device for the control device.
 また、制御装置200は、制御アプリケーション220及びデバッグ支援装置300を含む。 Further, the control device 200 includes a control application 220 and a debugging support device 300.
 例えば、制御装置200は、外部機器280の一部であるロボットアーム260に対して、制御信号を送信する。さらに、制御装置200は、ロボットアーム260から応答信号を受信する。このように、制御装置200は、外部機器280と信号の送受信を繰り返し行うことで、機械制御システム100の機能を実現する。 For example, the control device 200 transmits a control signal to the robot arm 260 that is a part of the external device 280. Further, the control device 200 receives a response signal from the robot arm 260. As described above, the control device 200 realizes the function of the machine control system 100 by repeatedly transmitting and receiving signals to and from the external device 280.
 外部機器280は、例えば半導体の生産ラインや、基板の実装ラインを構成する1台以上の生産装置等である。外部機器280は、ロボットアーム260や、ベルトコンペア270等、制御装置200との間で制御信号の送受信を行う機能を有する。 The external device 280 is, for example, one or more production apparatuses constituting a semiconductor production line or a board mounting line. The external device 280 has a function of transmitting and receiving control signals to and from the control device 200 such as the robot arm 260 and the belt compare 270.
 図2は、制御装置200が有するハードウェアの構成を示す概要図である。 FIG. 2 is a schematic diagram showing a hardware configuration of the control device 200. As shown in FIG.
 制御装置200は、CPU201、メモリ202、表示装置203、ストレージ204、入力装置205及び通信I/F206を備えている。 The control device 200 includes a CPU 201, a memory 202, a display device 203, a storage 204, an input device 205, and a communication I / F 206.
 CPU201は、通常の計算機処理に用いられる数値演算装置等である。CPU201は、制御アプリケーション220及びデバッグ支援装置300の実行に必要な計算を行う。 The CPU 201 is a numerical arithmetic unit used for normal computer processing. The CPU 201 performs calculations necessary for the execution of the control application 220 and the debug support apparatus 300.
 メモリ202は、RAM(Random Access Memory)等の記憶装置である。メモリ202は、CPUの作業領域として使われる。具体的には、制御アプリケーション220及びデバッグ支援装置300を実行する際にCPU201が用いる他、後に述べるような、制御アプリケーション220とデバッグ支援装置300との間で行われるプロセス間通信においてCPU201が用いる。 The memory 202 is a storage device such as a RAM (Random Access Memory). The memory 202 is used as a work area for the CPU. Specifically, in addition to being used by the CPU 201 when executing the control application 220 and the debug support apparatus 300, the CPU 201 is used in inter-process communication performed between the control application 220 and the debug support apparatus 300 as described later.
 なお、メモリ202には、制御アプリケーション220やデバッグ支援装置300のプログラム等、書き換え不要なデータについて保持するためのROM(Read Only Memory)を含んでもよい。 Note that the memory 202 may include a ROM (Read Only Memory) for storing data that does not need to be rewritten, such as a program of the control application 220 or the debug support apparatus 300.
 表示装置203は、例えばLCD(Liquid Crystal Display)等であり、CPU201は、ユーザに対して制御アプリケーション220及びデバッグ支援装置300の動作状況を出力する。また、制御アプリケーション220及びデバッグ支援装置300を操作するGUI画面を表示するためにCPU201が使用する。 The display device 203 is, for example, an LCD (Liquid Crystal Display) or the like, and the CPU 201 outputs the operation status of the control application 220 and the debug support device 300 to the user. In addition, the CPU 201 uses the GUI screen for operating the control application 220 and the debugging support apparatus 300.
 ストレージ204は、外部記憶装置であり、例えばハードディスクやCD-ROMドライブ等である。ストレージ204には、例えば制御アプリケーション220及びデバッグ支援装置300が使用するプログラムが記録されている。CPU201は、制御アプリケーション220及びデバッグ支援装置300の機能を実現するプログラムを実行する際には、ストレージ204から前記プログラムを読み込んだ後、メモリ202中のRAM領域に書き込み、前記RAM領域から前記プログラムを実行することができる。また、CPU201は、制御アプリケーション220やデバッグ支援装置300が生成するファイルの読み書きを行う場所として、ストレージ204を使用する。 The storage 204 is an external storage device, such as a hard disk or a CD-ROM drive. In the storage 204, for example, programs used by the control application 220 and the debug support apparatus 300 are recorded. When the CPU 201 executes a program that realizes the functions of the control application 220 and the debugging support apparatus 300, the CPU 201 reads the program from the storage 204, writes the program in the RAM area in the memory 202, and loads the program from the RAM area. Can be executed. In addition, the CPU 201 uses the storage 204 as a place to read and write files generated by the control application 220 and the debug support apparatus 300.
 入力装置205は、制御アプリケーション220やデバッグ支援装置300に対して、ユーザが指示を行うための入力装置であり、例えばマウスやキーボード、タッチパネル等である。 The input device 205 is an input device for a user to give an instruction to the control application 220 and the debug support device 300, and is, for example, a mouse, a keyboard, a touch panel, or the like.
 通信I/F206は、制御アプリケーション220と外部機器280との間で制御信号の送信や応答信号の受信を行うための通信インタフェースである。通信I/F206は、例えばLAN(Local Area Network)や、シリアルポート等である。 The communication I / F 206 is a communication interface for transmitting a control signal and receiving a response signal between the control application 220 and the external device 280. The communication I / F 206 is, for example, a LAN (Local Area Network) or a serial port.
 なお、制御装置200が有するCPU201の数が1の場合は、制御アプリケーション220とデバッグ支援装置300は、CPU201の計算時間を時分割して行うマルチタスク処理で動作することになる。また、CPU201が複数ある場合には、各CPUを制御アプリケーション220及びデバッグ支援装置300にそれぞれ割り当ててもよい。 When the number of CPUs 201 included in the control device 200 is 1, the control application 220 and the debug support device 300 operate by multitask processing performed by dividing the calculation time of the CPU 201 in a time-sharing manner. Further, when there are a plurality of CPUs 201, each CPU may be assigned to the control application 220 and the debug support apparatus 300, respectively.
 なお、本発明に係るデバッグ支援装置300は、制御装置200と異なる計算機が実行してもよい。その場合は、LAN等の通信インタフェースにより制御装置200と本発明に係るデバッグ支援装置300とを接続することで、制御装置200上で動作する制御アプリケーション220のデバッグを行うことになる。 Note that the debugging support apparatus 300 according to the present invention may be executed by a computer different from the control apparatus 200. In that case, the control application 220 operating on the control apparatus 200 is debugged by connecting the control apparatus 200 and the debug support apparatus 300 according to the present invention via a communication interface such as a LAN.
 図3は、本実施の形態に係る、制御アプリケーション220及びデバッグ支援装置300が有する機能の概要を示したブロック図である。 FIG. 3 is a block diagram showing an outline of the functions of the control application 220 and the debug support apparatus 300 according to the present embodiment.
 制御アプリケーション220は、画面処理プロセス222、管理プロセス224及び通信プロセス226を有する。また、デバッグ支援装置300は、信号伝達部310、伝達モード切替部320、伝達履歴記録部340、検証条件生成部360及び検証条件保持部380を有する。 The control application 220 includes a screen processing process 222, a management process 224, and a communication process 226. The debug support apparatus 300 includes a signal transmission unit 310, a transmission mode switching unit 320, a transmission history recording unit 340, a verification condition generation unit 360, and a verification condition holding unit 380.
 画面処理プロセス222は、GUI(Graphical User Interface)等の、ユーザが制御アプリケーション220を操作するための操作画面を表示装置203に表示するとともに、入力装置205からのユーザの入力を受け取る。例えば、ロボットアーム260のアーム位置を原点に戻すための「原点復帰ボタン」を表示装置203に表示するとともに、ユーザが前記原点復帰ボタンをマウスでクリックした場合には、前記クリック信号を受け取り、管理プロセス224に通知する。 The screen processing process 222 displays an operation screen for operating the control application 220 by the user, such as GUI (Graphical User Interface), on the display device 203 and receives the user input from the input device 205. For example, a “origin return button” for returning the arm position of the robot arm 260 to the origin is displayed on the display device 203, and when the user clicks the origin return button with the mouse, the click signal is received and managed. Notify process 224.
 管理プロセス224は、制御アプリケーション220の動作ロジックを処理する。例えば、画面処理プロセス222から、前記原点復帰ボタンがクリックされた旨を通知する信号を受け取った場合には、ロボットアーム260のアーム位置を原点に戻すために必要な処理として、通信プロセスを介してロボットアーム260へ、原点復帰コマンドを送信する。 Management process 224 processes the operation logic of control application 220. For example, when a signal notifying that the origin return button has been clicked is received from the screen processing process 222, a process necessary for returning the arm position of the robot arm 260 to the origin is performed via a communication process. An origin return command is transmitted to the robot arm 260.
 通信プロセス226は、制御アプリケーション220から外部機器280への制御信号の送信及び、外部機器280から制御アプリケーション220への応答信号の受信を行う。なお、制御アプリケーション220から外部機器280への制御信号及び外部機器280から制御アプリケーション220への応答信号の内容は、制御対象である外部機器280毎に異なる。よって、通信プロセス226は、制御信号及び応答信号に関する情報を外部機器280毎に保持している。 The communication process 226 transmits a control signal from the control application 220 to the external device 280 and receives a response signal from the external device 280 to the control application 220. Note that the contents of the control signal from the control application 220 to the external device 280 and the response signal from the external device 280 to the control application 220 are different for each external device 280 to be controlled. Therefore, the communication process 226 holds information regarding the control signal and the response signal for each external device 280.
 そのため、通信プロセス226は、信号伝達部310から伝達された制御信号である要受信信号3200を、必要に応じて外部機器280が解釈可能な制御コマンドに変換し、変換した制御コマンドを外部機器280へ送信する。 Therefore, the communication process 226 converts the reception required signal 3200, which is a control signal transmitted from the signal transmission unit 310, into a control command that can be interpreted by the external device 280 as necessary, and converts the converted control command to the external device 280. Send to.
 さらに、通信プロセス226は、送信した制御コマンドに応答して外部機器280が動作した結果を示す応答コマンドを、必要に応じて管理プロセス224が解釈可能な応答信号に変換し、変換した応答信号を信号伝達部310へ要送信信号3100として送信する。 Further, the communication process 226 converts a response command indicating a result of the operation of the external device 280 in response to the transmitted control command into a response signal that can be interpreted by the management process 224 as necessary, and converts the converted response signal. It transmits to the signal transmission part 310 as the transmission required signal 3100.
 さらに、信号伝達部310は、通信プロセス226から送信された応答信号を、要受信信号3200として管理プロセス224へ伝達する。 Further, the signal transmission unit 310 transmits the response signal transmitted from the communication process 226 to the management process 224 as the reception required signal 3200.
 なお、画面処理プロセス222、管理プロセス224及び通信プロセス226は、必ずしも個別のプロセスである必要はなく、1つのプロセス内で処理される複数のスレッドとして実行されてもよい。また、画面処理プロセス222、管理プロセス224及び通信プロセス226は、1つの制御装置200内で実行される必要はなく、ネットワーク接続された複数の制御装置200内で分散して実行されてもよい。 Note that the screen processing process 222, the management process 224, and the communication process 226 do not necessarily have to be separate processes, and may be executed as a plurality of threads processed in one process. In addition, the screen processing process 222, the management process 224, and the communication process 226 do not have to be executed in one control device 200, and may be executed in a distributed manner in a plurality of control devices 200 connected to the network.
 信号伝達部310は、制御アプリケーション220が有する複数のプロセス間での信号の送受信を行う。制御アプリケーション220が有する各プロセスが他のプロセスと通信を行う場合には、必ず信号伝達部310を介して通信を行う。 The signal transmission unit 310 transmits and receives signals between a plurality of processes included in the control application 220. When each process included in the control application 220 communicates with another process, communication is always performed via the signal transmission unit 310.
 信号伝達部310は、制御信号送信部311と制御信号受信部312とを有する。 The signal transmission unit 310 includes a control signal transmission unit 311 and a control signal reception unit 312.
 制御信号受信部312は、制御アプリケーション220が有する一のプロセスから、要送信信号3100を受信する。要送信信号3100は、宛先として指定された別プロセスの名前及び伝達すべき制御信号の内容を含む。 The control signal receiver 312 receives the transmission required signal 3100 from one process of the control application 220. The transmission-required signal 3100 includes the name of another process designated as the destination and the content of the control signal to be transmitted.
 制御信号送信部311は、前記宛先として指定された前記別プロセスに対して、要受信信号3200を送信する。要受信信号3200は、前記要送信信号3100に含まれる、前記制御信号の内容を含む。 The control signal transmission unit 311 transmits a reception required signal 3200 to the another process designated as the destination. The reception required signal 3200 includes the contents of the control signal included in the transmission required signal 3100.
 例えば、画面処理プロセス222が原点復帰ボタンのクリック信号を受け取った場合には、画面処理プロセス222は、管理プロセス224を宛先とし、原点復帰ボタンが押されたことを内容とする要送信信号3100を信号伝達部310へ送る。前記要送信信号3100を受け取った信号伝達部310は、宛先として指定された管理プロセス224に対して、原点復帰ボタンが押されたことを内容とする要受信信号3200を送る。 For example, when the screen processing process 222 receives a click signal for the origin return button, the screen processing process 222 sends a transmission request signal 3100 with the management process 224 as a destination and a content indicating that the origin return button has been pressed. The signal is sent to the signal transmission unit 310. The signal transmission unit 310 that has received the transmission required signal 3100 sends a reception required signal 3200 that indicates that the origin return button has been pressed to the management process 224 designated as the destination.
 以上の説明から明らかなように、制御アプリケーション220を実行する場合には、必ずデバッグ支援装置300も実行される。制御アプリケーション220の実行には、信号伝達部310が不可欠なためである。 As is clear from the above description, when the control application 220 is executed, the debug support apparatus 300 is also executed. This is because the signal transmission unit 310 is indispensable for the execution of the control application 220.
 なお、制御信号受信部312及び制御信号送信部311は、例えば共有メモリや、ネットワーク経由での遠隔関数呼び出し等により、実現することができる。 The control signal receiving unit 312 and the control signal transmitting unit 311 can be realized by, for example, a shared memory or a remote function call via a network.
 伝達モード切替部320は、伝達モードファイル322を読み込み、その内容に従って、デバッグ支援装置300の伝達モードを設定する。 The transmission mode switching unit 320 reads the transmission mode file 322 and sets the transmission mode of the debug support apparatus 300 according to the contents.
 前記伝達モードには、通常動作モードとデバッグ動作モードの2種類があり、モードが違うと信号伝達部310の動作が異なる。詳細は後述する。 There are two types of transmission modes, a normal operation mode and a debug operation mode. The operation of the signal transmission unit 310 differs depending on the mode. Details will be described later.
 伝達履歴記録部340は、信号伝達部310が行った処理を履歴ファイル342へと記録する。信号伝達部310が行った処理とは、例えば、要送信信号3100を受信した時刻、要受信信号3200を送信した時刻、及び、その内容等である。また、信号伝達部310が通信プロセス226を介さずに外部機器280へコマンドを送信し、又はコマンドの実行結果を受信した場合には、当該コマンドの送受信の時刻や内容等も、信号伝達部310が行った処理に含まれる。 The transmission history recording unit 340 records the processing performed by the signal transmission unit 310 in the history file 342. The processing performed by the signal transmission unit 310 includes, for example, the time when the transmission required signal 3100 is received, the time when the reception required signal 3200 is transmitted, and the contents thereof. In addition, when the signal transmission unit 310 transmits a command to the external device 280 without passing through the communication process 226 or receives the execution result of the command, the signal transmission unit 310 also indicates the transmission / reception time and content of the command. Is included in the processing performed.
 検証条件生成部360は、伝達履歴記録部340から取得した履歴ファイル342を元に、履歴に含まれる信号伝達部310が行った信号の送受信を再現するように検証条件ファイル382を生成し、検証条件保持部380へ書き込む。信号伝達部310が行った信号の送受信とは、例えば要送信信号3100の受信と、その要送信信号3100に対応する要受信信号3200の送信、又は、外部機器280へのコマンドの送信と、そのコマンドの送信に対応する外部機器280からのコマンド処理結果通知等である。 Based on the history file 342 acquired from the transmission history recording unit 340, the verification condition generation unit 360 generates a verification condition file 382 so as to reproduce the signal transmission / reception performed by the signal transmission unit 310 included in the history. Write to the condition holding unit 380. The signal transmission / reception performed by the signal transmission unit 310 includes, for example, reception of a transmission request signal 3100, transmission of a reception signal 3200 corresponding to the transmission signal 3100 required, transmission of a command to the external device 280, For example, command processing result notification from the external device 280 corresponding to command transmission.
 詳細は後述するが、例えば制御アプリケーション220を使用中に不具合が発生した場合、当該不具合の原因を解明するために、検証条件生成部360により生成された検証条件ファイル382を用いることができる。 Although details will be described later, for example, when a problem occurs while using the control application 220, the verification condition file 382 generated by the verification condition generation unit 360 can be used to clarify the cause of the problem.
 図4は、本発明の実施の形態における、デバッグ支援装置300の処理の概要を示したフローチャートである。 FIG. 4 is a flowchart showing an outline of processing of the debug support apparatus 300 according to the embodiment of the present invention.
 開始後、伝達モード切替部320は、デバッグ支援装置300の動作モードとして、通常動作モード又はデバッグ動作モードのいずれかの伝達モードを決定する(S312)。 After the start, the transmission mode switching unit 320 determines either the normal operation mode or the debug operation mode as the operation mode of the debug support device 300 (S312).
 信号伝達部310は、伝達モード切替部320の決定結果が通常動作モードであれば(S314でYes)、通常動作を行う(S316)。一方、デバッグ動作モードであれば(S314でNo)、信号伝達部310は対応する検証条件ファイル382を読み込み(S317)、検証条件ファイル382に従ったデバッグ動作を行う(S318)。 If the determination result of the transmission mode switching unit 320 is the normal operation mode (Yes in S314), the signal transmission unit 310 performs the normal operation (S316). On the other hand, if it is the debug operation mode (No in S314), the signal transmission unit 310 reads the corresponding verification condition file 382 (S317), and performs the debug operation according to the verification condition file 382 (S318).
 図5は、通常動作(S316)における制御信号の伝達の流れの一例を示したシーケンス図である。 FIG. 5 is a sequence diagram showing an example of the flow of control signal transmission in the normal operation (S316).
 図5を用いて、画面処理プロセス222、信号伝達部310、管理プロセス224、通信プロセス226及び外部機器280の間における、通常動作モード時の制御信号の流れを説明する。 The flow of control signals in the normal operation mode among the screen processing process 222, the signal transmission unit 310, the management process 224, the communication process 226, and the external device 280 will be described with reference to FIG.
 まず、ユーザによって、「原点復帰ボタン」が押されたことを画面処理プロセス222が検知したとする。画面処理プロセス222は、原点復帰ボタンが押されたことを示す「復帰ボタン要求」を、要送信信号3100として信号伝達部310に送る(S511)。要送信信号3100を受信した信号伝達部310は、「復帰ボタン要求」を要受信信号3200として管理プロセス224に送る(S512)。これにより、管理プロセス224は、原点復帰ボタンが押されたことを知る。 First, it is assumed that the screen processing process 222 detects that the “origin return button” has been pressed by the user. The screen processing process 222 sends a “return button request” indicating that the origin return button has been pressed to the signal transmission unit 310 as a transmission required signal 3100 (S511). The signal transmission unit 310 that has received the transmission required signal 3100 sends a “return button request” as the reception required signal 3200 to the management process 224 (S512). Thereby, the management process 224 knows that the origin return button has been pressed.
 次に、管理プロセス224は、外部機器の原点復帰を指示するための「原点復帰要求」を、要送信信号3100として信号伝達部310に送信する(S513)。要送信信号3100を受信した信号伝達部310は、「原点復帰要求」を要受信信号3200として通信プロセス226に送る(S514)。これにより、通信プロセス226は、外部機器を原点復帰させなければならないことを知る。 Next, the management process 224 transmits an “origin return request” for instructing the origin return of the external device to the signal transmission unit 310 as a transmission required signal 3100 (S513). The signal transmission unit 310 that has received the transmission required signal 3100 sends an “origin return request” as the reception required signal 3200 to the communication process 226 (S514). As a result, the communication process 226 knows that the external device must be returned to the origin.
 次に、通信プロセス226は、外部機器280に対して、原点復帰コマンドに対応する「原点復帰コマンド要求」を送る(S515)。「原点復帰コマンド要求」を受けた外部機器280は、原点復帰動作を行う(S516)。外部機器280は、原点復帰動作を完了した後、通信プロセス226に対して、原点復帰コマンドが完了したことを通知するための「原点復帰コマンド応答」を送信する(S517)。 Next, the communication process 226 sends an “origin return command request” corresponding to the origin return command to the external device 280 (S515). The external device 280 that has received the “origin return command request” performs an origin return operation (S516). After completing the origin return operation, the external device 280 transmits a “origin return command response” for notifying that the origin return command is completed to the communication process 226 (S517).
 次に、通信プロセス226は、原点復帰完了を通知するための「原点復帰応答」を要送信信号3100として信号伝達部310に送る(S520)。要送信信号3100を受信した信号伝達部310は、原点復帰完了を通知するための「原点復帰応答」を要受信信号3200として管理プロセス224に送る(S521)。これにより、管理プロセス224は、外部機器が原点復帰したことを知る。 Next, the communication process 226 sends an “origin return response” for notifying completion of the origin return to the signal transmission unit 310 as a transmission required signal 3100 (S520). The signal transmission unit 310 that has received the transmission-required signal 3100 sends a “return-to-origin response” for notifying completion of the return to origin to the management process 224 as a required reception signal 3200 (S521). As a result, the management process 224 knows that the external device has returned to the origin.
 次に、管理プロセス224は、原点復帰ボタン処理の完了を通知するための「復帰ボタン応答」を要送信信号3100として信号伝達部310に送る(S522)。要送信信号3100を受信した信号伝達部310は、原点復帰ボタン処理の完了を通知するための「復帰ボタン応答」を要受信信号3200として画面処理プロセス222に送る(S523)。これにより、画面処理プロセス222は、原点復帰ボタンが押されたことに対する処理が完了したことを知り、例えばその旨を表示装置203に表示する。 Next, the management process 224 sends a “return button response” for notifying the completion of the origin return button process to the signal transmission unit 310 as a transmission required signal 3100 (S522). The signal transmission unit 310 that has received the transmission required signal 3100 sends a “return button response” for notifying the completion of the origin return button processing to the screen processing process 222 as a reception required signal 3200 (S523). As a result, the screen processing process 222 knows that the processing corresponding to the pressing of the origin return button has been completed, and displays, for example, on the display device 203 to that effect.
 以上が、通常動作モードにおける信号伝達部310の伝達処理である。 The above is the transmission processing of the signal transmission unit 310 in the normal operation mode.
 なお、実際には、管理プロセス224は複数の原点復帰要求(S513)を発行する場合がある。例えば、X軸用原点復帰要求、Y軸用原点復帰要求、Z軸用原点復帰要求等を発行する場合が考えられる。 Actually, the management process 224 may issue a plurality of origin return requests (S513). For example, there may be a case where an X-axis origin return request, a Y-axis origin return request, a Z-axis origin return request, or the like is issued.
 また、上記の信号伝達部310を介した制御信号のプロセス間通信の仕組みを、制御アプリケーション220に簡単に組み込む方法として、例えば、API(Application Programming Interface)としてメッセージを送受信する仕組みを提供することが考えられる。 In addition, as a method of easily incorporating the above-described inter-process communication mechanism of the control signal via the signal transmission unit 310 into the control application 220, for example, a mechanism for transmitting and receiving a message as an API (Application Programming Interface) is provided. Conceivable.
 図6Aは、本実施の形態における要送信信号3100及び要受信信号3200を実装する、「復帰ボタン要求」及び「原点復帰要求」のAPIの例である、ReqApi3101を示す。 FIG. 6A shows ReqApi 3101, which is an example of a “return button request” and “origin return request” API, which implements the transmission required signal 3100 and the reception required signal 3200 in the present embodiment.
 このReqApi3101は、引数としてイベント種別3102、発行元ID3104、最終発行先ID3106及びイベント種別による引数3108(可変長)をとる。 This ReqApi 3101 takes an event type 3102, an issuer ID 3104, a final issuer ID 3106, and an argument 3108 (variable length) according to the event type as arguments.
 イベント種別3102は、「ボタンが押された」「外部機器にコマンドを発行せよ」など、制御信号を用いて伝達したい内容を示す。 The event type 3102 indicates contents to be transmitted using a control signal such as “button pressed” or “issue command to external device”.
 発行元ID3104は、制御信号の送り元である。発行元ID3104は、制御アプリケーション220内の一プロセスを示すIDである。 Issuer ID 3104 is the source of the control signal. The issuer ID 3104 is an ID indicating one process in the control application 220.
 最終発行先ID3106は、制御信号の最終的な宛先である。最終発行先ID3106は、制御アプリケーション220内の別プロセスを示すIDである。 The final issue destination ID 3106 is the final destination of the control signal. The final issue destination ID 3106 is an ID indicating another process in the control application 220.
 イベント種別による引数3108は、必要に応じて、イベント種別3102固有の引数を指定する。例えば、「ボタンが押された」というイベント種別3102に対して、そのボタンが原点復帰ボタンであることを特定する場合等に用いる。 Argument 3108 by event type specifies an argument specific to event type 3102 as necessary. For example, it is used to specify that the button is an origin return button for the event type 3102 “button pressed”.
 図6Bは、要送信信号3100及び要受信信号3200を実装する、「復帰ボタン応答」及び「原点復帰応答」のAPIの例である、AnsApi3201を示す。 FIG. 6B shows AnsApi 3201, which is an example of “return button response” and “origin return response” APIs that implement the transmission required signal 3100 and the reception required signal 3200.
 このAnsApi3201は、引数としてイベント種別3202、発行元ID3204、最終発行先ID3206及びイベント種別による引数3208をとる。イベント種別3202、発行元ID3204、最終発行先ID3206及びイベント種別による引数3208は、ReqApi3101における、イベント種別3102、発行元ID3104、最終発行先ID3106及びイベント種別による引数3108と、それぞれ同じ意味を示す。 This AnsApi 3201 takes an event type 3202, an issuer ID 3204, a final issue destination ID 3206, and an argument 3208 according to the event type as arguments. The event type 3202, the issuer ID 3204, the final issue destination ID 3206, and the event type argument 3208 have the same meaning as the event type 3102, the issuer ID 3104, the final issue destination ID 3106, and the event type argument 3108 in the ReqApi 3101, respectively.
 図7は、外部機器280が存在しない場合におけるデバッグ動作時(図4におけるS318)の制御信号の流れを示すシーケンス図である。 FIG. 7 is a sequence diagram showing the flow of control signals during the debugging operation (S318 in FIG. 4) when the external device 280 is not present.
 図7の動作シーケンスには、外部機器280が存在しない。よって、通常動作モードを用いると、信号伝達部310は通信プロセス226を介して外部機器280に対し原点復帰コマンドを発行することができない。そこで、ユーザである制御アプリケーション220の開発者は、デバッグ動作モードを使用してデバッグを行う。 7 does not exist in the operation sequence of FIG. Therefore, when the normal operation mode is used, the signal transmission unit 310 cannot issue an origin return command to the external device 280 via the communication process 226. Therefore, the developer of the control application 220 as a user performs debugging using the debug operation mode.
 まず、図5同様に、ユーザによって「原点復帰ボタン」が押されたことを画面処理プロセス222が検知したとする。 First, as in FIG. 5, it is assumed that the screen processing process 222 detects that the “origin return button” has been pressed by the user.
 画面処理プロセス222は、原点復帰ボタンが押されたことを通知するための「復帰ボタン要求」を要送信信号3100として信号伝達部310に送る(S511)。要送信信号3100を受信した信号伝達部310は、原点復帰ボタンが押されたことを通知するための「復帰ボタン要求」を要受信信号3200として管理プロセス224に送る(S512)。これにより、管理プロセス224は、原点復帰ボタンが押されたことを知る。 The screen processing process 222 sends a “return button request” for notifying that the origin return button has been pressed to the signal transmission unit 310 as a transmission required signal 3100 (S511). The signal transmission unit 310 that has received the transmission required signal 3100 transmits a “return button request” for notifying that the origin return button has been pressed to the management process 224 as a reception required signal 3200 (S512). Thereby, the management process 224 knows that the origin return button has been pressed.
 次に、管理プロセス224は、外部機器の原点復帰を指示するための「原点復帰要求」を、要送信信号3100として信号伝達部310に送信する(S513)。ここまでは、図5に示した通常動作モード同様の処理である。 Next, the management process 224 transmits an “origin return request” for instructing the origin return of the external device to the signal transmission unit 310 as a transmission required signal 3100 (S513). Up to this point, the processing is the same as the normal operation mode shown in FIG.
 しかし、これ以降の通信プロセス226や外部機器280との通信はスキップされ(S514a、S515a、S517a、S520a)、従って外部機器280も原点復帰動作(S516)を行わない。 However, the subsequent communication process 226 and communication with the external device 280 are skipped (S514a, S515a, S517a, S520a), and therefore the external device 280 does not perform the origin return operation (S516).
 その後、信号伝達部310は、管理プロセス224に対して、原点復帰の完了を通知するための「原点復帰応答」を要受信信号3200として送る(S521)。以後、デバッグ支援装置300は、再び通常動作モードと同様の処理を行う(S522、S523)。 Thereafter, the signal transmission unit 310 sends a “origin return response” for notifying the completion of the origin return to the management process 224 as a reception required signal 3200 (S521). Thereafter, the debug support apparatus 300 performs the same process as in the normal operation mode again (S522, S523).
 以上のように、デバッグ動作モードでは、外部機器280と管理プロセス224との制御信号の送受信をスキップすることで、制御アプリケーション220の開発者は、手元に外部機器280がなくとも、制御アプリケーション220のプログラムを実行することができる。また必要があれば、制御アプリケーション220の開発者は、汎用のデバッガによる通常のデバッグ手法により、制御アプリケーション220をデバッグすることができる。 As described above, in the debug operation mode, by skipping the transmission / reception of the control signal between the external device 280 and the management process 224, the developer of the control application 220 can execute the control application 220 without the external device 280 at hand. The program can be executed. If necessary, the developer of the control application 220 can debug the control application 220 by a normal debugging method using a general-purpose debugger.
 デバッグ支援装置300は、伝達モードファイル322を参照し、通常動作モードとデバッグ動作モードの切り替えを行う。 The debug support apparatus 300 refers to the transmission mode file 322 and switches between the normal operation mode and the debug operation mode.
 図8は、本実施の形態における伝達モードファイル322のデータ構造の一例を示す図である。伝達モードファイル322の1列目には、検証条件ファイル382のファイル名が記載されている。伝達モードファイル322の2列目には、前記ファイル名が記載された検証条件ファイル382をデバッグ動作モードで用いるか否かを指定する。 FIG. 8 is a diagram showing an example of the data structure of the transmission mode file 322 in the present embodiment. In the first column of the transmission mode file 322, the file name of the verification condition file 382 is described. The second column of the transmission mode file 322 specifies whether or not to use the verification condition file 382 in which the file name is described in the debug operation mode.
 本実施の形態では、検証条件ファイル名「第1ファイル」について、デバッグ動作モードが「1」と指定されている。よってデバッグ支援装置300は、「第1ファイル」をデバッグ動作モードの動作を決定するためのファイルとして使用する。具体的には、信号伝達部310が「第1ファイル」を読み込み(S317)、検証条件ファイルとして使用する。なお、「デバッグ動作モード」の列が全て0に設定されていれば、デバッグ支援装置300は通常動作モードとして動作する。 In this embodiment, the debug operation mode is designated as “1” for the verification condition file name “first file”. Therefore, the debug support apparatus 300 uses the “first file” as a file for determining the operation in the debug operation mode. Specifically, the signal transmission unit 310 reads the “first file” (S317) and uses it as the verification condition file. If all the columns of “debug operation mode” are set to 0, the debug support apparatus 300 operates in the normal operation mode.
 図9は、検証条件ファイル382のデータ構造の一例を示す図である。検証条件ファイル382の各行には、要送信信号3100及び要受信信号3200のいずれか1つに対応するパターンが記載されている。 FIG. 9 is a diagram illustrating an example of the data structure of the verification condition file 382. Each row of the verification condition file 382 describes a pattern corresponding to one of the transmission required signal 3100 and the reception required signal 3200.
 なお、信号伝達部310は通信プロセス226を介さずに外部機器280と通信を行ってもよいが、その場合には、検証条件ファイル382の各行には、要送信信号3100及び要受信信号3200に加え、信号伝達部310から外部機器280へ送信される制御信号及び、信号伝達部310が外部機器280から受信する制御信号の、いずれか1つに対応するパターンが記載される。 Note that the signal transmission unit 310 may communicate with the external device 280 without going through the communication process 226, but in that case, each row of the verification condition file 382 includes a transmission required signal 3100 and a reception required signal 3200. In addition, a pattern corresponding to any one of a control signal transmitted from the signal transmission unit 310 to the external device 280 and a control signal received by the signal transmission unit 310 from the external device 280 is described.
 トリガ3822は、対応する行がデバッグ動作モードにおける「トリガメッセージ」であるか否かを示す。トリガ3822に「1」が指定されれば、当該行はトリガメッセージのパターンを示す。 Trigger 3822 indicates whether the corresponding line is a “trigger message” in the debug operation mode. If “1” is designated for the trigger 3822, the corresponding line indicates the pattern of the trigger message.
 一方、応答3823には、対応する行がデバッグ動作モードにおける「応答メッセージ」であるか否かを指定する。具体的には、応答3823に「1」が設定されれば、当該行は応答メッセージのパターンを示す。 On the other hand, the response 3823 specifies whether or not the corresponding line is a “response message” in the debug operation mode. Specifically, if “1” is set in the response 3823, the corresponding line indicates a response message pattern.
 デバッグ動作モードでは、信号伝達部310は、管理プロセス224から要送信信号3100を受信した場合、受信した要送信信号3100が、検証条件ファイル382に記載されたいずれかのトリガメッセージのパターンに一致するか否かを確認する。 In the debug operation mode, when the signal transmission unit 310 receives the transmission required signal 3100 from the management process 224, the received transmission required signal 3100 matches one of the trigger message patterns described in the verification condition file 382. Check whether or not.
 もし一致した場合には、信号伝達部310は、トリガメッセージに対応する応答メッセージのパターンに相当する要受信信号3200を生成し、生成した要受信信号3200を管理プロセス224へ送信する。なお、一致しない場合には、信号伝達部310は、通常動作モードと同じ通常動作を行う。 If they match, the signal transmission unit 310 generates a required reception signal 3200 corresponding to the response message pattern corresponding to the trigger message, and transmits the generated required reception signal 3200 to the management process 224. If they do not match, the signal transmission unit 310 performs the same normal operation as the normal operation mode.
 なお、トリガメッセージに対応する応答メッセージとは、例えば検証条件ファイル382において、1行以上の連続したトリガメッセージの記載の直後に記載された、1行以上の連続した応答メッセージのことである。 The response message corresponding to the trigger message is, for example, a continuous response message of one or more lines described immediately after the description of the continuous trigger message of one or more lines in the verification condition file 382.
 すなわち、トリガメッセージは要送信信号3100であり、応答メッセージは要受信信号3200である。 That is, the trigger message is a transmission required signal 3100, and the response message is a reception required signal 3200.
 種別3825は、該当する行が、要求信号であるか応答信号であるかを示す。 The type 3825 indicates whether the corresponding line is a request signal or a response signal.
 第1引数3824は、制御信号の送信元を示す。第2引数3826は、制御信号の送信先を示す。送信先には、制御信号の最終的な送り先を指定する。第3引数3828は、制御信号の内容を示す。例えば、図9の一行目は、管理プロセス224から通信プロセス226への、原点復帰の要求を内容とする要送信信号3100を示すパターンである。当該パターンは、トリガメッセージとして指定されている。 The first argument 3824 indicates the transmission source of the control signal. The second argument 3826 indicates the transmission destination of the control signal. The final destination of the control signal is designated as the destination. The third argument 3828 indicates the content of the control signal. For example, the first line of FIG. 9 is a pattern showing a transmission-required signal 3100 that contains a request for return to origin from the management process 224 to the communication process 226. This pattern is designated as a trigger message.
 Log3830は、伝達履歴記録部340が信号の送受信履歴を記録するか否かを指定する。 Log 3830 specifies whether or not the transmission history recording unit 340 records a signal transmission / reception history.
 Log3830に「1」が指定された場合には、「1」が指定された行以降の信号伝達部310が送受信する全ての要送信信号3100及び要受信信号3200について伝達履歴記録部340は、信号の送受信履歴を記録する。 When “1” is specified in the Log 3830, the transmission history recording unit 340 performs signal transmission for all the transmission required signals 3100 and reception required signals 3200 transmitted and received by the signal transmission unit 310 after the row in which “1” is specified. Record the transmission / reception history.
 また、Log3830に「1」が指定された行以降で、Log3830に「2」が指定された場合には、「2」が指定された行以降の信号伝達部310が送受信する全ての要送信信号3100及び要受信信号3200について伝達履歴記録部340は、信号の送受信履歴の記録は行わない。 In addition, when “1” is specified in Log 3830 and after “2” is specified in Log 3830, all transmission required signals transmitted and received by the signal transmission unit 310 after “2” is specified. The transmission history recording unit 340 does not record the signal transmission / reception history for the 3100 and the reception required signal 3200.
 Log3830に「3」が設定された場合、当該「3」が設定された行に記載されたパターンに一致する要送信信号3100を信号伝達部310が受信した場合には、信号伝達部310は、その時刻等を伝達履歴記録部340に記録する。信号伝達部310は、パターンに一致する要受信信号3200を送信した場合も同様に、その時刻等を伝達履歴記録部340に記録する。 When “3” is set in the Log 3830, when the signal transmission unit 310 receives the transmission required signal 3100 that matches the pattern described in the row in which the “3” is set, the signal transmission unit 310 The time and the like are recorded in the transmission history recording unit 340. Similarly, the signal transmission unit 310 records the time and the like in the transmission history recording unit 340 even when the reception required signal 3200 matching the pattern is transmitted.
 なお、Log3830に「4」以上の数を指定することで、信号伝達部310が送受信する要送信信号3100及び要受信信号3200のうち伝達履歴記録部340が記録するものを、ユーザがプログラマブルに指定することも考えられる。 In addition, by specifying a number of “4” or more in Log 3830, the user can specify what the transmission history recording unit 340 records among the transmission required signal 3100 and the reception required signal 3200 transmitted and received by the signal transmission unit 310. It is also possible to do.
 なお、Log3830に空白又は「0」を指定すると、伝達履歴記録部340は記録を行わない。 In addition, if blank or “0” is specified for Log 3830, the transmission history recording unit 340 does not perform recording.
 実行3832は、デバッグ動作モードにおける制御信号の伝達可否を指定する。具体的には、トリガメッセージであれば、信号伝達部310が通常の処理を行うか(「1」を指定する)否か(「0」を指定する)を指定する。また、応答メッセージであれば、要受信信号3200を生成するか(「1」を指定する)否か(「0」を指定する)を指定する。 Execution 3832 specifies whether control signals can be transmitted in the debug operation mode. Specifically, if it is a trigger message, it is specified whether the signal transmission unit 310 performs normal processing (designates “1”) or not (designates “0”). In the case of a response message, it is specified whether to generate a reception required signal 3200 (designate “1”) or not (designate “0”).
 Wait3834は、応答メッセージについて指定した場合には、信号伝達部310がトリガメッセージに一致する要送信信号3100を受信してから、対応する応答メッセージを要受信信号3200として送信するまでの待機時間を指定する。 When Wait 3834 is designated for the response message, Wait 3834 designates a waiting time from when the signal transmission unit 310 receives the required transmission signal 3100 matching the trigger message to when the corresponding response message is transmitted as the necessary reception signal 3200. To do.
 一方、Wait3834をトリガメッセージについて指定した場合には、指定した時間以上待ってもトリガメッセージを受信しなかった場合には、信号伝達部310は、デバッグイベントを発生させる。 On the other hand, when Wait 3834 is designated for the trigger message, if the trigger message is not received even after waiting for the designated time or longer, the signal transmission unit 310 generates a debug event.
 図9の例では、デバッグ動作モードにおいて、信号伝達部310がトリガメッセージに一致する要送信信号3100を管理プロセス224から受信した場合、信号伝達部310は、通信プロセス226を送信元とし、管理プロセス224を最終宛先とする要受信信号3200を生成する。さらに、信号伝達部310は、要送信信号3100を受信してから3秒間待機した後、生成した要受信信号3200を管理プロセス224へ送信する。 In the example of FIG. 9, in the debug operation mode, when the signal transmission unit 310 receives the transmission-required signal 3100 that matches the trigger message from the management process 224, the signal transmission unit 310 uses the communication process 226 as the transmission source, A reception required signal 3200 with 224 as the final destination is generated. Further, the signal transmission unit 310 waits for 3 seconds after receiving the transmission required signal 3100 and then transmits the generated reception required signal 3200 to the management process 224.
 Debug3836から、第3比較3846については、引き続き、図10を用いて説明する。 From Debug 3836, the third comparison 3846 will be described with reference to FIG.
 図10は、図9と同様、検証条件ファイル382の記載例を示す。図10の各列の意味は、同じ符号が付けられた図9と同一である。なお、説明のために識別子3821を最左列に追加している。 FIG. 10 shows a description example of the verification condition file 382, as in FIG. The meaning of each column in FIG. 10 is the same as that in FIG. For the sake of explanation, an identifier 3821 is added to the leftmost column.
 Debug3836は、当該行に記載のパターンに一致した場合に、ユーザにデバッグイベントの発生を通知するか(「1」を指定する)、否か(「0」を指定する)を指定する。また、「2」を指定すると、デバッグ支援装置300は、引数の内容を、ユーザが修正するためのダイアログボックスを表示する。 Debug 3836 specifies whether to notify the user of the occurrence of a debug event (specify “1”) or not (specify “0”) when the pattern described in the row matches. When “2” is designated, the debug support apparatus 300 displays a dialog box for the user to correct the content of the argument.
 順序3837は、トリガメッセージの順序を指定する。順序の指定の仕方としては、正常条件として指定する方法と、異常条件として指定する方法の2つが考えられる。 Order 3837 specifies the order of trigger messages. There are two ways to specify the order: a method for specifying the order as a normal condition and a method for specifying the order as an abnormal condition.
 正常条件として順序を指定した場合は、信号伝達部310は、指定した正常条件に一致しない順序で信号を送受信した場合に、異常が発生したことをデバッグイベントとしてユーザへ知らせる。 When the order is specified as the normal condition, the signal transmission unit 310 informs the user that a failure has occurred as a debug event when signals are transmitted and received in an order that does not match the specified normal condition.
 一方、異常条件として順序を指定した場合は、信号伝達部310は、指定した異常条件に一致する順序で信号を送受信した場合に、異常が発生したことをデバッグイベントとしてユーザに知らせる。なお、「*」が指定されている場合には、順序は考慮されない。 On the other hand, when the order is designated as the abnormal condition, the signal transmission unit 310 informs the user that a malfunction has occurred as a debug event when signals are transmitted and received in the order that matches the designated abnormal condition. When “*” is designated, the order is not considered.
 連続性3838は、正常条件として指定された信号の送受信が連続して行われるべきか(「1」を指定)否か(空欄)を指定する。 The continuity 3838 designates whether transmission / reception of a signal designated as a normal condition should be continuously performed (designation of “1”) or not (blank).
 回数3840は、当該行の制御信号の送受信回数を指定する。具体的には、回数3840に指定された回数以上、信号伝達部310が信号の送受信を行った場合には、ユーザにデバッグイベントを通知する。 The number of times 3840 designates the number of times of transmission / reception of the control signal of the row. Specifically, when the signal transmission unit 310 transmits or receives a signal more than the number specified in the number 3840, the debug event is notified to the user.
 第1比較3842から第3比較3846は、比較方法及び比較内容を指定する。すなわち、信号伝達部310は、要送信信号3100又は要受信信号3200にオプションとして指定されうる補足的引数と、第1比較3842から第3比較3846までに指定される比較内容とを、指定された比較方法により比較する。比較方法として「1」が指定されれば同値を、「2」が指定されれば小なりを、「3」が指定されれば大なりを、「4」が指定されれば以下を、「5」が指定されれば以上を、「6」が指定されれば不一致を、それぞれ表す。 The first comparison 3842 to the third comparison 3846 designate a comparison method and comparison contents. That is, the signal transmission unit 310 is designated with the supplementary argument that can be specified as an option for the transmission required signal 3100 or the reception required signal 3200 and the comparison content specified from the first comparison 3842 to the third comparison 3846. Comparison is made by the comparison method. If "1" is specified as the comparison method, the same value is obtained; if "2" is specified, less than; if "3" is specified, greater than; if "4" is specified, the following: If “5” is designated, the above is indicated, and if “6” is designated, a mismatch is indicated.
 上記のように数字で指定された比較方法により、信号伝達部310は、第1比較3842から第3比較3846に記載された比較内容と、要送信信号3100又は要受信信号3200にオプションとして指定されうる第4引数から第6引数とを、それぞれ比較する。条件を満たした場合には、ユーザにデバッグイベントを通知する。 As described above, the signal transmission unit 310 is designated as an option in the comparison contents described in the first comparison 3842 to the third comparison 3848 and the transmission required signal 3100 or the reception required signal 3200 by the comparison method specified by numerals. The fourth to sixth arguments are compared. If the condition is met, the user is notified of a debug event.
 なお、デバッグイベントの発生時には、ユーザに通知することに加え、信号伝達部310が事前に定められた内部処理や外部の関数を呼び出すことで付加的な処理を行うことも考えられる。 Note that when a debug event occurs, in addition to notifying the user, the signal transmission unit 310 may perform additional processing by calling a predetermined internal processing or external function.
 例えば、パターンに一致した要送信信号3100に、第4引数としてポインタ情報(メモリ内のアドレス値)が含まれていた場合を考える。ポインタ情報はプログラムの実行時に動的に定まる値であるため、デバッグ目的で再実行した場合、前回のポインタ情報は意味をなさない。よって、デバッグイベントの発生時に、信号伝達部310は、付加的な処理を実行することで、ポインタ情報で示されたアドレスに格納されているデータの実体(具体的には、画像データや測定データ)を、別途静的なメモリ領域やファイルに保存することが好ましい。 For example, let us consider a case where pointer information (address value in the memory) is included as the fourth argument in the transmission required signal 3100 that matches the pattern. Since the pointer information is a value that is dynamically determined when the program is executed, the previous pointer information does not make sense when re-executed for debugging purposes. Therefore, when a debug event occurs, the signal transmission unit 310 performs additional processing, so that the substance of data stored at the address indicated by the pointer information (specifically, image data or measurement data). ) Is preferably stored in a separate static memory area or file.
 図11は、図10に示した検証条件ファイル382に対応する、信号伝達部310の処理の流れを示すフローチャートである。なお、検証条件ファイル382は外部から設定することができる。 FIG. 11 is a flowchart showing a processing flow of the signal transmission unit 310 corresponding to the verification condition file 382 shown in FIG. The verification condition file 382 can be set from the outside.
 まず、Log3830欄に1が指定されているため、伝達履歴記録部340は信号の送受信の記録を開始する(S604)。 First, since 1 is specified in the Log 3830 column, the transmission history recording unit 340 starts recording of signal transmission / reception (S604).
 次に、信号伝達部310は、トリガメッセージのパターンを待ち受ける。 Next, the signal transmission unit 310 waits for a trigger message pattern.
 仮に、識別子aのパターンをもつトリガメッセージを信号伝達部310が受信したとする(S608)。ここで、トリガメッセージa及びbの順序3837には、それぞれ1及び2が指定されている。また、トリガメッセージa及びbの連続性3838には、いずれも1が指定されている。よって、トリガメッセージaの次に、必ずトリガメッセージbが受信されなければならない。 Suppose that the signal transmission unit 310 receives a trigger message having the pattern of the identifier a (S608). Here, 1 and 2 are designated in the order 3837 of the trigger messages a and b, respectively. Further, 1 is designated for both continuity 3838 of the trigger messages a and b. Therefore, the trigger message b must be received after the trigger message a.
 従って、トリガメッセージaの次に、識別子bのトリガメッセージを信号伝達部310が受信すれば(S610でYes)、信号伝達部310は管理プロセス224を最終的な宛先として、応答メッセージcを送信する(S616)。さらに、信号伝達部310は管理プロセス224を最終的な宛先として、応答メッセージdを送信する(S618)。 Therefore, if the signal transmission unit 310 receives the trigger message with the identifier b after the trigger message a (Yes in S610), the signal transmission unit 310 transmits the response message c with the management process 224 as the final destination. (S616). Further, the signal transmission unit 310 transmits the response message d with the management process 224 as the final destination (S618).
 その際、応答メッセージc及びdのWait3834に「3」が指定されているため、信号伝達部310は、応答メッセージc及びdの送信前に3秒間待つ(S614)。 At this time, since “3” is designated in the Wait 3834 of the response messages c and d, the signal transmission unit 310 waits for 3 seconds before transmitting the response messages c and d (S614).
 また、トリガメッセージaの次に、トリガメッセージbを信号伝達部310が受信しなければ(S610でNo)、トリガメッセージbのDebug3836に「1」が指定されているため、信号伝達部310はユーザにデバッグイベントの発生を通知する(S612)。 If the signal transmission unit 310 does not receive the trigger message b after the trigger message a (No in S610), “1” is specified in the Debug 3836 of the trigger message b, so that the signal transmission unit 310 Is notified of the occurrence of the debug event (S612).
 なお、トリガメッセージa及びbの実行3832には、いずれも「0」が指定されている。従って、信号伝達部310は、トリガメッセージa及びbを、その第2引数で指定された最終的な宛先である通信プロセス226へ送らない。 It should be noted that “0” is designated for the execution 3832 of the trigger messages a and b. Therefore, the signal transmission unit 310 does not send the trigger messages a and b to the communication process 226 that is the final destination specified by the second argument.
 また、応答メッセージc及びdの実行3832には、いずれも「1」が指定されている。従って、信号伝達部310は、応答メッセージc及びdを、その第2引数で指定された最終的な宛先である管理プロセス224へ、要受信信号3200として送る。 Also, “1” is designated in the execution 3832 of the response messages c and d. Therefore, the signal transmission unit 310 sends the response messages c and d as the reception required signal 3200 to the management process 224 that is the final destination designated by the second argument.
 以上説明したように、本実施の形態によると、デバッグ動作モードを使用することで、制御アプリケーション220内の管理プロセス224と外部機器280との信号の送受信を模擬することができる。従って、制御アプリケーション220を外部機器280と接続せずに、制御アプリケーション220が行う制御信号の送受信処理までを考慮したデバッグを行うことができる。 As described above, according to the present embodiment, transmission / reception of signals between the management process 224 in the control application 220 and the external device 280 can be simulated by using the debug operation mode. Therefore, without considering the control application 220 to be connected to the external device 280, it is possible to perform debugging in consideration of control signal transmission / reception processing performed by the control application 220.
 さらに、事前に検証条件を与えることにより、制御アプリケーション220と外部機器280との間で送受信される信号のうち、特定の信号の送受信を模擬することができる。したがって、例えば、外部機器280と制御アプリケーション220を実際に接続してデバッグを行う場合に、複数の信号のうち、不具合が発生する信号と発生しない信号を容易に切り分けることができる。 Furthermore, by giving a verification condition in advance, transmission / reception of a specific signal among signals transmitted / received between the control application 220 and the external device 280 can be simulated. Therefore, for example, when debugging is performed by actually connecting the external device 280 and the control application 220, it is possible to easily separate a signal that causes a failure and a signal that does not occur from among a plurality of signals.
 また、制御アプリケーション220と外部機器280との間で特定の異常パターンに一致する信号が送受信された場合には、ユーザに通知することができる。したがって、異常な信号の発生パターンを監視し、不具合要因の解明を効率化することができる。 Further, when a signal matching a specific abnormality pattern is transmitted / received between the control application 220 and the external device 280, the user can be notified. Therefore, it is possible to monitor the generation pattern of abnormal signals and improve the elucidation of the cause of the failure.
 (実施の形態2)
 次に、本発明の第2の実施の形態について図面を用いて説明する。
(Embodiment 2)
Next, a second embodiment of the present invention will be described with reference to the drawings.
 図12は、本発明に係るデバッグ支援装置300の他の実施の形態における処理の流れを示すフローチャートである。 FIG. 12 is a flowchart showing the flow of processing in another embodiment of the debug support apparatus 300 according to the present invention.
 本実施の形態における伝達履歴記録部340は、通常動作モードであっても常に信号伝達部310の処理を記録する(S704)。 The transmission history recording unit 340 in the present embodiment always records the processing of the signal transmission unit 310 even in the normal operation mode (S704).
 また、制御アプリケーション220からの不具合発生を通知するイベントである「例外イベント」が通知されたか否かを、デバッグ支援装置300は定期的に判定する(S706)。 Further, the debug support apparatus 300 periodically determines whether or not an “exception event” that is an event for notifying occurrence of a defect from the control application 220 has been notified (S706).
 今、制御アプリケーション220の実行に不具合が発生したため、制御アプリケーション220からデバッグ支援装置300へ例外イベントが通知されたとする(S706でYes)。その場合、検証条件生成部360は、例外イベントが通知された時刻を取得し(S708)、伝達履歴記録部340から履歴ファイル342を読み込む(S710)。 Now, it is assumed that an exception event is notified from the control application 220 to the debug support apparatus 300 because a problem has occurred in the execution of the control application 220 (Yes in S706). In this case, the verification condition generation unit 360 acquires the time when the exception event is notified (S708), and reads the history file 342 from the transmission history recording unit 340 (S710).
 さらに、検証条件生成部360は、履歴ファイル342から、前記例外イベントが通知された時刻の前後適切な付近の履歴を切り出し、検証条件ファイル382の雛形を作成する(S711)。 Further, the verification condition generation unit 360 cuts out an appropriate history around the time when the exception event is notified from the history file 342, and creates a model of the verification condition file 382 (S711).
 その結果、検証条件ファイル382の雛形は、例えば、信号伝達部310による要送信信号3100の受信と、その要送信信号3100に対応する要受信信号3200の送信のパターンを再現するように生成される。 As a result, the template of the verification condition file 382 is generated so as to reproduce, for example, the pattern of reception of the required transmission signal 3100 by the signal transmission unit 310 and transmission of the required reception signal 3200 corresponding to the transmission required signal 3100. .
 また、検証条件生成部360は表示装置203にGUI画面を表示し、ユーザから検証条件ファイル382の修正条件を取得する(S712)。 Also, the verification condition generation unit 360 displays a GUI screen on the display device 203, and acquires the correction condition of the verification condition file 382 from the user (S712).
 最後に、取得した修正条件を元に、検証条件ファイル382の雛形を修正し、最終的な検証条件ファイル382を生成する(S714)。 Finally, based on the acquired correction condition, the template of the verification condition file 382 is corrected to generate a final verification condition file 382 (S714).
 これにより、ユーザは自ら検証条件ファイル382を作成せずとも、不具合発生後直ちに作成される上記検証条件ファイル382を使用することで、不具合の効率的な再現及びデバッグを行うことができる。 Thus, the user can efficiently reproduce and debug the defect by using the verification condition file 382 created immediately after the occurrence of the defect, without creating the verification condition file 382 by himself / herself.
 図13は、本発明の実施の形態における履歴ファイル342の一例を示す図である。 FIG. 13 is a diagram showing an example of the history file 342 in the embodiment of the present invention.
 履歴ファイル342は、時刻802、第1引数806、第2引数808及び第3引数810を含む。 The history file 342 includes a time 802, a first argument 806, a second argument 808, and a third argument 810.
 時刻802は、信号伝達部310によって要送信信号3100又は要受信信号3200が処理された時刻を示す。時刻の表記形式は、例えば特定時刻からの経過時間又は日時等を用いることが考えられる。 Time 802 indicates the time when the signal transmission unit 310 processed the transmission required signal 3100 or the reception required signal 3200. For example, the time notation format may be an elapsed time or date / time from a specific time.
 第1引数806は、要送信信号3100又は要受信信号3200の送信元を示す。第2引数808は、第1引数806に対応する最終的な宛先を示す。第3引数810は、第1引数806及び第2引数808に対応する内容を示す。 The first argument 806 indicates the transmission source of the transmission required signal 3100 or the reception required signal 3200. A second argument 808 indicates a final destination corresponding to the first argument 806. The third argument 810 indicates contents corresponding to the first argument 806 and the second argument 808.
 例えば、図13の第一行目は、デバッグ支援装置300の起動時から100秒経過後に、信号伝達部310が要送信信号3100を受信したことを示す。又、その送信元は画面処理プロセス222であり、最終的な宛先は管理プロセス224であり、内容は復帰ボタンが押されたことの通知であることを示す。 For example, the first line in FIG. 13 indicates that the signal transmission unit 310 has received the transmission-required signal 3100 after 100 seconds have elapsed since the debugging support device 300 was activated. The transmission source is the screen processing process 222, the final destination is the management process 224, and the content indicates that the return button has been pressed.
 なお、要送信信号3100及び要受信信号3200が追加の引数をとった際には、履歴ファイル342も追加の引数を記録する。引数として想定されるものは、例えば、実行時の変数や関数の先頭アドレスを示すメモリ上のアドレス値や、プログラムの内部状態を示す変数値等が考えられる。 When the transmission required signal 3100 and the reception required signal 3200 take additional arguments, the history file 342 also records the additional arguments. Possible arguments include, for example, a variable at the time of execution, an address value on the memory indicating the start address of the function, a variable value indicating the internal state of the program, and the like.
 図14は、本実施の形態における検証条件ファイル382の雛形(例えば、図12に示されるステップS711で作成されるもの)の一例を示す図である。 FIG. 14 is a diagram showing an example of a template of the verification condition file 382 (for example, created in step S711 shown in FIG. 12) in the present embodiment.
 当該雛形のうち、第1引数806から第3引数810の列は、図13に示した履歴ファイル342の同符号を付した列と同一である。 Among the templates, the columns from the first argument 806 to the third argument 810 are the same as the columns to which the same sign is assigned in the history file 342 shown in FIG.
 例えば、デバッグ支援装置300が起動して300秒経過後に不具合が発生し、発生時刻から300秒前までの履歴ファイル342から検証条件ファイルの雛形が作成されるとする。 For example, it is assumed that a failure occurs 300 seconds after the debugging support device 300 is activated, and a verification condition file template is created from the history file 342 from the occurrence time to 300 seconds ago.
 検証条件生成部360は、まず図13に示す履歴ファイル342のうち、時刻802が300秒から0秒までの範囲に含まれる履歴(すなわち、行)を取り出す。 First, the verification condition generation unit 360 extracts a history (that is, a row) in which the time 802 is included in the range from 300 seconds to 0 seconds from the history file 342 shown in FIG.
 次に、履歴ファイル342を検証条件ファイル382の形式に整形する。具体的には、時刻802の列を削除し、トリガ3822、応答3823、及びLog3830から第3比較3846までに対応する列を追加する。 Next, the history file 342 is formatted into the verification condition file 382. Specifically, the column of the time 802 is deleted, and columns corresponding to the trigger 3822, the response 3823, and the Log 3830 to the third comparison 3846 are added.
 こうして生成されたファイルが、図14に示す、検証条件ファイル382の雛形である。 The file generated in this way is a template of the verification condition file 382 shown in FIG.
 図15は、検証条件ファイル382の雛形の修正条件をユーザから取得する(S712)GUI画面の一例である。 FIG. 15 is an example of a GUI screen for acquiring the template correction conditions of the verification condition file 382 from the user (S712).
 画面には、不具合の発生時刻を用いて履歴ファイル342から自動生成された(図12、S711)検証条件ファイル382の雛形が表示される。 On the screen, a template of the verification condition file 382 automatically generated from the history file 342 using the occurrence time of the defect (FIG. 12, S711) is displayed.
 これに加え、最左列に選択3820欄と時刻802が表示される。 In addition to this, the selection 3820 column and the time 802 are displayed in the leftmost column.
 選択3820欄は例えばチェックボックスとなっており、選択3820欄にチェックを付け、右下の出力ボタン3847を押すと、選択された行に対応するパターンのみを含む検証条件ファイル382が生成される(S714)。 The selection 3820 column is a check box, for example. When the selection 3820 column is checked and the output button 3847 at the lower right is pressed, a verification condition file 382 including only a pattern corresponding to the selected row is generated ( S714).
 こうして、履歴ファイル342に記録された履歴のうち、ユーザにより指定された期間に含まれる履歴から、その履歴に含まれる、信号伝達部310による要送信信号3100及び要受信信号3200の送受信のパターンを再現するように、検証条件ファイル382を生成することができる。 Thus, from the history recorded in the history file 342, from the history included in the period specified by the user, the transmission / reception patterns of the transmission required signal 3100 and the reception required signal 3200 by the signal transmission unit 310 included in the history are determined. A verification condition file 382 can be generated to reproduce.
 時刻802は、前記雛形を作成する際、履歴ファイル342を検証条件ファイル382の形式にあわせるために削除した(S711)時刻を再度追加したものである。具体的には、信号伝達部310によって要送信信号3100又は要受信信号3200が処理された時刻である。 Time 802 is obtained by adding again the time at which the history file 342 was deleted in order to match the format of the verification condition file 382 when the template was created (S711). Specifically, it is the time when the signal transmission unit 310 processed the transmission required signal 3100 or the reception required signal 3200.
 トリガ3822欄から第3比較3846欄までは、例えばマウスで選択することにより、その内容を修正することができる。例えば、順序3837、連続性3838、回数3840等を各送受信パターンに指定し、又は、変更することができる。 The contents from the trigger 3822 column to the third comparison 3846 column can be corrected by selecting with the mouse, for example. For example, the order 3837, continuity 3838, number of times 3840, and the like can be designated or changed for each transmission / reception pattern.
 以上の操作により、制御アプリケーション220の開発者は信号伝達部310における信号の送受信パターンを特定した検証条件ファイル382を容易に作成することができる。制御アプリケーション220の開発者は、こうして作成した検証条件ファイル382を使用し、デバッグ支援装置300をデバッグモードで動作させることで、不具合箇所の特定を容易に行うことができる。 Through the above operation, the developer of the control application 220 can easily create the verification condition file 382 specifying the signal transmission / reception pattern in the signal transmission unit 310. By using the verification condition file 382 created in this way and operating the debug support apparatus 300 in the debug mode, the developer of the control application 220 can easily identify the defective part.
 以上説明したように、本実施の形態に係るデバッグ支援装置300は、不具合発生時における制御アプリケーション220と外部機器280との間で送受信された信号に基づき、異常パターンを記載した検証条件ファイルを作成することができる。したがって、制御アプリケーション220の開発者は不具合の発生原因を効率的に切り分けることができる。 As described above, the debug support apparatus 300 according to the present embodiment creates a verification condition file describing an abnormal pattern based on a signal transmitted and received between the control application 220 and the external device 280 when a failure occurs. can do. Therefore, the developer of the control application 220 can efficiently isolate the cause of the failure.
 以上、本発明に係るデバッグ支援装置について、実施の形態を用いて説明したが、本発明は、本実施の形態に限定されるものではない。 As described above, the debug support apparatus according to the present invention has been described using the embodiment, but the present invention is not limited to the present embodiment.
 例えば、第1及び第2の実施の形態において、制御アプリケーション220上で動作する、管理プロセス224と、管理プロセス224以外の任意の1以上のプロセスとの通信を、信号伝達部310を介した要送信信号3100及び要受信信号3200を用いて行うこともできる。さらに、管理プロセス224以外の任意の2以上のプロセス間の通信を、信号伝達部310を介した要送信信号3100及び要受信信号3200を用いて行うこともできる。 For example, in the first and second embodiments, communication between the management process 224 operating on the control application 220 and any one or more processes other than the management process 224 is required via the signal transmission unit 310. It can also be performed using the transmission signal 3100 and the reception required signal 3200. Furthermore, communication between any two or more processes other than the management process 224 can be performed using the transmission required signal 3100 and the reception required signal 3200 via the signal transmission unit 310.
 これにより、制御アプリケーション220を構成するプロセス毎に独立したプログラム開発を行うことができる。その結果、長期間にわたる開発及び保守作業を行っても、制御アプリケーション220が、プログラム内の構造が複雑に入り組んだ「スパゲッティプログラム」となりにくい、という利点が生じる。 Thus, independent program development can be performed for each process constituting the control application 220. As a result, there is an advantage that even if development and maintenance work is performed for a long period of time, the control application 220 is unlikely to become a “spaghetti program” having a complicated structure in the program.
 また、第2の実施形態では伝達履歴記録部340から読み込んだ履歴ファイル342を修正して検証条件ファイル382を生成したが、読み込んだ履歴ファイル342をそのまま使用して、検証条件ファイル382を生成(図12において、S704、S706、S710、S714のみを実行)してもよい。その場合、制御アプリケーション220と外部機器280との間で過去に送受信された信号を模擬することができる。したがって、例えば制御アプリケーション220や外部機器280を変更した場合に、過去の稼働状態に基づいた動作テストを行うことができる。 In the second embodiment, the verification condition file 382 is generated by correcting the history file 342 read from the transmission history recording unit 340. However, the verification condition file 382 is generated using the read history file 342 as it is ( In FIG. 12, only S704, S706, S710, and S714 may be executed). In that case, a signal transmitted and received in the past between the control application 220 and the external device 280 can be simulated. Therefore, for example, when the control application 220 or the external device 280 is changed, an operation test based on the past operation state can be performed.
 また第2の実施形態では、履歴ファイル342から検証条件ファイル382を生成するために、ユーザはGUI画面に表示された選択用チェックボックスを用いて時刻を入力した(図15)。しかし、チェックボックスに替わり、ユーザがマウスによるドラッグ操作やキーボードによる数値入力を行うことにより、履歴ファイル342の一部を選択してもよい。 In the second embodiment, in order to generate the verification condition file 382 from the history file 342, the user inputs the time using the selection check box displayed on the GUI screen (FIG. 15). However, instead of the check box, the user may select a part of the history file 342 by performing a drag operation with the mouse or a numerical value input with the keyboard.
 また、履歴ファイル342からではなく別の方法で検証条件ファイル382を作成してもよい。 Also, the verification condition file 382 may be created by another method instead of the history file 342.
 なお、検証条件生成部360が、制御アプリケーション220の実行に不具合が生じた時刻に応じて、履歴から検証条件ファイルを生成する方法には、不具合が生じた時刻の前後を切り出す方法の他に、例えば、不具合が発生した時刻より一定時間前のみを切り出す方法や、不具合が発生した時刻より一定時間後のみを切り出す方法等が考えられる。 The verification condition generation unit 360 generates the verification condition file from the history according to the time when the execution of the control application 220 has failed. For example, a method of cutting out only a certain time before the time when the trouble occurs, a method of cutting out only after a certain time from the time when the trouble occurs can be considered.
 なお、検証条件ファイル382に記載するトリガメッセージ及びトリガメッセージに対応する応答メッセージの組は、1つの検証条件ファイル382に1組のみ記載してもよく、複数記載してもよい。1つの検証条件ファイル382に1組のみ記載する場合には、トリガメッセージに一致する要送信信号3100を受信した信号伝達部310は、指定時間が経過するか、別途指定したパターンの制御信号を受信するまで処理を停止してもよい。この場合、指定時間が経過した場合には、信号伝達部310はその旨をユーザに通知する。 Note that only one set or a plurality of sets of trigger messages and response messages corresponding to the trigger messages described in the verification condition file 382 may be described in one verification condition file 382. When only one set is described in one verification condition file 382, the signal transmission unit 310 that has received the transmission signal 3100 that matches the trigger message receives a control signal having a designated time or a separately designated pattern. The process may be stopped until it is done. In this case, when the specified time has elapsed, the signal transmission unit 310 notifies the user to that effect.
 なお、デバッグ動作モードは、制御アプリケーション220内の、異なるプロセス間で行う信号の送受信に対して適用してもよい。例えば、原点復帰ボタンが押されていなくとも、当該ボタンが押されたことを内容とする要送信信号3100が画面処理プロセス222からあったものとして、信号伝達部310から管理プロセス224へ要受信信号3200を送ってもよい。この場合、画面処理プロセス222が未完成であっても、管理プロセス224や通信プロセス226の動作検証を行うことができる。  Note that the debug operation mode may be applied to transmission / reception of signals between different processes in the control application 220. For example, even if the origin return button is not pressed, it is assumed that the transmission required signal 3100 indicating that the button has been pressed is from the screen processing process 222, and the reception required signal is sent from the signal transmission unit 310 to the management process 224. 3200 may be sent. In this case, even if the screen processing process 222 is incomplete, the operation verification of the management process 224 and the communication process 226 can be performed. *
 また、上記実施の形態1から2に係るデバッグ支援装置300に含まれる各処理部は集積回路であるLSIとして実現されてもよい。これらは個別に1チップ化されてもよいし、一部又は全てを含むように1チップ化されてもよい。 Further, each processing unit included in the debug support apparatus 300 according to the first and second embodiments may be realized as an LSI that is an integrated circuit. These may be individually made into one chip, or may be made into one chip so as to include a part or all of them.
 ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。 Here, LSI is used, but it may be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.
 また、集積回路化はLSIに限るものではなく、専用回路又は汎用プロセッサで実現してもよい。LSI製造後にプログラムすることが可能なFPGA(Field Programmable Gate Array)、又はLSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用してもよい。 Further, the integration of circuits is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. An FPGA (Field Programmable Gate Array) that can be programmed after manufacturing the LSI, or a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.
 さらに、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて各処理部の集積化を行ってもよい。バイオ技術の適用等が可能性として考えられる。 Furthermore, if integrated circuit technology that replaces LSI emerges as a result of advances in semiconductor technology or other derived technologies, it is natural that the processing units may be integrated using this technology. Biotechnology can be applied.
 さらに、本発明はプログラムであってもよいし、上記プログラムが記録された記録媒体であってもよい。また、上記プログラムは、インターネット等の伝送媒体を介して流通させることができるのは言うまでもない。 Further, the present invention may be a program or a recording medium on which the program is recorded. Needless to say, the program can be distributed via a transmission medium such as the Internet.
 また、上記実施の形態1及び2に係る、デバッグ支援装置及びその変形例の機能のうち少なくとも一部を組み合わせてもよい。 Further, at least a part of the functions of the debugging support apparatus and the modifications thereof according to the first and second embodiments may be combined.
 また、上記で用いた数字は、全て本発明を具体的に説明するために例示するものであり、本発明は例示された数字に制限されない。また、構成要素間の接続関係は、本発明を具体的に説明するために例示するものであり、本発明の機能を実現する接続関係はこれに限定されない。 Further, all the numbers used above are illustrated for specifically explaining the present invention, and the present invention is not limited to the illustrated numbers. In addition, the connection relationship between the components is exemplified for specifically explaining the present invention, and the connection relationship for realizing the function of the present invention is not limited to this.
 さらに、以下の実施の形態は、ハードウェア及び/又はソフトウェアを用いて構成されるが、ハードウェアを用いる構成は、ソフトウェアを用いても構成可能であり、ソフトウェアを用いる構成は、ハードウェアを用いても構成可能である。 Furthermore, although the following embodiments are configured using hardware and / or software, the configuration using hardware can also be configured using software, and the configuration using software uses hardware. Can be configured.
 また、上記デバッグ支援装置の構成は、本発明を具体的に説明するために例示するためのものであり、本発明に係るデバッグ支援装置は、上記構成の全てを必ずしも備える必要はない。言い換えると、本発明に係るデバッグ支援装置300は、本発明の効果を実現できる最小限の構成のみを備えればよい。 Further, the configuration of the debug support apparatus is for illustrating the present invention in detail, and the debug support apparatus according to the present invention does not necessarily have all of the above configurations. In other words, the debugging support apparatus 300 according to the present invention only needs to have a minimum configuration that can realize the effects of the present invention.
 例えば、制御アプリケーション220は通信プロセス226を有さずともよい。その場合、信号伝達部310は外部機器280と直接制御信号の送受信を行う。 For example, the control application 220 may not have the communication process 226. In that case, the signal transmission unit 310 directly transmits and receives control signals to and from the external device 280.
 具体的には、信号伝達部310は、通常動作モードでは、管理プロセス224から外部機器280へ送信される、外部機器280の動作を指示する要送信信号3100を、原点復帰コマンドに相当する制御信号として外部機器280へ伝達する。 Specifically, in the normal operation mode, the signal transmission unit 310 transmits a transmission-required signal 3100 for instructing the operation of the external device 280 transmitted from the management process 224 to the external device 280, and a control signal corresponding to the origin return command. To the external device 280.
 次に、信号伝達部310は、外部機器280から管理プロセス224へ送信される、外部機器280による原点復帰コマンドの完了通知を、外部機器280の原点復帰完了を通知する要受信信号3200として管理プロセス224へ伝達する。 Next, the signal transmission unit 310 transmits a notification of completion of the origin return command by the external device 280 transmitted from the external device 280 to the management process 224 as a reception required signal 3200 for notifying completion of the origin return of the external device 280. 224.
 一方、デバッグ動作モードは、信号伝達部310は、管理プロセス224から外部機器280へ送信される、外部機器280の動作を指示する要送信信号3100を受信した場合に、外部機器280の原点復帰完了を通知する要受信信号3200を信号伝達部310は生成し、生成した要受信信号3200を管理プロセス224へ送信することにより、外部機器280が接続されている場合と同じ動作を信号伝達部310は管理プロセス224に擬似的に行わせることができる。 On the other hand, in the debug operation mode, when the signal transmission unit 310 receives a transmission-required signal 3100 instructing the operation of the external device 280 transmitted from the management process 224 to the external device 280, the origin return of the external device 280 is completed. The signal transmission unit 310 generates the reception required signal 3200 for notifying the mobile station, and transmits the generated reception required signal 3200 to the management process 224 so that the signal transmission unit 310 performs the same operation as when the external device 280 is connected. The management process 224 can be simulated.
 なお、デバッグ支援装置300は、さらに、伝達履歴記録部340、検証条件生成部360及び検証条件保持部380を有さずともよい。その場合、デバッグ動作モード時に、外部機器280の制御を目的とする信号を管理プロセス224から信号伝達部310が受信した場合は常に、信号伝達部310は、当該信号を外部機器280には送らずに、当該信号に対応する外部機器280からの応答信号を、管理プロセス224に送信すること等が考えられる。 Note that the debug support apparatus 300 may not further include the transmission history recording unit 340, the verification condition generation unit 360, and the verification condition holding unit 380. In that case, the signal transmission unit 310 does not send the signal to the external device 280 whenever the signal transmission unit 310 receives a signal for controlling the external device 280 from the management process 224 in the debug operation mode. In addition, a response signal from the external device 280 corresponding to the signal may be transmitted to the management process 224.
 さらに、デバッグ支援装置300は、伝達モード切替部320を有さずともよい。その場合、デバッグ支援装置300は常に通常動作モード又はデバッグ動作モードで起動することが考えられる。 Furthermore, the debugging support device 300 may not have the transmission mode switching unit 320. In that case, it is conceivable that the debug support apparatus 300 is always activated in the normal operation mode or the debug operation mode.
 同様に、上記のデバッグ支援装置によるデバッグ支援方法は、本発明を具体的に説明するために例示するためのものであり、本発明に係るデバッグ支援装置によるデバッグ支援方法は、上記ステップの全てを必ずしも含む必要はない。言い換えると、本発明に係るデバッグ支援方法は、本発明の効果を実現できる最小限のステップのみを含めばよい。また、上記のステップが実行される順序は、本発明を具体的に説明するために例示するためのものであり、上記以外の順序であってもよい。また、上記ステップの一部が、他のステップと同時(並列)に実行されてもよい。 Similarly, the debug support method by the debug support apparatus is for illustrating the present invention in detail, and the debug support method by the debug support apparatus according to the present invention includes all of the above steps. It is not always necessary to include it. In other words, the debugging support method according to the present invention needs to include only the minimum steps that can realize the effects of the present invention. In addition, the order in which the above steps are executed is for illustration in order to specifically describe the present invention, and may be in an order other than the above. Moreover, a part of the above steps may be executed simultaneously (in parallel) with other steps.
 さらに、本発明の主旨を逸脱しない限り、本実施の形態に対して当業者が思いつく範囲内の変更を施した各種変形例も本発明に含まれる。 Furthermore, various modifications in which the present embodiment is modified within the scope conceived by those skilled in the art are also included in the present invention without departing from the gist of the present invention.
 本発明は、外部機器と制御用信号を送受信するアプリケーションにおけるデバッグ支援装置等に適用できる。 The present invention can be applied to a debugging support device in an application that transmits and receives control signals to and from an external device.
100   機械制御システム
200   制御装置
201   CPU
202   メモリ
203   表示装置
204   ストレージ
205   入力装置
206   通信I/F
220   制御アプリケーション
222   画面処理プロセス
224   管理プロセス
226   通信プロセス
280   外部機器
300   デバッグ支援装置
310   信号伝達部
320   伝達モード切替部
322   伝達モードファイル
340   伝達履歴記録部
342   履歴ファイル
360   検証条件生成部
380   検証条件保持部
382   検証条件ファイル
3100  要送信信号
3200  要受信信号
100 Machine Control System 200 Controller 201 CPU
202 Memory 203 Display device 204 Storage 205 Input device 206 Communication I / F
220 Control application 222 Screen processing process 224 Management process 226 Communication process 280 External device 300 Debug support device 310 Signal transmission unit 320 Transmission mode switching unit 322 Transmission mode file 340 Transmission history recording unit 342 History file 360 Verification condition generation unit 380 Part 382 verification condition file 3100 required transmission signal 3200 required reception signal

Claims (12)

  1.  外部機器を制御する制御アプリケーションのデバッグを支援するデバッグ支援装置であって、
     前記制御アプリケーションは、前記外部機器の動作を制御する管理プロセスと、前記外部機器に対してユーザが入力操作を行うための画面処理プロセスとを含む複数の第1のプロセスを含み、
     前記デバッグ支援装置は、(1)前記管理プロセスから前記外部機器へ送信される、前記外部機器の動作を指示する第1の制御信号を前記外部機器へ伝達し、前記外部機器から前記管理プロセスへ送信される、前記第1の制御信号に応答して前記外部機器が動作した結果を示す第1の応答信号を前記管理プロセスへ伝達する通常動作モードと、
     (2)前記第1の制御信号を受信した場合に、前記第1の応答信号を生成し、生成した前記第1の応答信号を前記管理プロセスへ送信することにより、前記外部機器が接続されている場合と同じ動作を前記管理プロセスに擬似的に行わせるデバッグ動作モードと、を有する信号伝達部を備えており、
     前記複数の第1のプロセスは、互いに前記信号伝達部を介して信号の送受信を行い、
     前記信号伝達部は、
     通常動作モード時には、(i)前記管理プロセス及び前記画面処理プロセスの一方である第2のプロセスから、前記管理プロセス及び前記画面処理プロセスの他方である第3のプロセスへ送信される、前記第3のプロセスの処理を指示する第2の制御信号を前記第3のプロセスへ伝達し、(ii)前記第3のプロセスから前記第2のプロセスへ送信される、前記第2の制御信号に応答して前記第3のプロセスが処理した結果を示す第2の応答信号を前記第2のプロセスへ伝達し、
     デバッグ動作モード時には、(iii)前記第2の制御信号を受信した場合に、前記第2の応答信号を生成し、生成した前記第2の応答信号を前記第2のプロセスへ送信することにより、前記第3のプロセスが停止している場合であっても、前記第3のプロセスが実行されている場合と同じ動作を前記第2のプロセスに擬似的に行わせる
     デバッグ支援装置。
    A debugging support device that supports debugging of a control application that controls an external device,
    The control application includes a plurality of first processes including a management process for controlling the operation of the external device and a screen processing process for a user to perform an input operation on the external device,
    The debugging support apparatus transmits (1) a first control signal for instructing an operation of the external device transmitted from the management process to the external device, to the external device, and from the external device to the management process. A normal operation mode in which a first response signal indicating a result of operation of the external device in response to the first control signal is transmitted to the management process;
    (2) When the first control signal is received, the first response signal is generated, and the generated first response signal is transmitted to the management process so that the external device is connected. A debug operation mode that causes the management process to perform the same operation as if it is, and a signal transmission unit,
    The plurality of first processes transmit and receive signals to and from each other via the signal transmission unit,
    The signal transmission unit is
    In the normal operation mode, (i) the third process transmitted from the second process that is one of the management process and the screen processing process to the third process that is the other of the management process and the screen processing process. A second control signal instructing processing of the second process is transmitted to the third process; and (ii) in response to the second control signal transmitted from the third process to the second process. A second response signal indicating the result processed by the third process is transmitted to the second process,
    In the debug operation mode, (iii) when the second control signal is received, the second response signal is generated, and the generated second response signal is transmitted to the second process. A debugging support apparatus that causes the second process to perform the same operation as when the third process is executed even if the third process is stopped.
  2.  前記デバッグ支援装置は、さらに、
     前記第1の制御信号及び前記第2の制御信号のいずれかの第1種別と、当該第1種別に対応する前記第1の応答信号及び前記第2の応答信号のいずれかの第2種別と、当該第1種別について、前記通常動作モード及び前記デバッグ動作モードのうちいずれかの動作モードを指定する実行種別とを示す検証条件を保持する検証条件保持部を備え、
     前記信号伝達部は、
     (1)前記検証条件に示される第1種別の前記第1の制御信号を前記管理プロセスから受信した場合であって、前記第1種別に対応する前記実行種別に前記デバッグ動作モードが指定されている場合には、当該第1種別に対応する前記第2種別の前記第1の応答信号を生成し、生成した前記第1の応答信号を前記管理プロセスへ送信する前記デバッグ動作モードとして動作し、
     (2)前記検証条件に示される第1種別の前記第2の制御信号を前記第2のプロセスから受信した場合であって、前記第1種別に対応する前記実行種別に前記デバッグ動作モードが指定されている場合には、当該第1種別に対応する前記第2種別の前記第2の応答信号を生成し、生成した前記第2の応答信号を前記第2のプロセスへ送信する前記デバッグ動作モードとして動作し、
     (3)前記検証条件に示される第1種別の前記第1の制御信号を前記管理プロセスから受信した場合であって、前記第1種別に対応する前記実行種別に前記通常動作モードが指定されている場合には、前記第1の制御信号を前記外部機器へ伝達する前記通常動作モードとして動作し、
     (4)前記検証条件に示される第1種別の前記第2の制御信号を前記第2のプロセスから受信した場合であって、前記第1種別に対応する前記実行種別に前記通常動作モードが指定されている場合には、前記第2の制御信号を前記第3のプロセスへ伝達する前記通常動作モードとして動作する
     請求項1記載のデバッグ支援装置。
    The debugging support device further includes:
    The first type of any one of the first control signal and the second control signal, and the second type of any one of the first response signal and the second response signal corresponding to the first type, A verification condition holding unit for holding a verification condition indicating an execution type for designating one of the normal operation mode and the debug operation mode for the first type;
    The signal transmission unit is
    (1) When the first control signal of the first type indicated in the verification condition is received from the management process, the debug operation mode is specified for the execution type corresponding to the first type If so, operate as the debug operation mode to generate the first response signal of the second type corresponding to the first type, and to transmit the generated first response signal to the management process,
    (2) When the second control signal of the first type indicated by the verification condition is received from the second process, the debug operation mode is designated as the execution type corresponding to the first type If so, the debug operation mode generates the second response signal of the second type corresponding to the first type, and transmits the generated second response signal to the second process. Works as
    (3) When the first control signal of the first type indicated in the verification condition is received from the management process, the normal operation mode is specified for the execution type corresponding to the first type. And operating as the normal operation mode for transmitting the first control signal to the external device,
    (4) When the second control signal of the first type indicated in the verification condition is received from the second process, the normal operation mode is designated as the execution type corresponding to the first type The debugging support apparatus according to claim 1, wherein the debugging support apparatus operates as the normal operation mode for transmitting the second control signal to the third process.
  3.  前記検証条件は、待機時間を含み、
     前記信号伝送部は、前記デバッグ動作モードにおいて、前記検証条件に示される第1種別の前記第1の制御信号を前記管理プロセスから受信した場合、当該第1種別に対応する前記第2種別の前記第1の応答信号を生成し、前記第1種別の第1の制御信号を受信してから前記待機時間分待機した後、生成した前記第2種別の前記第1の応答信号を前記管理プロセスへ送信する
     請求項2記載のデバッグ支援装置。
    The verification condition includes a waiting time;
    When the signal transmission unit receives the first control signal of the first type indicated in the verification condition from the management process in the debug operation mode, the signal transmission unit of the second type corresponding to the first type After generating the first response signal and waiting for the waiting time after receiving the first control signal of the first type, the generated first response signal of the second type is sent to the management process. The debugging support device according to claim 2 to be transmitted.
  4.  前記デバッグ支援装置は、さらに、
     前記信号伝達部が伝達した前記第1の制御信号及び前記第1の応答信号の履歴を記録する伝達履歴記録部と、
     前記伝達履歴記録部に記録された前記履歴から、前記履歴に含まれる第1の制御信号及び前記第1の応答信号の送受信のパターンを再現するように前記検証条件を生成する検証条件生成部とを備える
     請求項2又は3に記載のデバッグ支援装置。
    The debugging support device further includes:
    A transmission history recording unit for recording a history of the first control signal and the first response signal transmitted by the signal transmission unit;
    A verification condition generation unit that generates the verification condition so as to reproduce a transmission / reception pattern of the first control signal and the first response signal included in the history from the history recorded in the transmission history recording unit; The debugging support apparatus according to claim 2 or 3.
  5.  前記検証条件生成部は、前記制御アプリケーションの実行に不具合が生じた時刻に応じた第1期間の前記履歴から、前記履歴に含まれる第1の制御信号及び前記第1の応答信号の送受信のパターンを再現するように前記検証条件を生成する
     請求項4記載のデバッグ支援装置。
    The verification condition generation unit is configured to transmit and receive a first control signal and a first response signal included in the history from the history in a first period corresponding to a time when the execution of the control application has failed. The debugging support apparatus according to claim 4, wherein the verification condition is generated so as to reproduce.
  6.  前記検証条件生成部は、ユーザにより指定された前記第1期間を取得し、取得した前記第1期間の前記履歴から、前記履歴に含まれる第1の制御信号及び前記第1の応答信号の送受信のパターンを再現するように前記検証条件を生成する
     請求項5記載のデバッグ支援装置。
    The verification condition generation unit acquires the first period specified by a user, and transmits and receives the first control signal and the first response signal included in the history from the acquired history of the first period. The debugging support apparatus according to claim 5, wherein the verification condition is generated so as to reproduce the pattern.
  7.  前記検証条件は、さらに、前記第1の制御信号及び前記第1の応答信号の送受信のパターンを示す異常条件を含み、
     前記信号伝達部は、前記第1の制御信号及び前記第1の応答信号を送受信したパターンが前記異常条件に一致する場合に、異常が発生したことをユーザに通知する
     請求項2記載のデバッグ支援装置。
    The verification condition further includes an abnormal condition indicating a transmission / reception pattern of the first control signal and the first response signal,
    The debugging support according to claim 2, wherein the signal transmission unit notifies the user that an abnormality has occurred when a pattern in which the first control signal and the first response signal are transmitted and received matches the abnormal condition. apparatus.
  8.  前記検証条件は、さらに、前記第1の制御信号又は前記第1の応答信号の第3種別と、当該第3種別に対応する受信回数とを含み、
     前記信号伝達部は、前記検証条件に含まれる第3種別の、前記第1の制御信号又は前記第1の応答信号を、前記受信回数分受信した場合に、異常が発生したことをユーザに通知する
     請求項2記載のデバッグ支援装置。
    The verification condition further includes a third type of the first control signal or the first response signal, and the number of receptions corresponding to the third type,
    The signal transmission unit notifies the user that an abnormality has occurred when the third type of the first control signal or the first response signal included in the verification condition is received for the number of times received. The debugging support device according to claim 2.
  9.  前記検証条件は、さらに、前記第1の制御信号及び前記第1の応答信号の送受信のパターンを示す正常条件を含み、
     前記信号伝達部は、前記第1の制御信号及び前記第1の応答信号を送受信したパターンが前記正常条件に一致しない場合に、異常が発生したことをユーザに通知する
     請求項2記載のデバッグ支援装置。
    The verification condition further includes a normal condition indicating a transmission / reception pattern of the first control signal and the first response signal,
    The debugging support according to claim 2, wherein the signal transmission unit notifies the user that an abnormality has occurred when a pattern in which the first control signal and the first response signal are transmitted and received does not match the normal condition. apparatus.
  10.  前記複数の第1のプロセスは、前記外部機器と通信する通信プロセスを含み、
     前記通常動作モードにおいて、
     前記信号伝達部は、前記管理プロセスから送信された前記第1の制御信号を前記通信プロセスへ伝達し、
     前記通信プロセスは、伝達された前記第1の制御信号を、前記外部機器が解釈可能な形式に変換し、変換された前記第1の制御信号を前記外部機器へ送信し、
     前記通信プロセスは、前記外部機器から送信される前記変換された第1の制御信号に応答して前記外部機器が動作した結果を示す第1の応答信号を、前記管理プロセスが解釈可能な形式に変換し、変換された前記第1の応答信号を前記信号伝達部へ送信し、
     前記信号伝達部は、前記通信プロセスから送信された前記変換された第1の応答信号を前記管理プロセスへ伝達する
     請求項1記載のデバッグ支援装置。
    The plurality of first processes includes a communication process for communicating with the external device,
    In the normal operation mode,
    The signal transmission unit transmits the first control signal transmitted from the management process to the communication process;
    The communication process converts the transmitted first control signal into a format interpretable by the external device, and transmits the converted first control signal to the external device,
    In the communication process, a first response signal indicating a result of operation of the external device in response to the converted first control signal transmitted from the external device is converted into a format that can be interpreted by the management process. Converting, and transmitting the converted first response signal to the signal transmission unit,
    The debugging support apparatus according to claim 1, wherein the signal transmission unit transmits the converted first response signal transmitted from the communication process to the management process.
  11.  外部機器を制御する制御アプリケーションのデバッグを支援するデバッグ支援方法であって、
     前記制御アプリケーションは、前記外部機器の動作を制御する管理プロセスと、前記外部機器に対してユーザが入力操作を行うための画面処理プロセスとを含む複数の第1のプロセスを含み、
     前記デバッグ支援方法は、前記管理プロセスから前記外部機器へ送信される、前記外部機器の動作を指示する第1の制御信号を前記外部機器へ伝達し、前記外部機器から前記管理プロセスへ送信される、前記第1の制御信号に応答して前記外部機器が動作した結果を示す第1の応答信号を前記管理プロセスへ伝達する通常動作モードと、
     前記第1の制御信号を受信した場合に、前記第1の応答信号を生成し、生成した前記第1の応答信号を前記管理プロセスへ送信することにより、前記外部機器が接続されている場合と同じ動作を前記管理プロセスに擬似的に行わせるデバッグ動作モードと、を有する信号伝達ステップを含んでおり、
     前記複数の第1のプロセスは、互いに前記信号伝達ステップを介して信号の送受信を行い、
     前記信号伝達ステップは、
     (1)通常動作モード時には、前記管理プロセス及び前記画面処理プロセスの一方である第2のプロセスから、前記管理プロセス及び前記画面処理プロセスの他方である第3のプロセスへ送信される、前記第3のプロセスの処理を指示する第2の制御信号を前記第3のプロセスへ伝達し、前記第3のプロセスから前記第2のプロセスへ送信される、前記第2の制御信号に応答して前記第3のプロセスが処理した結果を示す第2の応答信号を前記第2のプロセスへ伝達し、
     (2)デバッグモード時には、前記第2の制御信号を受信した場合に、前記第2の応答信号を生成し、生成した前記第2の応答信号を前記第2のプロセスへ送信することにより、前記第3のプロセスが停止している場合であっても、前記第3のプロセスが実行されている場合と同じ動作を前記第2のプロセスに擬似的に行わせる
     デバッグ支援方法。
    A debugging support method for supporting debugging of a control application for controlling an external device,
    The control application includes a plurality of first processes including a management process for controlling the operation of the external device and a screen processing process for a user to perform an input operation on the external device,
    The debugging support method transmits a first control signal instructing an operation of the external device, which is transmitted from the management process to the external device, and is transmitted from the external device to the management process. A normal operation mode in which a first response signal indicating a result of operation of the external device in response to the first control signal is transmitted to the management process;
    When the first control signal is received, the first response signal is generated, and the generated first response signal is transmitted to the management process, whereby the external device is connected. A debugging operation mode that causes the management process to perform the same operation in a simulated manner,
    The plurality of first processes transmit and receive signals to each other through the signal transmission step,
    The signaling step includes
    (1) In the normal operation mode, the third process is transmitted from the second process that is one of the management process and the screen processing process to the third process that is the other of the management process and the screen processing process. A second control signal instructing processing of the second process is transmitted to the third process, and the second control signal is transmitted from the third process to the second process in response to the second control signal. A second response signal indicating a result processed by the third process is transmitted to the second process;
    (2) In the debug mode, when the second control signal is received, the second response signal is generated, and the generated second response signal is transmitted to the second process. A debugging support method that causes the second process to perform the same operation as when the third process is executed even if the third process is stopped.
  12.  請求項11記載のデバッグ支援方法をコンピュータに実行させる
     プログラム。
    A program for causing a computer to execute the debugging support method according to claim 11.
PCT/JP2011/001103 2010-04-08 2011-02-25 Debugging support device, debugging support method and debugging support program WO2011125280A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010089883A JP4600601B1 (en) 2010-04-08 2010-04-08 Debug support device, debug support method, and debug support program
JP2010-089883 2010-04-08

Publications (1)

Publication Number Publication Date
WO2011125280A1 true WO2011125280A1 (en) 2011-10-13

Family

ID=43425772

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/001103 WO2011125280A1 (en) 2010-04-08 2011-02-25 Debugging support device, debugging support method and debugging support program

Country Status (2)

Country Link
JP (1) JP4600601B1 (en)
WO (1) WO2011125280A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017080648A1 (en) * 2015-11-11 2017-05-18 Kuka Roboter Gmbh Method and computer program for producing a graphical user interface of a manipulator program
US11065766B2 (en) 2015-11-11 2021-07-20 Kuka Deutschland Gmbh Method and computer program for correcting errors in a manipulator system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5992107B2 (en) * 2013-09-20 2016-09-14 三菱電機株式会社 Program verification apparatus, program verification method, and program
JP6176341B2 (en) * 2016-01-06 2017-08-09 横河電機株式会社 Process control device and system, and soundness determination method thereof
JP7479188B2 (en) 2020-05-07 2024-05-08 三菱電機エンジニアリング株式会社 DEBUG SUPPORT DEVICE, DEBUG SUPPORT METHOD, AND PROGRAM

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02118849A (en) * 1988-10-28 1990-05-07 Nec Corp Simulation system for input output device
JPH0784901A (en) * 1993-09-17 1995-03-31 Fujitsu Ltd Terminal operation reproducing device
JP2001042907A (en) * 1999-07-30 2001-02-16 Ricoh Co Ltd Sequence controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04349556A (en) * 1991-05-28 1992-12-04 Nippon Denki Joho Service Kk Device and method for testing communication control program
JP3275968B2 (en) * 1991-08-05 2002-04-22 日本電信電話株式会社 Equipment control method in production line

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02118849A (en) * 1988-10-28 1990-05-07 Nec Corp Simulation system for input output device
JPH0784901A (en) * 1993-09-17 1995-03-31 Fujitsu Ltd Terminal operation reproducing device
JP2001042907A (en) * 1999-07-30 2001-02-16 Ricoh Co Ltd Sequence controller

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017080648A1 (en) * 2015-11-11 2017-05-18 Kuka Roboter Gmbh Method and computer program for producing a graphical user interface of a manipulator program
CN108349082A (en) * 2015-11-11 2018-07-31 库卡德国有限公司 Method and computer program for the graphic user interface for generating executor program
US10940583B2 (en) 2015-11-11 2021-03-09 Kuka Deutschland Gmbh Method and computer program for producing a graphical user interface of a manipulator program
US11065766B2 (en) 2015-11-11 2021-07-20 Kuka Deutschland Gmbh Method and computer program for correcting errors in a manipulator system
CN108349082B (en) * 2015-11-11 2022-02-08 库卡德国有限公司 Method and computer program for generating a graphical user interface for a manipulator program

Also Published As

Publication number Publication date
JP4600601B1 (en) 2010-12-15
JP2011221772A (en) 2011-11-04

Similar Documents

Publication Publication Date Title
WO2011125280A1 (en) Debugging support device, debugging support method and debugging support program
JP2008282363A (en) Programmable controller, program creation support device, computer program and programmable logic controller (plc) system
JP6481267B2 (en) Programmable display
WO2020028628A1 (en) Integrated circuits as a service
US20100312541A1 (en) Program test device and program
JP2008276690A (en) Development system, server for development system, and development method
JP2007086921A (en) Machinery control program execution system
US7873498B2 (en) Remote hardware inspection system and method
JP2009251936A (en) Automatic testing system for picture program of programmable display unit
US9298428B2 (en) Graphical user interface editor that displays live data during editing
JP5314959B2 (en) Information processing apparatus, control method therefor, computer program, and storage medium
CN112765018B (en) Instrument and meter debugging system and method
JP2019179284A (en) Simulation system and simulation program
WO2015019421A1 (en) Program development method for embedded software, programming device, and embedded device
CN101308648B (en) Method of automatic test display apparatus and system thereof
JP2006163657A (en) Playback simulator
US11841691B2 (en) Information processing device, information processing method, recording medium, and method of manufacturing product
JP2012088933A (en) Software product line development support device, its method and its program
WO2015136607A1 (en) Software development assistance system, software development assistance method, and software development assistance program
JP7323755B2 (en) Information processing system, its control method and program
JP5921449B2 (en) controller
TWI330772B (en)
JP2007156728A (en) Logic verification method and logic verification system
JP2006293515A (en) Os emulator time lapse controller
JP2615520B2 (en) I / O device status confirmation method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11765182

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11765182

Country of ref document: EP

Kind code of ref document: A1