Information processing system, information processing method, and program

The information processing system allows easy integration of new visualization modules for programmable logic controllers by using a reproduction module to reproduce variable values, addressing the inefficiencies of modifying existing modules in engineering tools.

JP2024154541APending Publication Date: 2024-10-31OMRON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023068402
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing engineering tools require users to modify existing software modules when adding new visualization modules for programmable logic controllers, leading to time and effort inefficiencies.

Method used

An information processing system with visualization modules that obtain variable values reproduced by a reproduction module, allowing new modules to be easily added without modifying existing ones, using a reproduction module that sequentially reproduces variable values based on time-series data sets.

Benefits of technology

Enables easy addition of new visualization modules for programmable logic controllers, facilitating efficient visualization of control states without requiring modifications to existing software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154541000001_ABST
    Figure 2024154541000001_ABST
Patent Text Reader

Abstract

To provide an information processing system capable of easily adding a module that visualizes variable values to be visualized.SOLUTION: An information processing system comprises: one or more visualization modules for visualizing variable values to be visualized that represent a control state of a PLC; and a reproduction module for sequentially reproducing variable values held by the PLC for each first control cycle of the PLC in a target period on the basis of a time-series data set recorded by the PLC in the target period. One or more visualization modules acquire the variable values reproduced by the reproduction module as variable values to be visualized.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] In the engineering tool disclosed in Patent Document 1, when the display target time is updated in any one of the multiple software modules, the synchronization means reflects the updated display target time in the remaining software modules. That is, the display target time is exchanged between the multiple software modules. Therefore, when adding a new software module that visualizes device values, the user needs to modify the existing software module to exchange the display target time with the new software module. As a result, it is time-consuming to add a new software module.

[0006] 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 enable easy addition of a module that visualizes variable values ​​to be visualized. [Means for solving the problem]

[0007] According to an example of the present disclosure, an information processing system includes one or more visualization modules that visualize variable values ​​of a visualization target that represents a control state of a programmable logic controller, and a reproduction module that sequentially reproduces variable values ​​held by the programmable logic controller for each first 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. The one or more visualization modules obtain the variable values ​​reproduced by the reproduction module as the variable values ​​of the visualization target.

[0008] According to this disclosure, 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 can be obtained as the variable values ​​of the visualization target, and there is no need to modify the existing visualization module. Therefore, the user can easily add a new visualization module.

[0009] In the above disclosure, the reproduction module reproduces the variable values ​​held by the programmable logic controller in the first control period following the target first control period in the target period, at a timing when a specified time has elapsed since reproducing the variable values ​​held by the programmable logic controller in the target first control period in the target period.

[0010] According to this disclosure, a user can grasp changes in variable values ​​held by a programmable logic controller during a target period by checking information visualized by one or more visualization modules.

[0011] In the above disclosure, the time series data set includes first time series data indicating a value of a first variable for each first control period in a target period, and second time series data indicating a value of a second variable for each second control period longer than the first control period in the target period. The reproduction module reads out a first target value of the first variable for the target first control period from the first time series data. The reproduction module reads out a second target value of the second variable for the target second control period that is prior to the target first control period and closest to the target first control period from the second time series data. The reproduction module determines the first target value and the second target value as variable values ​​held by the programmable logic controller in the target first control period.

[0012] According to this disclosure, even if there are a plurality of variables whose values ​​are updated at different control periods, the reproduction module can reproduce the variable values ​​held by the programmable logic controller.

[0013] In the above disclosure, the first time series data further indicates a first time for each first control period in the target period. The second time series data further indicates a second time for each second control period in the target period. The reproduction module refers to the table and reads out a first target value and a second target value from the first time series data and the second time series data, respectively. For each first control period in the target period, the table associates a counter value indicating the ordinal number of the first control period, a first time for the first control period, and a second time for the second control period that is before the first time for the first control period and is closest to the first time for the first control period. The reproduction module adds 1 to the target counter value every time a specified time has elapsed, and identifies the first time and the second time corresponding to the target counter value from the table. The reproduction module reads out the value of the first variable corresponding to the identified first time from the first time series data as the first target value, and reads out the value of the second variable corresponding to the identified second time from the second time series data as the second target value.

[0014] According to this disclosure, reproduction of a plurality of variable values ​​that are updated at mutually different control periods can be easily realized.

