Information processing system, information processing method, and program

The information processing system allows users to temporarily pause and resume synchronization of visualization times across multiple modules, enhancing the analysis of programmable logic controller data to understand abnormal operations by comparing variable values before and after anomalies.

JP2024154542AInactive Publication Date: 2024-10-31OMRON CORP

Patent Information

Application Number
JP2023068403
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-10-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing engineering tools for analyzing programmable logic controller (PLC) data lack the ability to temporarily stop and restart synchronization of visualization times across multiple modules, hindering detailed analysis of abnormal operations by preventing users from comparing pre- and post-abnormality device value changes and correlating these changes with the user program.

Method used

An information processing system with multiple visualization modules and a reproduction module that allows users to switch between synchronization modes, enabling temporary pause and resume of synchronization times, allowing detailed analysis of PLC control states by comparing variable values before and after abnormalities.

Benefits of technology

Enables users to analyze abnormal operations in programmable logic controllers by temporarily stopping synchronization for detailed comparison of variable values, facilitating a comprehensive understanding of control system anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154542000001_ABST
    Figure 2024154542000001_ABST
Patent Text Reader

Abstract

To make it possible to pause and resume synchronization of visualization object time in a plurality of visualization modules that visualize a variable value of a visualization object.SOLUTION: A program presentation module describes a variable value of a visualization object on a ladder diagram that represents a control program. A waveform presentation module presents a variable graphic chart that shows a progression of the variable value of the visualization object. A moving image reproduction module reproduces moving image data obtained by photographing a target period. A plurality of visualization modules has: a first synchronization mode that synchronizes the visualization object times in the program presentation module, the waveform presentation module and the moving image reproduction module; and a second synchronization mode that synchronizes the visualization object times in the waveform presentation module and the moving image reproduction module. In a first mode where the reproduced variable value is acquired as a variable value of a visualization object, the plurality of visualization modules transitions between the first synchronization mode and the second synchronization mode in response to user input.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an information processing system, an information processing method, and a program. [Background technology]

[0002] In order to investigate the cause of abnormal operation of production equipment, a technology has been developed to record time series data collected in a programmable logic controller (PLC) that controls the production equipment and to visualize the recorded time series data.

[0003] For example, Japanese Patent Application Laid-Open No. 2020-13528 (Patent Document 1) discloses an engineering tool having a storage means for storing multiple time-series device values ​​collected in a PLC and multiple software modules for visualizing the device values. The engineering tool disclosed in Patent Document 1 includes a synchronization means for synchronizing the display target times of multiple software modules in a history playback mode. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-13528 A Summary of the Invention [Problem to be solved by the invention]

[0005] The engineering tool disclosed in Patent Document 1 synchronizes the display target times in multiple software modules to display device values ​​on a ladder diagram and display the device values ​​as time-series waveforms, allowing the user to confirm which part of the user program the device value is related to when an abnormality occurs.

[0006] On the other hand, in the above engineering tool, the synchronization means is not configured to be able to temporarily stop and resume synchronization of the display target times in multiple software modules. Therefore, the user cannot advance or rewind the display target time in only the software module that displays the time series waveform to check how the device value changes before and after the occurrence of the abnormality. In addition, after checking the time change of the device value from the time series waveform, the user cannot check the relationship between the time series waveform and the user program again.

[0007] The present disclosure has been made in consideration of the above-mentioned problems, and its purpose is to provide an information processing system, an information processing method, and a program that are capable of temporarily suspending synchronization of the visualization target time in multiple visualization modules that visualize variable values ​​of the visualization target, and resuming that synchronization. [Means for solving the problem]

[0008] According to an example of the present disclosure, an information processing system includes a plurality of visualization modules and a reproduction module. The plurality of visualization modules visualize variable values ​​of a visualization target that represent a control state of a programmable logic controller. The reproduction module sequentially reproduces variable values ​​held by the programmable logic controller for each control period of the programmable logic controller during a target period based on a time series data set recorded by the programmable logic controller during the target period. The plurality of visualization modules have a first mode in which the variable values ​​reproduced by the reproduction module are acquired as variable values ​​of the visualization target. The plurality of visualization modules include a program display module, a waveform display module, and a video playback module. The program display module displays a window in which the variable values ​​of the visualization target are described on a ladder diagram representing a control program. The waveform display module displays a window including a variable graph showing the transition of the variable values ​​of the visualization target. The video playback module plays a video displayed by video data obtained by shooting during the target period. The plurality of visualization modules have a first synchronization mode in which the visualization target times in the program display module, the waveform display module, and the video playback module are synchronized, and a second synchronization mode in which the visualization target times in the waveform display module and the video playback module are synchronized. The plurality of visualization modules, in the first mode, transition between a first synchronization mode and a second synchronization mode in response to user input.

[0009] According to this disclosure, during reproduction of a past control state of a programmable logic controller, by switching a plurality of visualization modules from a first synchronization mode to a second synchronization mode, synchronization of visualization target times in the plurality of visualization modules can be temporarily suspended, and only the visualization target times in the waveform display module and the video playback module can be synchronized. Then, by returning the plurality of visualization modules from the second synchronization mode to the first synchronization mode, synchronization of visualization target times in the plurality of visualization modules can be resumed. Thus, in a situation where an investigation is performed into the cause of an abnormality that has occurred in a control system, a user can analyze the cause of the abnormality in detail by selectively using the first synchronization mode and the second synchronization mode depending on the content to be confirmed.

[0010] In the above disclosure, the information processing system further includes a time designation module that accepts a user input related to the reproduction of the reproduction module. The reproduction module sets the plurality of visualization modules to a first synchronization mode in response to the time designation module accepting a user input instructing reproduction. The reproduction module switches the plurality of visualization modules from the first synchronization mode to a second synchronization mode in response to the time designation module accepting a user input instructing pause of reproduction.

[0011] According to this disclosure, a user can easily switch a plurality of visualization modules between the first synchronization mode and the second synchronization mode by appropriately performing a play operation and a pause operation in the time designation module.

[0012] In the above disclosure, in a first synchronization mode, each of the waveform display module and the video playback module is set to be unable to accept a user input specifying a visualization target time. In a second synchronization mode, each of the waveform display module and the video playback module is set to be able to accept a user input specifying a visualization target time. The waveform display module and the video playback module exchange the visualization target times specified by each of them, thereby synchronizing the visualization target times in the waveform display module and the video playback module.

[0013] According to this disclosure, in the first synchronization mode, it is possible to keep the visualization target time in a plurality of visualization modules synchronized, and in the second synchronization mode, the user can specify the visualization target time to any time while keeping the visualization target time in the waveform display module and the video playback module synchronized.

[0014] In the above disclosure, the time designation module sets a playback start counter value and playback conditions in response to a user input instructing playback, and outputs the set playback start counter value and playback conditions to the reproduction module. The reproduction module sets the multiple visualization modules to a first synchronization mode in accordance with the playback start counter value and playback conditions received from the time designation module. The reproduction module updates the target counter value according to the playback conditions, taking the playback start counter value as a target counter value. The reproduction module reproduces a variable value at a target time corresponding to the target counter value.

[0015] According to this disclosure, in the first synchronization mode, the reproduction module receives instructions from the time designation module and manages the target time at which variable values ​​are to be reproduced, thereby synchronizing the visualization target times in multiple visualization modules.

[0016] In the above disclosure, the time designation module sets a playback condition for setting the playback speed to 0 in response to a user input instructing to pause playback, and outputs the set playback condition to the reproduction module. The reproduction module switches the multiple visualization modules from the first synchronization mode to the second synchronization mode in accordance with the playback condition for setting the playback speed to 0 received from the time designation module, and stops updating the target counter values.

[0017] According to this disclosure, in the second synchronization mode, management of the target time by the reproduction module is temporarily stopped, so that management of the visualization target time in the waveform display module and video playback module can be performed independently of the reproduction module.

[0018] In the above disclosure, in a first synchronization mode, the video playback module acquires a target time from the reproduction module and plays a video frame at a time corresponding to the acquired target time. The video playback module sets a setting so as not to accept a user's operation to move the playback position of the video data. The waveform display module acquires a target time from the reproduction module in the first synchronization mode and displays a first time line indicating the acquired target time on the variable graph. The waveform display module displays a second time line indicating the time of the video frame being played by the video playback module on the variable graph and sets a setting so as not to accept a user's operation to move the second time line.

[0019] According to this disclosure, in the first synchronization mode, it is possible to maintain synchronization of the visualization target times in a plurality of visualization modules.

[0020] In the above disclosure, the video playback module is set to be able to accept a user's operation to move the playback position of the video data in the second synchronization mode. The video playback module updates the time of the frame being played in response to the operation to move the playback position. The video playback module specifies a visualization target time based on the playback position and provides the specified visualization target time to the waveform display module. In the second synchronization mode, the waveform display module displays a second time line indicating the visualization target time provided by the video playback module on the variable graph.

[0021] According to this disclosure, in the second synchronization mode, the user can specify the visualization target time to any time while maintaining synchronization between the visualization target time in the waveform display module and the video playback module.

[0022] In the above disclosure, the waveform display module is set to be able to accept a user's operation to move the second time line in the second synchronization mode. The waveform display module moves the position of the second time line in response to the operation to move the second time line. The waveform display module designates a time corresponding to the position of the second time line as a visualization target time and provides the designated visualization target time to the video playback module. In the second synchronization mode, the video playback module plays a frame at a time corresponding to the visualization target time provided by the waveform display module.

[0023] According to this disclosure, in the second synchronization mode, the user can control the visualization target time to any time while maintaining synchronization between the visualization target time in the display waveform module and the video playback module.

[0024] In the above disclosure, in the second synchronization mode, the waveform display module displays a reference variable graph showing the transition of the variable value of the visualization target in the past together with a variable graph showing the transition of the variable value of the visualization target in the target period in response to a user input. In the second synchronization mode, the video playback module plays a video represented by video data obtained by shooting in the target period, and plays a reference video represented by reference video data obtained by shooting in the reference target period corresponding to the reference variable graph. In response to a user's operation of moving the playback position of the reference video data, the video playback module updates the time of a frame of the played reference video. The video playback module specifies a reference visualization target time based on the playback position of the reference video data, and provides the specified reference visualization target time to the waveform display module. In the second synchronization mode, the waveform display module displays a third time line indicating the reference visualization target time provided by the video playback module on the reference variable graph.

[0025] According to this disclosure, the user can verify what changes have occurred in the transition of the variable values ​​due to the occurrence of the abnormality by comparing the variable graph at the time of the abnormality with the reference variable graph, which are displayed on the waveform display module. In addition, since it is possible to compare the video at the time of the abnormality with the reference video, the user can perform a detailed analysis of the control state of the programmable logic controller at the time the abnormality occurred.

[0026] In the above disclosure, in the second synchronization mode, the waveform display module moves the position of the third time line in response to a user's operation of moving the third time line. The waveform display module designates the time corresponding to the position of the third time line as the reference visualization target time and provides the designated reference visualization target time to the video playback module. In the second synchronization mode, the video playback module plays a frame of the reference video at the time corresponding to the reference visualization target time provided by the waveform display module.

[0027] According to this disclosure, the visualization target time of the reference variable graph in the waveform display module can be synchronized with the visualization target time of the reference video in the video playback module, independently of the synchronization of the visualization target times between the variable graph and the video in the target period. This allows the user to specify the reference visualization target time at which the reference variable values ​​are reproduced separately from the visualization target time at which the variable values ​​are reproduced.

[0028] In the above disclosure, the plurality of visualization modules further have a second mode in which a variable value currently held by the programmable logic controller is acquired as a variable value to be visualized. The information processing system further includes a selection unit that selects one mode from a plurality of modes including the first mode and the second mode in response to an instruction.

[0029] According to this disclosure, a user can switch the variable values ​​visualized by one or more visualization modules between the variable values ​​currently held by the programmable logic controller and the variable values ​​for the target period reproduced by the reproduction module.

