Programmable logic controller, information provision method, and program
The programmable logic controller authenticates server programs using pre-stored controller information for secure offline operation, addressing the need for secure server functionality in PLCs without internet connectivity.
Patent Information
- Application Number
- JP2026540799
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2025-10-24
- Filing Date
- 2026-02-26
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2046-02-26
AI Technical Summary
Existing programmable logic controllers (PLCs) in factory automation environments require server functionality but lack secure license authentication methods, especially in offline environments without internet connectivity.
A programmable logic controller equipped with an external memory interface, determination means, storage means, and program execution means to authenticate and execute server programs without internet connection, using pre-stored controller information and matching information for license verification.
Enables secure addition of server functionality to PLCs offline, ensuring proper program management and functionality without requiring internet connectivity.
Smart Images

Figure 0007954864000001 
Figure 0007954864000002 
Figure 0007954864000003
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to a programmable logic controller, an information providing method, and a program. BACKGROUND ART
[0002] SCADA (Supervisory Control And Data Acquisition) is known as a host system for collecting data in real time at Factory Automation (FA) sites to monitor and control systems. In recent years, SCADA capable of performing advanced analysis equivalent to that of BI (Business Intelligence) tools while accumulating data to execute monitoring and control has emerged.
[0003] However, to use SCADA, installation of a database server and training of administrators on complex tools are required. This leads to high introduction costs and training costs. In response to this, a technology for monitoring and analyzing data at relatively small-scale sites by providing the results of data collection and monitoring performed by on-site PLCs (Programmable Logic Controllers) to the outside via a server function has been proposed (see, for example, Patent Document 1). PRIOR ART DOCUMENTS PATENT DOCUMENTS
[0004] PATENT DOCUMENT 1 International Publication No. 2020 / 035935 SUMMARY OF THE INVENTION PROBLEMS TO BE SOLVED BY THE INVENTION
[0005] To equip a PLC with server functionality on-site, one simply needs to install a server program into the PLC. However, in factory automation (FA) environments, safety is paramount, so it's desirable that programs installed on PLCs be properly managed. Therefore, authenticating the program's usage license during installation is a viable option.
[0006] While PLCs are sometimes used in offline environments, applying general license authentication technologies that involve communication with certification authorities on the internet directly to PLCs is difficult. Therefore, it is desirable to appropriately add server functionality to PLCs without requiring an internet connection.
[0007] This disclosure aims to appropriately add server functionality to a PLC without requiring an internet connection. [Means for solving the problem]
[0008] To achieve the above objective, the programmable logic controller of this disclosure is a programmable logic controller connected to a client terminal via a network, and comprises: an external memory interface; determination means for determining whether a predetermined server program, program information specific to the server program in the external memory, and first matching information are stored in the external memory when connected to the external memory via the external memory interface; storage means for pre-storing controller information specific to the programmable logic controller; and program execution means for executing the server program to generate second matching information based on the program information and controller information when the determination means determines that the server program, program information, and first matching information are stored, and when the generated second matching information matches the first matching information, releasing the execution restrictions on the functions of the server program and providing the page generated by the function to the client terminal. [Effects of the Invention]
[0009] According to this disclosure, server functionality can be appropriately added to a PLC without requiring an internet connection. [Brief explanation of the drawing]
[0010] [Figure 1] Diagram showing the configuration of the analysis support system according to the embodiment. [Figure 2] A diagram showing the hardware configuration of the PLC according to the embodiment. [Figure 3] Diagram showing the functional configuration of the PLC according to the embodiment. [Figure 4] A diagram showing an example of an equipment mapping table according to the embodiment. [Figure 5] A diagram showing an example of an operating status mapping table according to the embodiment. [Figure 6] A diagram showing an example of an energy mapping table according to the embodiment. [Figure 7] A diagram showing an example of an alarm mapping table according to the embodiment. [Figure 8] A diagram showing an example of a tag group mapping table according to the embodiment. [Figure 9] A diagram showing an example of a tag mapping table according to the embodiment. [Figure 10] A diagram showing an example of a variety mapping table according to the embodiment. [Figure 11] A diagram showing an example of a time zone mapping table according to the embodiment. [Figure 12] A diagram showing an example of a worker mapping table according to the embodiment. [Figure 13] A diagram showing an example of an operational status collection mapping table according to the embodiment. [Figure 14] A diagram showing an example of an energy collection mapping table according to the embodiment. [Figure 15] A diagram showing an example of a production quantity collection mapping table according to the embodiment. [Figure 16] A diagram showing an example of a time measurement mapping table according to the embodiment. [Figure 17] Diagram showing an example of an alarm collection mapping table according to the embodiment [Figure 18] Diagram showing an example of a type collection mapping table according to the embodiment [Figure 19] Diagram showing an example of a worker collection mapping table according to the embodiment [Figure 20] First flowchart illustrating analysis support processing according to the embodiment [Figure 21] Diagram for explaining license authentication according to the embodiment [Figure 22] Second flowchart illustrating analysis support processing according to the embodiment [Figure 23] Diagram showing a first example of a setting page according to the embodiment [Figure 24] Diagram showing a second example of a setting page according to the embodiment [Figure 25] Diagram showing a third example of a setting page according to the embodiment [Figure 26] Diagram showing a fourth example of a setting page according to the embodiment [Figure 27] Diagram showing a fifth example of a setting page according to the embodiment [Figure 28] Diagram showing an example of a design page according to the embodiment [Figure 29] Diagram showing an example of collected data according to the embodiment [Figure 30] Diagram showing a first example of a Web page according to the embodiment [Figure 31] Diagram showing a second example of a Web page according to the embodiment [Figure 32] Diagram showing a third example of a Web page according to the embodiment [Figure 33] Diagram showing a fourth example of a Web page according to the embodiment [Figure 34] Diagram showing a fifth example of a Web page according to the embodiment [Figure 35] Diagram showing a sixth example of a Web page according to the embodiment [Figure 36] Diagram showing a seventh example of a Web page according to the embodiment [Figure 37] A diagram showing an eighth example of a web page according to the embodiment. [Figure 38] A diagram showing the ninth example of a web page according to the embodiment. [Figure 39] A diagram showing the tenth example of a web page according to the embodiment. [Figure 40] A diagram showing the 11th example of a web page according to the embodiment. [Figure 41] Figure showing the 12th example of a web page according to the embodiment. [Figure 42] Figure showing the 13th example of a web page according to the embodiment. [Figure 43] Figure showing the 14th example of a web page according to the embodiment. [Modes for carrying out the invention]
[0011] The analysis support system according to the embodiment of this disclosure will be described in detail below with reference to the drawings.
[0012] Embodiment. The analysis support system 1000 according to this embodiment, as shown in Figure 1, is a system that monitors the operating status of multiple pieces of equipment 40 in a factory 1001 and supports analysis by a user U1 for improving operating efficiency. The analysis support system 1000 includes a control system that realizes line processes, such as workpiece manufacturing, machining, and inspection, by controlling multiple pieces of equipment 40.
[0013] The analysis support system 1000 includes a PLC 10 that controls multiple pieces of equipment 40 and performs various functions by being connected to an external memory 20, a terminal 30 that displays information generated by the PLC 10 on a display unit to present it to the user U1, and multiple pieces of equipment 40 controlled by the PLC 10.
[0014] PLC10 is connected to equipment 40 via a field network or a network such as a LAN (Local Area Network). PLC10 is also connected to terminal 30 via a communication line such as a USB (Universal Serial Bus) cable or a network such as a LAN or WAN (Wide Area Network). Wireless communication may be used for all or part of the communication path between PLC10 and terminal 30. Furthermore, PLC10, terminal 30, and equipment 40 may be connected to each other via the same network.
[0015] The PLC10 is a control device that controls the equipment 40 in coordination by sharing a device value 50 with each of the equipment 40. The device value 50 is shared by periodically synchronizing the device values 50 in the control memories of both the PLC10 and the equipment 40. In Figure 1, only one device value 50 is shown as a representative example, but normally, multiple device values 50 are shared.
[0016] Equipment 40 corresponds to a partner with whom the PLC 10 shares the device value 50. Each piece of equipment 40 has a control memory and includes a controller 41 that controls the equipment 42 based on the device value 50, and the equipment 42 to be controlled. The controller 41 is, for example, a PLC different from the PLC 10, a motion controller, a robot controller, an NC (Numerical Control) controller, a microcontroller, a PC (Personal Computer) based controller, or other control device. The equipment 42 is, for example, a sensor, a motor, an arm, an actuator, a cylinder, a robot, a machine tool, or other FA equipment. The controller 41 and the equipment 42 are connected to each other by, for example, a signal line that transmits current signals or voltage signals, or a communication line that transmits serial data. Note that if the equipment 42 has a control memory and a function to share the device value 50, this equipment 42 may constitute equipment 40 on its own, and the controller 41 may be omitted from equipment 40.
[0017] The PLC 10 acquires the sensing result by sharing a device value 50, which indicates the sensing result from a sensor device 42, with the equipment 40 that contains the device 42. The PLC 10 also calculates an operation command for the robot through calculation processing based on the sensing result, and shares the device value 50 indicating the calculated operation command with the equipment 40 that includes the robot as device 42, thereby realizing robot control based on the sensing result. As a result, for example, the process of sequentially detecting workpieces being transported on a belt conveyor and processing those workpieces is repeatedly executed.
[0018] As described above, device value 50 is used for control and therefore represents the control state. Furthermore, the control processing by PLC10 may be designed so that device values 50 representing various states of equipment 40, distinct from the minimum device value 50 required for control, are shared between PLC10 and equipment 40. In other words, device values 50 for monitoring various states of equipment 40 may be shared between PLC10 and equipment 40. PLC10 is an example of a programmable logic controller that connects to multiple pieces of equipment in a terminal and factory, and controls multiple pieces of equipment in coordination by sharing device values with each piece of equipment.
[0019] Figure 2 shows the hardware configuration of the PLC 10 as a computer. As shown in Figure 2, the PLC 10 has a control function module 100 for controlling the equipment 40 and a display function module 110 for monitoring the device value 50 and providing information to user U1. The control function module 100 has a first processor 101, a first main memory unit 102, a first auxiliary memory unit 103, an input unit 104, an output unit 105, and a first communication unit 106.
[0020] The first processor 101 includes a processing circuit such as a CPU (Central Processing Unit), MPU (Micro Processing Unit), ASIC (Application Specific Integrated Circuit), or FPGA (Field Programmable Gate Array), and a cache memory represented by SRAM (Static Random Access Memory). The first processor 101 realizes various control functions by executing a program P1 stored in the first auxiliary storage unit 103. The first main memory unit 102 includes RAM (Random Access Memory), represented by DRAM (Dynamic Random Access Memory). Program P1 is loaded into the first main memory unit 102 from the first auxiliary storage unit 103. The first main memory unit 102 is then used as a working area for the first processor 101.
[0021] Program P1 includes, for example, a control program that defines the content of the control process for controlling the equipment 40. The control program is, for example, a ladder program. The control program may be created by user U1 using engineering tools, or it may be created by the manufacturer of PLC 10 and pre-programmed into PLC 10.
[0022] The first auxiliary storage unit 103 includes non-volatile memory such as semiconductor flash memory, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), and HDD (Hard Disk Drive). In addition to program P1, the first auxiliary storage unit 103 stores various data, including device values 50 and variables used in the processing of the first processor 101. The first auxiliary storage unit 103 supplies data to be used by the first processor 101 according to the instructions of the first processor 101. The first auxiliary storage unit 103 also stores data supplied from the first processor 101. When the ladder program is executed, the device values 50 and variables stored in the control storage area of the first auxiliary storage unit 103 are used.
[0023] The input unit 104 includes input components such as hardware switches, input keys, a keyboard, and a pointing device. The input unit 104 acquires information input by user U1 of the PLC 10 and notifies at least one of the first processor 101 and the second processor 111 of the acquired information. The output unit 105 includes output components such as an LED (Light Emitting Diode), an LCD (Liquid Crystal Display), and a speaker. The output unit 105 presents various information to user U1 according to instructions from at least one of the first processor 101 and the second processor 111. The LCD of the output unit 105 and the pointing device of the input unit 104 may be integrally configured as a touchscreen.
[0024] The first communication unit 106 includes a communication interface circuit for communicating with the equipment 40 via the network NW. The first communication unit 106 receives a signal from an external source and outputs the data indicated by this signal to the first processor 101. The first communication unit 106 also transmits a signal indicating the data output from the first processor 101 to the equipment 40.
[0025] The display function module 110 includes a second processor 111, a second main memory unit 112, a second auxiliary memory unit 113, a second communication unit 116, and an external memory interface 117.
[0026] The second processor 111 includes a processing circuit such as a CPU, MPU, ASIC, or FPGA, and a cache memory such as SRAM. The second processor 111 performs various functions and executes the processing described later by executing program P2 stored in the second auxiliary storage unit 113 and server program P3 in the external memory 20. The second main memory unit 112 includes RAM such as DRAM. Program P2 is loaded into the second main memory unit 112 from the second auxiliary storage unit 113, and server program P3 is loaded from the second auxiliary storage unit 113 or the external memory 20. The second main memory unit 112 is then used as a working area for the second processor 111. The following description will focus on an example in which server program P3 is loaded from the external memory 20.
[0027] The second auxiliary storage unit 113 includes non-volatile memory such as semiconductor flash memory, EPROM, EEPROM, and HDD. In addition to program P2, the second auxiliary storage unit 113 stores various data used in the processing of the second processor 111. The second auxiliary storage unit 113 supplies data to be used by the second processor 111 according to the instructions of the second processor 111. The second auxiliary storage unit 113 also stores data supplied from the second processor 111.
[0028] The second communication unit 116 includes a communication interface circuit for communicating with the terminal 30. The second communication unit 116 receives a signal from the terminal 30 and outputs the data indicated by this signal to the second processor 111. The second communication unit 116 also transmits a signal indicating the data output from the second processor 111 to the terminal 30.
[0029] The external memory interface 117 connects to the external memory 20 and includes an interface circuit for reading data from the external memory 20 and writing data to the external memory 20. The external memory 20 is a recording medium such as a memory card, IC (Integrated Circuit) card, magnetic disk, flexible disk, optical disk, compact disk, minidisc, or DVD (Digital Versatile Disc), and is a storage device of a size and weight that can be easily carried by user U1. The external memory interface 117 reads data to be used by the second processor 111 from the external memory 20 and supplies it to the second processor 111 according to the instructions of the second processor 111. The external memory interface 117 also stores the data supplied by the second processor 111 in the external memory 20.
[0030] Each component of the control function module 100 and each component of the display function module 110 are connected to each other via the internal bus 107. Alternatively, the input unit 104 and output unit 105 may be omitted from the control function module 100, and the display function module 110 may have the input unit 104 and output unit 105.
[0031] The aforementioned hardware configuration works together to enable the PLC 10 to perform various functions for providing user U1 with information indicating the operating status of the equipment 40. Specifically, as shown in Figure 3, the PLC 10 includes, as its functions, a control communication unit 11 that performs communication to control the equipment 40, a control memory 12 shared with the equipment 40, a determination unit 13 that determines whether predetermined data is stored in the external memory 20 when the external memory 20 is connected, a storage unit 14 in which information specific to the PLC 10 is stored in advance, an execution unit 15 that executes the server program P3, and a communication unit 19 that communicates with the terminal 30.
[0032] The control communication unit 11 is mainly implemented by the first communication unit 106. The control communication unit 11 sends and receives device values 50 that indicate signals used to control the equipment 40, analog values output from sensors, commands to the equipment 40, or feedback from the equipment 40. The control communication unit 11 transmits the device values 50 read from the control memory 12 to the equipment 40, and receives the device values 50 from the equipment 40 and writes them to the control memory 12. The control memory 12 is mainly implemented by the first auxiliary storage unit 103.
[0033] The determination unit 13 is primarily implemented by the second processor 111, which executes program P2. When the external memory 20 is connected, the determination unit 13 determines whether the server program P3, the product ID (Identifier) 21 of the server program P3, and the first matching information 22 are stored in the external memory 20. If this determination is affirmative, the determination unit 13 notifies the execution unit 15 of the result of the determination. The determination unit 13 is an example of a determination means that determines whether a predetermined server program, program information specific to the server program in the external memory, and the first matching information are stored in the external memory when it is connected to the external memory via an external memory interface.
[0034] The memory unit 14 is primarily implemented by the second auxiliary memory unit 113. The memory unit 14 has a serial number 141 unique to the PLC 10 pre-written into it. The memory unit 14 is an example of a memory means that pre-stores controller information unique to the programmable logic controller.
[0035] The execution unit 15 is primarily implemented by a second processor 111 that executes program P2. Upon receiving notification from the determination unit 13, the execution unit 15 executes the server program P3, thereby functioning as the collection unit 16, processing unit 17, and UI control unit 18 as defined in the server program P3.
[0036] However, the execution unit 15 does not immediately enable all functions of the collection unit 16, processing unit 17, and UI control unit 18, but restricts most of these functions. The execution unit 15 then performs license authentication for the server program P3 and only removes the restrictions on these functions if it determines that the server program P3 read from the external memory 20 is legitimate. In detail, the execution unit 15 generates second verification information from the serial number of the PLC 10 stored in the storage unit 14 and the product ID read from the external memory 20. If the generated second verification information matches the first verification information 22, it determines that the server program P3 is legitimate. The second verification information is generated, for example, by a hash function. The execution unit 15 may also calculate a hash value from a code such as a checksum calculated from the bit sequence of the server program P3, in addition to the serial number 141 and product ID 21. The scope of function restrictions and removals by the execution unit 15 is defined in the server program P3.
[0037] Furthermore, the execution unit 15 executes the server program P3 to perform functions equivalent to a so-called web server. However, the PLC 10 is not necessarily connected to the internet; it is sufficient for server-client communication to occur between the PLC 10 as a web server and the terminal 30 as a client to which the web application service is provided. The execution unit 15 constructs a database 23 for providing the web application to the terminal 30 in the external memory 20.
[0038] The database 23 in the external memory 20 stores mapping data 231 and history data 232. The mapping data 231 is data that defines the relationship between the device values 50 to be collected, one or more labels assigned to each device value, and other information, and is set by user U1 as described later. The setting of the mapping data 231 corresponds to an example of mapping settings. The mapping data 231 includes settings for equipment mapping related to equipment 40, settings for visualization mapping to visualize the operating status of equipment 40, settings for analysis support mapping to assist analysis by user U1, and settings for collection mapping related to the collection of device values 50. These mapping settings will be described in order below.
[0039] Figure 4 shows an example of equipment mapping settings. In the example in Figure 4, an equipment mapping table is defined that includes multiple records relating an equipment ID for identifying equipment 40, an equipment name assigned to equipment 40, and a display color corresponding to equipment 40 to each other. The equipment mapping table may also show the controllers 41 and devices 42 that constitute equipment 40, further relating them to the equipment ID. At least one of the equipment ID and equipment name corresponds to an example of identification information for identifying each piece of equipment 40.
[0040] Figures 5-7 show examples of visualization mapping settings for visualizing the operational efficiency of equipment 40. In the example in Figure 5, an operational status mapping table is defined that includes multiple records relating an operational status ID to identify the operational status, the name of the operational status, whether the operational status corresponds to operational or non-operational status, and the display color corresponding to the operational status. Whether the operational status corresponds to operational status is used to calculate the time utilization rate or non-operational rate over a certain period. In addition, an undefined state that does not correspond to either operational or non-operational status may be added as a type of operational status by user U1. The duration of the undefined state may or may not be included in the calculation of the time utilization rate and non-operational rate. The time utilization rate may be calculated only for some operational statuses identified by user U1.
[0041] In the example shown in Figure 6, an energy mapping table is defined that includes multiple records that associate an energy type ID for identifying an energy type, the name of the energy type, the unit of the energy type, the CO2 conversion factor for the energy type, and the display color corresponding to the energy type. Each record may also be associated with a cost conversion value and a cost display unit. If a cost conversion value is associated, it becomes possible to calculate the value obtained by converting CO2 emissions into cost. This table is used to compare and check the details of energy consumption as an operating status of equipment 40.
[0042] In the example shown in Figure 7, an alarm mapping table is defined that contains multiple records that associate an alarm ID, the name of the alarm, and the corresponding display color for the equipment 40. This table is used to compare and examine details of the presence, number, and frequency of alarms as part of the operating status of equipment 40.
[0043] Figures 8-12 show examples of configuration for analysis support mapping. In the example in Figure 8, a tag group mapping table is defined that contains multiple records relating a tag group ID, which identifies a tag group arbitrarily set by user U1, to the name of that tag group. In the example in Figure 9, a tag mapping table is defined that contains multiple records relating a tag group ID, which belongs to a tag arbitrarily set by user U1, to a tag ID, which identifies that tag, to the name of that tag. For example, as shown in Figures 8 and 9, the tags "transport," "assembly," and "inspection" are created as tags belonging to the tag group "process," and the tags "air leak" and "connection failure" are created as tags belonging to the tag group "cause." These tags are used, for example, as labels to classify statistics of operating status.
[0044] In the example in Figure 10, a variety mapping table is defined that includes multiple records relating a variety ID for identifying the variety of object to be processed by equipment 40, the variety name of that variety, and the device value corresponding to that variety. For example, if the device value 50 read from equipment 40 is "1", then the variety currently being processed by equipment 40 is "Variety Pt1", and if the device value 50 is "2", then the variety currently being processed is "Variety Pt2". The device value may be a number, a bit value, or a string.
[0045] In the example in Figure 11, a time zone mapping table is defined that includes multiple records relating a time zone ID, the name of the time zone, the start time of the time zone, and the end time of the time zone, which are used to identify time zones defined by user U1. The time zones shown in this table are used to classify the collected device values 50 by time zone to compare their operating status and examine details.
[0046] In the example in Figure 12, a worker mapping table is defined that includes multiple records relating a worker ID to identify the worker handling equipment 40, the worker's name, and the device value corresponding to that worker. For example, if the device value 50 read from equipment 40 is "1", it means that equipment 40 is currently being used by "Worker Opr1", and if the device value 50 is "2", it means that it is being used by "Worker Opr2". The device value 50 may be a number, a bit value, or a string.
[0047] Figures 13-18 show examples of data collection mapping settings. The monitoring devices configured in the data collection mapping are the targets of data collection by the data collection unit 16, which will be described later. The monitoring devices are the devices designated as targets for monitoring among the devices that hold the device value 50. The device corresponds to the address of the storage area on the control memory 12 where the device value 50 handled by the control program is stored.
[0048] In the example in Figure 13, an operating status collection mapping table is defined that includes multiple records relating the equipment ID of equipment 40, the operating status ID of equipment 40, a monitoring device that stores a device value 50 indicating the operating status, the input status of the device value 50 indicating the operating status, and the blinking interval when the input status is blinking. For example, when the device value of monitoring device "M0" is "ON", it can be seen that equipment 40 with equipment ID "EQ-1" is in the operating status indicated by operating status ID "ST-1". Here, the table in Figure 4 shows that equipment ID "EQ-1" is the ID of "equipment Eq1", and the table in Figure 5 shows that operating status ID "ST-1" is the ID of "normal operation". By repeatedly collecting the device value 50 from the monitoring device defined in the table in Figure 13, the changes in the operating status of each piece of equipment 40 can be revealed, and it becomes possible to calculate the time utilization rate, which is a type of operational efficiency.
[0049] In the example in Figure 14, an energy collection mapping table is defined that includes multiple records relating the equipment ID of equipment 40, the energy type ID of the energy consumed by equipment 40, and a monitoring device that stores a device value 50 indicating the amount of energy consumed. For example, it can be seen that the amount of energy consumed by equipment 40 with equipment ID "EQ-1" and energy type ID "EN-1" is shown as the device value 50 of monitoring device "D0". Here, the energy type ID "EN-1" is shown to be "electricity" in the table in Figure 6. By repeatedly collecting the device value 50 from the monitoring devices defined in the table in Figure 14, the trends in various energy consumption amounts, which are a type of operational efficiency, can be revealed for each piece of equipment 40.
[0050] In the example in Figure 15, a production quantity collection mapping table is defined that includes multiple records relating the equipment ID of equipment 40, the production quantity pattern indicated by the device value 50 for equipment 40, the monitoring device that stores the device value 50 indicating the production quantity of equipment 40, the monitoring device that stores the device value 50 indicating the number of good products of equipment 40, and the monitoring device that stores the number of defective products of equipment 40. For example, it can be seen that the device value 50 indicating the production quantity of equipment 40 with equipment ID "EQ-1" is stored in the monitoring device "D100". Also, it can be seen that the device value 50 indicating the number of good products of equipment 40 with equipment ID "EQ-2" is stored in "D200", and the device value 50 indicating the number of defective products is stored in "D202". The production quantity corresponds to a type of operating status of equipment 40 and is treated as an indicator of operating efficiency. Furthermore, device values 50 related to processing quantity, inspection quantity, and other processing quantities may also be defined, not limited to the production quantity.
[0051] In the example shown in Figure 16, a time measurement mapping table is defined that includes multiple records relating the equipment ID of equipment 40, the equipment / process ID for identifying the equipment 42 and the process related to equipment 40, the names of the equipment 42 and the process, a monitoring device that stores a device value 50 indicating the start of time measurement, and a monitoring device that stores a device value 50 indicating the end of time measurement. This table is used to set, for example, the cycle time required for equipment 40 to process one workpiece, the operating time of equipment 42 which is a cylinder, or the time taken from the start to the end of a process.
[0052] For example, from the first row of the table in Figure 16, it can be seen that the start of "Process Pr11" by equipment 40 with equipment ID "EQ-1" is indicated by the device value 50 of "M101", and its end is indicated by the device value 50 of "M102". Also, from the ninth row of the table in Figure 16, it can be seen that the start of operation of "Equipment Dev1", which constitutes equipment 40 with equipment ID "EQ-1", is indicated by the device value 50 of "M115", and its end is indicated by the device value 50 of "M116". More specifically, when these device values 50 rise, they correspond to the start and end timings of the process, respectively. By repeatedly collecting device values 50 from the monitoring devices defined in the table in Figure 16, the history of the time taken for the process and the operation of equipment 42 can be revealed for each piece of equipment 40. Hereafter, the time taken to execute a process may be referred to as process time, and the time taken for equipment 42 constituting equipment 40 to operate may be referred to as operation time. Process time and operating time should ideally be as short as possible, as they serve as indicators of operational efficiency.
[0053] In the example in Figure 17, an alarm collection mapping table is defined that includes multiple records relating the equipment ID of equipment 40, the alarm ID of an alarm that occurred in equipment 40, a monitoring device that stores device values 50 indicating the occurrence of the alarm and the recovery from the alarm state, and a combination of tag group and tag ID attached to the alarm. For example, from the first row of the table in Figure 17, it can be seen that for an alarm with alarm ID "AL-1" in equipment 40 with equipment ID "EQ-1", the occurrence is indicated by device value 50 "M201", and the resolution of the alarm state is indicated by device value 50 "M202". More specifically, the rise of these device values 50 corresponds to the timing of alarm occurrence and resolution, respectively. By repeatedly collecting device values 50 from the monitoring device defined in the table in Figure 17, the history of alarms that occurred in each piece of equipment 40 can be revealed. Since the occurrence of an alarm indicates that equipment 40 is in a state different from normal operation, or that there are signs of it becoming a different state, the number of alarm occurrences can be considered a type of operational efficiency of equipment 40.
[0054] Furthermore, the tables in Figures 8 and 9 show that the alarm defined in the first row of the table in Figure 17 is associated with the tag "Conveying," which corresponds to "TG-11" within the tag group "Process," which corresponds to "TgG-1," and the tag "Air Leak," which corresponds to "TG-21" within the tag group "Cause," which corresponds to "TgG-2." Additionally, the table in Figure 7 shows that the alarm for "AL-1" is "Temperature Warning." In other words, the process "Conveying" and the cause "Air Leak" are associated with the "Temperature Warning" alarm.
[0055] In the example in Figure 18, a variety collection mapping table is defined that contains multiple records relating the equipment ID of equipment 40 to a variety monitoring device that stores a device value 50 indicating the variety of object being processed by equipment 40. For example, from the first row of the table in Figure 18, it can be seen that the variety of object being processed by equipment 40 "EQ-1" is indicated by the device value 50 "D201". Furthermore, referring to Figure 10, it can be seen that if this device value 50 is "1", "variety Pt1" is being processed, if it is "2", "variety Pt2" is being processed, and if it is "3", "variety Pt3" is being processed. This table is used to classify and compare the operating status of equipment 40 by the variety being processed, and to check the details.
[0056] In the example in Figure 19, a worker collection mapping table is defined that contains multiple records relating the equipment ID of equipment 40 to a worker monitoring device that stores a device value 50 indicating the worker using equipment 40. For example, from the first row of the table in Figure 19, it can be seen that the worker using equipment "EQ-1" is indicated by the device value 50 "D301". Furthermore, referring to Figure 12, for example, if this device value 50 is "1", it can be seen that the worker is "Worker Opr1". This table is used to classify and compare the operating status of equipment 40 by worker and to check details.
[0057] As explained using Figures 13-17, the time utilization rate of equipment 40, the energy consumption of equipment 40, the number of objects processed by equipment 40, the process time and operating time, and the number of alarms generated by equipment 40 each correspond to the operational efficiency of equipment 40. The operational status collection mapping table in Figure 13, the energy collection mapping table in Figure 14, the production quantity collection mapping table in Figure 15, the time measurement mapping table in Figure 16, and the alarm collection mapping table in Figure 17 each correspond to examples of mapping settings that associate the identification information of each piece of equipment with the addresses of device values related to the operational efficiency of that equipment. Furthermore, as explained using Figures 11, 18, and 19, the time period, the type of object processed by equipment 40, and the worker using equipment 40 each correspond to examples of attributes for further subdividing and analyzing operational efficiency. The time zone mapping table in Figure 11 is an example of a mapping setting that shows the start and end times for each of several time zones; the product type collection mapping table in Figure 18 is an example of a mapping setting that shows the correspondence between equipment identification information and the address of a device value indicating the product type being processed by the equipment; and the worker collection mapping table in Figure 19 is an example of a mapping setting that shows the correspondence between equipment identification information and the address of a device value indicating the worker using the equipment.
[0058] In Figures 4-19, an example of mapping data 231 is shown using multiple tables that have been schematically normalized. However, the format in which mapping data 231 holds information is not limited to this, and mapping data 231 may hold information by joining some or all of the tables.
[0059] Returning to Figure 3, the collection unit 16 of the execution unit 15 collects the device value 50 of the monitoring device specified in the collection mapping of the mapping data 231 by repeatedly reading it from the control memory 12 at a predetermined period. The collection unit 16 outputs the collected device value 50 to the processing unit 17. The collection unit 16 is an example of a collection means that repeatedly collects device values from the address specified in the mapping setting.
[0060] The processing unit 17 calculates various operational efficiencies defined in the visualization mapping of the mapping data 231 from the collected device values 50. Specifically, the processing unit 17 calculates the time utilization rate of each piece of equipment 40 over a certain period from the device values 50 collected based on the operational status collection mapping table in Figure 13, the equipment mapping table in Figure 4, and the operational status mapping table in Figure 5. The processing unit 17 also calculates the energy consumption per unit time of each piece of equipment 40 from the device values 50 collected based on the energy collection mapping table in Figure 14, the equipment mapping table in Figure 4, and the energy mapping table in Figure 6. The processing unit 17 calculates the number of products produced, the number of good products, or the number of defective products per unit time of each piece of equipment 40 from the device values 50 collected based on the production number collection mapping table in Figure 15, and the equipment mapping table in Figure 4. The processing unit 17 calculates the energy intensity per unit time of each piece of equipment 40 from the energy consumption and production number calculated as described above. Furthermore, the processing unit 17 calculates the process time and operating time of each piece of equipment 40 from the device values 50 collected based on the time measurement mapping table in Figure 16 and the equipment mapping table in Figure 4. The processing unit 17 calculates at least one of the following for each piece of equipment 40: the type of alarm, the number of alarms, and the duration of the alarm state, from the device values 50 collected based on the alarm collection mapping table in Figure 17, the equipment mapping table in Figure 4, and the alarm mapping table in Figure 7.
[0061] Furthermore, the processing unit 17 adds attribute information, such as tags, product type, time zone, and worker, as defined in the analysis support mapping of the mapping data 231, to the collected device value 50 and the operational efficiency value calculated as described above. In detail, the processing unit 17 adds the information indicated by the tags as described above to the history of the alarms that occurred. The processing unit 17 also associates the device value 50 and the operational efficiency calculated from the device value 50 with the worker who was handling the equipment 40 and the product type that the equipment 40 was processing at the time the device value 50 was collected. The processing unit 17 also associates the device value 50 and the operational efficiency calculated from the device value 50 with the time zone that includes the time the device value 50 was collected.
[0062] The processing unit 17 writes the collected device values 50, the calculated operating efficiency values, and related data to the external memory 20 as history data 232. Thereafter, the processing unit 17 avoids repeating the calculation process by referring to the history data 232 as needed. The information indicating the results processed by the processing unit 17 is then output to the UI control unit 18.
[0063] The UI control unit 18 creates a web page in response to a request from the terminal 30 via the communication unit 19 and provides it to the terminal 30. On the terminal 30, the web page is displayed in a web browser, and user U1 views the web page. The UI control unit 18 includes a reception unit 181 that receives information from the terminal 30 via the web page, and a display control unit 182 that controls the display content on the terminal 30 based on operations performed by user U1 on the web page.
[0064] The reception unit 181 receives the settings for the mapping data 231 and stores the mapping data 231 in the database 23. When the displayed web page is a setting page for setting the mapping data 231, the display control unit 182 creates the web page based on the current mapping data 231 in the database 23. When the displayed web page is a monitoring page for the equipment 40, the display control unit 182 creates a web page showing information about the operating status and operating efficiency of the equipment 40 based on the information output from the processing unit 17 and the history data 232, and provides it to the terminal 30. The reception unit 181 is an example of a reception means that receives mapping settings that associate the identification information of each piece of equipment with the address of the device value related to the operating efficiency of that piece of equipment via a terminal.
[0065] The execution unit 15 outputs logs of access from terminal 30, information on operations on the web page performed by user U1 that can be acquired by the reception unit 181, and events such as errors that occur during the execution of the web server implemented by the execution unit 15, and saves them to external memory 20 as log files 24.
[0066] The communication unit 19 is primarily implemented by the second communication unit 116. However, if the terminal 30 is connected to the same network as the equipment 40, the communication unit 19 may be implemented by the first communication unit 106.
[0067] Terminal 30 is a smartphone, tablet, laptop PC (Personal Computer), or other GUI (Graphical User Interface) terminal that can be operated by user U1. Terminal 30 has a communication unit for connecting to a network, a storage unit for storing data, and an arithmetic unit for performing calculations. When the arithmetic unit of terminal 30 executes a web browser program, the web page provided by PLC10 is displayed on the screen of terminal 30.
[0068] Next, the flow of the analysis support processing performed by the PLC10 will be explained with reference to Figures 20 to 42. The analysis support processing shown in Figures 20 and 22 starts when the power to the PLC10 is turned on. In the analysis support processing, the determination unit 13 determines whether or not the external memory 20 is connected to the PLC10 (step S1). If it is determined that the external memory 20 is not connected (step S1; No), the determination unit 13 repeats the determination in step S1 and waits until the connection of the external memory 20 is detected.
[0069] If it is determined that the external memory 20 is connected (step S1; Yes), the determination unit 13 determines whether the server program P3, product ID 21, and first matching information 22 are stored in the external memory 20 (step S2). If it is determined that this information is not stored (step S2; No), the determination unit 13 repeats the process from step S1 onward.
[0070] On the other hand, if it is determined that the server program P3, product ID 21, and first matching information 22 are stored (step S2; Yes), the execution unit 15 starts the server program P3, creates a license authentication page, and displays it on the terminal 30 (step S3). As a result, the page exemplified in Figure 21 is displayed on the screen of the terminal 30.
[0071] Returning to Figure 20, following step S3, the execution unit 15 determines whether or not a license authentication operation has been performed (step S4). For example, it determines whether the "Load License File" button, shown in Figure 21, which user U1 uses to instruct the execution of license authentication, has been pressed. If it is determined that no license authentication operation has been performed (step S4; No), the execution unit 15 repeats the determination in step S4 and waits until an instruction to execute license authentication is entered. This instruction corresponds to an example of an instruction to execute the authentication process in response to an inquiry about whether or not the license authentication process should be executed.
[0072] If it is determined that the license authentication operation has been performed (step S4; Yes), the execution unit 15 generates second verification information from the product ID which was determined to be stored in the external memory 20 in step S2, and the serial number 141 of the PLC 10 which was read from the storage unit 14 (step S5). Functions F1 to F4 in Figure 21 are functions performed by the execution unit 15 by the server program P3, and include, for example, a page generation function which collects device values and generates a page based on the collected device values and predetermined parameters, a setting function which accepts the setting of at least one of the address and parameters of the device values to be collected, and a page design function which allows the user U1 to design the page design as described later. Different first verification information 22 and second verification information for each of these functions may be read by the execution unit 15 all at once, or a single first verification information 22 and second verification information for licensing multiple functions all at once may be read.
[0073] The first and second verification information 22 correspond to the license file. One possible method is to use the MAC (Media Access Control) address as unique information associated with the PLC10 for creating the license file. However, the number of NICs (Network Interface Circuits) to which MAC addresses are assigned differs for each type of PLC10, requiring a change in management policy when porting the web application. In contrast, using the PLC10's serial number 141 eliminates the need for a change in management policy. Furthermore, by signing the license file, it is possible to prevent tampering with the license file and prevent the use of unauthorized licenses.
[0074] The execution unit 15 determines whether the first matching information 22 and the second matching information match (step S6). If it is determined that these matching pieces do not match (step S6; No), the processing by the PLC 10 returns to step S1. On the other hand, if it is determined that these matching pieces do match (step S6; Yes), the execution unit 15 releases the restriction on the analysis support function (step S7) and starts processing by the collection unit 16, the processing unit 17, and the UI control unit 18.
[0075] Next, as shown in Figure 22, the reception unit 181 of the UI control unit 18 accepts the settings for the mapping data 231 (step S8). For example, the reception unit 181 prompts user U1 to input parameters into the input fields indicated by rounded-corner blocks by displaying a page like the one shown in Figure 23 on the terminal 30. At the top of the page in Figure 23, the equipment mapping table from Figure 4 and the variety collection mapping table from Figure 18 are set. At the bottom of the page, the variety mapping table from Figure 10 is set. User U1 can add a new record by pressing the "+" button displayed in the lower left of the table.
[0076] In the settings screen shown in Figure 23, a tooltip may be displayed when the cursor is over a predetermined display component, i.e., a specific cell in the table, by the operation of user U1. The tooltip provides operational advice to user U1. For example, as a tooltip for the table header, user U1 may be provided with information such as what information should be entered as the equipment name and the maximum number of characters, which would otherwise require referring to the manual. Furthermore, the display control unit 182 is not limited to support information that assists user U1's operation, such as tooltips, but may also display related information regarding the display component selected by user U1. For example, as shown in Figure 24, a name different from other equipment 40 already entered may be displayed as related information as a candidate for the equipment name, or if the equipment mapping table shown in Figure 4 has already been set, information about the equipment constituting the equipment 40 may be displayed as related information. The display control unit 182 corresponds to an example of display control means that displays related information regarding a display component on the terminal when a display component constituting the settings screen for inputting mapping settings is selected on the terminal.
[0077] Thus, the display control unit 182 provides a web page for settings corresponding to the information to be displayed for monitoring and analysis support. Specifically, setting screens are provided for displaying the operating rate, energy intensity, equipment and process occupancy time, and alarm information. On the setting screen, user U1 can set the mapping data 231. The setting screen is divided into columns for each setting, and tooltips display the configurable content, the number of characters that can be set, and the data measured based on the settings as advice, displaying the necessary information to user U1 as appropriate. This allows user U1 to easily set the information without having to open the manual.
[0078] Furthermore, the reception unit 181 displays a settings page on the terminal 30 as shown in Figure 25. On the settings page in Figure 25, the operating state mapping table in Figure 5 and the operating state collection mapping table in Figure 13 are set. On the settings page in Figure 23, as indicated by the toggle button at the top, the equipment 40 is switched and parameters including the operating state and collection target are set. Also, in Figure 25, the input state of the device value 50 of the bit value to be collected and the switching interval when blinking is specified as the input state are set. As input states, an input state in which the collected device value is continuously ON, an input state in which it is continuously OFF, and an input state in which it switches between ON and OFF at a fixed interval are treated as different states from each other. As a result, when the indicator light of the equipment 40 represents different operating states with ON, OFF, and blinking, user U1 can easily obtain the operating state by collecting the device value 50 representing the state of the indicator light without creating a new program. The settings shown in Figure 25 represent an example of a mapping setting that shows the device value when the device value, which is a bit value, switches at a predetermined period, and the device value when the device value is fixed, as different values in terms of the operating efficiency of the equipment.
[0079] Furthermore, at the top of the page in Figure 25, the "Export Settings" button and the "Import Settings" button are displayed. By pressing these buttons, the reception unit 181 exports and imports mapping data 231 in CSV (Comma-Separated Values) format. User U1 can edit the CSV file and then import the edited CSV file to make all setting changes at once. In addition, since a CSV file for settings can be created in advance and the setting work can be performed by repeatedly importing it for each PLC 10, the setting work can be simplified when repeatedly using settings created by the equipment manufacturer.
[0080] Although not shown in the diagram, the reception unit 181 accepts the settings for the mapping data 231 by displaying a settings page for setting the mapping table shown in Figures 6-9, 11, 12, 14-17, and 19 on the terminal 30.
[0081] Furthermore, the reception unit 181 displays a settings page on the terminal 30 as shown in Figure 26. On this settings page, user U1 specifies the number of times to actually collect device values 50, and statistical values of the collected data are calculated and displayed. The statistical values are, for example, the mean, maximum value, minimum value, median, or standard deviation. When the "Confirm" button is pressed, a list of device values 50 used to calculate the statistical values is displayed, and user U1 may exclude data that is not needed for the calculation of the statistical values from this list. If outliers are included in the collected device values, the expected statistical values will not be calculated correctly, and it is often necessary to collect the device values again. In contrast, by excluding outliers, the expected statistical values can be calculated with a single collection. At this time, when the number of times device values 50 are collected is large, it is difficult to find data that will be outliers, so the UI control unit 18 may detect data that may be outliers. Outlier detection is performed, for example, by the IQR (Interquartile Range) method, which detects based on the interquartile range of the data. User U1, upon viewing a page like the one shown in Figure 26, can check the distribution of device values 50 in advance and easily recognize the appropriate device values 50 to be set as mapping data 231.
[0082] Furthermore, the reception unit 181 displays a threshold setting page corresponding to each process on the terminal 30, as shown in Figure 27. The threshold is set, for example, by direct input by user U1, calculation using a reference value, or based on statistical values obtained on the page in Figure 26. For example, in the first row of Figure 27, the formula "average + percentage" including the calculated statistical values is selected, and the threshold is calculated using this formula. The formula is A+B, where A is substituted with the average value, maximum value, or a reference value specified by user U1, and B is substituted with the value obtained by multiplying the average value, maximum value, or standard deviation by a multiplier specified by user U1, or a value specified by user U1. On this page, user U1 checks the relationship between the statistical values, including the maximum, minimum, and average values of the device value 50, and the reference value and threshold specified by user U1. If the statistical value exceeds the threshold, user U1 may set the threshold again. By calculating the statistical value and the threshold separately, the user can make minor adjustments to the threshold by only changing the multiplier, eliminating the need to recollect the device value 50. According to the settings page in Figure 27, user U1 can easily set appropriate thresholds by generating candidate thresholds to be set in the PLC10 on the settings page. Based on these thresholds, alarms, including warnings and alerts for each piece of equipment 40, and changes to their operating status can be appropriately executed. Furthermore, by monitoring the time utilization rate, the cycle time for product production, the operating time of equipment 42 such as cylinders, or the process time by generating alarms based on the thresholds, user U1 can immediately grasp any decrease in operating efficiency and respond quickly. The display control unit 182 is an example of a display control means that calculates statistical values of device values collected by the collection means and displays candidate thresholds for setting in the equipment on the terminal based on these statistical values.
[0083] Furthermore, the reception unit 181 may, in accordance with instructions from user U1, display a design page for designing a monitoring page on the terminal 30, as shown in Figure 28, and accept the design of the monitoring page. On the design page, user U1 can create a screen as they wish. Specifically, user U1 specifies the size and position of any graphics component by placing pre-prepared display components on the left side of the screen, i.e., graphics components, in the central pane. Then, on the right side of the screen, user U1 sets parameters related to the placed graphics components. The designed page may be saved in the external memory 20 or in the storage unit 14. Alternatively, user U1 may select and read a saved design page and modify an existing page by changing the position of graphics components, adding components, or changing component settings.
[0084] The deployable graphics components are symbols such as numbers, characters, shapes, tables, and graphs that represent various information, including device values 50, operating status, and operating efficiency, which are visualized in the web application service. If the symbol is a number, table, or graph, calculation formulas and thresholds may be set for the collected device values 50. Here, the display form of the symbol may be dynamically changed based on whether the device value 50 exceeds the threshold, or based on the device value 50 itself. Examples of graphics components include buttons or text boxes for inputting data to the PLC 10 via user operation, Gantt charts, bar graphs, pie charts, band graphs, line graphs, scatter plots, stacked bar graphs, donut charts, histograms, and tables with a specified number of rows and columns by the user.
[0085] When monitoring operational efficiency based on a newly configured monitoring device, user U1 will either load and use a graphics component template from the library or create a new graphics component. However, when adding, modifying, or deleting graphics components displayed by the legitimate server program P3 after license authentication is complete, previously used graphics components may be reused. For example, a graph placed on a screen where the monitoring device is specified may be added to the library, allowing user U1 to reuse it on other screens. Allowing the reuse of graphics components simplifies the design work for screens used to monitor operational efficiency.
[0086] User U1 may design the page using a desktop software application. The designed page is saved to the storage unit 14 or external memory 20 via a GUI on the page displayed on the terminal 30, or via the communication unit 19. User U1 may then select and load a saved page, and modify the saved page by changing the position, adding, or changing the settings of graphic components. This allows User U1 to design any page even when the PLC 10 is not available, such as before the production equipment is started up. The page design may include specifying the type and placement of graphic components, and specifying calculation formulas or thresholds for device values 50 to change the display format of the graphic components.
[0087] Returning to Figure 22, following step S8, the collection unit 16 collects the device value 50 specified in the mapping data 231 at regular intervals (step S9). This interval is, for example, 1 millisecond or 100 milliseconds. As a result, the device value 50 is collected from the monitoring device defined in the mapping data 231 in association with time, as illustrated in Figure 29. The collection unit 16 is an example of a collection means that collects device values in association with time.
[0088] Next, the processing unit 17 calculates the operational efficiency of the items to be visualized using the mapping data 231 (step S10). Specifically, the processing unit 17 calculates the changes in operational status, time utilization rate, changes in energy consumption by energy type, alarm occurrence history, and production history by the equipment 40, which are included in the visualization mapping settings, based on the device values 50 collected in step S9.
[0089] Next, the processing unit 17 associates the tag, product type, time zone, and worker information specified in the mapping data with the device value 50 collected in step S9 and the operational efficiency calculated in step S10 (step S11). Then, the execution unit 15 outputs the information obtained in steps S9 to S11 as history data 232 to the external memory 20 and saves it (step S12).
[0090] Subsequently, the display control unit 182 generates a page displaying various information in response to a request from the terminal 30 and provides it to the terminal 30 (step S13). This allows user U1 to easily observe the operating efficiency of the equipment 40. After that, the analysis support process is completed.
[0091] The page provided to terminal 30 in step S13 includes a GUI for visualizing and analyzing the operational efficiency of specific items. In this GUI, graphic components such as tables and graphs are positioned to facilitate analysis by user U1, and buttons for filtering and switching the display of data corresponding to the displayed graphic components are also displayed.
[0092] When filtering data, a condition setting button is displayed to set the details of the filter conditions. When this condition setting button is pressed, the display control unit 182 filters the data according to one or more conditions from among the equipment, operating status, tags, product type, time period, worker, and device value 50 collection period specified in the mapping data 231, and displays the filtering results as graphic components.
[0093] Furthermore, when the display switching button is pressed, the display control unit 182 changes the unit of the displayed numerical value or switches the display item. Changing the unit is, for example, switching from a numerical value that was displayed in CO2 equivalent to a numerical value that has been converted to cost equivalent. Switching the display item is done, for example, by switching the displayed energy between the total and individual items, or by displaying the results of recounting the alarm information for each tag.
[0094] The following describes an example of a page displayed on terminal 30 in step S13. Figure 30 shows an example of a page that displays data for multiple pieces of equipment 40 at an overview. This page displays a GUI for visualizing and supporting analysis of time utilization rates, and for each piece of equipment 40, a pie chart representing the time utilization rate and a Gantt chart showing the trend of the operating status are displayed side by side. By scrolling the screen with the scroll bar, similar information for the number of pieces of equipment 40 defined in the mapping data 231 is displayed in order. User U1 can check which pieces of equipment have low utilization rates and confirm on a single screen whether setup changes or short stoppages are causing delays for other pieces of equipment 40, or whether they are affecting other pieces of equipment 40. The operating status colors displayed on the Gantt chart are the display colors set in Figure 5. The display control unit 182 that generates the page in Figure 30 corresponds to an example of a display control means that displays the time utilization rate as an operating efficiency, along with identification information, on the terminal in a form that compares two or more pieces of equipment, based on device values collected by the collection means.
[0095] Furthermore, the Gantt chart in Figure 30 shows the changes in the operating status of multiple pieces of equipment 40 on a common time axis. This facilitates time-series analysis across multiple pieces of equipment 40. The display control unit 182 that generates the page in Figure 30 is an example of a display control means that displays two or more graphic components showing the changes in operating status as operating efficiency on a terminal on a common time axis.
[0096] Figure 31 shows an example of a page that dynamically provides information in response to user U1's actions. For example, when user U1 moves the mouse cursor to a location corresponding to an operating state at a specific time, the display control unit 182 displays information about the operating status at that time. The displayed content is, for example, the product type and time period associated with that operating state in the mapping data 231. The display control unit 182 is an example of a display control means that causes the terminal to display the product types that were being processed at a specific time when a display component corresponding to a specific time related to the displayed operating efficiency is selected on the terminal, and is also an example of a display control means that causes the terminal to display related information about a display component when a display component related to operating efficiency is selected on the terminal. In addition, when user U1 scrolls the Gantt chart, the display control unit 182 zooms in or out on the Gantt chart. This allows user U1 to check the operating status from both a micro and macro perspective.
[0097] Figure 32 is an example of a page for visualizing and supporting analysis of energy consumption and energy intensity. On this page, the cumulative energy consumption of multiple pieces of equipment 40 is displayed over time in a stacked bar graph, and the trend of energy intensity is displayed in a line graph. The colors displayed in the stacked bar graph are the display colors set in Figure 4. The time interval displayed, i.e., the width of the bars, can be selected from 5 minutes, 30 minutes, 1 hour, 3 hours, 1 day, and 1 month. By displaying the trends at different time intervals, user U1 can easily recognize changes in the situation over a short period of time as well as changes in the trend over a long period of time. Specifically, each time the time interval is switched from the pull-down menu, the display control unit 182 changes the graphic components using the history data 232. This allows for confirmation of energy consumption reductions from the difference between when equipment 40 is operating and when it is not, making it easy to identify equipment 40 that has not sufficiently reduced energy consumption and take measures to save energy. For example, by checking the energy consumption at short intervals, such as 5-minute intervals, in a stacked graph for each piece of equipment 40, as shown in Figure 32, it is possible to quickly identify equipment 40 that have periods where energy consumption has not decreased, such as equipment Eq4 and Eq5, while energy consumption has decreased for equipment Eq1, Eq2, and Eq3. The display control unit 182 that generates the page in Figure 32 corresponds to an example of a display control means that displays energy consumption as an indicator of operating efficiency along with identification information on a terminal in a form that compares two or more pieces of equipment based on device values collected by the collection means.
[0098] Figure 33 is an example of a page that displays information equivalent to that in Figure 32, with the time intervals set in the mapping data 231 as time intervals. On this page, it is possible to compare the energy consumption of the same equipment 40 at different time intervals, and also to compare the energy consumption of different equipment 40 at the same time interval. The display control unit 182 that generates the page in Figure 33 corresponds to an example of a display control means that displays the operating efficiency on a terminal in a form that compares the operating efficiency of two or more pieces of equipment with equal attributes, using time intervals as attributes, and corresponds to an example of a display control means that displays the operating efficiency on a terminal in a form that compares the operating efficiency of the same equipment with different attributes.
[0099] Figures 31-33 show examples of displaying operational efficiency, such as time utilization rate and energy consumption, in a form that compares multiple pieces of equipment 40. However, the display control unit 182 may also display production volume, alarm occurrence count, process time, and operating time as operational efficiency in the same stacked bar graph format as in Figures 32 and 33. The display control unit 182 corresponds to an example of a display control means that displays the number of objects processed by equipment 40, the number of alarm occurrences in equipment 40, process time, or operating time, along with identification information, on a terminal in a form that compares two or more pieces of equipment, based on device values collected by the collection means. In addition, time utilization rate may be displayed in the same stacked bar graph format as in Figures 32 and 33.
[0100] Figure 34 shows an example of a page that displays information about a single piece of equipment 40 in detail. On this page, user U1 can switch between the displayed pieces of equipment 40 by using the "<" and ">" buttons at the top, or by directly entering the equipment ID in the input field. The page in Figure 34 is a GUI for visualizing and supporting analysis of time utilization, and includes a pie chart of time utilization, a table of non-operational factors that affect time utilization, and a Gantt chart that shows the period during which non-operational factors occurred. Non-operational factors are states classified as "non-operational" among the operating states defined in the operating state mapping table in Figure 5. User U1 can perform a series of analyses on a single screen, such as confirming the deterioration of time utilization, identifying non-operational factors that occurred for a long time from the Pareto chart and occurrence rate, and identifying the timing of the non-operational factors using the operating state Gantt chart. Note that Figure 34 may also display data for a single piece of equipment 40 in detail, such as energy consumption, energy intensity, production quantity, process time, operating time, or the number of alarm occurrences, instead of time utilization.
[0101] Figures 35 and 36 show examples of displaying different types of graphs using a common time axis. On page 35, a stacked bar graph of energy consumption and a Gantt chart showing the trend of operating status are displayed using a common time axis to support analysis by user U1. For example, by aligning the time axes, it is easy to check the correspondence between energy consumption and operating status for each time period, and it is possible to identify periods in which energy is being consumed even in operating conditions where energy consumption should be reduced. In addition, by comparing the Gantt chart and the stacked bar graph, user U1 can see at a glance that the start-up time is long and that energy is being wasted during the start-up. Furthermore, at the user U1's instruction, the trend of energy intensity may also be displayed superimposed. This allows user U1 to easily recognize that although energy consumption and operating status are normal, the energy intensity has decreased and operating efficiency has decreased.
[0102] Figure 36 shows an example of a page that displays a line graph of the hourly utilization rate and a stacked bar graph of the number of occurrences of non-utilization factors on a common time axis. According to this page, user U1 can easily identify the factors causing a decline in operational efficiency. For example, user U1 can see at a glance which non-utilization factors are most frequent during periods when the hourly utilization rate is low. The trend graph may be switched between displaying data in 30-minute increments for one day, in 1-day increments for two months, and in 1-month increments for two years, each time a button is pressed. The display control unit 182 that generates the pages in Figures 35 and 36 corresponds to an example of a display control means that displays two or more graphics components showing the trend of operational efficiency on a terminal on a common time axis.
[0103] Figure 37 shows an example of highlighting data when a specific data point is selected on a stacked bar graph. By highlighting a specific item, user U1 can easily see the trend of a particular non-operating factor from among several non-operating factors. The display control unit 182 that generates the page in Figure 37 is an example of a display control means that, when one of several types of graphics components displayed regarding operational efficiency is selected on the terminal, highlights and displays graphics components of the same type as the selected graphics component on the terminal. In particular, in a graph showing the trends of each of several items, highlighting the trend of a specific item when a display component corresponding to that item is selected can efficiently support analysis by user U1. The display control unit 182 that generates the page in Figure 37 is an example of a display control means that, when one of several types of graphics components displayed regarding operational efficiency is selected on the terminal, highlights and displays graphics components of the same type on the terminal.
[0104] Furthermore, user U1 can filter the displayed conditions using the condition setting button. By filtering by attributes such as product type, time of day, or worker, or by operating status, user U1 can identify trends from a specific perspective that might otherwise be buried in a large amount of information.
[0105] Figure 38 shows an example of a page where user U1 sets conditions using button operations. User U1 selects conditions such as equipment ID, time zone, product type, worker, and operating status, which were specified in the input of mapping data 231. Conditions are set by selecting items from pull-down menus. For the display period, the start and end dates are specified by user U1. However, the display period may also be specified by user U1 by selecting dates from the calendar displayed by selecting the calendar icon.
[0106] Figures 39 and 40 show examples of pages that display multiple graphics components of the same type in a similar arrangement for comparison. User U1 sets the conditions for the data included in the graphs displayed as graphics components in the settings screen shown in Figure 38.
[0107] After setting the conditions, user U1 can easily compare information about equipment 40. For example, in the example page in Figure 39, data for equipment Eq1 and equipment Eq2 for the same period are displayed side by side for comparison. Here, the user can change the conditions using the "Set Conditions" button to change the display format to a page comparing the data for last month and this month for equipment Eq1, or to a page comparing data filtered for different types of equipment Eq1 as shown in Figure 40, or to a page comparing data filtered for each time period for equipment Eq1. User U1 can perform analyses comparing different perspectives on the operational efficiency of the same attribute between different pieces of equipment 40, and the operational efficiency of different attributes within the same piece of equipment 40.
[0108] Figure 39 displays a comparison of operating efficiency for the same type of equipment at different locations, while Figure 40 displays a comparison of operating efficiency for different types of equipment at the same location. However, the attributes displayed for comparison are not limited to equipment type; they may also be time of day or worker. The display control unit 182 that generates a page like the one in Figure 39 is an example of a display control means that displays operating efficiency on a terminal in a form that compares the operating efficiency of two or more pieces of equipment with equal attributes, while the display control unit 182 that generates a page like the one in Figure 40 is an example of a display control means that displays operating efficiency on a terminal in a form that compares the operating efficiency of the same equipment with different attributes.
[0109] Figure 41 shows an example of a page that visualizes energy consumption to support analysis. As shown in Figure 41, the page displays a comparison of data for equipment Eq1 and equipment Eq2 on the same date. By changing the conditions using the condition setting button, the page may also display a comparison of data for equipment Eq1 from the previous month and this month, data filtered for different types of equipment Eq1, data filtered for different time periods for equipment Eq1, and data filtered for the operating status of equipment Eq1 and equipment Eq2. This allows user U1 to perform analyses while comparing different perspectives, similar to Figures 39 and 40. Furthermore, by comparing information before and after the implementation of countermeasures, it is easy to confirm whether the countermeasures were actually effective and to what extent. The display control unit 182 that generates the pages in Figures 39 to 41 corresponds to an example of a display control means that displays multiple graphics components representing the operating efficiency for each of two or more pieces of equipment, arranged on the terminal with the positional relationship between the multiple graphics components being equivalent.
[0110] Figures 42 and 43 show examples of pages that display data across multiple pieces of equipment 40 in a ranking format. In the example in Figure 42, user U1 can set conditions from the screen exemplified in Figure 38 by operating the condition setting button. The display control unit 182 displays the data that matches the conditions specified by user U1, for example, as an operational efficiency ranking table and a non-operation factor occurrence time ranking table. For example, user U1 can find targets that are easy to work on improving operational efficiency by selecting only the equipment Eq1 to Eq3 of interest, or by selecting a specific product type or time period as a condition to extract deterioration in operating rate and its non-operation factors that were hidden when viewed as a whole. Furthermore, by changing the display unit to product type, time period, or worker using the pull-down menu, user U1 can find targets for improvement from the perspective of product type, time period, and worker. The ranking order may be ascending or descending. It is desirable that these order switches can be displayed. The reception unit 181, which accepts the specification of conditions, corresponds to an example of a reception means for accepting the specification of operational efficiency attributes, and the display control unit 182, which generates a ranking table as shown in Figure 42, corresponds to an example of a display control means for displaying the operational efficiency of the specified attributes for multiple pieces of equipment on a terminal in ascending or descending order.
[0111] Similarly, in Figure 43, alarm information is displayed in a ranking format. Here, for example, by classifying by any tag of user U1 belonging to the tag group "Cause," and selecting the "Cause" tag group from the pull-down menu, it is easy to find that alarms frequently occur due to a specific cause. In this way, by using tags to classify from any perspective the user desires, it becomes easy to find areas for improvement that would otherwise be buried among a large amount of information. The display control unit 182 that generates the page in Figure 43 is an example of a display control means that displays operational efficiency on the terminal in a form that compares operational efficiency corresponding to the type of tag. The collection unit 16 is an example of a collection means that collects device values corresponding to two or more types of tags, and the setting of the mapping data 231 is an example of a mapping setting that associates device values related to operational efficiency with one of the multiple types of tags.
[0112] As explained above, the execution unit 15 of the PLC 10 provides a web application to the terminal 30 by reading and executing the server program P3, thereby supporting the analysis of the operational efficiency of the equipment 40. Specifically, the display control unit 182 displays the operational efficiency of two or more pieces of equipment 40, along with the identification information of the equipment 40, on the terminal 30 in a comparative format. This makes it easy to identify the mutual influence that the equipment 40 have on each other and to get an overview of the status of multiple pieces of equipment 40. Therefore, on-site analysis using the monitoring function of the PLC 10 can be easily performed.
[0113] Furthermore, examples of displaying operational efficiency, such as time utilization rate, energy consumption, number of items processed, number of alarm occurrences, process time, and operating time, were explained. This allows, for example, the time utilization rate to be visualized, making it easy for user U1 to identify equipment 40 with a low time utilization rate. If the history of alarms during the period when the time utilization rate was low is visualized, user U1 can determine specific countermeasures. Moreover, by checking the history of operating status, it is possible to prioritize the operating statuses that caused non-operation and determine the order in which countermeasures should be taken.
[0114] Furthermore, if the unit cost calculated from energy consumption and processing volume is visualized, user U1 can easily identify equipment 40 whose unit cost has deteriorated and whose production efficiency has decreased. Here, if energy consumption is visualized, user U1 can easily determine whether the deterioration in unit cost is due to energy waste or not. If process time and operating time are visualized, user U1 can easily determine whether the deterioration in unit cost is due to a decrease in the performance of equipment 40 or not.
[0115] Furthermore, the PLC10 performs license authentication based on the information stored in the external memory 20, regardless of whether or not it is connected to the internet, and executes the server program P3 to provide information to the terminal 30 as a server. This allows server functionality to be added to the PLC10 without requiring an internet connection. It also prevents unauthorized copying of application software even in production sites confined to a local network. The execution unit 15, when the determination means determines that the server program, program information, and first matching data are stored, executes the server program to generate second matching information based on the program information and controller information, and when the generated second matching information matches the first matching information, it releases the execution restrictions on the functions of the server program and provides the page generated by that function to the client terminal. Furthermore, the execution unit 15 corresponds to an example of program execution means that constructs a database used when executing the server program in external memory and stores a log of events that occur during the execution of the server program in external memory. It also corresponds to an example of program execution means that executes the server program, displays a message to the client terminal asking whether or not to perform authentication processing to remove the restrictions on the execution of functions, and when the client terminal receives an instruction to perform authentication processing, compares the second verification information with the first verification information. The product ID 21 of the server program P3 corresponds to an example of program information, and the serial number 141 of the PLC 20 corresponds to an example of controller information.
[0116] Furthermore, when the PLC10 is powered on, it reads and executes the server program P3 from the external memory 20. Therefore, there is no need to write information to the PLC10 from a device such as a PC, and server functionality can be easily introduced to the PLC10.
[0117] Furthermore, the database 23 used by the execution unit 15, which functions as a web server, is built in external memory 20. This makes it easy to back up data by copying, and also allows for easy data extraction even if the PLC 10 fails.
[0118] Additionally, log file 24 is saved to external memory 20. This makes it easy to check what operations were performed from terminal 30 and what errors occurred, even if PLC 10 malfunctions.
[0119] Furthermore, the PLC 10 includes a first processor 101 that executes control processing to control multiple pieces of equipment 40, and a second processor 111 that functions as a data collection unit 16, a reception unit 181, and a display control unit 182. This makes it possible to avoid the user interface processing with the terminal 30, which can tolerate relatively low real-time performance, from affecting the control processing that requires a high degree of real-time performance. Here, real-time performance refers to the guarantee that a pre-designed process will be completed within a predetermined time.
[0120] While embodiments of this disclosure have been described above, this disclosure is not limited to the embodiments described above.
[0121] For example, in the above embodiment, operational efficiency was described as time utilization rate, energy consumption, energy intensity, and alarm occurrence, but the indicators of operational efficiency are not limited to these. For example, performance utilization rate, overall equipment efficiency, production volume, and other KPIs (Key Performance Indicators) may be used as indicators of operational efficiency. Operational efficiency should be an indicator that contributes to the analysis and improvement of processing efficiency on site.
[0122] Examples of using hourly utilization rate, energy consumption, number of objects processed, number of alarms, process time, and operating time as indicators of operational efficiency have been described, but some of these operational efficiency indicators may be omitted. At least one of several types of operational efficiency indicators may be used. However, it is desirable to analyze the operational efficiency of the equipment 40 from multiple perspectives using multiple indicators.
[0123] Furthermore, as shown in Figure 17, the explanation has focused on examples where tags are associated with alarms, but the objects to which tags are assigned are not limited to alarms. For example, each row of the operational status collection mapping table in Figure 13 may be assigned a tag arbitrarily defined by user U1, and the Gantt chart may be displayed in a form that compares the operational status corresponding to the tag. Alternatively, each row of the energy collection mapping table in Figure 14, the production quantity collection mapping table in Figure 15, and the time measurement mapping table in Figure 16 may be assigned a tag, and the operational efficiency may be displayed in a form that compares the operational efficiency corresponding to the tag.
[0124] Furthermore, although an example has been described in which the execution unit 15 saves the database 23 and history data 232 to the external memory 20, the system is not limited to this, and the database 23 and history data 232 may also be saved in the storage unit 14.
[0125] The functions of the PLC10 according to the above-described embodiment can be realized by dedicated hardware or by a normal computer system.
[0126] For example, a device that performs the above-mentioned processing can be configured by distributing program P1 on a computer-readable recording medium such as a flexible disk, CD-ROM (Compact Disk Read-Only Memory), DVD (Digital Versatile Disk), or MO (Magneto-Optical disk), and then installing program P1 on a computer.
[0127] Alternatively, program P1 may be stored on a disk drive of a server device on a communication network such as the Internet, and then downloaded to a computer, for example, by superimposing it onto a carrier wave.
[0128] Furthermore, the above-mentioned process can also be achieved by launching and executing program P1 while transferring it over a network such as the Internet.
[0129] Furthermore, the above-described process can also be achieved by having all or part of program P1 run on a server device, and by having a computer send and receive information about the process via a communication network while executing program P1.
[0130] Furthermore, if the above-mentioned functions are implemented by the OS (Operating System) or through collaboration between the OS and the application, only the parts other than the OS may be stored and distributed on a medium, or they may be downloaded to a computer.
[0131] Furthermore, the means of realizing the functions of the PLC10 are not limited to software; some or all of them may be realized by dedicated hardware or circuitry.
[0132] This disclosure allows for various embodiments and modifications without departing from the broad spirit and scope of this disclosure. Furthermore, the embodiments described above are for illustrative purposes only and do not limit the scope of this disclosure. In other words, the scope of this disclosure is indicated by the claims, not by the embodiments. Various modifications made within the scope of the claims and the equivalent significance of the disclosure are considered to be within the scope of this disclosure.
[0133] This application is based on Japanese Patent Application No. 2025-179420, filed on 24 October 2025. The entire specification, claims, and drawings of Japanese Patent Application No. 2025-179420 are incorporated herein by reference. [Industrial applicability]
[0134] This disclosure is suitable for monitoring and analyzing FA systems. [Explanation of Symbols]
[0135] 10 PLC, 11 Control Communication Unit, 12 Control Memory, 13 Judgment Unit, 14 Storage Unit, 15 Execution Unit, 16 Collection Unit, 17 Processing Unit, 18 UI Control Unit, 19 Communication Unit, 20 External Memory, 21 Product ID, 22 First Verification Information, 23 Database, 24 Log File, 30 Terminal, 40 Equipment, 41 Controller, 42 Device, 50 Device Value, 100 Control Function Module, 101 First Processor, 102 First Main Memory Unit, 103 First Auxiliary Memory Unit, 104 Input Unit, 105 Output Unit, 106 First Communication Unit, 107 Internal Bus, 110 Display Function Module, 111 Second Processor, 112 Second Main Memory Unit, 113 Second Auxiliary Memory Unit, 116 Second Communication Unit, 117 External Memory Interface, 141 Serial Number, 181 Reception Unit, 182 Display control unit, 231 mapping data, 232 history data, 1000 analysis support system, 1001 factory, P1, P2 programs, P3 server program.
Claims
1. A programmable logic controller connected to a client terminal via a network, External memory interface, A determination means for determining whether a predetermined server program, program information specific to the server program in the external memory, and first matching information are stored in the external memory when connected to the external memory via the external memory interface, A storage means that pre-stores controller information specific to the programmable logic controller, If the determination means determines that the server program, the program information, and the first matching information are stored, the program execution means executes the server program to generate second matching information based on the program information and the controller information, and when the generated second matching information matches the first matching information, it releases the execution restrictions on the functions of the server program and provides the page generated by the function to the client terminal. A programmable logic controller equipped with the following features.
2. The program execution means constructs a database in the external memory to be used when executing the server program, and stores a log of events that occur during the execution of the server program in the external memory. The programmable logic controller according to claim 1.
3. The program information is the product ID of the server program, The controller information is the serial number of the programmable logic controller. The program execution means executes the server program and displays a message to the client terminal indicating whether or not to perform an authentication process to remove the restrictions on the execution of the function, and when the client terminal receives an instruction to perform the authentication process, it compares the second matching information with the first matching information. The programmable logic controller according to claim 1.
4. A programmable logic controller that is connected to factory equipment and controls the equipment by sharing device values with the equipment, The functions of the server program include a page generation function that collects the device value and generates the page based on the collected device value and predetermined parameters, and a setting function that accepts the setting of at least one of the address of the device value to be collected and the parameters. A programmable logic controller according to any one of claims 1 to 3.
5. The aforementioned device value is a value relating to the operating efficiency of the equipment, The aforementioned page includes a display component that shows the operating efficiency of the equipment, The programmable logic controller according to claim 4.
6. The server program's functions further include a page design function that accepts the specification of the type and arrangement of graphics components included in the page, and the specification of a calculation formula or threshold for the device value to change the display form of the graphics components. The programmable logic controller according to claim 4.
7. A method for providing information, which is performed by a programmable logic controller connected to a client terminal via a network, When the determination means is connected to the external memory via the external memory interface of the programmable logic controller, it determines whether a predetermined server program, program information specific to the server program in the external memory, and first matching information are stored in the external memory. When the program execution means determines, by the determination means, that the server program, the program information, and the first matching information are stored, it executes the server program to generate second matching information based on the program information and controller information specific to the programmable logic controller, and when the generated second matching information matches the first matching information, it releases the execution restrictions on the functions of the server program and provides the page generated by those functions to the client terminal. Information provision methods that include the following.
8. A programmable logic controller connected to a client terminal via a network, When connected to external memory via the external memory interface of the programmable logic controller, it is determined whether a predetermined server program, program information specific to the server program in the external memory, and first matching information are stored in the external memory. When it is determined that the server program, the program information, and the first matching information are stored, the server program is executed to generate second matching information based on the program information and controller information specific to the programmable logic controller, and when the generated second matching information matches the first matching information, the execution restrictions on the functions of the server program are released and the page generated by said function is provided to the client terminal. A program that executes something.
Citation Information
Patent Citations
Display device and external memory unit, and display device system
JP1999231852A
License external memory
JP2009259237A
PLC system and operating method thereof
JP2016091559A
PLC unit, method, and program
WO2020035935A1
