Plant monitoring and control system
Patent Information
- Application Number
- JP2022201759
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-12-19
AI Technical Summary
Conventional plant monitoring and control systems require a dedicated logging data transmitting device attached to the PLC device, increasing system costs.
A plant monitoring and control system that transmits logging data to an external storage device at a control cycle without installing a dedicated logging data transmitting device, utilizing a PLC device, an engineering tool device for logging settings and monitoring, and an external storage device, with a logging monitoring function to monitor the stored data.
Reduces system costs by eliminating the need for a dedicated logging data transmitting device while enabling real-time accumulation and historical monitoring of logging data.
Smart Images

Figure 00000000_0000_ABST
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 use a PLC (Programmable Logic Controller) device to monitor and control logging data obtained from plant equipment, thereby achieving factory automation (FA).
[0003] In such cases, in order to realize data logging using a PLC device, a technique has been proposed in the prior art in which a dedicated logging data transmission device such as a data logger unit is provided in the PLC device, and the logging data is transmitted to an external storage device at the control period 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 conventional technology described in Patent Document 1, transmitting logging data at control cycles is not achieved based on a program executed by a PLC device, but must be achieved by installing a dedicated logging data transmission device in the PLC device, resulting in an increase in system costs.
[0006] The present application has been made to solve the above-mentioned problems, and has an object 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 for setting logging conditions for acquiring logging data for the PLC device, a program generation function unit for generating a data transmission program conforming to the logging conditions set by the logging setting function unit and transmitting the program to the PLC device, an external storage device for storing the logging data transmitted from the PLC device based on the logging conditions set by the logging setting function unit, and a logging monitoring function unit for monitoring the logging data stored in the external storage device, 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 storing the logging data transmitted from the PLC device for each control period, and the logging monitoring function unit monitoring the logging data stored in the external storage device. Effect 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, and system costs can be reduced. [Brief description 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. [Diagram 2]2 is a diagram illustrating details of a logging setting function unit and a logging monitoring function unit in FIG. 1. [Diagram 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. [Diagram 5] FIG. 11 is a functional block diagram showing a 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. 11 is an explanatory diagram showing a transmission data format of logging data according to the second embodiment. [Figure 8] FIG. 11 is an explanatory diagram showing an example of a data transmission program for logging data according to the second embodiment. [Figure 9] FIG. 11 is a functional block diagram showing a 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. [Figure 11] FIG. 11 is a functional block diagram showing a 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. [Figure 13] FIG. 13 is an explanatory diagram showing a transmission data format of logging data according to the fourth embodiment. [Figure 14] FIG. 13 is an explanatory diagram showing an example of a data transmission program for logging data according to the fourth embodiment. [Figure 15] 13 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. FIG. [Figure 16] FIG. 13 is a functional block diagram showing a 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. [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. 13 is an explanatory diagram showing the relationship between each control period, collected data, storage destination, and data transmission timing of a PLC according to embodiment 5. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Embodiment 1 FIG. 1 is a functional block diagram showing a 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 in FIG.
[0011] The plant monitoring and control system of this embodiment 1 includes a PLC device 1 for controlling the plant, an input / output device 3 connected to the PLC device 1 for exchanging data for plant control, an engineering tool device 4 for editing programs to be written to the PLC device 1, setting logging, monitoring, and other engineering, and a LAN network 8 for communication 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 plant control, 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 with 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 the program calculations.
[0013] The input / output device 3 is connected to various devices constituting 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 the logging data obtained from the PLC device 1 based on the 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 an operator's monitoring screen 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, an 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 is to be set (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) of analog signals and digital signals at collection points where logging data is monitored are set (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 of 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 completing the operation, the operator ends the operation of the logging setting function unit 51 (step S0100).
[0020] The PLC device 1 executes the transferred data transmission program 6 every 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 starts 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), refers to 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 refers to 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 ends the operation of the logging monitoring function unit 52 (step S1050).
[0023] As described above, in this embodiment 1, the system includes 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 the 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 as a monitoring screen for the operator and monitors the logging data, eliminating the need to mount a dedicated logging data transmission device on 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 the system cost.
[0024] Embodiment 2 In the above first embodiment, a case has been described in which a single PLC device 1 exists within a system. However, 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 in 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 a logging setting function unit and a logging monitoring function unit in FIG. In this second embodiment, as an example, two devices, PLC device 1A of company A and PLC device 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. Also, 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, 6B for communicating with each model of PLC device 1 and for generating transmission data having a transmission data format corresponding to the program format supported by each model of PLC device 1A, 1B.
[0028] Therefore, the PLC support unit 53 as a program generation function unit generates data transmission programs 6A, 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 them 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 the logging data according to the second embodiment.
[0030] The transmission data format consists of a magic number (identifier) to identify it as logging data, the transmission data length, a transmission counter (incremented by the PLC device each time it is transmitted), transmission time (transmission time from the PLC device), sending PLC device information (such as the model names (control device names) of PLC device 1A of Company A and PLC device 1B of Company B), maximum number of points to be collected (digital / analog), and collected data (collected logging data), and a common transmission data format is adopted 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 the embodiment 2. Note that, here, a program in a ladder language that is generally supported by PLC devices is shown.
[0032] The data transmission program is a program corresponding to the model of each of the PLC devices 1A, 1B, and is composed of a header information generation unit P0010 of 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, 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 described, 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 a language unique to the manufacturer of the PLC device.
[0034] As described above, in this embodiment 2, when multiple 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 corresponding to the models of the PLC devices 1A, 1B. This eliminates the need to prepare an engineering tool device 4 for setting and monitoring logging for each PLC device 1A, 1B, and makes it possible to transmit, store and monitor logging data without incurring unnecessary increases in costs.
[0035] Embodiment 3 In the above first and second embodiments, the case where logging data setting and monitoring is performed using a CPU unit built into a PLC device has been described, but some PLC devices do not have an Ethernet communication function built into the CPU unit, and therefore, in order to connect to a LAN network, there are some models in which an Ethernet unit must be provided separately for the CPU unit. Note that 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 a logging setting function unit and a 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, for 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 a 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 FIG. 8 described above) 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 the 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 by using the separately provided Ethernet unit 2D.
[0041] Embodiment 4 In the above first to third embodiments, the logging data is transmitted at each control cycle of the PLC device, but generally, a short control cycle such as 5 ms is used for 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 different for each PLC device 1 (however, each 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 a logging setting function unit and a logging monitoring function unit shown in FIG. In the plant monitoring and control system of the fourth embodiment, it is assumed that a 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 the fourth embodiment, the logging setting function section 51 includes a transmission timing setting function section 511 for setting 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) of 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. Note that a period (=n·f) that is an integer multiple n (n=1, 2, . . . ) of the control period f that determines the timing of transmitting logging data is hereinafter referred to as a transmission timing period.
[0046] FIG. 13 shows an example of a transmission data format in the fourth embodiment. An item is provided in the header information of the transmission data format to determine the number of accumulated logging data obtained for each 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 collected data (collected logging data) for each control cycle. In addition, a collection counter is provided, and the count value is incremented every time the PLC device 1 collects data in the device memory 24 for each control cycle. This allows the logging monitoring function unit 52 to recognize how many control cycles the accumulated transmission data has been for 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 period. Meanwhile, the collected data generation unit P1020 sets a collection counter to collect logging data for each control period. In addition, in accordance with this, the transmission timing calculation unit P1060 calculates the transmission timing, and when the transmission timing is established (the count value of the collection counter matches the accumulated number), the header information generation unit P1010 of the transmission data format 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 period, 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 established.
[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 is reached, the logging data is circulated again from the beginning of the collected data to be stored in the device memory 24 in sequence.
[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 transmitted 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 embodiment 4, 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 is compatible with 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 the logging data.
[0052] Embodiment 5. In the above 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 the transmission of the logging data may be interrupted due to the communication load on the LAN network or a temporary communication error. If the transmission of the logging data is interrupted, the data for that period is not acquired and is treated as missing, resulting in a problem that the logging data cannot be monitored.
[0053] Therefore, in this embodiment 5, in the transmission data format of the logging data, a data format for storing the logging data obtained in the past control cycle is generated and data is transmitted, so that even if a temporary communication abnormality occurs on the network, the logging data is not lost and it is possible to accumulate and monitor the logging data. Below, a case where the PLC device 1 transmits the logging data obtained in the past control cycle 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 the fifth embodiment, and FIG. 17 is a diagram showing details of a logging setting function unit and a logging monitoring function unit shown in FIG. In this fifth embodiment, a past value count setting function unit 512 that sets the past value count is provided inside a logging setting function unit 51. The other configurations are basically the same as those of the above-mentioned 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. When the operator arbitrarily sets the past value count on the logging setting screen, 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] Fig. 18 shows the transmission data format in this embodiment. The header information of the transmission data format is provided with items for setting the number of past values and the storage destination, so that a storage block for collecting past logging data is prepared in the device memory 24 of the PLC device 1.
[0057] The number of storage blocks prepared is the number of past value counts + 1 (1 indicates the latest value), and the number of collected data items prepared is the number of storages x (number of past value counts + 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, which is 25 ms), and the number of past value counts is 2, the number of storage blocks will be "3" and the number of collected data items will be "15" (=5 x 3).
[0058] Further, in the storage destination, a value indicating the location of the storage destination of the latest collected data (a value indicating which of the storage blocks is the latest collected data) is stored.
[0059] This enables the logging monitoring function unit 52 to recognize whether the transmission 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 refers to the past data of the collected data and fills in the missing data when the transmission data is next received from the PLC device 1.
[0060] FIG. 19 is 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. In addition, the transmission timing calculation unit P2060 calculates the transmission timing accordingly, and when the transmission timing is established, the header information generation unit P2010 of the transmission data format 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 period, updates a 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 accumulated data reaches "accumulation number x accumulation block number (past value number + 1)", the logging data is cycled to be stored sequentially in the device memory 24 from the beginning of the collected data.
[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 a program every 5 ms of the control period to collect data for each period, updates the accumulation block where the data is stored every 5 periods, and stores a total of 15 periods' worth of logging data.
[0064] As described above, in this embodiment 5, 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 the present application describes various exemplary embodiments, 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 modifications not exemplified are conceivable within the scope of the technology disclosed in this application, including, for example, modifying, adding, or omitting at least one component, and further, extracting at least one component and combining it with a component 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 comprises: a logging setting function unit that sets logging conditions for acquiring logging data for the PLC device; a program generating function unit that generates a data transmission program that matches 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 includes: 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) The plant monitoring and control system according to claim 1 or 2, 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 in accordance with 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 is provided with 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) The 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 timing for transmitting logging data obtained in the past, a data transmission program is generated according to 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 includes a PLC device for plant control and an engineering tool device for logging setting and monitoring, The engineering tool device comprises: a logging setting function unit that sets logging conditions for acquiring logging data for the PLC device; a program generating function unit that generates a data transmission program that matches the logging conditions set by the logging setting function unit and transmits the data transmission 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 is 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.
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, said program generating function unit generates a data transmission program according to the model of each of said PLC devices.
3. 3. The plant monitoring and control system according to claim 1, wherein an Ethernet (registered trademark) unit is separately provided in the PLC device, while a connection method setting function unit that sets a connection method is provided in the logging setting function unit, and the program generation function unit generates a data transmission program corresponding to 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 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.
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.