[0030] According to another example of the present disclosure, an information processing method is an information processing method in an information processing device including a plurality of visualization modules that visualize variable values ​​of a visualization target that represent a control state of a programmable logic controller. The information processing method includes a step of sequentially reproducing variable values ​​held by the programmable logic controller for each control period of the programmable logic controller during a target period based on a time series data set recorded by the programmable logic controller during the target period, and a step of sending the reproduced variable values ​​to the plurality of visualization modules as variable values ​​of the visualization target. The plurality of visualization modules include a program display module, a waveform display module, and a video playback module. The program display module displays a window in which the variable values ​​of the visualization target are described on a ladder diagram representing a control program. The waveform display module displays a window including a variable graph showing the transition of the variable values ​​of the visualization target. The video playback module plays a video shown by video data obtained by shooting during the target period. The information processing method further includes a step of switching, in response to user input, a synchronization mode of the multiple visualization modules between a first synchronization mode that synchronizes the visualization target times in the program display module, the waveform display module, and the video playback module, and a second synchronization mode that synchronizes the visualization target times in the waveform display module and the video playback module.

[0031] According to yet another example of the present disclosure, a program causes a computer to execute the above information processing method.

[0032] These disclosures also enable a user to temporarily suspend synchronization of the visualization target times in a plurality of visualization modules while a past control state of a programmable logic controller is being reproduced, and also enable a user to resume synchronization of the visualization target times in a plurality of visualization modules. Effect of the Invention

[0033] According to the present disclosure, a user can temporarily suspend synchronization of the visualization target times in multiple visualization modules that visualize variable values ​​of the visualization target. Also, the user can resume synchronization of the visualization target times in the multiple visualization modules. [Brief description of the drawings]

[0034] [Figure 1] 1 is a diagram illustrating an example of a manufacturing system to which an information processing system according to an embodiment is applied; [Diagram 2] 1 is a schematic diagram showing an example of an overall configuration of a manufacturing system according to an embodiment; [Diagram 3] FIG. 2 is a schematic diagram illustrating an example of a hardware configuration of a PLC according to an embodiment. [Figure 4] FIG. 2 is a block diagram showing an example of a software configuration of a PC and a PLC. [Diagram 5] FIG. 13 is a diagram showing an example of a first window for performing a reproduction operation of a reproduced PLC. [Figure 6] FIG. 13 is a diagram illustrating a method of switching modes among multiple visualization modules. [Figure 7] FIG. 13 is a diagram illustrating a synchronous mode in a playback mode. [Figure 8] FIG. 13 is a block diagram showing the configuration of a PC in a full synchronization mode. [Figure 9] FIG. 13 is a diagram showing an example of the second to fourth windows in the full synchronization mode. [Figure 10] FIG. 13 is a block diagram showing the configuration of a PC in a waveform video synchronization mode. [Figure 11] FIG. 13 is a diagram showing an example of the second to fourth windows in the waveform moving image synchronization mode. [Figure 12] 13 is a flowchart showing the flow of processing of a reproduction PLC in a playback mode. [Figure 13] 13 is a flowchart showing the process flow of a program display module in a playback mode. [Figure 14]13 is a flowchart showing the flow of processing of the waveform display module in a playback mode. [Figure 15] 13 is a flowchart showing the flow of processing of a video playback module in a playback mode. [Figure 16] FIG. 13 is a block diagram showing the configuration of a PC for performing waveform comparison in waveform video synchronization mode. [Figure 17] FIG. 13 is a diagram showing an example of the third to sixth windows in waveform comparison; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0035] The embodiments of the present disclosure will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and the description thereof will not be repeated. In this specification, unless otherwise specified, the term "or" includes the meaning of "and" in addition to the meaning of "or".

[0036] §1 Examples of application 1 is a diagram illustrating an example of a manufacturing system to which an information processing system according to an embodiment is applied. As shown in FIG. 1, the manufacturing system 1 includes an information processing system 100, a programmable logic controller (hereinafter, referred to as “PLC 200”), and one or more field devices 300.

[0037] The PLC 200 is connected to one or more field devices 300 and controls the one or more field devices 300 according to a control program created in advance. Each of the one or more field devices 300 includes an actuator that exerts some physical action on a production facility or a production line (hereinafter collectively referred to as the "field"), various sensors installed in the field, or an input / output device that exchanges information with the field.

[0038] The PLC 200 has a memory 206 that holds various variable values ​​exchanged with one or more field devices 300. The variable values ​​held in the memory 206 include various status values ​​indicating the status of the one or more field devices 300 and various command values ​​output to the one or more field devices 300.

[0039] PLC 200 updates the variable values ​​held in memory 206 at one or more control periods on the order of several hundreds of μsec to several tens of msec. The control period is set in advance according to the type of variable. For example, PLC 200 updates the values ​​of some of the variables held in memory 206 every 1 msec, and updates the values ​​of other some of the variables every 2 msec. Hereinafter, the shortest control period of the one or more control periods is referred to as the "first control period."

[0040] The PLC 200 generates a time series data set 50 by recording the variable values ​​held in the memory 206 during a target period. The generated time series data set 50 is transferred to the information processing system 100. The transfer of the time series data set 50 from the PLC 200 to the information processing system 100 is performed using a storage medium such as, but not limited to, a memory card.

[0041] The information processing system 100 is configured with one or more computers. The information processing system 100 includes a plurality of visualization modules 30, a reproduction module 40, and a time designation module 45.

[0042] The multiple visualization modules 30 visualize on a screen the variable values ​​of the visualization target, which indicate the control state of the PLC 200. The multiple visualization modules 30 include a visualization module (hereinafter referred to as a "program display module") that generates data showing a window in which the variable values ​​of the visualization target are described on a ladder diagram that indicates a control program, and a visualization module (hereinafter referred to as a "waveform display module") that generates data showing a window including a variable graph that indicates the transition of the variable values ​​of the visualization target. Furthermore, the multiple visualization modules 30 include a visualization module (hereinafter referred to as a "video playback module") that plays a video captured by a network camera (not shown).

[0043] The reproduction module 40 sequentially reproduces the variable values ​​held by the PLC 200 for each first control period in the target period based on the time series data set 50 recorded by the PLC 200 in the target period. Hereinafter, data indicating the variable values ​​reproduced by the reproduction module 40 will be referred to as "reproduced data."

[0044] The reproduction module 40 includes a time control module 41 and a controller control state reproduction function 42 .

[0045] The time control module 41 controls the target time during the target period at which the variable values ​​are to be reproduced. The time control module 41 updates the target time for each specified time based on the playback start point and playback conditions received from the time designation module 45. The playback start point indicates one time that belongs to the target period. The playback conditions indicate the playback speed and the like, and define the specified time.

[0046] The controller control state reproduction function 42 extracts data corresponding to a target time from the time series data set 50 at each specified time, and generates reproduction data indicating the variable values ​​held by the PLC 200 at the target time based on the extracted data.

[0047] The time designation module 45 determines a playback start point and playback conditions in response to a user input, and outputs the determined playback start point and playback conditions to the reproduction module 40 .

[0048] The multiple visualization modules 30 have a first mode (hereinafter referred to as a "playback mode") in which variable values ​​indicated by reproduction data are acquired as variable values ​​of a visualization target. As a result, when adding a new visualization module, the user only needs to set the new visualization module so that the variable values ​​reproduced by the reproduction module 40 can be acquired as variable values ​​of a visualization target, and there is no need to modify the existing visualization module 30. Therefore, the user can easily add a new visualization module.

[0049] The visualization modules 30 have a first synchronization mode (hereinafter referred to as "overall synchronization mode") in which the visualization target times in the program display module, the waveform display module, and the video playback module are synchronized, and a second synchronization mode (hereinafter referred to as "waveform video synchronization mode") in which the visualization target times in the waveform display module and the video playback module are synchronized. In the playback mode, the visualization modules 30 transition between the first synchronization mode and the second synchronization mode in response to a user input.

[0050] As a result, during reproduction of a past control state of the PLC 200, the synchronization of the visualization target times in the multiple visualization modules 30 can be temporarily stopped by transitioning the multiple visualization modules 30 from the overall synchronization mode to the waveform video synchronization mode, and only the visualization target times in the waveform display module and the video playback module can be synchronized. Then, by transitioning the multiple visualization modules 30 from the waveform video synchronization mode to the overall synchronization mode, the synchronization of the visualization target times in the multiple visualization modules 30 can be resumed. In a situation where an investigation is performed into the cause of an abnormality that has occurred in the control system, the user can analyze the cause of the abnormality in detail by selectively using the overall synchronization mode and the waveform video synchronization mode depending on the content to be confirmed.

[0051] §2 Specific examples <Overall configuration of manufacturing system> Fig. 2 is a schematic diagram showing an example of the overall configuration of a manufacturing system according to an embodiment. As shown in Fig. 2, the manufacturing system 1 includes a personal computer (hereinafter referred to as "PC100A") constituting an information processing system 100, a PLC 200, one or more field devices 300, a network camera 400, a network storage 500, and a storage medium 600. The PC 100A, the PLC 200, the network camera 400, and the network storage 500 can communicate with each other using, for example, a general-purpose Ethernet (registered trademark). The PC 100A and the PLC 200 may communicate with each other using another communication means (for example, Universal Serial Bus (USB)).

[0052] The network camera 400 is installed in the field and captures images of at least some of the field devices 300 .

[0053] The network storage 500 stores a group of video data generated by the network camera 400 .

[0054] The storage medium 600 is used to take out the time-series data set 50 from the PLC 200 to the PC 100A. The storage medium 600 includes a volatile storage medium, a non-volatile storage medium, a general-purpose semiconductor storage device such as a CF (Compact Flash) or an SD (Secure Digital), a magnetic storage medium such as a flexible disk, or an optical storage medium such as a CD-ROM (Compact Disk Read Only Memory).

[0055] The PC 100A is typically a computer having a general-purpose architecture. As shown in Fig. 2, the PC 100A includes a processor 101 such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), a memory 102 configured as a volatile storage device such as a DRAM (Dynamic Random Access Memory) or an SRAM (Static Random Access Memory), a storage 103 configured as a non-volatile storage device such as an HDD (Hard Disk Drive) or an SSD (Solid State Drive), an input interface 104, a display controller 105, a communication interface 106, and a reader / writer 107. These components are connected to each other via a bus so as to be able to communicate data with each other.

[0056] The processor 101 reads out a program stored in the storage 103, and loads the program in the memory 102. The processor 101 executes the loaded program.

[0057] The storage 103 stores the program executed by the processor 101, the time-series data set 50 taken out from the PLC 200 using a memory card, and the video data 55 acquired from the network storage 500.

[0058] The programs executed by the processor 101 include a development program 131 , a viewer program 132 , and a reproduction program 133 .

[0059] The development program 131 mainly supports the development of a control program to be used by the PLC 200. Furthermore, the development program 131 provides a setting function related to a playback mode, a function for monitoring the execution status of a control program by the PLC 200 (hereinafter referred to as a "control program monitor function"), and a search function. In the playback mode, the control program monitor function includes a function for acquiring reproduction data (data indicating reproduced variable values) obtained by executing the reproduction program 133. The search function includes, for example, a function for searching for the timing at which a specified variable changed in the past execution status of a control program by the PLC 200.

[0060] The viewer program 132 is a program for visualizing various types of information and providing it to the user. The viewer program 132 provides a function for displaying a variable graph showing the transition of various variable values ​​(hereinafter referred to as a "variable graph display function"), and a function for playing a video shown by the video data 55. In the playback mode, the variable graph display function includes a function for acquiring variable values ​​obtained by executing the reproduction program 133.

[0061] The viewer program 132 is, for example, a DLL (Dynamic Link Library) file, and is linked to the development program 131 and loaded into the memory 102 when the development program 131 is started.

[0062] The reproduction program 133 reproduces the past control state of the PLC 200. The reproduction program 133 provides a function for managing the target time at which the control state is reproduced, and a function for managing time series data (hereinafter referred to as the "data management function"). The data management function includes a function for reading out variable values ​​from the time series data set 50.

[0063] The input interface 104 mediates data transmission between the processor 101 and an input device 110 such as a keyboard, a mouse, or a touch panel. The display controller 105 is connected to the display 120 and displays on the display 120 a screen indicated by the screen data generated by the processor 101. The communication interface 106 communicates with the PLC 200 and the network storage 500 via a communication network. The reader / writer 107 mediates data transmission between the processor 101 and an external storage medium 600.

[0064] Each of the development program 131, the viewer program 132, and the reproduction program 133 may be provided incorporated into a part of an arbitrary program, rather than as a single program. In this case, processing according to the present embodiment is realized in cooperation with an arbitrary program. Also, some or all of the functions provided by the development program 131, the viewer program 132, and the reproduction program 133 may be realized by a dedicated hardware circuit (for example, an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array)).