[0015] In the above disclosure, the specified time is selected from a time equal to the first control cycle and a time obtained by dividing the time of the first control cycle by a specified magnification.

[0016] According to this disclosure, when the specified time is the same as the first control period, the user can check the change in the control state of the programmable logic controller during the target period at the same speed as the actual change rate. Also, when the specified time is the first control period divided by a specified magnification, the user can check the change in the control state of the programmable logic controller during the target period at a speed faster than the actual change rate.

[0017] In the above disclosure, the information processing system further includes a selection unit that selects one mode from a plurality of modes including a first mode in which one or more visualization modules acquire variable values ​​reproduced by the reproduction module as variable values ​​to be visualized, and a second mode in which one or more visualization modules acquire variable values ​​currently held by the programmable logic controller as variable values ​​to be visualized.

[0018] 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.

[0019] According to another example of the present disclosure, an information processing method is an information processing method in an information processing device including one or more 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 sequentially reproducing variable values ​​held by the programmable logic controller for each first 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, and the one or more visualization modules acquiring the reproduced variable values ​​as variable values ​​of the visualization target.

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

[0021] These disclosures also enable a user to easily add a module that visualizes the variable values ​​of the visualization target. Effect of the Invention

[0022] According to the present disclosure, a user can easily add a module that visualizes the variable values ​​of the visualization target. [Brief description of the drawings]

[0023] [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] 11A and 11B are diagrams illustrating an example of a process of a time-series data management unit. [Figure 7] 11 is a diagram for explaining a method for switching the source from which variable values ​​to be visualized by one or more visualization modules are obtained. FIG. [Figure 8] FIG. 1 illustrates an example of the configuration of a PLC simulator. [Figure 9] 11 is a flowchart showing a processing flow of a PC in a playback mode. [Figure 10] 10 is a flowchart showing the process flow of a subroutine of step S3 shown in FIG. 9. [Figure 11] 10 is a flowchart showing the process flow of a subroutine of step S4 shown in FIG. 9. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0024] The embodiments of the present invention 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".

[0025] §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.

[0026] 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.

[0027] 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.

[0028] 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."

[0029] 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.

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

[0031] The one or more visualization modules 30 visualize on a screen the variable values ​​of the visualization target that represent the control state of the PLC 200. For example, the one or more visualization modules 30 include a visualization module that generates data showing a window including a graph showing the transition of the variable values ​​of the visualization target. Alternatively, the one or more visualization modules 30 may include a visualization module that generates data showing a window in which the variable values ​​of the visualization target are described on a ladder diagram that represents a control program.

[0032] The reproduction module 40 sequentially reproduces the variable values ​​held by the PLC 200 for each first control cycle 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."

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

[0034] 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.

[0035] 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.

[0036] 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 .

[0037] The one or more visualization modules 30 acquire variable values ​​indicated by the reproduction data as variable values ​​of the 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 the visualization target, and there is no need to modify the existing visualization module 30. Therefore, the user can easily add a new visualization module.

[0038] §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)).

[0039] The network camera 400 is installed in the field and captures at least a portion of one or more field devices 300 .

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

[0041] 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).

[0042] 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.

[0043] 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.

[0044] 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.

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

[0046] 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 the generation of the time series data set 50, a function for monitoring the execution status of the control program by the PLC 200 (hereinafter referred to as a "control program monitor function"), and a search function. The search function includes, for example, a function for searching for the timing at which a specified variable has changed in the execution status of the control program by the PLC 200.

[0047] 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 back a video represented by the video data 55.

[0048] When the development program 131 is started, the viewer program 132 is linked to the development program 131 and loaded into the memory 102 .

[0049] 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.

[0050] 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.

[0051] Each of the development program 131, the viewer program 132, and the reproduction program 133 may be provided incorporated not as a single program but as part of any program. In this case, processing according to the present embodiment is realized in cooperation with any program. Further, 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)).

[0052] <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.

[0053] 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.

[0054] 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.

[0055] 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.

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

[0057] 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 .

[0058] 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.

[0059] 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.

[0060] 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.

[0061] 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.

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

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

[0064] 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.

[0065] 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).

[0066] 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.

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

[0068] 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.

[0069] <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.

[0070] 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 one or more visualization modules 30 is realized by the processor 101 executing the development program 131 or the viewer program 132.

