Plant monitoring and control system
The system reduces costs by transmitting logging data to an external storage device at control cycles using an engineering tool device, eliminating the need for a dedicated logging data transmission device and enabling real-time and historical data monitoring.
Patent Information
- Application Number
- JP2022201759
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2042-12-19
AI Technical Summary
Conventional plant monitoring and control systems require a dedicated logging data transmission device attached to the PLC device, increasing system costs.
A plant monitoring and control system that includes a PLC device, an engineering tool device with logging setting and monitoring functions, and an external storage device, which allows logging data to be transmitted to the external storage device at control cycles without the need for a dedicated logging data transmission device, using a data transmission program generated by the engineering tool device.
Reduces system costs by eliminating the need for a dedicated logging data transmission device and enables real-time data accumulation and historical monitoring of logging data.
Smart Images

Figure 0007796633000001 
Figure 0007796633000002 
Figure 0007796633000003
Abstract
Description
[Technical Field]
[0001] The present application relates to a plant monitoring and control system. [Background technology]
[0002] Conventional plant monitoring and control systems utilize a PLC (Programmable Logic Controller) device to monitor and control logging data obtained from plant equipment, achieving factory automation (FA).
[0003] In such cases, in order to realize data logging using a PLC device, prior art has proposed a technique in which a dedicated logging data transmission device such as a data logger unit is provided in the PLC device, and logging data is transmitted to an external storage device at the control cycle of the PLC device (see, for example, Patent Document 1 below). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent No. 6160781 Summary of the Invention [Problem to be solved by the invention]
[0005] However, in the prior art described in Patent Document 1, transmitting logging data at control cycles is not achieved based on a program executed by the PLC device, but must be achieved by attaching a dedicated logging data transmission device to the PLC device, which poses the problem of increased system costs.
[0006] The present application has been made to solve the above-mentioned problems, and aims to provide a plant monitoring and control system that reduces system costs by enabling logging data to be transmitted to an external storage device at control cycles without the need to attach a dedicated logging data transmission device to the PLC device. [Means for solving the problem]
[0007] The plant monitoring and control system disclosed in the present application includes a PLC device for plant control and an engineering tool device for logging setting and monitoring, the engineering tool device including a logging setting function unit that sets logging conditions for acquiring logging data for the PLC device; ,before a program generating function unit that generates a data transmission program that conforms to the logging conditions and transmits the program to the PLC device; Before an external storage device that stores the logging data transmitted based on the logging conditions; and a logging monitoring function unit that monitors the logging data stored in the external storage device, and the PLC device monitors the logging data based on the data transmission program at a control period Period based on The logging data is transmitted to the external storage device every time the ,before The logging data is sequentially accumulated, and the logging monitoring function unit monitors the logging data stored in the external storage device. [Effects of the Invention]
[0008] According to the plant monitoring and control system disclosed in the present application, it is no longer necessary to mount a dedicated logging data transmission device on the PLC device, thereby reducing system costs. [Brief explanation of the drawings]
[0009] [Figure 1] 1 is a functional block diagram showing a configuration of a plant monitoring and control system according to a first embodiment. [Figure 2] 2 is a diagram illustrating details of a logging setting function unit and a logging monitoring function unit in FIG. 1. FIG. [Figure 3] 4 is a flowchart showing a logging setting operation according to the first embodiment. [Figure 4] 4 is a flowchart showing a logging monitoring operation according to the first embodiment. [Figure 5] FIG. 10 is a functional block diagram showing the configuration of a plant monitoring and control system according to a second embodiment. [Figure 6] 6 is a diagram illustrating details of a logging setting function unit and a logging monitoring function unit in FIG. 5. [Figure 7] FIG. 10 is an explanatory diagram showing a transmission data format of logging data according to the second embodiment. [Figure 8] FIG. 10 is an explanatory diagram showing an example of a data transmission program for logging data according to the second embodiment. [Figure 9] FIG. 10 is a functional block diagram showing the configuration of a plant monitoring and control system according to a third embodiment. [Figure 10] 10 is a diagram illustrating details of a logging setting function unit and a logging monitoring function unit in FIG. 9. FIG. [Figure 11] FIG. 10 is a functional block diagram showing the configuration of a plant monitoring and control system according to a fourth embodiment. [Figure 12] 12 is a diagram illustrating details of a logging setting function unit and a logging monitoring function unit in FIG. 11. FIG. [Figure 13] FIG. 10 is an explanatory diagram showing a transmission data format of logging data according to the fourth embodiment. [Figure 14] FIG. 10 is an explanatory diagram showing an example of a data transmission program for logging data according to the fourth embodiment. [Figure 15] FIG. 10 is an explanatory diagram showing the relationship between the control period, collected logging data, and data transmission timing of the PLC device according to the fourth embodiment. [Figure 16] FIG. 10 is a functional block diagram showing the configuration of a plant monitoring and control system according to a fifth embodiment. [Figure 17] 17 is a diagram illustrating details of a logging setting function unit and a logging monitoring function unit in FIG. 16. FIG. [Figure 18]FIG. 13 is an explanatory diagram showing a transmission data format of logging data according to the fifth embodiment. [Figure 19] FIG. 13 is an explanatory diagram showing an example of a data transmission program for logging data according to the fifth embodiment. [Figure 20] FIG. 10 is an explanatory diagram showing the relationship between each control period, collected data, storage destination, and data transmission timing of a PLC according to a fifth embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0010] Embodiment 1 FIG. 1 is a functional block diagram showing the configuration of a plant monitoring and control system according to a first embodiment of the present invention, and FIG. 2 is a diagram showing details of a logging setting function unit and a logging monitoring function unit shown in FIG.
[0011] The plant monitoring and control system of this embodiment 1 includes a PLC device 1 that controls the plant, an input / output device 3 that is connected to the PLC device 1 and exchanges data for plant control, an engineering tool device 4 that performs engineering such as editing programs to be written to the PLC device 1, setting logging, and monitoring, and a LAN network 8 that communicates between the PLC device 1 and the engineering tool device 4.
[0012] The PLC device 1 has a CPU unit 2, which is composed of a program execution section 21 that performs calculations such as programs for controlling the plant, a communication processing section 22 that communicates with external communication devices via a LAN network 8, an input / output processing section 23 that performs input and output processing of analog / digital signal data between the input / output device 3, and a device memory 24 that stores data such as input signals and output signals in the input / output processing section 23 as a result of program calculations.
[0013] The input / output device 3 is connected to various devices that make up the plant, such as sensors, valves, and actuators (not shown), and exchanges analog / digital signal data between the various devices and the PLC device 1.
[0014] The engineering tool device 4 has a logging control unit 5 that controls the transmission, accumulation, and monitoring of logging data to the PLC device 1, and an external storage device 7 that stores logging data obtained from the PLC device 1 based on logging conditions set for logging by a logging setting function unit 51 described below.
[0015] The logging control unit 5 includes a logging setting function unit 51 that sets logging conditions for acquiring logging data for the PLC device 1, a PLC support unit 53 as a program generation function unit that generates a data transmission program 6 to be executed by the PLC device 1 based on the information set by the logging setting function unit 51 and transfers it to the PLC device 1, and a logging monitoring function unit 52 that displays the logging data accumulated in the external storage device 7 as a monitoring screen for the operator and monitors the logging data.
[0016] 3 is a flowchart showing the logging setting operation according to this embodiment 1. In the following, the symbol S denotes a processing step. When setting conditions for acquiring logging data from the PLC device 1, the operator uses the logging setting function unit 51 of the engineering tool device 4.
[0017] 3, the operator activates the logging setting function unit 51 (step S0010). In response to this, the logging setting function unit 51 displays on the screen information about the PLC device 1 for which logging settings are to be made (step S0020). Next, the operator sets common items for logging settings (for example, maximum number of analog collection points, maximum number of digital collection points, logging data storage period) on the screen of the logging setting function unit 51 (step S0030). Also, labels (identification names for identifying signals) are set for analog signals and digital signals at collection points where logging data is monitored (step S0040). Based on the set label information, the logging setting function unit 51 automatically acquires the label name of the label registered as engineering data and the target device memory 24, and displays them on the screen (step S0050). Then, the operator presses the save button on the screen of the logging setting function unit 51 to save the setting data (step S0060).
[0018] The PLC support unit 53 generates a data transmission program 6 based on the common setting items and collection target point setting items set by the logging setting function unit 51 (step S0070). This data transmission program 6 is a program that collects values in the device memory 24 of the PLC device 1 that is the target of the label set by the logging setting function unit 51 and transmits the data to the external storage device 7.
[0019] By pressing the transfer button on the screen of the logging setting function unit 51 (step S0080), the PLC support unit 53 transfers the data transmission program 6 to the CPU unit 2 of the PLC device 1 via the LAN network 8 (step S0090). After the operator completes the operation, the operation of the logging setting function unit 51 is terminated (step S0100).
[0020] The PLC device 1 executes the transferred data transmission program 6 at each control period (for example, every 5 ms), and transmits the values of the device memory 24 to be collected from the communication processing unit 22 to the external storage device 7 via the LAN network 8.
[0021] FIG. 4 is a flowchart showing the logging monitoring operation according to the first embodiment. When monitoring the logging data, the operator uses the logging monitoring function unit 52 of the engineering tool device 4.
[0022] The operator activates the logging monitoring function unit 52 (step S1010). In response to this, the logging monitoring function unit 52 displays a monitoring screen based on the setting information of the logging setting function unit 51 (step S1020), references the logging data transmitted from the PLC device 1 and stored in the external storage device 7, and displays graph drawings and current values of each label on the screen (step S1030). The logging monitoring function unit 52 waits for a fixed time (for example, every second), and periodically references the logging data to draw a graph on the screen and update and display the current values (step S1040), enabling real-time monitoring. After completing the operation, the operator terminates the operation of the logging monitoring function unit 52 (step S1050).
[0023] As described above, in this first embodiment, the system is configured to include the logging setting function unit 51 that sets the conditions for acquiring logging data for the PLC device 1, the PLC support unit 53 as a program generation function unit that generates the data transmission program 6 to be executed by the PLC device 1 based on the information set by this logging setting function unit 51 and transfers it to the PLC device 1, and the logging monitoring function unit 52 that displays the logging data accumulated in the external storage device 7 from the CPU unit 2 of the PLC device 1 for each control period on a monitoring screen for the operator and monitors the logging data, thereby eliminating the need to attach a dedicated logging data transmission device to the PLC device 1 as in the conventional system. This makes it possible to accumulate logging data in real time and monitor it historically without increasing system costs.
[0024] Embodiment 2 In the above first embodiment, a case has been described in which a single PLC device 1 exists within a system, but depending on the plant monitoring and control system, a plurality of different models of PLC devices may coexist within the same system.
[0025] Therefore, in this embodiment 2, the data format of the logging data handled by the logging control unit 5 is standardized, and a data transmission program is generated according to each PLC device, so that even when multiple different models of PLC devices are mixed in the same system, the same effects as those of the above embodiment 1 can be achieved regardless of the model of the PLC device.
[0026] FIG. 5 is a functional block diagram showing the configuration of a plant monitoring and control system according to the second embodiment, and FIG. 6 is a diagram showing details of the logging setting function unit and the logging monitoring function unit in FIG. In this second embodiment, as an example, two PLC devices, 1A of company A and 1B of company B, exist in the same system, and the devices 1A and 1B are different models. That is, the PLC device 1A of company A has a CPU unit 2A and an input / output device 3A. The PLC device 1B of company B has a CPU unit 2B and an input / output device 3B. The PLC device 1A of company A and the PLC device 1B of company B are each connected to an engineering tool device 4 via the same LAN network 8.
[0027] In addition, the PLC support unit 53 provided in the logging control unit 5 of the engineering tool device 4 generates data transmission programs 6A and 6B for communicating with each model of PLC device 1 and generating transmission data having a transmission data format corresponding to the program format supported by each model of PLC device 1A and 1B.
[0028] Therefore, the PLC support unit 53, which serves as a program generation function unit, generates data transmission programs 6A and 6B specific to each model of PLC device 1A, 1B, such as a data transmission program 6A for company A and a data transmission program 6B for company B, and transfers these to each PLC device 1A, 1B, thereby transmitting, storing, and monitoring the logging data.
[0029] FIG. 7 is an explanatory diagram showing a transmission data format of logging data according to the second embodiment.
[0030] The transmission data format is made up of a magic number (identifier) to identify it as logging data, the length of the transmission data, a transmission counter (incremented by the PLC device each time it is transmitted), transmission time (transmission time of the PLC device), information about the sending PLC device (such as the model names (controller names) of PLC device 1A of Company A and PLC device 1B of Company B), maximum number of points to collect (digital / analog), and collected data (collected logging data), and a common transmission data format is used that is independent of the PLC device model.
[0031] 8 is an explanatory diagram showing an example of a data transmission program for logging data according to this embodiment 2. Note that the program shown here is written in a ladder language that is generally supported by PLC devices.
[0032] The data transmission program is a program suited to the model of each of the PLC devices 1A, 1B, and is composed of a header information generation unit P0010 for the transmission data format, a collected data generation unit P0020, and a data transmission unit P0050. For data in which the number of points to be collected in the logging setting function unit 51 is less than the maximum number of points to be collected, the data is generated with an analog value of NaN (Not a Number) and a digital value of 0 (P0030 "Analog collected data (NaN) (x+1 to mth points)" and P0040 "Digital collected data (0) (y+1 to nth points)" in FIG. 8).
[0033] Although the program format in ladder language has been explained, this is merely one example, and the program language does not have to depend on ladder language. It is possible to support this by providing the PLC support unit 53 with the ability to generate program languages supported by each PLC device, such as ST (Structured Text) language, C language, or languages unique to the manufacturer of the PLC device.
[0034] As described above, in this second embodiment, when a plurality of PLC devices 1A, 1B of different models are mixed in the same system, the PLC support unit 53 of the logging control unit 5 generates data transmission programs 6A, 6B according to the models of the PLC devices 1A, 1B. This eliminates the need to prepare an engineering tool device 4 for setting up and monitoring logging for each PLC device 1A, 1B, and makes it possible to transmit, store, and monitor logging data without incurring any additional costs.
[0035] Embodiment 3 In the above first and second embodiments, we have explained how to set and monitor logging data when using a CPU unit built into a PLC device, but some PLC devices do not have an Ethernet communication function built into the CPU unit, and therefore some models require a separate Ethernet unit to be installed in addition to the CPU unit in order to connect to a LAN network. Ethernet is a registered trademark.
[0036] Therefore, in this embodiment 3, the logging setting function unit 51 of the logging control unit 5 selects the connection method of the PLC device 1C and generates a data transmission program 6C corresponding to the connection method, thereby achieving the same effects as those of the above embodiments 1 and 2.
[0037] FIG. 9 is a functional block diagram showing the configuration of a plant monitoring and control system according to the third embodiment, and FIG. 10 is a diagram showing details of the logging setting function unit and the logging monitoring function unit in FIG.
[0038] In this embodiment 3, an Ethernet unit 2D is provided in addition to a CPU unit 2C in a PLC device 1C. That is, in this example, a PLC device 1C manufactured by company C has a CPU unit 2C, an Ethernet unit 2D, and an input / output device 3C, and the Ethernet unit 2D is connected to an engineering tool device 4 via a LAN network 8.
[0039] Furthermore, the logging setting function unit 51 of the engineering tool device 4 is provided with a connection method setting function unit 510 that sets the connection method, allowing the operator to select the connection method of the PLC device 1C. The PLC support unit 53, which serves as a program generation function unit, generates a program in which the data transmission unit (P0050 in the above-mentioned FIG. 8) is changed in the data transmission program 6C according to the connection method of the Ethernet unit 2D set by the connection method setting function unit 510. This allows the logging control unit 5 to set and monitor logging data.
[0040] As described above, in this embodiment 3, by generating a data transmission program 6C according to the connection method of the PLC device 1C, even in a model that requires a separate Ethernet unit 2D to be provided for the CPU unit 2C of the PLC device 1C, it becomes possible to transmit, store, and monitor logging data using the separately provided Ethernet unit 2D.
[0041] Embodiment 4 In the above first to third embodiments, the case where logging data is transmitted at each control cycle of the PLC device has been described, but generally, control cycles are short, such as 5 ms, used in plant control. Therefore, when many PLC devices exist in the same system, if all the PLC devices transmit logging data to the LAN network at each control cycle, the communication load on the LAN network may become chronically high.
[0042] Therefore, in this fourth embodiment, the data transmission program 6 executed by the PLC device 1 collects data for each control period, but the timing of transmitting logging data is set to a different period for each PLC device 1 (however, the period is an integral multiple of the control period), thereby distributing the communication load on the LAN network 8. Below, a case where the timing of transmitting logging data from the PLC device 1 is arbitrarily set will be described with reference to Figs. 11 to 15.
[0043] FIG. 11 is a block diagram showing the configuration of a plant monitoring and control system according to the fourth embodiment, and FIG. 12 is a diagram showing details of the logging setting function unit and the logging monitoring function unit shown in FIG. In the plant monitoring and control system of the fourth embodiment, it is assumed that a large number of PLC devices (not shown) are connected to the LAN network 8, and each will be referred to as a PLC device 1 in the following description.
[0044] In this fourth embodiment, the logging setting function unit 51 includes a transmission timing setting function unit 511 that sets the timing of transmitting logging data.
[0045] The transmission timing of the logging data set by the transmission timing setting function unit 511 can be arbitrarily set at a period (=n·f) that is an integer multiple n (n=1, 2, ...) of the control period f so that it differs for each PLC device 1. When the operator specifies the transmission timing of the logging data to the transmission timing setting function unit 511 from the logging setting screen, the PLC support unit 53 as a program generation function unit generates a data transmission program 6 that matches the transmission timing set by the transmission timing setting function unit 511. The period (=n·f) where n is an integer multiple of the control period f (n=1, 2, . . . ) that determines the timing of transmitting logging data will be referred to as the transmission timing period hereinafter.
[0046] FIG. 13 shows an example of a transmission data format in the fourth embodiment. The header information of the transmission data format has an item for determining the number of accumulated pieces of logging data obtained per control cycle (hereinafter referred to as the accumulated number). Here, this accumulated number is set to the same value as the integer value n that determines the transmission timing cycle. Therefore, the device memory 24 of the PLC device 1 stores the accumulated number of pieces of collected data (collected logging data) for each control cycle. In addition, a collection counter is provided, and the count value is incremented each time the PLC device 1 collects data in the device memory 24 per control cycle. This allows the logging monitoring function unit 52 to recognize how many control cycles the accumulated transmission data has taken and where the latest collected data is stored, making it possible to monitor the logging data.
[0047] FIG. 14 is an explanatory diagram showing an example of the data transmission program 6 for logging data according to the fourth embodiment. The PLC device 1 executes the data transmission program 6 for each control cycle. Meanwhile, the collected data generation unit P1020 sets a collection counter to collect logging data for each control cycle. In addition, the transmission timing calculation unit P1060 calculates the transmission timing accordingly, and when the transmission timing is met (the count value of the collection counter matches the accumulated number), the transmission data format header information generation unit P1010 and the data transmission unit P1050 are executed to transmit the logging data via the LAN network 8. In this case, as described above, the collection counter increments for each control cycle, and when the accumulated number set by the transmission timing setting function unit 511 of the logging setting function unit 51 matches the count value of the collection counter, the transmission timing condition is met.
[0048] FIG. 15 is an explanatory diagram showing the relationship between the control period of the PLC device 1, collected data (collected logging data), and data transmission timing.
[0049] The PLC device 1 collects logging data every control period, while transmitting the logging data every transmission timing period. The collected data section of the transmission data format is in a ring buffer format, and when the transmission timing arrives, the logging data is circulated again from the beginning of the collected data so that it is stored sequentially in the device memory 24.
[0050] For example, for a certain PLC device 1, if the control period is 5 ms and the transmission timing period is 50 ms (10 times the control period), a program is executed every 5 ms of the control period to collect data, while logging data is sent to the external storage device 7 of the engineering tool device 4 every 50 ms of the transmission timing period.
[0051] As described above, in this fourth embodiment, when multiple PLC devices 1 exist in the same system, the transmission timing setting function unit 511 provided in the logging setting function unit 51 changes the transmission timing period of the logging data for each PLC device 1, and the PLC support unit 53 serving as a program generation function unit generates a data transmission program 6 that matches the transmission timing of the logging data changed by the transmission timing setting function unit 511. This makes it possible to distribute the communication load on the network and enable smooth transmission, storage, and monitoring of logging data.
[0052] Embodiment 5 In the above-described first to fourth embodiments, the PLC device transmits the latest logging data obtained at each control period or each transmission timing period to the engineering tool device, but there is a risk that transmission of the logging data may be interrupted due to communication load on the LAN network or a temporary communication error. If transmission of the logging data is interrupted, the data for that period is not acquired and is treated as missing, resulting in the problem that the logging data cannot be monitored.
[0053] Therefore, in this fifth embodiment, a data format for storing logging data obtained in past control cycles is generated as the transmission data format for logging data, and data is transmitted, thereby preventing data loss even when a temporary communication abnormality occurs on the network, and enabling accumulation and monitoring of logging data. Below, a case where the PLC device 1 transmits logging data obtained in past control cycles will be described with reference to Figs. 16 to 20.
[0054] FIG. 16 is a functional block diagram showing the configuration of a plant monitoring and control system according to this fifth embodiment, and FIG. 17 is a diagram showing details of the logging setting function unit and the logging monitoring function unit of FIG. In this fifth embodiment, a past value count setting function unit 512 that sets the past value count is provided inside the logging setting function unit 51. The other configurations are basically the same as those of the above-described embodiments.
[0055] Here, the past value count set by the past value count setting function unit 512 is a value that determines the maximum number of times that previously obtained logging data is to be transmitted from the PLC device 1 to the external storage device 7, going back in time. The operator can arbitrarily set the past value count on the logging setting screen, and the PLC support unit 53, which serves as a program generation function unit, generates a data transmission program 6 in accordance with the setting of the past value count setting function unit 512.
[0056] 18 shows the transmission data format in this embodiment. The header information of the transmission data format includes items for setting the number of past values and the storage destination, which allows a storage block to be prepared in the device memory 24 of the PLC device 1 for collecting past logging data.
[0057] The number of storage blocks prepared is equal to the number of past values + 1 (1 indicates the most recent value), and the number of collected data is equal to the number of storages x (number of past values + 1). For example, if the control cycle is 5 ms, the number of storages is 5 (the transmission timing cycle is 5 times the control cycle, or 25 ms), and the number of past values is 2, the number of storage blocks will be 3, and the number of collected data will be 15 (= 5 x 3).
[0058] Further, the storage location stores a value indicating the location of the storage location of the latest collected data (a value indicating which storage block contains the latest collected data).
[0059] This enables the logging monitoring function unit 52 to recognize whether the transmitted data includes past data or which of the collected data is the most recent periodic data. If there is missing data that could not be collected due to a temporary communication error or the like, the logging monitoring function unit 52 references the past data of the collected data and fills in the missing data when it next receives transmitted data from the PLC device 1.
[0060] FIG. 19 shows an example of the data transmission program 6 in this embodiment. The PLC device 1 executes the data transmission program 6 for each control cycle, and the collected data generation unit P2020 sets a collection counter to collect logging data for each control cycle. The transmission timing calculation unit P2060 also calculates the transmission timing accordingly, and when the transmission timing is established, the transmission data format header information generation unit P2010 sets the number of past values and the storage destination, executes the data transmission unit P2050, and transmits the data via the LAN network 8.
[0061] FIG. 20 shows the relationship between each control period of the PLC device 1, collected data, storage destination, and data transmission timing. The PLC device 1 collects logging data for each control cycle, updates the storage location indicating the location where the latest data is stored, and transmits the data at the transmission timing.
[0062] The collected data is stored in a ring buffer format, and when the number of times reaches "accumulation number x number of accumulation blocks (number of past values + 1)", the logging data is circulated from the beginning of the collected data to be stored sequentially in the device memory 24.
[0063] For example, if the control period is 5 ms, the transmission timing period is 25 ms (5 times the control period), and the number of past values is 2, the PLC device 1 executes the program every 5 ms of the control period to collect data for each period, updates the storage block every 5 periods, and stores a total of 15 periods of logging data.
[0064] As described above, in this fifth embodiment, the timing for transmitting previously obtained logging data can be set arbitrarily, and a data transmission program 6 according to the setting is generated and transmitted to the PLC device 1. In response, the PLC device 1 transmits previously obtained logging data, so that even if a temporary communication abnormality occurs on the network, there will be no missing data, and it will be possible to transmit, store, and monitor the logging data.
[0065] Although various exemplary embodiments are described in this application, the various features, aspects, and functions described in one or more embodiments are not limited to application to a particular embodiment, but may be applied to the embodiments alone or in various combinations.
[0066] Therefore, countless variations not illustrated are conceivable within the scope of the technology disclosed in this application, including, for example, cases in which at least one component is modified, added, or omitted, and cases in which at least one component is extracted and combined with components of another embodiment.
[0067] Various aspects of the present disclosure are summarized below as appendices.
[0068] (Appendix 1) Equipped with a PLC device for plant control and an engineering tool device for logging settings and monitoring, The engineering tool device includes: a logging setting function unit that sets logging conditions for acquiring logging data for the PLC device; a program generation function unit that generates a data transmission program that conforms to the logging conditions set by the logging setting function unit and transmits the program to the PLC device; an external storage device that stores the logging data transmitted from the PLC device based on the logging conditions set by the logging setting function unit; a logging monitoring function unit that monitors the logging data stored in the external storage device; Including, The PLC device transmitting the logging data to the external storage device for each control period based on the data transmission program; the external storage device sequentially accumulates the logging data transmitted from the PLC device at control cycles; the logging monitoring function unit monitors the logging data stored in the external storage device. Plant monitoring and control system. (Appendix 2) A plant monitoring and control system as described in Appendix 1, wherein when multiple models of PLC devices exist in the same system, the program generation function unit generates a data transmission program according to the model of each of the PLC devices. (Appendix 3) 3. A plant monitoring and control system according to claim 1, wherein the PLC device is provided with a separate Ethernet unit, while the logging setting function unit is provided with a connection method setting function unit that sets a connection method, and the program generation function unit generates a data transmission program according to the connection method of the Ethernet unit that is set by the connection method setting function unit. (Appendix 4) A plant monitoring and control system as described in any one of Supplementary Note 1 to Supplementary Note 3, wherein, when a plurality of PLC devices exist in the same system, the logging setting function unit has a transmission timing setting function unit that sets the transmission timing of logging data for each of the PLC devices, and the program generation function unit generates the data transmission program that is compatible with the transmission timing set by the transmission timing setting function unit. (Appendix 5) 5. A plant monitoring and control system according to any one of Supplementary Note 1 to Supplementary Note 4, wherein the logging setting function unit is provided with a past value count setting function unit that sets a transmission timing for logging data obtained in the past, a data transmission program is generated in accordance with the transmission timing set by the past value count setting function unit, and the PLC device transmits the logging data obtained in the past based on the data transmission program. [Explanation of symbols]
[0069] 1,1A,1B PLC device, 2,2A,2B,2C CPU unit, 21 program execution unit, 22 communication processing unit, 23 input / output processing unit, 24 device memory, 2D Ethernet unit, 3, 3A, 3B, 3C Input / output device, 4 Engineering tool device, 5 logging control unit, 51 logging setting function unit, 510 connection method setting function unit, 511 transmission timing setting function unit, 512 past value count setting function unit, 52 Logging monitoring function unit, 53 PLC support unit (program generation function unit), 7 external storage device, 6, 6A, 6B, 6C data transmission program, 8 LAN networks.
Claims
1. The system is equipped with a PLC device for plant control and an engineering tool device for logging settings and monitoring, The engineering tool device includes: a logging setting function unit that sets logging conditions for acquiring logging data for the PLC device; a program generation function unit that generates a data transmission program that conforms to the logging conditions and transmits the program to the PLC device; an external storage device that stores the logging data transmitted from the PLC device based on the logging conditions; a logging monitoring function unit that monitors the logging data stored in the external storage device; Including, The PLC device transmits the logging data to the external storage device at each cycle based on the control cycle based on the data transmission program, the external storage device sequentially accumulates the logging data, and the logging monitoring function unit monitors the logging data stored in the external storage device. Plant monitoring and control system.
2. 2. The plant monitoring and control system according to claim 1, wherein when a plurality of models of PLC devices exist in the same system, the program generation function unit generates a data transmission program according to the model of each of the PLC devices.
3. 3. The plant monitoring and control system according to claim 1, wherein the PLC device is provided with a separate Ethernet (registered trademark) unit, while the logging setting function unit is provided with a connection method setting function unit that sets a connection method, and the program generation function unit generates a data transmission program in accordance with the connection method of the Ethernet unit that is set by the connection method setting function unit.
4. 3. The plant monitoring and control system according to claim 1, wherein, when a plurality of PLC devices exist in the same system, the logging setting function unit is provided with a transmission timing setting function unit that sets the transmission timing of the logging data at a period that is an integer multiple of the control period so that the transmission timing differs for each of the PLC devices, and the program generation function unit generates the data transmission program that is compatible with the transmission timing set by the transmission timing setting function unit.
5. 3. The plant monitoring and control system according to claim 1, wherein the logging setting function unit includes a past value count setting function unit that sets a timing for transmitting logging data obtained in the past, a data transmission program is generated in accordance with the transmission timing set by the past value count setting function unit, and the PLC device transmits the logging data obtained in the past based on the data transmission program.
Citation Information
Patent Citations
El element
JP1986060781A
Programming tool
JP2005251116A
Control device, data structure, and information processing method
JP2018151918A
JPP6884287B
Monitoring control system, monitoring terminal, and monitoring program
WO2015170408A1