[0065] <Hardware Configuration of PLC> FIG. 3 is a schematic diagram showing an example of the hardware configuration of a PLC according to an embodiment. As shown in FIG. 3, the PLC 200 includes, as main components, a power supply circuit 201 that supplies electric power PW to each part of the PLC 200, a CPU 202, a chip set 204, a memory 206, a storage 208, a USB controller 250, a field network controller 252, a network controller 254, a timer 260, and a reader / writer 270.

[0066] The CPU 202 reads out a program stored in the storage 208 and expands it in the memory 206. The CPU 202 executes the expanded program.

[0067] The memory 206 is configured with a volatile storage device such as a DRAM or an SRAM. As described above, the memory 206 holds various variable values ​​including state values ​​transferred from one or more field devices 300 to the PLC 200 and command values ​​output to one or more field devices 300. The various variable values ​​held in the memory 206 are updated according to a control period preset according to the type of variable by the CPU 202 executing a program stored in the storage 208.

[0068] The storage 208 is configured, for example, by a non-volatile storage device such as a hard disk drive (HDD), a solid state drive (SSD), or a flash memory, but a portion of the storage device may be configured by a volatile storage device.

[0069] The chipset 204 mediates data exchange between the CPU 202 and each component, thereby realizing processing of the PLC 200 as a whole.

[0070] The storage 208 stores a system program 211 having an OS (Operating System) 212 and a scheduler program 213 for implementing the basic functions of the PLC 200 .

[0071] Furthermore, the storage 208 stores a program data set 214 created by the PC 100A. The program data set 214 includes a control program, data type definition data, and sampling setting data.

[0072] The control program defines a process for collecting status values ​​indicating the status of one or more field devices 300, and a process for generating command values ​​for the one or more field devices 300, the command values ​​being generated by calculation based on the collected status values. Variable values ​​including the status values ​​and command values ​​are temporarily stored in the memory 206. Therefore, the CPU 202 updates the variable values ​​held in the memory 206 by executing the control program.

[0073] The data type definition data defines the data type of each variable used by the control program, including variables that indicate the state of one or more field devices 300 and variables that are output to one or more field devices 300.

[0074] The sampling setting data defines the generation conditions of the time series data set 50. The generation conditions of the time series data set 50 indicate the sampling start conditions, the variables to be sampled, the sampling time, and the like.

[0075] Furthermore, the storage 208 stores the time series data set 50 generated according to the generation conditions indicated by the sampling setting data.

[0076] The USB controller 250 is responsible for sending and receiving data to and from an external device (eg, PC 100A) via a USB connection.

[0077] The field network controller 252 has a connector 252a for connecting to the field network, and controls data exchange between the PLC 200 and one or more field devices 300 via the field network. The field network controller 252 has an internal buffer for storing input data received from the field network and output data output from the PLC 200 to the field network.

[0078] The network controller 254 has a connector 254a for connecting to a higher-level network, and controls data exchange between the PLC 200 and an external device (for example, the PC 100A, the network camera 400, or the network storage 500).

[0079] The timer 260 includes a clock circuit or a counter circuit that measures time, but is not limited to such circuits and may be configured by a software module executed by the CPU 202.

[0080] The reader / writer 270 mediates data transmission between the CPU 202 and an external storage medium 600 .

[0081] 3 shows an example of a configuration in which the necessary functions are provided by the CPU 202 executing a program, but some or all of these provided functions may be implemented using a dedicated hardware circuit (e.g., ASIC or FPGA). Alternatively, the main part of the PLC 200 may be realized using hardware that follows a general-purpose architecture (e.g., an industrial PC based on a general-purpose PC). In this case, multi-core technology may be applied to execute processes in parallel. Alternatively, virtualization technology may be used to execute multiple OSs with different purposes in parallel, and necessary applications may be executed on each OS.

[0082] <Functional configuration> Fig. 4 is a block diagram showing an example of the software configuration of the PC and the PLC. As shown in Fig. 4, the PC 100A includes a control program editing unit 11, a data type definition editing unit 12, a data type memory map generating unit 13, a sampling setting unit 14, a build processing unit 15, a reproduction PLC generating unit 16, a PLC communication control unit 17, a reproduction PLC communication control unit 18, one or more visualization modules 30, a reproduction PLC 40a, and a reproduction PLC clock operation unit 45a.

[0083] The control program editing unit 11, the data type definition editing unit 12, the data type memory map generating unit 13, the sampling setting unit 14, the build processing unit 15, and the reproduction PLC generating unit 16 are realized by the processor 101 shown in FIG. 2 executing the development program 131. The PLC communication control unit 17 is realized by the processor 101 executing the development program 131 and the communication interface 106. The reproduction PLC communication control unit 18 and the reproduction PLC 40a are realized by the processor 101 executing the reproduction program 133. The reproduction PLC clock operation unit 45a is realized by the processor 101 executing the reproduction program 133 and the input interface 104. Each of the multiple visualization modules 30 is realized by the processor 101 executing the development program 131 or the viewer program 132.

[0084] The control program editing unit 11 creates or edits the source code of a control program in response to a user input. The control program is, for example, a ladder program, but is not limited to this.

[0085] The data type definition editing unit 12 edits the data type of variables used by the control program in response to user input. The variables used by the control program include variables collected from one or more field devices 300 and variables generated by execution of the control program (variables output to one or more field devices 300). The data type definition editing unit 12 generates data type definition data indicating the edited data type for each variable.

[0086] In response to user input, the data type memory map generator 13 generates a data type memory map 60 that indicates, for a variable having array elements or structure members, the size of the data type of each array element or structure member, the placement information of the array elements or structure members, etc. By using the data type memory map 60, the start address and size of any array element or structure member are identified, and the value of any array element or structure member is identified.

[0087] The sampling setting unit 14 sets the generation conditions of the time series data set 50 in response to a user input, and generates sampling setting data indicating the set generation conditions. As described above, the generation conditions of the time series data set 50 indicate the start condition of sampling, the variables to be sampled, and the sampling time. The start condition of sampling is, for example, a condition that the value of a specific variable changes from a first value to a second value. When the start condition of sampling is satisfied, the generation of the time series data set 50 is started. The variables to be sampled are set from among a plurality of variables used by the control program. Note that all of the plurality of variables used by the control program may be set as sampling targets, or a portion of the plurality of variables used by the control program may be set as sampling targets. The sampling time is a period from the start to the end of the generation of the time series data set 50, and is, for example, 10 minutes, but is not limited thereto.

[0088] The build processing unit 15 builds the source code of the control program and generates an object code from the source code. The build processing unit 15 transfers a program data set 214 including the generated object code of the control program to the PLC 200. In addition to the object code of the control program, the program data set 214 includes data type definition data generated by the data type definition editing unit 12 and sampling setting data generated by the sampling setting unit 14. Furthermore, together with the program data set 214, the data type memory map 60 generated by the data type memory map generating unit 13 is also transferred to the PLC 200.

[0089] The reproduction PLC generation unit 16 calls the reproduction program 133 shown in FIG. 2 in response to a user input, generates the reproduction PLC 40a, and starts the operation of the reproduction PLC 40a.

[0090] As described above, the multiple visualization modules 30 visualize on the screen the variable values ​​of the visualization target that represent the control state of the PLC 200. The multiple visualization modules 30 have a playback mode in which the variable values ​​reproduced by the reproduction PLC 40a are acquired as the variable values ​​of the visualization target, as well as a second mode (hereinafter referred to as a "real-time mode") in which the variable values ​​currently held by the PLC 200 are acquired as the variable values ​​of the visualization target. Furthermore, the multiple visualization modules 30 may have a third mode (hereinafter referred to as a "simulation mode") in which the variable values ​​generated by a PLC simulator that simulates the operation of the PLC 200 are acquired as the variable values ​​of the visualization target. Furthermore, the multiple visualization modules 30 have a fourth mode (hereinafter referred to as an "offline mode") in which the variable values ​​are not visualized.

[0091] The PLC communication control unit 17 controls communication with the PLC 200. The PLC communication control unit 17 communicatively connects the multiple visualization modules 30 and the PLC 200 in response to a user input specifying the start of the real-time mode.

[0092] The reproduction PLC communication control unit 18 communicatively connects the plurality of visualization modules 30 and the reproduction PLC 40a in response to a user input specifying the start of the playback mode.

[0093] 1, and sequentially reproduces the variable values ​​held by the PLC 200 for each first control period in a target period based on the time series data set 50 recorded by the PLC 200 in the target period. The reproduction PLC 40a includes a clock management unit 41a and a time series data management unit 42a corresponding to the time control module 41 and the controller control state reproduction function 42 shown in FIG.

[0094] The clock management unit 41a manages a target counter value corresponding to a target time during a target period at which a variable value is to be reproduced. The target counter value indicates the elapsed time from the start of the target period. The target counter value indicates, for example, how many times the elapsed time from the start of the target period is the first control period.

[0095] The clock management unit 41a updates the target counter value in response to an instruction from the reproduction PLC clock operation unit 45a. Specifically, the clock management unit 41a sets the reproduction start counter value instructed by the reproduction PLC clock operation unit 45a as the target counter value, and thereafter adds 1 to the target counter value every time a specified time has elapsed. The clock management unit 41a sets the specified time in response to the reproduction conditions instructed by the reproduction PLC clock operation unit 45a.

[0096] The time-series data management unit 42a extracts data for the target time corresponding to the target counter value from the time-series data set 50, and reproduces the variable values ​​held in the memory 206 of the PLC 200 at the target time based on the extracted data.

[0097] The time-series data management unit 42a may use the data type memory map 60 to reproduce the values ​​of the array elements of the variables or the structure members.

[0098] The reproduction PLC clock operation unit 45a is an example of the time designation module 45 shown in Fig. 1. The reproduction PLC clock operation unit 45a sets a reproduction start counter value and a reproduction condition in response to a user input, and outputs the set reproduction start counter value and the reproduction condition to the reproduction PLC 40a.

[0099] The reproduction PLC 40a further includes a synchronization mode management unit 43a. In the playback mode, the synchronization mode management unit 43a monitors the playback state of the reproduction PLC 40a according to an instruction from the reproduction PLC clock operation unit 45a, and switches the synchronization mode of the multiple visualization modules 30 according to the monitoring result. The multiple visualization modules 30 have an overall synchronization mode in which the visualization target times in the program display module, the waveform display module, and the video playback module are synchronized, and a waveform video synchronization mode in which the visualization target times in the waveform display module and the video playback module are synchronized. A method of switching the synchronization mode by the synchronization mode management unit 43a will be described later.

[0100] 4, the PLC 200 includes a program execution unit 21 and a data collection unit 22. Furthermore, the PLC 200 stores a program data set 214 and a data type memory map 60 transferred from the PC 100A. The program execution unit 21 and the data collection unit 22 are realized by the CPU 202 shown in FIG. 3 executing a control program included in the program data set 214.

[0101] The program execution unit 21 collects status values ​​indicating the status of one or more field devices 300, and generates command values ​​for the one or more field devices 300 by performing calculations based on the collected status values.

[0102] 3 in accordance with a control period determined for each type of variable. When updating each variable value stored in memory 206, program execution unit 21 updates each bit in a memory area in which each variable value is stored in accordance with data type definition data included in program data set 214. Furthermore, for a variable having an array element or a structure member, program execution unit 21 updates each bit in a memory area in which the value of each array element or each structure member is stored in accordance with data type memory map 60 of the variable.

[0103] The program execution unit 21 reads the variable value used for the calculation from each bit value in the memory area corresponding to the variable according to the data type definition data. Furthermore, the program execution unit 21 reads the value of the array element or structure member of the variable by using the data type memory map 60 of the variable.

[0104] The data collection unit 22 generates a time series data set 50 according to the generation conditions (including the sampling start condition, the variables to be sampled, and the sampling time) indicated by the sampling setting data included in the program data set 214. Specifically, the data collection unit 22 starts recording the variable values ​​held in the memory 206 for the variables to be sampled in response to the sampling start condition being satisfied. When the sampling time has elapsed since the data collection unit 22 started recording the variable values, the data collection unit 22 ends recording the variable values, and generates a time series data set 50 indicating the variable values ​​for each time in the target period from the start to the end of recording. The time series data set 50 is transferred from the PLC 200 to the PC 100A.

[0105] <Reproduced PLC operation screen> Fig. 5 is a diagram showing an example of a first window for performing a reproduction operation of the reproduction PLC. The first window 70 shown in Fig. 5 is generated by the processor 101 (see Fig. 2) operating as the reproduction PLC clock operation unit 45a (see Fig. 4), and is displayed on the display 120 by the display controller 105.