[0071] 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.

[0072] 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.

[0073] 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.

[0074] 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.

[0075] 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 installed in the PLC 200.

[0076] 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.

[0077] As described above, the one or more visualization modules 30 visualize the variable values ​​of the visualization target that represent the control state of the PLC 200 on the screen.

[0078] The PLC communication control unit 17 controls communication with the PLC 200. The PLC communication control unit 17 communicatively connects one or more visualization modules 30 and the PLC 200 in response to a user input.

[0079] The reproduction PLC communication control unit 18 communicatively connects one or more visualization modules 30 and the reproduction PLC 40a in response to a user input.

[0080] 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.

[0081] 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 is a period counter for the first control period. Therefore, the target counter value can represent the elapsed time from the start of the target period during which the variable value is to be reproduced.

[0082] 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.

[0083] The time-series data management unit 42a extracts data for a target time corresponding to a 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. In this way, the time-series data management unit 42a reproduces the variable values ​​held in the PLC 200 in the next first control cycle at the timing when a specified time has elapsed. 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.

[0084] 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.

[0085] 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.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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.

[0090] <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.

[0091] 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.

[0092] 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.

[0093] 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.

[0094] 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, a stop button, a pause button, a button for moving to the beginning, a button for moving to the end, and the like.

[0095] 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".

[0096] 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.

[0097] Specifically, when any button included in the playback 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 playback start counter value. For example, when the playback button is operated, the reproduction PLC clock operation unit 45a sets the counter value corresponding to the current position of the cursor 71 as the playback start counter value. When the button 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 playback start counter value.

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

[0099] Even when the stop button is operated, the reproduction PLC clock operation unit 45a sets a reproduction condition indicating a reproduction speed of "0." Alternatively, when the stop button is operated, the reproduction PLC clock operation unit 45a may instruct the reproduction PLC 40a to stop the reproduction process of the variable values.

[0100] 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.

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

[0102] <Example of processing by the time-series data management unit> Fig. 6 is a diagram for explaining an example of processing by the time series data management unit. Fig. 6 shows an example of processing for a time series data set 50 including time series data 51 indicating variable values ​​for each first control period in a target period and time series data 52 indicating variable values ​​for each second control period (>first control period) in the target period. The time series data 51 is an example of first time series data, and the time series data 52 is an example of second time series data.

[0103] The PLC 200 updates the values ​​of the variables "IntVar-A" and "BoolVar-A" every first control cycle. In the example shown in FIG. 6, the PLC 200 updates the values ​​of the variables "IntVar-A" and "BoolVar-A" at times T1, T2, T3, T4, and so on, which are included in the target period. The time difference between time Tk and time Tk+1 is the first control cycle. The PLC 200 generates time series data 51 for the variables whose values ​​are updated every first control cycle. That is, the time series data 51 indicates the values ​​of the variables "IntVar-A" and "BoolVar-A" at each of times T1, T2, T3, T4, and so on.

[0104] The PLC 200 updates the values ​​of the variables "IntVar-B" and "BoolVar-B" every second control cycle. In the example shown in FIG. 6, the PLC 200 updates the values ​​of the variables "IntVar-B" and "BoolVar-B" at times t1, t2, t3, .... The time difference between time tk and time tk+1 is the second control cycle. The PLC 200 generates time series data 52 for the variables whose values ​​are updated every second control cycle. In other words, the time series data 52 indicates the values ​​of the variables "IntVar-B" and "BoolVar-B" at each of times t1, t2, t3, ....

[0105] In this manner, the PLC 200 generates a time series data set 50 including time series data 51 indicating the variable values ​​for each first control cycle in the target period and time series data 52 indicating the variable values ​​for each second control cycle in the target period. The time series data set 50 is transferred to the PC 100A.

[0106] The time-series data management unit 42a analyzes the time-series data set 50 to create a lookup table 43. For each first control period in a target period, the lookup table 43 associates a counter value indicating the ordinal number of the first control period with a first time of the first control period and a second time of a second control period that is before the first time of the first control period and is closest to the first time of the first control period. When the counter value starts from 0, for example, the lookup table 43 associates a counter value "2" with time T3 of the third first control period and time t1 of the second control period (the first second control period) that is before time T3 and is closest to time T3.