[0106] The first window 70 includes a cursor 71, a display area 72, a group of play buttons 73, and a play speed input field 74.

[0107] The cursor 71 indicates the time (also referred to as the "reproduction position") at which the variable value is reproduced by the reproduction PLC 40a. When the target counter value is updated by the reproduction PLC 40a, the reproduction PLC clock operation unit 45a moves the cursor 71 to a position corresponding to the target counter value. Furthermore, the reproduction PLC clock operation unit 45a accepts a user's operation to move the cursor 71, and moves the position of the cursor 71 in response to the movement operation.

[0108] The display area 72 displays the time corresponding to the position of the cursor 71. Therefore, the time displayed in the display area 72 is updated in response to the movement of the cursor 71.

[0109] The playback button group 73 includes a plurality of buttons for inputting operations related to the playback of the reproduction PLC 40a. Specifically, the playback button group 73 includes a play button 73a, a pause button 73b, a stop button 73c, a button 73d for moving to the beginning, and a button 73e for moving to the end.

[0110] The playback speed input field 74 is used for inputting the playback speed. The reproduction PLC clock operation unit 45a displays a list of multiple playback speeds in response to the operation of the pull-down button in the playback speed input field 74. The reproduction PLC clock operation unit 45a displays the playback speed selected by the user from the list in the playback speed input field 74. In the example shown in FIG. 5, the playback speed is represented by a magnification factor. Therefore, hereinafter, "playback speed" will be expressed as "magnification factor".

[0111] The reproduction PLC clock operation unit 45a sets a reproduction start counter value and reproduction conditions in response to a user input to the reproduction button group 73 of the first window 70, and outputs the set reproduction start counter value and reproduction conditions to the reproduction PLC 40a.

[0112] Specifically, when any button included in the play button group 73 is operated, the reproduction PLC clock operation unit 45a sets the counter value corresponding to the position of the cursor 71 as the reproduction start counter value. For example, when the play button 73a is operated, the reproduction PLC clock operation unit 45a sets the counter value corresponding to the current position of the cursor 71 as the reproduction start counter value. When the button 73d for moving to the beginning is operated, the reproduction PLC clock operation unit 45a moves the cursor 71 to the beginning position of the target period, and then sets the counter value corresponding to the beginning position as the reproduction start counter value.

[0113] Furthermore, the reproduction PLC clock operation unit 45a sets the reproduction conditions according to the type of the operated button among the playback button group 73 and the magnification input in the playback speed input field 74. For example, when the play button 73a or the button 73d for moving to the beginning is operated, the reproduction PLC clock operation unit 45a sets the reproduction conditions to indicate the magnification input in the playback speed input field 74. When the pause button 73b is operated, the reproduction PLC clock operation unit 45a sets the reproduction conditions to indicate a playback speed of "0".

[0114] When the stop button 73c is operated, the reproduction PLC clock operation unit 45a instructs the reproduction PLC 40a to stop the reproduction process of the variable values.

[0115] The clock management unit 41a of the reproduction PLC 40a updates the target counter value according to the reproduction start counter value and the reproduction condition received from the reproduction PLC clock operation unit 45a. Specifically, the clock management unit 41a sets the reproduction start counter value as the target counter value. Furthermore, the clock management unit 41a sets the specified time according to the reproduction condition. For example, when the magnification "×1.0" is set as the reproduction condition, the clock management unit 41a sets the same time as the first control period as the specified time. When the magnification "×2.0" is set as the reproduction condition, the clock management unit 41a sets the time obtained by dividing the first control period by 2 as the specified time. In this way, the clock management unit 41a sets the time obtained by dividing the first control period by the magnification indicated by the reproduction condition as the specified time.

[0116] When the playback speed is set to "0" as the playback condition, the clock management unit 41a stops updating the target counter value.

[0117] <Switching modes> FIG. 6 is a diagram for explaining a method of switching modes in a plurality of visualization modules. As shown in FIG. 6, the PC 100A includes a program display module 30a, a waveform display module 30b, a video playback module 30c, and a troubleshooting display module 30d as a plurality of visualization modules 30. The PC 100A further includes a data accessor 19. The program display module 30a and the troubleshooting display module 30d are realized by the processor 101 shown in FIG. 2 executing the development program 131. The waveform display module 30b and the video playback module 30c are realized by the processor 101 executing the viewer program 132. The data accessor 19 is realized by the processor 101 executing the development program 131 or the reproduction program 133 and the communication interface 106.

[0118] The program display module 30a monitors the execution status of the control program by the PLC 200, and generates data for a second window including the monitoring results. The second window is displayed on the display 120.

[0119] The waveform display module 30b generates data for a third window including a variable graph showing the transitions of the values ​​of various variables. The third window 82 is displayed on the display 120.

[0120] The video playback module 30c generates data for a fourth window in which the video captured by the network camera 400 is played. The fourth window is displayed on the display 120.

[0121] In the playback mode, the video playback module 30c plays back a video represented by video data 55 obtained by shooting during a target period. The video playback module 30c displays a frame at a time corresponding to a target counter value managed by the clock management unit 41a of the reproduction PLC 40a in the fourth window 84. If the video data 55 does not include a frame at a time corresponding to the target counter value, the video playback module 30c displays a frame at a time closest to the target time in the fourth window 84.

[0122] In the real-time mode, the video playback module 30c displays the real-time video from the network camera 400 in the fourth window 84.

[0123] The troubleshooting display module 30d generates data for a fifth window that indicates the location (for example, a function block) in the control program where the error has occurred. The fifth window is displayed on the display 120.

[0124] The second to fifth windows may be displayed side by side on display 120. Alternatively, only one or more windows selected by the user from among the second to fifth windows may be displayed on display 120. In the playback mode, in addition to the second to fifth windows, first window 70 shown in FIG. 5 is also displayed on display 120.

[0125] The data accessor 19 is an example of a "selection unit" that selects a mode, and switches the connection destination of the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30d in response to a user input.

[0126] When the data accessor 19 receives an instruction to switch to the playback mode, it switches the connection destinations of the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30d to the reproduction PLC 40a. Then, the data accessor 19 acquires reproduction data indicating the variable values ​​reproduced by the reproduction PLC 40a, and transfers the acquired reproduction data to each visualization module 30.

[0127] When the data accessor 19 receives an instruction to switch to the real-time mode, it switches the connection destination of the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30d to the PLC 200. Then, the data accessor 19 obtains data indicating the variable values ​​currently held in the memory 206 of the PLC 200, and transfers the obtained data to each visualization module 30.

[0128] When the data accessor 19 receives an instruction to switch to the simulation mode, it switches the connection destinations of the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30d to the PLC simulator 700. Then, the data accessor 19 obtains data indicating the variable values ​​currently held in the virtual memory 702 of the PLC simulator 700, and transfers the obtained data to each visualization module 30.

[0129] When the data accessor 19 receives an instruction to switch to the offline mode, it does not connect the program display module 30 a , the waveform display module 30 b , and the troubleshooting display module 30 d to any of the PLC 200 , the reproduction PLC 40 a , and the PLC simulator 700 .

[0130] <Synchronization mode in playback mode> FIG. 7 is a diagram for explaining the synchronization mode in the playback mode. As shown in FIG. 7, in the playback mode, the multiple visualization modules 30 transition between the overall synchronization mode (first synchronization mode) and the waveform video synchronization mode (second synchronization mode) in response to a user input. The overall synchronization mode is a mode in which the visualization target times in the program display module 30a, the waveform display module 30b, and the video playback module 30c are synchronized. The waveform video synchronization mode is a mode in which the visualization target times in the waveform display module 30b and the video playback module 30c are synchronized.

[0131] The synchronization mode in the playback mode is switched by the synchronization mode management unit 43a of the reproduction PLC 40a. The synchronization mode management unit 43a switches between the overall synchronization mode and the waveform moving image synchronization mode in response to a playback operation received from the user by the reproduction PLC clock operation unit 45a.

[0132] Specifically, when an instruction to switch to playback mode is received and the connection destination of the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30d is switched to the reproduction PLC 40a, the synchronization mode management unit 43a sets the multiple visualization modules 30 to the overall synchronization mode as the initial state.

[0133] In the full synchronization mode, the program display module 30a and the waveform display module 30b acquire reproduction data indicating the variable values ​​reproduced by the reproduction PLC 40a. The video playback module 30c plays a frame at a time corresponding to the target counter value managed by the clock management unit 41a of the reproduction PLC 40a.

[0134] In the overall synchronization mode, when the pause button 73b included in the playback button group 73 of the first window 70 is operated, the reproduction PLC clock operation unit 45a sets a playback condition indicating a playback speed of "0" and outputs it to the reproduction PLC 40a. The clock management unit 41a of the reproduction PLC 40a stops updating the target counter value according to this playback condition. When the updating of the target counter value is stopped, the synchronization mode management unit 43a switches the multiple visualization modules 30 from the overall synchronization mode to the waveform video synchronization mode. In this way, in response to the reproduction PLC clock operation unit 45a accepting a user input instructing to pause playback, the multiple visualization modules 30 transition from the overall synchronization mode to the waveform video synchronization mode.

[0135] In the waveform video synchronization mode, the program display module 30a stops acquiring variable values ​​from the reproduction PLC 40a, thereby stopping monitoring of the execution status of the control program by the PLC 200. Meanwhile, the waveform display module 30b continues acquiring variable values ​​from the reproduction PLC 40a. Each of the waveform display module 30b and the video playback module 30c sets a visualization target time according to a user input, and exchanges the set visualization target time with each other. For example, when the waveform display module 30b receives a user input specifying a visualization target time, the waveform display module 30b provides the specified visualization target time to the video playback module 30c, thereby synchronizing the visualization target time with the video playback module 30c. Similarly, when the video playback module 30c receives a user input specifying a visualization target time, the video playback module 30c provides the specified visualization target time to the waveform display module 30b, thereby synchronizing the visualization target time with the waveform display module 30b.

[0136] In the waveform moving image synchronization mode, the program display module 30a and the waveform display module 30b monitor the operation of the synchronization mode management unit 43a of the reproduction PLC 40a. When the play button 73a or the button 73d for moving to the beginning included in the play button group 73 of the first window 70 is operated, the reproduction PLC clock operation unit 45a sets a reproduction start counter value and a reproduction condition, and outputs it to the reproduction PLC 40a. For example, in response to the operation of the play button 73a, the reproduction PLC clock operation unit 45a sets the counter value corresponding to the current position of the cursor 71 as the reproduction start counter value, and sets the reproduction condition to indicate the magnification input in the reproduction speed input field 74, and outputs it to the reproduction PLC 40a.

[0137] The clock management unit 41a of the reproduction PLC 40a resumes updating of the target counter value according to the reproduction start counter value and the reproduction conditions from the reproduction PLC clock operation unit 45a. When the updating of the target counter value is resumed, the synchronization mode management unit 43a switches the multiple visualization modules 30 from the waveform video synchronization mode to the overall synchronization mode. In this way, in response to the reproduction PLC clock operation unit 45a receiving a user input instructing the resumption of reproduction, the multiple visualization modules 30 transition from the waveform video synchronization mode to the overall synchronization mode.

[0138] In addition, when an instruction to switch to the real-time mode is received in the overall synchronization mode or the waveform moving image synchronization mode, the connection destination of the program display module 30 a , the waveform display module 30 b , and the troubleshooting display module 30 d is switched to the PLC 200 .

[0139] <Full synchronous mode> Fig. 8 is a block diagram showing the configuration of a PC in the total synchronization mode. As shown in Fig. 8, when the play button 73a or the button 73d for moving to the beginning included in the play button group 73 in the first window 70 (see Fig. 5) is operated, the reproduction PLC clock operation unit 45a sets a reproduction start counter value and a reproduction condition, and outputs the set reproduction start counter value and the reproduction condition to the reproduction PLC 40a.

[0140] The clock management unit 41a of the reproduction PLC 40a sets the reproduction start counter value as the target counter value, and then updates the target counter value according to the specified time set according to the reproduction conditions. The synchronization mode management unit 43a sets the multiple visualization modules 30 to the overall synchronization mode according to the reproduction instruction from the reproduction PLC clock operation unit 45a.

[0141] The time-series data management unit 42a accesses each time-series data included in the time-series data set 50, and acquires the variable value at the target time corresponding to the target counter value.

[0142] The reproduction data search module 32 searches for the timing at which a variable designated by the user changed from the reproduction data for the target period. For example, the reproduction data search module 32 searches for the timing at which a variable corresponding to an anomaly detection flag indicating that an anomaly has been detected in the manufacturing system transitioned from off to on in response to a user's instruction. The reproduction data search module 32 outputs the search results to the program display module 30a, the waveform display module 30b, and the video playback module 30c.

[0143] In response to being set to the full synchronization mode by the synchronization mode management unit 43a, the program display module 30a issues a variable acquisition request to the reproduction PLC 40a to acquire variable values ​​reproduced by the reproduction PLC 40a. The program display module 30a generates data for a second window 80 (see FIG. 9 ) that reproduces the execution status of the control program at a target time by describing the acquired variable values ​​on a ladder diagram representing the control program. The program display module 30a displays the second window 80 on the display 120.

[0144] The waveform display module 30b issues a variable acquisition request to the reproduction PLC 40a in response to being set to the full synchronization mode by the synchronization mode management unit 43a. Specifically, the waveform display module 30b issues a variable acquisition request to the reproduction PLC 40a to specify a time range and acquire variable values ​​held by the PLC 200 in the specified time range. This time range specifies the time range of the variable values ​​shown by the variable graph, and can be specified to belong to the target period. For example, the time range can be specified to include the timing when the variable corresponding to the abnormality detection flag transitions from off to on. When the waveform display module 30b acquires the variable values ​​in the time range, it generates data for a third window 82 (see FIG. 9) including a variable graph showing the transition of the acquired variable values, and displays the third window 82 on the display 120.

[0145] The waveform display module 30b further acquires a target time corresponding to the target counter value from the clock management unit 41a of the reproduction PLC 40a. This target time corresponds to a visualized target time at which the variable value is visualized in the program display module 30a. The waveform display module 30b displays a first time line (hereinafter referred to as the "reproduction PLC current time line") for indicating the acquired target time on the variable graph included in the third window 82.

[0146] In response to being set to the full synchronization mode by the synchronization mode management unit 43a, the video playback module 30c acquires a target time corresponding to the target counter value from the clock management unit 41a of the reproduction PLC 40a. The video playback module 30c displays a frame at a time corresponding to the acquired target time in the fourth window 84 (see FIG. 9).

[0147] Fig. 9 is a diagram showing an example of the second to fourth windows in the full synchronization mode. The second window 80 shown in Fig. 9 is generated by the program display module 30a. In the second window 80, variable values ​​to be visualized are written on a ladder diagram representing a control program.

[0148] The third window 82 is generated by the waveform display module 30b. The third window 82 includes a variable graph 82a showing the transition of the variable value of the visualization target. A reproduced PLC current time line L1 (first time line) and a second time line L2 (hereinafter referred to as "video playback line L2") are shown on the variable graph 82a. The reproduced PLC current time line L1 represents the target time corresponding to the target counter value, that is, the visualized target time in the program display module 30a.

[0149] The video playback line L2 represents the time of the frame being played back by the video playback module 30c. In the full synchronization mode, the reproduced PLC current time line L1 and the video playback line L2 basically overlap. However, if the video data 55 does not have a frame at a time corresponding to the target time, the video playback module 30c displays the frame at the time closest to the target time. In this case, in the variable graph 82a, the reproduced PLC current time line L1 and the video playback line L2 do not overlap, and there is a slight deviation between them.

[0150] In the third window 82, a time scroll bar 82b is disposed below the variable graph 82a. The time scroll bar 82b is an operation unit for changing the time range displayed by the variable graph, and is configured to be able to accept a user's operation to move the video playback line L2. In response to the operation to move the video playback line L2, the time of the frame played by the video playback module 30c is updated. However, in the overall synchronization mode, the playback position of the video data 55 is controlled according to the target counter value managed by the clock management unit 41a of the reproduction PLC 40a in response to an instruction from the reproduction PLC clock operation unit 45a, so that the time scroll bar 82b is set to be unable to accept a user's movement operation.

[0151] The fourth window 84 is generated by the video playback module 30c. A video 84a represented by video data 55 obtained by shooting during a target period is played in the fourth window 84. The video 84a is a frame at a time corresponding to the target time. If the video data 55 does not have a frame at a time corresponding to the target time, the video 84a is a frame at a time closest to the target time.

[0152] In the fourth window 84, a seek bar 84b is arranged below the video 84a. The seek bar 84b is configured to indicate the time of the frame being played back by the video playback module 30c with a slider 84c. In the full synchronization mode, the position (playback position) of the slider 84c in the seek bar 84b is updated according to the update of the target counter value in the clock management unit 41a.

[0153] The slider 84c of the seek bar 84b indicates the playback position of the video and is provided to accept a user's operation to move the playback position. The time of the frame being played by the video playback module 30c is updated in response to the movement of the slider 84c. However, in the full synchronization mode, the playback position of the video data 55 is controlled according to the target counter value managed by the clock management unit 41a of the reproduction PLC 40a, so the seek bar 84b is set to be unable to accept a user's operation to move the slider 84c.

[0154] <Waveform video synchronization mode> Fig. 10 is a block diagram showing the configuration of a PC in the waveform video synchronization mode. As shown in Fig. 10, when the pause button 73b included in the play button group 73 in the first window 70 (see Fig. 5) is operated, the reproduction PLC clock operation unit 45a sets a play condition indicating a play speed of "0".

[0155] The clock management unit 41a of the reproduction PLC 40a stops updating the target counter value in response to the playback speed "0" being set as the playback condition. The clock management unit 41a holds the target time corresponding to the target counter value at the time when the updating is stopped as the current time of the reproduction PLC 40a. In this way, when the plurality of modules 30 return from the waveform video synchronization mode to the overall synchronization mode in response to a playback restart instruction from the user, the control state of the PLC 200 at the target time when the playback was paused can be restored, and the reproduction of the control state of the PLC 200 can be resumed.

[0156] The synchronization mode management unit 43a switches the plurality of visualization modules 30 from the overall synchronization mode to the waveform video mode in response to a pause instruction from the reproduction PLC clock operation unit 45a.

[0157] When the updating of the target counter value is stopped, the time-series data management unit 42a stops extracting data of the target time corresponding to the target counter value from the time-series data set 50.

[0158] The program display module 30a monitors the synchronization mode set by the synchronization mode management unit 43a. When the program display module 30a is set to the waveform moving image synchronization mode, it stops issuing a variable acquisition request to the reproduction PLC 40a and stops generating data in the second window 80. Therefore, the data at the time the pause button was operated is held in the second window 80.

[0159] The waveform display module 30b issues a variable acquisition request to the reproduction PLC 40a in response to being set to the waveform moving image synchronization mode by the synchronization mode management unit 43a. Specifically, the waveform display module 30b issues a variable acquisition request to specify a time range and acquire variable values ​​held by the PLC 200 in the specified time range. This time range specifies the time range of the variable values ​​shown by the variable graph, and can be specified to belong to a target period. When the waveform display module 30b acquires the variable values ​​in the time range, it generates data for a third window 82 (see FIG. 11) including a variable graph showing the transition of the acquired variable values, and displays the third window 82 on the display 120.

[0160] The variable graph in the third window 82 shows a reproduced PLC current time line L1 and a video playback line L2. The reproduced PLC current time line L1 is fixed to a target time corresponding to a target counter value at the timing when the update is stopped. On the other hand, the video playback line L2 can receive a moving operation by the user.

[0161] The video playback module 30c acquires the visualization target time from the waveform display module 30b in response to being set to the waveform video synchronization mode by the synchronization mode management unit 43a. The visualization target time provided by the waveform display module 30b is based on the position of the video playback line L2 shown in the third window 82. The video playback module 30c displays the frame corresponding to the acquired visualization target time in the fourth window 84 (see FIG. 11).

[0162] Fig. 11 is a diagram showing an example of the second to fourth windows in the waveform video synchronization mode. The second window 80 shown in Fig. 11 is generated by the program display module 30a. However, the second window 80 holds data at the time of transition from the overall synchronization mode to the waveform video synchronization mode.

[0163] The third window 82 is generated by the waveform display module 30b. The third window 82 includes a variable graph 82a that shows the transition of the variable value of the visualization target. A reproduced PLC current time line L1 and a video playback line L2 are displayed on the variable graph 82a. The reproduced PLC current time line L1 is fixed to the target time corresponding to the target counter value at the time when the update is stopped.

[0164] The moving image playback line L2 represents the time of the frame being played back by the moving image playback module 30c. In the waveform moving image synchronization mode, the time scroll bar 82b is capable of accepting a user's operation to move the moving image playback line L2. The waveform display module 30b moves the position of the moving image playback line L2 in the variable graph 82a in response to the user's operation to move the moving image playback line L2. Then, the waveform display module 30b designates the time corresponding to the position of the moving image playback line L2 as a visualization target time, and provides the designated visualization target time to the moving image playback module 30c.

[0165] The fourth window 84 is generated by the video playback module 30c. A video 84a shown by video data 55 obtained by shooting during a target period is played in the fourth window 84. The video 84a is a frame at a time corresponding to a visualization target time provided by the waveform display module 30b. If the video data 55 does not have a frame at a time corresponding to the target time, the video 84a will be a frame at a time closest to the visualization target time.

[0166] In the waveform video synchronization mode, the seek bar 84b can receive a movement operation of the slider 84c by the user. The video playback module 30c plays a frame at a time corresponding to the position of the slider 84c in response to the movement operation of the slider 84c by the user. Then, the video playback module 30c designates the time corresponding to the position of the slider 84c as a visualization target time, and provides the designated visualization target time to the waveform display module 30b. The waveform display module 30b moves the video playback line L2 to a position corresponding to the visualization target time provided by the video playback module 30c.

[0167] In this manner, in the waveform video synchronization mode, when the updating of the target counter value in the clock management unit 41a of the reproduction PLC 40a is stopped, the monitoring of the control program in the program display module 30a is stopped. On the other hand, the display of the variable graph 82a in the waveform display module 30b and the playback of the video 84a in the video playback module 30c are performed independently of the clock management unit 41a of the reproduction PLC 40a in response to user input.

[0168] Specifically, when the waveform display module 30b receives a user's operation to move the moving image playback line L2, it moves the position of the moving image playback line L2 and designates the time corresponding to the position of the moving image playback line L2 as the visualization target time in the moving image playback module 30c. As a result, the moving image playback module 30c plays a frame at the time corresponding to the position of the moving image playback line L2. Also, when the moving image playback module 30c receives a user's operation to move the slider 84c, it plays a frame at the time corresponding to the position of the slider 84c and designates the time corresponding to the position of the slider 84c as the visualization target time in the waveform display module 30b. The waveform display module 30b moves the position of the moving image playback line L2 according to the designated visualization target time. By exchanging the visualization target time between the waveform display module 30b and the moving image playback module 30c in this way, the visualization target time in the waveform display module 30b and the moving image playback module 30c can be synchronized.

[0169] <PC processing flow in playback mode> 12 is a flowchart showing the process flow of the reproduction PLC clock operation unit and the reproduction PLC in the playback mode. First, in step S01, the reproduction PLC clock operation unit 45a judges whether or not a reproduction instruction has been received from the user. If the reproduction button 73a or the button 73d for moving to the beginning included in the reproduction button group 73 of the first window 70 shown in FIG. 5 is operated, S01 is judged as YES, and if neither the button 73a nor 73d is operated, S01 is judged as NO.

[0170] When a reproduction instruction is received (YES in S01), in step S02, the reproduction PLC clock operation unit 45a sets the counter value corresponding to the current position of the cursor 71 included in the first window 70 as the reproduction start counter value.

[0171] In the next step S03, the reproduction PLC clock operation unit 45a sets the reproduction conditions so as to indicate the magnification input in the reproduction speed input field 74.

[0172] In the next step S04, the synchronization mode management unit 43a of the reproduction PLC 40a sets the multiple visualization modules 30 to the overall synchronization mode according to the reproduction start counter value and the reproduction conditions received from the reproduction PLC clock operation unit 45a.

[0173] In the next step S05, the clock management unit 41a of the reproduction PLC 40a updates the target counter value according to the reproduction start counter value and the reproduction conditions. In S03, the clock management unit 41a sets the reproduction start counter value as the target counter value and sets a specified time according to the reproduction conditions.