[0107] The time series data management unit 42a identifies a first time and a second time corresponding to the target counter value received from the clock management unit 41a, from the lookup table 43. The time series data management unit 42a reads out a variable value corresponding to the identified first time from the time series data 51. The time series data management unit 42a reads out a variable value corresponding to the identified second time from the time series data 52. The time series data management unit 42a reproduces the read out variable value as a variable value held by the PLC 200 in the first control period corresponding to the target counter value in the target period.

[0108] For example, when the target counter value is "2", the time series data management unit 42a identifies times T3 and t1 as the first time and the second time corresponding to the target counter value from the lookup table 43. The time series data management unit 42a reads out the values ​​"3", "T" of the variables "intVar-A" and "BoolVar-A" corresponding to time T3 from the time series data 51. The time series data management unit 42a reads out the values ​​"10", "T" of the variables "intVar-B" and "BoolVar-B" corresponding to time t1 from the time series data 52. The time series data management unit 42a reproduces the read variable values ​​as the variable values ​​held by the PLC 200 in the third first control cycle in the target period.

[0109] <Switching modes> FIG. 7 is a diagram for explaining a method of switching the acquisition destination of the variable value of the visualization target by one or more visualization modules. As shown in FIG. 7, the PC 100A includes a program display module 30a, a waveform display module 30b, and a troubleshooting display module 30c as one or more visualization modules 30. The PC 100A further includes a video playback module 32 and a data accessor 19. The program display module 30a and the troubleshooting display module 30c 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 32 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.

[0110] 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.

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

[0112] The troubleshooting display module 30c generates data for a fourth window in which errors that have occurred in the control program are visualized in chronological order. The fourth window displays the name of the control program, the task, the error location, the error number, etc.

[0113] The video playback module 32 generates data for a fifth window in which the video captured by the network camera 400 is played. The fifth window is displayed on the display 120.

[0114] The second to fifth windows may be displayed side by side on display 120. Alternatively, only one or more of the second to fifth windows selected by the user may be displayed on display 120. In a playback mode, which will be described later, first window 70 shown in FIG. 5 is also displayed on display 120 in addition to the second to fifth windows.

[0115] The data accessor 19 is an example of a selection unit that selects one mode from among a plurality of modes, and switches the connection destinations of the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30c in response to a user input. The plurality of modes that the data accessor 19 has include a playback mode corresponding to the first mode, a real-time mode corresponding to the second mode, a simulation mode, and an offline mode. The playback mode is a mode in which one or more visualization modules 30 acquire variable values ​​reproduced by the reproduction PLC 40a as variable values ​​to be visualized. The real-time mode is a mode in which one or more visualization modules 30 acquire variable values ​​currently held by the PLC 200 as variable values ​​to be visualized. The simulation mode is a mode in which one or more visualization modules 30 acquire variable values ​​generated by a PLC simulator as variable values ​​to be visualized. The offline mode is a mode in which one or more visualization modules 30 do not visualize variable values.

[0116] When the data accessor 19 receives an instruction to switch to the playback mode, it switches the connection destination of the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30c to the reproduction PLC 40a. This allows the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30c to obtain the variable values ​​reproduced by the reproduction PLC 40a via the data accessor 19 as the variable values ​​to be visualized.

[0117] In the playback mode, the video playback module 32 plays back the video represented by the video data 55 obtained by shooting during the target period. The video playback module 32 displays in the fifth window a frame at a time corresponding to the target counter value managed by the clock management unit 41a of the reproduction PLC 40a.

[0118] 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 30c to the PLC 200. This allows the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30c to obtain, via the data accessor 19, the variable values ​​currently held in the memory 206 of the PLC 200 as the variable values ​​to be visualized.

[0119] In the real-time mode, the video playback module 32 displays the real-time video from the network camera 400 in the fifth window.

[0120] When the data accessor 19 receives an instruction to switch to the simulation mode, it switches the connection destination of the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30c to the PLC simulator 700. This allows the program display module 30a, the waveform display module 30b, and the troubleshooting display module 30c to obtain, via the data accessor 19, the variable values ​​currently held in the virtual memory 702 of the PLC simulator 700 as the variable values ​​to be visualized.

[0121] 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 c to any of the PLC 200 , the reproduction PLC 40 a , and the PLC simulator 700 .