[0174] In the next step S06, the time series data management unit 42a of the reproduction PLC 40a extracts data for the target time corresponding to the target counter value from the time series data set 50, and reproduces the variable values ​​that were held in the memory 206 of the PLC 200 at the target time based on the extracted data.

[0175] On the other hand, if a playback instruction has not been received in step S01 (NO in S01), the reproduction PLC clock operation unit 45a determines in step S07 whether or not an instruction to pause playback has been received from the user. If the pause button 73b included in the playback button group 73 in the first window 70 has been operated, S07 is determined as YES, and if the pause button 73b has not been operated, S07 is determined as NO.

[0176] When a pause instruction is received (YES in S07), in step S08, the reproduction PLC clock operation unit 45a sets a reproduction condition indicating a reproduction speed of "0".

[0177] In the next step S09, the synchronization mode management unit 43a sets the plurality of visualization modules 30 to a waveform moving image synchronization mode in accordance with the reproduction conditions received from the reproduction PLC clock operation unit 45a.

[0178] In the next step S10, the clock management unit 41a stops updating the target counter value in accordance with the reproduction conditions.

[0179] If a pause instruction has not been received in step S07 (NO in S07), the reproduction PLC clock operation unit 45a determines in step S11 whether or not a playback stop instruction has been received from the user. If the stop button 73c included in the playback button group 73 in the first window 70 has been operated, a YES determination is made in S11, and if the stop button 73c has not been operated, a NO determination is made in S11. If the stop button 73c has not been operated (NO in S11), the process returns to step S01.

[0180] When the stop instruction is received (YES in S11), in step S12, the reproduction PLC clock operation unit 45a instructs the reproduction PLC 40a to stop the reproduction process of the variable values.

[0181] 13 is a flowchart showing the flow of processing of the program display module in the playback mode. First, in step S61, the program display module 30a judges whether or not it is in the playback mode. If the connection destination of the program display module 30a is the reproduction PLC 40a, S61 is judged as YES, and if the connection destination of the program display module 30a is the PLC 200 or the PLC simulator 700, or if the program display module 30a is not connected to any of the reproduction PLC 40a, the PLC 200, and the PLC simulator 700, S61 is judged as NO.

[0182] If the program display module 30a is in playback mode (YES in S61), in the next step S62, the program display module 30a monitors the synchronization mode management unit 43a of the reproduction PLC 40a to determine whether the synchronization mode is the overall synchronization mode or the waveform video synchronization mode.

[0183] If the synchronization mode is the full synchronization mode (YES in S62), in step S63, the program display module 30a acquires the variable values ​​to be visualized from the reproduction PLC 40a.

[0184] In the next step S64, the program display module 30a generates a second window 80 in which the acquired variable values ​​are written on a ladder diagram representing the control program, and displays the second window 80 on the display 120.

[0185] Returning to step S62, if the synchronization mode is the waveform video synchronization mode (NO in S62), in step S65, the program display module 30a stops acquiring the variable values ​​of the visualization target from the reproduction PLC 40a, thereby stopping the update of the second window 80.

[0186] 14 is a flowchart showing the process flow of the waveform display module in the playback mode. First, in step S21, the waveform display module 30b judges whether or not the mode is the playback mode. If the connection destination of the waveform display module 30b is the reproduction PLC 40a, S21 is judged as YES, and if the connection destination of the waveform display module 30b is the PLC 200 or the PLC simulator 700, or if the waveform display module 30b is not connected to any of the reproduction PLC 40a, the PLC 200, and the PLC simulator 700, S21 is judged as NO.

[0187] If the waveform display module 30b is in playback mode (YES in S21), in the next step S22, the waveform display module 30b monitors the synchronization mode management unit 43a of the reproduction PLC 40a to determine whether the synchronization mode is the overall synchronization mode or the waveform moving image synchronization mode.

[0188] If the synchronization mode is the full synchronization mode (YES in S22), in step S23, the waveform display module 30b specifies a time range and acquires the variable values ​​to be visualized from the reproduction PLC 40a.

[0189] In the next step S24, the waveform display module 30b generates data for a third window 82 including a variable graph 82a showing the transition of the acquired variable value, and displays the third window 82 on the display 120.

[0190] In the next step S25, the waveform display module 30b acquires the target time corresponding to the target counter value from the reproduction PLC 40a.

[0191] In the next step S26, the waveform display module 30b displays, on the variable graph 82a, a reproduced PLC current time line L1 indicating the acquired target time and a video playback line L2 indicating the time of the frame being played back by the video playback module 30c.

[0192] In the next step S27, the waveform display module 30b prohibits the user from operating the time scroll bar 82b included in the third window 82, thereby disabling the user's operation to move the moving image playback line L2.

[0193] Returning to step S22, if the synchronization mode is the waveform video synchronization mode (NO in S22), in step S28, the waveform display module 30b enables the user to operate the time scroll bar 82b, thereby enabling the user to move the video playback line L2.

[0194] In the next step S29, the waveform display module 30b determines whether or not the time scroll bar 82b has received a movement operation of the motion reproduction line L2.

[0195] If a movement operation of the video playback line L2 is received (YES judgment in S29), in step S30, the waveform display module 30b moves the video playback line L2 in accordance with the movement operation, and designates the time corresponding to the position of the video playback line L2 as the visualization target time.

[0196] In the next step S31, the waveform display module 30b provides the designated visualization target time to the video playback module 30c.

[0197] In the next step S32, the waveform display module 30b determines whether or not a visualization target time has been specified in the video playback module 30c.

[0198] When the visualization target time is specified in the moving image playback module 30c (YES in S32), in step S33, the waveform display module 30b moves the moving image playback line L2 according to the visualization target time provided by the moving image playback module 30c.

[0199] 15 is a flowchart showing the flow of processing of the video playback module in the playback mode. First, in step S41, the video playback module 30c determines whether or not it is in the playback mode.

[0200] If the video playback module 30c is in playback mode (YES in S41), in the next step S42, the video playback module 30c monitors the synchronization mode management unit 43a of the reproduction PLC 40a to determine whether the synchronization mode is the overall synchronization mode or the waveform video synchronization mode.

[0201] If the synchronization mode is the full synchronization mode (YES in S42), in step S43, the video replay module 30c acquires the target time corresponding to the target counter value from the reproduction PLC 40a.

[0202] In the next step S44, the video playback module 30c displays in the fourth window 84 the frame at the time corresponding to the obtained target time.

[0203] In the next step S45, the video playback module 30c sets the seek bar 84b included in the fourth window 84 so that a movement operation of the slider 84c by the user cannot be accepted.

[0204] Returning to step S42, if the synchronization mode is the waveform moving image synchronization mode (NO in S42), in step S46, the moving image reproducing module 30c sets the slider 84c to be movable by the user.

[0205] In the next step S47, the video replay module 30c determines whether or not the slider 84c has received a movement operation.

[0206] When a movement operation of the slider 84c is received (YES in S47), in step S48, the video playback module 30c moves the playback position of the video data 55 in response to the movement operation and plays a frame at the time corresponding to the position of the slider 84c. The video playback module 30c designates the time corresponding to the position of the slider 84c as the visualization target time.

[0207] In the next step S49, the video replay module 30c provides the designated visualization target time to the waveform display module 30b.

[0208] In the next step S50, the video playback module 30c determines whether or not a visualization target time has been specified in the waveform display module 30b.

[0209] When a visualization target time is specified in the waveform display module 30b (YES judgment in S50), in step S51, the video playback module 30c displays in the fourth window 84 a frame of the time corresponding to the visualization target time provided by the waveform display module 30b.

[0210] <Waveform comparison function in waveform video synchronization mode> In the waveform video synchronization mode, the waveform display module 30b is configured to be able to display a preset reference variable graph together with a variable graph showing the transition of the variable value of the visualization target in response to a user input. In one aspect, the waveform display module 30b can display the reference variable graph superimposed on the variable graph showing the transition of the variable value of the visualization target. In another aspect, the waveform display module 30b can display the variable graph showing the transition of the variable value of the visualization target and the reference variable graph side by side.

[0211] For example, the user can set the reference variable graph in advance to a variable graph showing the transition of the variable value to be visualized when the manufacturing system (see FIG. 1) is operating normally. This allows the user to verify, in a situation where the cause of an abnormal operation occurring in the manufacturing system is to be investigated, what kind of change has occurred in the transition of the variable value when the abnormality has occurred compared to when the abnormality has occurred by comparing the variable graph when the abnormality has occurred and the reference variable graph, both of which are displayed on the waveform display module 30b.

[0212] Fig. 16 is a block diagram showing the configuration of a PC for performing waveform comparison in the waveform video synchronization mode. As shown in Fig. 16, the reproduction PLC generation unit 16 generates a reproduction PLC 40b for reproducing reference variable values ​​in response to a user input instructing waveform comparison, and starts the operation of the reproduction PLC 40b. The data accessor 19 connects the reproduction PLC 40b to the waveform display module 30b in response to a user input instructing waveform comparison.

[0213] The reproduction PLC 40b includes a clock management unit 41b and a time-series data management unit 42b. The clock management unit 41b manages a target counter value corresponding to a target time at which a reference variable value is to be reproduced during a preset reference target period. The reference target period is, for example, a period during which the manufacturing system is operating normally, and can be set to correspond to a target period in the time-series data set 50. The target counter value indicates the elapsed time from the start of the reference target period.

[0214] The time-series data management unit 42b extracts data for a target time corresponding to a target counter value from the reference time-series data set 50b, and reproduces the variable values ​​held in the memory 206 of the PLC 200 at the target time based on the extracted data. The reference time-series data set 50b is generated by recording the variable values ​​held in the memory 206 of the PLC 200 during a reference target period.

[0215] The waveform display module 30b issues a variable acquisition request to each of the reproduction PLC 40a and the reproduction PLC 40b in response to being set to the waveform moving image synchronization mode by the synchronization mode management unit 43a. Specifically, the waveform display module 30b issues a variable acquisition request to the reproduction PLC 40a to acquire the variable values ​​held by the PLC 200 in the specified time range by specifying a time range. For example, the time range can be specified so as to include the timing when the variable corresponding to the abnormality detection flag transitions from off to on. When the waveform display module 30b acquires the variable values ​​in the time range, it generates data for a third window 82 (see FIG. 17) including a variable graph showing the transition of the acquired variable values, and displays the third window 82 on the display 120.

[0216] Furthermore, the waveform display module 30b issues a variable acquisition request to the reproduction PLC 40b to specify a reference time range and acquire the variable values ​​held by the PLC 200 in the specified reference time range in response to a user input instructing waveform comparison. The reference time range specifies the time range of the reference variable values ​​shown by the reference variable graph, and can be specified to belong to the reference target period. When the waveform display module 30b acquires the reference variable values ​​in the reference time range, it generates data for a fifth window 83 (see FIG. 17) including a reference variable graph showing the transition of the acquired reference variable values, and displays the fifth window 83 on the display 120.

[0217] The video playback module 30c acquires the visualization target time from the waveform display module 30b in response to being set to the waveform video synchronization mode by the synchronization mode management unit 43a. The visualization target time provided by the waveform display module 30b is based on the position of the video playback line L2 shown in the third window 82. The video playback module 30c displays the frame corresponding to the acquired visualization target time in the fourth window 84 (see FIG. 17).

[0218] Furthermore, the video playback module 30c acquires the visualization target time of the reference variable value from the waveform display module 30b in response to a user input instructing waveform comparison. The visualization target time provided by the waveform display module 30b is specified based on the position of the third time line L3 (hereinafter referred to as the "video playback line L3") shown in the fifth window 83. The video playback module 30c displays the frame of the reference video corresponding to the acquired visualization target time in the sixth window 85 (see FIG. 17).

[0219] Fig. 17 is a diagram showing an example of the third to sixth windows in the waveform comparison. Although not shown, the second window 80 generated by the program display module 30a holds data at the time of transition from the overall synchronization mode to the waveform moving image synchronization mode. Fig. 17 shows the fifth window 83 and the sixth window 85 together with the third window 82 and the fourth window 84, which are the same as those in Fig. 11.

[0220] The fifth window 83 is generated by the waveform display module 30b. The fifth window 83 includes a reference variable graph 83a that shows the transition of the variable value of the visualization target in the reference time range. The reference variable graph 83a shows a reproduced PLC current time line L1 and an animation playback line L3. In the waveform animation synchronization mode, the reproduced PLC current time line L1 is fixed to the target time corresponding to the target counter value at the time when the update is stopped.

[0221] The video playback line L3 represents the time of a frame of the reference video being played back by the video playback module 30c. In the fifth window 83, a time scroll bar 83b is arranged below the reference variable graph 83a. The time scroll bar 83b is provided to accept a user's operation to move the video playback line L3. The waveform display module 30b moves the position of the video playback line L3 in the reference variable graph 83a in response to the user's operation to move the video playback line L3. Then, the waveform display module 30b designates the time corresponding to the position of the video playback line L3 as a visualization target time of the reference variable value, and provides the designated visualization target time to the video playback module 30c.

[0222] The sixth window 85 is generated by the video playback module 30c. In the sixth window 85, a video 85a shown by video data obtained by shooting during a reference target period is played. The video 85a is a frame at a time corresponding to a visualization target time of the reference variable value provided by the waveform display module 30b. If the reference video data does not have a frame at a time corresponding to the visualization target time, the video 85a will be a frame at a time closest to the visualization target time.

[0223] In the sixth window 85, a seek bar 85b is arranged below the video 85a. The seek bar 85b is configured to indicate the time of a frame of the reference video being played back by the video playback module 30c with a slider 85c. The position (playback position) of the slider 85c in the seek bar 85b is updated according to the update of the target counter value in the clock management unit 41b of the reproduction PLC 40b.

[0224] The slider 85c of the seek bar 85b indicates the playback position of the reference video and is provided to accept a user's operation to move the playback position. In response to a user's operation to move the slider 85c, the video playback module 30c plays a frame of the reference video at the time corresponding to the position of the slider 85c. The video playback module 30c then designates the time corresponding to the position of the slider 85c as a visualization target time for the reference variable value, and provides the designated visualization target time to the waveform display module 30b. The waveform display module 30b moves the position of the video playback line L3 so that it is located at the visualization target time provided by the video playback module 30c.

[0225] When performing waveform comparison in the waveform video synchronization mode, the waveform display module 30b, upon receiving a user's operation to move the video playback line L3, moves the position of the video playback line L3 and specifies the time corresponding to the position of the video playback line L3 as the visualization target time of the reference video in the video playback module 30c. As a result, the video playback module 30c plays a frame of the reference video at the time corresponding to the position of the video playback line L3. Furthermore, upon receiving a user's operation to move the slider 85c, the video playback module 30c plays a frame at the time corresponding to the position of the slider 85c and specifies the time corresponding to the position of the slider 85c as the visualization target time of the reference variable value in the waveform display module 30b. The waveform display module 30b moves the position of the video playback line L3 according to the specified visualization target time. In this way, by exchanging the visualization target time of the reference variable value between the waveform display module 30b and the video playback module 30c, the visualization target time of the reference variable value in the waveform display module 30b and the video playback module 30c can be synchronized.

[0226] In addition, the synchronization of the visualization target times of the reference variable values ​​in the waveform display module 30b and the video playback module 30c is performed independently of the synchronization of the visualization target times of the variable values ​​to be visualized in the waveform display module 30b and the video playback module 30c.

[0227] In addition, while FIG. 17 shows an example of a configuration in which the third window 82 and the fifth window 83 are displayed side by side on the display 120, the waveform display module 30b can also be configured to display the variable graph 82a included in the third window 82 and the reference variable graph 83a included in the fifth window 83 in an overlapping manner.

[0228] <Modification> In the above description, the information processing system 100 is configured by one PC 100A. However, the information processing system 100 may be configured by multiple computers. For example, the information processing system 100 may be configured by a first computer that realizes one or more visualization modules 30, and a second computer that realizes the reproduction module 40 and the time designation module 45.

[0229] §3 Usage example Finally, a usage example of the information processing system according to the present embodiment will be described.

[0230] In a scene where the cause of an abnormal operation that has occurred in the manufacturing system shown in FIG. 1 is to be investigated, the user first operates the play button 73a or the button 73d for moving to the beginning included in the play button group 73 in the first window 70 shown in FIG. 5 to set the multiple visualization modules 30 to the overall synchronization mode. In the overall synchronization mode, in a certain aspect, the user can check the time when the abnormality occurred from the video data 55 played in the video playback module 30c. Then, by referring to the execution status of the control program shown in the second window 80 of the program display module 30a, the user can check the abnormal part of the control program around the time when the abnormality occurred.

[0231] In another aspect, the user can use the reproduction data search module 32 to search for an abnormality in the control program. For example, the user can search for a point where the abnormality detection flag transitioned from off to on. Then, by moving the cursor 71 included in the first window 70, the user can jump to the time corresponding to the abnormality and investigate the defective part of the control program.

[0232] If an abnormality or defect is found in the control program, the user can then operate the pause button 73b included in the play button group 73 to switch the multiple visualization modules 30 from the overall synchronization mode to the waveform video synchronization mode.

[0233] In the waveform video synchronization mode, the user can check the transition of the variable related to the abnormality in the variable graph 82a displayed in the third window 82 of the waveform display module 30b. By checking the video 84a displayed in the fourth window 84 of the video playback module 30c in accordance with the transition of the variable, the control state of the PLC 200 at the time when the abnormality occurred in the variable can be analyzed. Here, the user can check in detail the time when the abnormality occurred in the variable and the control state before and after by moving the video playback line L2 or the slider 84c of the seek bar 84b.

[0234] In addition, by using the waveform comparison function, it is possible to verify what changes have occurred in the progression of the variable values ​​when an abnormality has occurred compared to normal times by comparing the variable graph 82a when an abnormality has occurred and the reference variable graph 83a displayed on the waveform display module 30b.

[0235] When the user wants to check another defective part, the user can return the multiple visualization modules 30 to the global synchronization mode by operating the play button 73a included in the play button group 73 of the first window 70. When the user returns to the global synchronization mode, the program display module 30a resumes displaying the execution status of the control program from the point where the playback was paused. In this way, the user can use the global synchronization mode and the waveform video mode depending on the content to be checked.

[0236] § 4 Supplementary Note As described above, the present embodiment includes the following disclosure.

[0237] (Configuration 1) An information processing system (100, 100A), A plurality of visualization modules (30, 30a to 30c, 101) for visualizing variable values ​​of a visualization target that represent a control state of a programmable logic controller (200); a reproduction module (40, 40a, 101) that sequentially reproduces variable values ​​held by the programmable logic controller (200) for each control period of the programmable logic controller (200) during a target period, based on a time series data set (50) recorded by the programmable logic controller (200), the plurality of visualization modules (30, 30a to 30c, 101) have a first mode in which the variable values ​​reproduced by the reproduction module (40, 40a, 101) are acquired as variable values ​​of the visualization target, The plurality of visualization modules (30, 30a to 30c, 101) a program display module (30a) for displaying a window in which the variable values ​​to be visualized are described on a ladder diagram representing a control program; a waveform display module (30b) for displaying a window including a variable graph showing the transition of the variable value of the visualization target; a video playback module (30c) that plays a video represented by video data obtained by shooting during the target period; The information processing system (100, 100A) includes a first synchronization mode in which the plurality of visualization modules (30, 30a to 30c, 101) synchronize the visualization target times in the program display module (30a), the waveform display module (30b), and the video playback module (30c), and a second synchronization mode in which the visualization target times in the waveform display module (30b) and the video playback module (30c) are synchronized, and in the first mode, transitions between the first synchronization mode and the second synchronization mode in response to user input.

[0238] (Configuration 2) The reproduction module (40, 40a, 101) further includes a time designation module (45, 45a, 101) for accepting a user input regarding reproduction of the reproduction module (40, 40a, 101), The reproduction module (40, 40a, 101) In response to the time designation module (45, 45a, 101) receiving a user input instructing playback, the plurality of visualization modules (30a to 30c) are set to the first synchronization mode; The information processing system (100, 100A) according to configuration 1, wherein the plurality of visualization modules (30a to 30c) are switched from the first synchronization mode to the second synchronization mode in response to the time designation module (45, 45a, 101) receiving a user input instructing to pause playback.

[0239] (Configuration 3) In the first synchronization mode, each of the waveform display module (30b) and the video playback module (30c) is set to not accept a user input specifying a visualization target time; In the information processing system (100, 100A) of configuration 1 or 2, in the second synchronization mode, each of the waveform display module (30b) and the video playback module (30c) is set to be able to accept user input specifying a visualization target time, and the specified visualization target times are exchanged between the waveform display module (30b) and the video playback module (30c), thereby synchronizing the visualization target times in the waveform display module (30b) and the video playback module (30c).

[0240] (Configuration 4) The time designation module (45, 45a, 101) sets a playback start counter value and playback conditions in response to a user input instructing playback, and outputs the set playback start counter value and the set playback conditions to the reproduction module; The reproduction module (40, 40a, 101) setting the plurality of visualization modules (30, 30a to 30c, 101) to the first synchronization mode according to the playback start counter value and the playback conditions received from the time designation module; updating the target counter value according to the reproduction condition, using the reproduction start counter value as the target counter value; The information processing system (100, 100A) according to configuration 2 or 3, which reproduces the variable value at a target time corresponding to the target counter value.

[0241] (Configuration 5) the time designation module (45, 45a, 101) sets the reproduction condition to set the reproduction speed to 0 in response to a user input instructing to pause the reproduction, and outputs the set reproduction condition to the reproduction module (40, 40a, 101); The information processing system (100, 100A) according to configuration 4, wherein the reproduction module (40, 40a, 101) switches the plurality of visualization modules (30, 30a to 30c, 101) from the first synchronization mode to the second synchronization mode and stops updating the target counter values ​​in accordance with the playback condition received from the time designation module (45, 45a, 101) that sets the playback speed to 0.

[0242] (Configuration 6) The video playback module (30c) in the first synchronous mode: Acquire the target time from the reproduction module (40, 40a, 101), and play a frame of the video at a time corresponding to the acquired target time; A setting is made such that a user's operation to move the playback position of the video data cannot be accepted; In the first synchronous mode, the waveform display module (30b) acquiring the target time from the reproduction module (40, 40a, 101), and displaying a first time line indicating the acquired target time on the variable graph; displaying a second time line on the variable graph, the second time line indicating the time of a frame of the video being played back by the video playback module (30c); The information processing system (100, 100A) according to configuration 5, further comprising: setting an operation of moving the second time line by a user to be unacceptable.

[0243] (Configuration 7) The video playback module (30c) in the second synchronous mode: A setting is made to be able to accept a user's operation of moving a playback position of the video data; updating a time of a frame to be played back in response to the operation of moving the playback position; designating the visualization target time based on the playback position, and providing the designated visualization target time to the waveform display module (30b); In the second synchronous mode, the waveform display module (30b) The information processing system (100, 100A) according to configuration 6, wherein the second time line indicating the visualization target time provided from the video playback module is displayed on the variable graph.

[0244] (Configuration 8) In the second synchronous mode, the waveform display module (30b) A setting is made to be able to accept a movement operation of the second time line by a user; moving the position of the second time line in response to the movement operation of the second time line; designating a time corresponding to the position of the second time line as the visualization target time, and providing the designated visualization target time to the video playback module (30c); The video playback module (30c) in the second synchronous mode: The information processing system (100, 100A) according to configuration 6 or 7, which reproduces a frame at a time corresponding to the visualization target time provided from the waveform display module (30b).

[0245] (Configuration 9) In the second synchronous mode, the waveform display module (30b) displaying, in response to a user input, a reference variable graph showing a transition of the variable value of the visualization target in the past together with the variable graph showing a transition of the variable value of the visualization target during the target period; The video playback module (30c) in the second synchronous mode: A video represented by the video data obtained by shooting during the target period is played back, and a reference video represented by the reference video data obtained by shooting during a reference target period corresponding to the reference variable graph is played back; updating a time of a frame of the reference moving image being played back in response to a user's operation to move a playback position of the reference moving image data; designating a reference visualization target time based on a playback position of the reference moving image data, and providing the designated reference visualization target time to the waveform display module (30b); In the second synchronous mode, the waveform display module (30b) The information processing system (100, 100A) according to configuration 6, wherein a third time line indicating the reference visualization target time provided from the video playback module (30c) is displayed on the reference variable graph.

[0246] (Configuration 10) In the second synchronous mode, the waveform display module (30b) moving a position of the third time line in response to a user's operation of moving the third time line; designating a time corresponding to the position of the third time line as the reference visualized target time, and providing the designated reference visualized target time to the video playback module (30c); The video playback module (30c) in the second synchronous mode: The information processing system (100, 100A) according to configuration 9, wherein a frame of the reference moving image at a time corresponding to the reference visualization target time provided from the waveform display module (30b) is played back.