[0122] Fig. 8 is a diagram showing an example of the configuration of a PLC simulator. The PLC simulator 700 is typically realized by a general-purpose computer. As shown in Fig. 8, the PLC simulator 700 includes a PLC logic emulator 704 and a PLC memory emulator 706. Furthermore, the control program 214a included in the program data set 214 shown in Fig. 4 is installed in the PLC simulator 700.

[0123] The PLC logic emulator 704 emulates the operation of the PLC 200 in accordance with the control program 214a.

[0124] The PLC memory emulator 706 generates a virtual memory 702 that mimics the memory 206 of the PLC 200 that operates according to the control program 214a.

[0125] It is conceivable that the variable values ​​held in the memory 206 of the PLC 200 during the target period can be reproduced by inputting data input to the PLC simulator 700 during the target period. However, the PLC simulator 700 does not simulate devices external to the PLC 200. In other words, the PLC simulator 700 cannot simulate feedback data from external devices. Therefore, the PLC simulator 700 cannot accurately reproduce the variable values ​​held in the memory 206 of the PLC 200 during the target period.

[0126] In contrast, the reproduction PLC 40a can reproduce the variable values ​​stored in the memory 206 of the PLC 200 for each first control cycle during the target period, using the time-series data set 50. These variable values ​​include all input values ​​from peripheral devices that operate together with the PLC 200, including feedback values ​​from external devices. Therefore, by switching the connection destination of one or more visualization modules 30 to the reproduction PLC 40a, the user can check the state of the PLC 200 during the target period, using one or more visualization modules 30.

[0127] <PC processing flow in playback mode> 9 is a flowchart showing the flow of processing by the PC in the playback mode. First, in step S1, the processor 101 of the PC 100A receives an instruction to start the playback mode.

[0128] Next, in step S2, the data accessor 19 sets the reproduction PLC 40a as a connection destination for one or more visualization modules 30. After step S2, parallel processing of steps S3 and S4 is executed.

[0129] In step S3, the reproduction PLC 40a reproduces the variable values ​​held by the PLC 200 for each first control cycle during the target period.

[0130] In step S4, the one or more visualization modules 30 acquire the variable values ​​to be visualized (i.e., the reproduced variable values) from the reproduction PLC 40a, and visualize the acquired variable values. After steps S3 and S4, the processor 101 ends the process.

[0131] FIG. 10 is a flowchart showing the process flow of the subroutine of step S3 shown in FIG.

[0132] In step S31, the clock management section 41a sets the reproduction start counter value, which is set in response to a user input to the first window 70 shown in FIG. 5, as the target counter value.

[0133] In the next step S32, the time series data management unit 42a uses the lookup table 43 to convert the target counter value into a target time of each piece of time series data included in the time series data set 50.

[0134] In the next step S33, 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.

[0135] In the next step S34, the clock management unit 41a judges whether or not a specified time has elapsed since the latest target counter value was set. The specified time is set in advance according to a user input to the first window 70 shown in Fig. 5. If the specified time has not elapsed (NO in step S34), the process returns to step S34.

[0136] If the specified time has elapsed (YES in step S34), the clock management unit 41a advances the target counter value by 1 in step S35.

[0137] In the next step S36, the time-series data management unit 42a determines whether the target counter value exists in the lookup table 43 or not.

[0138] If the target counter value exists in the lookup table 43 (YES in step S36), the process returns to step S32.

[0139] If the target counter value does not exist in the lookup table 43 (YES in step S36), the data accessor 19 switches one or more visualization modules 30 to the offline mode in step S37. After step S37, the process of step S3 ends.

[0140] FIG. 11 is a flowchart showing the process flow of the subroutine of step S4 shown in FIG.

[0141] In step S41, one or more visualization modules 30 issue a variable acquisition request to the data accessor 19.

[0142] In the next step S42, the data accessor 19 issues a variable acquisition request to the reproduction PLC 40a.

[0143] In the next step S43, the data accessor 19 acquires the reproduced variable values ​​from the reproduction PLC 40a, whereby the one or more visualization modules 30 acquire the reproduced variable values.

[0144] In a next step S44, one or more visualization modules 30 visualize the obtained variable values.

[0145] In the next step S45, the data accessor 19 determines whether or not the mode has been switched to the offline mode.