[0247] (Configuration 11) The plurality of visualization modules (30, 30a to 30c, 101) further have a second mode in which a variable value currently held by the programmable logic controller (200) is acquired as a variable value to be visualized; The information processing system (100, 100A) of any one of configurations 1 to 10 further includes a selection unit (19, 101) that selects one mode from a plurality of modes including the first mode and the second mode in response to an instruction.

[0248] (Configuration 12) An information processing method in an information processing device including a plurality of visualization modules (30, 30a to 30c, 101) for visualizing variable values ​​of a visualization target that represents a control state of a programmable logic controller (200), comprising: a step of sequentially reproducing variable values ​​held by the programmable logic controller (200) for each control period of the programmable logic controller (200) during the target period based on a time series data set (50) recorded by the programmable logic controller (200); sending the reproduced variable values ​​to the plurality of visualization modules (30, 30a to 30c, 101) as variable values ​​to be visualized; The plurality of visualization modules (30, 30a to 30c, 101) a program display module (30a) for displaying a window in which the variable values ​​to be visualized are described on a ladder diagram representing a control program; a waveform display module (30b) for displaying a window including a variable graph showing the transition of the variable value of the visualization target; a video playback module (30c) that plays a video represented by video data obtained by shooting during the target period; The information processing method further includes a step of switching, in response to a user input, a synchronization mode of the plurality of visualization modules (30, 30a to 30c, 101) between a first synchronization mode in which visualization target times in the program display module (30a), the waveform display module (30b), and the video playback module (30c) are synchronized, and a second synchronization mode in which visualization target times in the waveform display module (30b) and the video playback module (30c) are synchronized.

[0249] (Configuration 13) A program (133) for causing a computer (100A) including a plurality of visualization modules (30, 30a to 30c, 101) to visualize variable values ​​of a visualization target that represents a control state of a programmable logic controller (200) to execute an information processing method, The information processing method includes: a step of sequentially reproducing variable values ​​held by the programmable logic controller (200) for each control period of the programmable logic controller (200) during the target period based on a time series data set (50) recorded by the programmable logic controller (200); sending the reproduced variable values ​​to the plurality of visualization modules (30, 30a to 30c, 101) as variable values ​​to be visualized; The plurality of visualization modules (30, 30a to 30c, 101) a program display module (30a) for displaying a window in which the variable values ​​to be visualized are described on a ladder diagram representing a control program; a waveform display module (30b) for displaying a window including a variable graph showing the transition of the variable value of the visualization target; a video playback module (30c) that plays a video represented by video data obtained by shooting during the target period; The program (133) further includes a step of switching, in response to a user input, a synchronization mode of the plurality of visualization modules (30, 30a to 30c, 101) between a first synchronization mode in which visualization target times in the program display module (30a), the waveform display module (30b), and the video playback module (30c) are synchronized, and a second synchronization mode in which visualization target times in the waveform display module (30b) and the video playback module (30c) are synchronized.

[0250] Although the embodiments of the present disclosure have been described, the embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present disclosure is defined by the claims, and it is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]

[0251] 1 manufacturing system, 11 control program editing section, 12 data type definition editing section, 13 data type memory map generation section, 14 sampling setting section, 15 build processing section, 16 reproduction PLC generation section, 17 PLC communication control section, 18 reproduction PLC communication control section, 19 data accessor, 21 program execution section, 22 data collection section, 30 visualization module, 30a program display module, 30b waveform display module, 30c video playback module, 30d troubleshooting display module, 32 reproduction data search module, 40 reproduction module, 40a reproduction PLC, 41 time control module, 41a, 41b clock management section, 42 controller control state reproduction function, 42a, 42b time series data management section, 43a synchronization mode management section, 45 time designation module, 45a reproduction PLC clock operation section, 50 time series data set, 55 video data, 60 data type memory map, 70 first window, 71 cursor, 72 Display area, 73 Playback button group, 73a Playback button, 73b Pause button, 73c Stop button, 74 Playback speed input field, 100 Information processing system, 100A PC, 101 Processor, 102, 206 Memory, 103, 208 Storage, 104 Input interface, 105 Display controller, 106 Communication interface, 107, 270 Reader / writer, 110 Input device, 120 Display, 131 Development program, 132 Viewer program, 133 Reproduction program, 200 PLC, 201 Power supply circuit, 202 CPU, 204 Chip set, 211 System program, 213 Scheduler program, 214 Program data set, 250 USB controller, 252 Field network controller, 252a, 254a Connector, 254 Network controller, 260 Timer, 300 Field device, 400 Network camera, 500 Network storage, 600 storage medium, 700 PLC simulator, 702 virtual memory, L1 first time line (reproduced PLC current time line), L2 second time line (video playback line), L3 third time line (video playback line).

Claims

1. An information processing system, a plurality of visualization modules for visualizing variable values ​​of visualization targets that represent control states of the programmable logic controller; a reproduction module that sequentially reproduces variable values ​​held by the programmable logic controller for each control period of the programmable logic controller during a target period, based on a time series data set recorded by the programmable logic controller during the target period; the plurality of visualization modules have a first mode in which the variable values ​​reproduced by the reproduction modules are acquired as the variable values ​​of the visualization target; The plurality of visualization modules include: a program display module that displays a window in which the variable values ​​to be visualized are written on a ladder diagram representing a control program; a waveform display module that displays a window including a variable graph showing the transition of the variable value of the visualization target; a video playback module that plays back a video represented by video data obtained by shooting during the target period; an information processing system, wherein the plurality of visualization modules have a first synchronization mode that synchronizes the visualization target times in the program display module, the waveform display module, and the video playback module, and a second synchronization mode that synchronizes the visualization target times in the waveform display module and the video playback module, and in the first mode, transitions between the first synchronization mode and the second synchronization mode in response to user input.

2. a time designation module that accepts a user input regarding the reproduction of the reproduction module; The reproduction module setting the plurality of visualization modules to the first synchronization mode in response to the time designation module receiving a user input instructing playback; The information processing system according to claim 1 , wherein the plurality of visualization modules are switched from the first synchronization mode to the second synchronization mode in response to the time designation module receiving a user input instructing to pause playback.

3. In the first synchronization mode, each of the waveform display module and the video playback module is set to be unable to accept a user input specifying a visualization target time; 3. The information processing system of claim 2, wherein in the second synchronization mode, each of the waveform display module and the video playback module is configured to be able to accept user input specifying the visualization target time, and the specified visualization target time is exchanged between them, thereby synchronizing the visualization target times in the waveform display module and the video playback module.

4. the time designation module sets a playback start counter value and playback conditions in response to a user input instructing playback, and outputs the set playback start counter value and playback conditions to the reproduction module; The reproduction module setting the plurality of visualization modules to the first synchronization mode according to the playback start counter value and the playback conditions received from the time designation module; updating the target counter value according to the playback condition, using the playback start counter value as the target counter value; The information processing system according to claim 2 , wherein the variable value at the target time corresponding to the target counter value is reproduced.

5. the time designation module sets the playback condition to set the playback speed to 0 in response to a user input instructing a pause of the playback, and outputs the set playback condition to the reproduction module; 5. The information processing system according to claim 4, wherein the reproduction module switches the plurality of visualization modules from the first synchronization mode to the second synchronization mode and stops updating the target counter value in accordance with the playback condition received from the time designation module, which sets the playback speed to 0.

6. In the first synchronization mode, the video playback module: acquiring the target time from the reproduction module, and playing back a frame of the video at a time corresponding to the acquired target time; A setting is made such that a user's operation to move the playback position of the video data cannot be accepted; In the first synchronization mode, the waveform display module: acquiring the target time from the reproduction module, and displaying a first time line indicating the acquired target time on the variable graph; displaying a second time line on the variable graph, the second time line indicating the time of a frame of the video being played by the video playback module; The information processing system according to claim 5 , wherein an operation to move the second time line by a user is set to be unacceptable.

7. In the second synchronization mode, the video playback module: A setting is made to be able to accept a user's operation to move the playback position of the video data; updating the time of the frame to be played in response to the operation of moving the playback position; designating the visualization target time based on the playback position, and providing the designated visualization target time to the waveform display module; In the second synchronization mode, the waveform display module: The information processing system according to claim 6 , wherein the second time line indicating the visualization target time given from the video playback module is displayed on the variable graph.

8. In the second synchronization mode, the waveform display module: A setting is made to allow a user to move the second time line; moving the position of the second time line in response to the movement operation of the second time line; designating a time corresponding to the position of the second time line as the visualization target time, and providing the designated visualization target time to the video playback module; In the second synchronization mode, the video playback module:

8. The information processing system according to claim 7, wherein a frame at a time corresponding to the visualization target time provided from said waveform display module is reproduced.

9. In the second synchronization mode, the waveform display module: displaying, in response to a user input, a reference variable graph showing past transitions of the variable values ​​of the visualization target together with the variable graph showing transitions of the variable values ​​of the visualization target during the target period; In the second synchronization mode, the video playback module: playing a video represented by the video data obtained by shooting during the target period, and playing a reference video represented by reference video data obtained by shooting during a reference target period corresponding to the reference variable graph; updating the time of a frame of the reference moving image data being played back in response to a user's operation to move the playback position of the reference moving image data; designating a reference visualization target time based on a playback position of the reference video data, and providing the designated reference visualization target time to the waveform display module; In the second synchronization mode, the waveform display module:

7. The information processing system according to claim 6, wherein a third time line indicating the reference visualization target time given from the video playback module is displayed on the reference variable graph.

10. In the second synchronization mode, the waveform display module: moving the position of the third time line in response to a user's operation to move the third time line; designating a time corresponding to the position of the third time line as the reference visualized target time, and providing the designated reference visualized target time to the video playback module; In the second synchronization mode, the video playback module: The information processing system according to claim 9 , wherein frames of the reference moving image at times corresponding to the reference visualization target times provided from the waveform display module are played back.

11. the plurality of visualization modules further have a second mode in which they acquire variable values ​​currently held by the programmable logic controller as the variable values ​​to be visualized; The information processing system according to claim 1 , further comprising a selection unit that selects one mode from a plurality of modes including the first mode and the second mode in response to an instruction.

12. 1. An information processing method in an information processing device including a plurality of visualization modules that visualize variable values ​​of a visualization target that represent a control state of a programmable logic controller, comprising: a step of sequentially reproducing variable values ​​held by the programmable logic controller for each control cycle of the programmable logic controller during a target period based on a time series data set recorded by the programmable logic controller during the target period; sending the reproduced variable values ​​to the plurality of visualization modules as variable values ​​to be visualized; The plurality of visualization modules include: a program display module that displays a window in which the variable values ​​to be visualized are written on a ladder diagram representing a control program; a waveform display module that displays a window including a variable graph showing the transition of the variable value of the visualization target; a video playback module that plays back a video represented by video data obtained by shooting during the target period; The information processing method further includes a step of switching, in response to user input, the synchronization mode of the plurality of visualization modules between a first synchronization mode that synchronizes the visualization target times in the program display module, the waveform display module, and the video playback module, and a second synchronization mode that synchronizes the visualization target times in the waveform display module and the video playback module.

13. A program for causing a computer to execute an information processing method, the program comprising: a plurality of visualization modules for visualizing variable values ​​of a visualization target that represent a control state of a programmable logic controller; The information processing method includes: a step of sequentially reproducing variable values ​​held by the programmable logic controller for each control cycle of the programmable logic controller during a target period based on a time series data set recorded by the programmable logic controller during the target period; sending the reproduced variable values ​​to the plurality of visualization modules as variable values ​​to be visualized; The plurality of visualization modules include: a program display module that displays a window in which the variable values ​​to be visualized are written on a ladder diagram representing a control program; a waveform display module that displays a window including a variable graph showing the transition of the variable value of the visualization target; a video playback module that plays back a video represented by video data obtained by shooting during the target period; The program further includes a step of switching, in response to user input, the synchronization mode of the plurality of visualization modules between a first synchronization mode that synchronizes the visualization target times in the program display module, the waveform display module, and the video playback module, and a second synchronization mode that synchronizes the visualization target times in the waveform display module and the video playback module.

Citation Information

Patent Citations

  • Engineering tool for programmable logic controller

    JP2020013528A

Cited By

  • System, method, and program for reproducing change in one or more pieces of data in control device

    WO2026191513A1