[0146] If the mode has not been switched to the offline mode (NO in step S45), the one or more visualization modules 30 determine in step S46 whether a predetermined monitoring period has elapsed since the latest variable acquisition request was issued. The monitoring period is, for example, 100 ms, but is not limited to this.

[0147] If the monitoring period has not elapsed (NO in step S46), the process returns to step S45. If the monitoring period has elapsed (YES in step S46), the process returns to step S41.

[0148] If the mode has been switched to the offline mode (YES in step S45), the process of step S4 ends, whereby the one or more visualization modules 30 end visualization of the variable values.

[0149] <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.

[0150] Alternatively, the information processing system 100 may be configured using a hardware environment other than a general-purpose PC, such as a virtual machine on a cloud.

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

[0152] (Configuration 1) An information processing system (100, 100A), One or more visualization modules (30, 30a to 30c, 101) that visualize 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 first control cycle 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) during the target period; The one or more visualization modules (30, 30a to 30c, 101) acquire the variable values ​​reproduced by the reproduction module (40, 40a, 101) as the variable values ​​to be visualized.

[0153] (Configuration 2) The information processing system (100, 100A) of configuration 1, wherein the reproduction module (40, 40a, 101) reproduces the variable value held by the programmable logic controller (200) in a first control period following the target first control period in the target period at a timing when a specified time has elapsed since reproducing the variable value held by the programmable logic controller (200) in a target first control period in the target period.

[0154] (Configuration 3) the time series data set (50) includes first time series data (51) indicating a value of a first variable for each first control period during the target period, and second time series data (52) indicating a value of a second variable for each second control period during the target period, the second control period being longer than the first control period; The reproduction module includes: A first target value of the first variable in a first control cycle of the target is read from the first time series data (51); A second target value of the second variable of a second control period of the target that is before the first control period of the target and is closest to the first control period of the target is read from the second time series data (52); The information processing system (100, 100A) according to configuration 2, wherein the first target value and the second target value are determined as the variable values ​​held by the programmable logic controller (200) in a first control period of the target.

[0155] (Configuration 4) the first time series data (51) further indicates a first time for each of the first control cycles in the target period; the second time series data (52) further indicates a second time for each of the second control cycles in the target period; the reproduction module (40, 40a, 101) refers to a table (43) to read out the first target value and the second target value from the first time series data (51) and the second time series data (52), respectively; the table (43) associates, for each of the first control cycles in the target period, a counter value indicating an ordinal number of the first control cycle, the first time of the first control cycle, and the second time of the second control cycle that is earlier than the first time of the first control cycle and is closest to the first time of the first control cycle; The reproduction module (40, 40a, 101) Add 1 to the target counter value each time the specified time has elapsed; Identifying the first time and the second time corresponding to the target counter value from the table (43); A value of the first variable corresponding to the identified first time is read out from the first time series data (51) as the first target value; The information processing system (100, 100A) according to configuration 3, wherein the value of the second variable corresponding to the identified second time is read out as the second target value from the second time series data (52).

[0156] (Configuration 5) An information processing system (100, 100A) according to any one of configurations 2 to 4, wherein the specified time is selected from a time equal to the first control period and a time obtained by dividing the time of the first control period by a specified multiplier.

[0157] (Configuration 6) The information processing system of any one of configurations 1 to 5, further comprising a selection unit (19, 101) that selects one mode from a plurality of modes including a first mode in which the one or more visualization modules (30, 30a to 30c, 101) acquire the variable value reproduced by the reproduction module (40, 40a, 101) as the variable value of the visualization target, and a second mode in which the one or more visualization modules (30, 30a to 30c, 101) acquire the variable value currently held by the programmable logic controller (200) as the variable value of the visualization target.

[0158] (Configuration 7) An information processing method in an information processing device including one or more visualization modules that visualizes variable values ​​of a visualization target that represent a control state of a programmable logic controller (200), comprising: Sequentially reproducing (S3) variable values ​​held by the programmable logic controller (200) for each first control cycle 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) during the target period; The one or more visualization modules (30, 30a to 30c, 101) acquire the reproduced variable values ​​as variable values ​​of the visualization target (S4).

[0159] (Configuration 8) A program (133) for causing a computer (100A) to execute an information processing method, the program (133) including one or more visualization modules for visualizing a variable value of a visualization target that represents a control state of a programmable logic controller (200), The information processing method includes: Sequentially reproducing (S3) variable values ​​held by the programmable logic controller (200) for each first control cycle 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) during the target period; The one or more visualization modules (30, 30a to 30c, 101) acquire the reproduced variable values ​​as the variable values ​​to be visualized (S4).

[0160] Although the embodiment of the present invention has been described, the embodiment disclosed herein should be considered as illustrative and not restrictive in all respects. The scope of the present invention 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]

[0161] 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 troubleshooting display module, 32 video playback module, 40 reproduction module, 40a reproduction PLC, 41 time control module, 41a clock management section, 42 controller control state reproduction function, 42a management section, 43 lookup table, 45 time designation module, 45a reproduction PLC clock operation section, 50 time series data set, 51, 52 time series data, 55 video data, 60 data type memory map, 70 first window, 71 cursor, 72 display area, 73 playback button group, 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 circuit, 202 CPU, 204 Chip set, 211 System program, 213 Scheduler program, 214 Program data set, 214a Control program, 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, 704 PLC logic emulator, 706 PLC memory emulator.

Claims

1. An information processing system, one or more visualization modules for visualizing variable values ​​of a visualization target that represent a control state of a programmable logic controller; a reproduction module that sequentially reproduces variable values ​​held by the programmable logic controller for each first 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, An information processing system, wherein the one or more visualization modules acquire the variable values ​​reproduced by the reproduction module as the variable values ​​of the visualization target.

2. 2. The information processing system according to claim 1, wherein the reproduction module reproduces the variable values ​​held by the programmable logic controller in a first control period following the first control period of the target in the target period at a timing when a specified time has elapsed since reproducing the variable values ​​held by the programmable logic controller in a first control period of the target in the target period.

3. the time series data set includes first time series data indicating a value of a first variable for each first control period during the target period, and second time series data indicating a value of a second variable for each second control period during the target period, the second control period being longer than the first control period; The reproduction module includes: reading out a first target value of the first variable in a first control period of the target from the first time series data; reading out a second target value of the second variable of a second control period of the target that is before the first control period of the target and is closest to the first control period of the target from the second time-series data; 3 . The information processing system according to claim 2 , wherein the first target value and the second target value are determined as the variable values ​​held by the programmable logic controller in a first control period of the target.

4. the first time series data further indicates a first time for each of the first control cycles in the target period; the second time series data further indicates a second time for each of the second control cycles in the target period; the reproduction module refers to a table to read out the first target value and the second target value from the first time series data and the second time series data, respectively; the table associates, for each of the first control periods in the target period, a counter value indicating an ordinal number of the first control period, the first time of the first control period, and the second time of the second control period that is earlier than the first time of the first control period and is closest to the first time of the first control period; The reproduction module includes: Incrementing the target counter value by 1 each time the specified time elapses; identifying the first time and the second time corresponding to the target counter value from the table; reading, from the first time-series data, a value of the first variable corresponding to the identified first time as the first target value; The information processing system according to claim 3 , further comprising: reading, from the second time series data, a value of the second variable corresponding to the specified second time as the second target value.

5. The information processing system according to claim 2 , wherein the specified time is selected from a time equal to the first control cycle and a time obtained by dividing the time of the first control cycle by a specified magnification.

6. The information processing system according to any one of claims 1 to 5, further comprising a selection unit that selects one mode from a plurality of modes including a first mode in which the one or more visualization modules acquire the variable value reproduced by the reproduction module as the variable value of the visualization target, and a second mode in which the one or more visualization modules acquire the variable value currently held by the programmable logic controller as the variable value of the visualization target.

7. An information processing method in an information processing device including one or more visualization modules that visualizes variable values ​​of a visualization target that represents a control state of a programmable logic controller, comprising: Sequentially reproducing variable values ​​held by the programmable logic controller for each first 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; The one or more visualization modules acquire the reproduced variable values ​​as variable values ​​of the visualization target.

8. A program for causing a computer to execute an information processing method, the program comprising: one or more visualization modules for visualizing variable values ​​of a visualization target that represents a control state of a programmable logic controller, the program comprising: The information processing method includes: Sequentially reproducing variable values ​​held by the programmable logic controller for each first 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; The one or more visualization modules acquire the reproduced variable values ​​as the variable values ​​of the visualization target.

Citation Information

Patent Citations

  • Engineering tool for programmable logic controller

    JP2020013528A