Plant Control Device
The plant control device addresses inefficiencies in accessing multiple I/O and transmission modules by using an interface module with managed access periods, ensuring efficient and optimized data acquisition.
Patent Information
- Application Number
- JP2021153361
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-09-21
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2041-09-21
AI Technical Summary
Existing plant control devices access multiple I/O and transmission modules simultaneously, leading to inefficiencies due to differing access periods for each module type.
The plant control device includes a plurality of input modules and an interface module with registers and control circuitry that store and manage access periods for each module type, allowing the interface module to access each input module at its specified access period.
This solution enables efficient data acquisition from multiple input modules with different access periods, reducing the likelihood of data collisions and optimizing the access cycle, thereby improving the overall performance of the plant control system.
Smart Images

Figure 0007675607000001 
Figure 0007675607000002 
Figure 0007675607000003
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to a plant control device. [Background technology]
[0002] Conventionally, industrial plant control systems and the like use plant control equipment equipped with multiple I / O (Input / Output) transmission modules that input and output various data between various devices such as sensors, and an interface module that reads and writes the input and output data of the multiple I / O transmission modules. The appropriate access cycle for the I / O transmission modules used in such plant control equipment varies depending on the type. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2016-81390 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, in the conventional technology, the interface module accesses a plurality of I / O transmission modules at the same cycle to acquire data. [Means for solving the problem]
[0005] A plant control device according to an embodiment includes a plurality of input modules that receive data input from external devices, and an interface module that connects to the plurality of input modules. The interface module includes a register and a control circuit. The register stores an access period for each module type. The control circuit acquires the module type of each of the plurality of input modules from the plurality of input modules, identifies the access period of each of the plurality of input modules by referring to the acquired module type and the access period stored in the register, and accesses the plurality of input modules for each access period of the identified plurality of input modules to acquire data. [Brief description of the drawings]
[0006] [Figure 1] FIG. 1 is a diagram illustrating an example of a control system including a plurality of plant control devices according to an embodiment. [Diagram 2] FIG. 2 is a block diagram showing an example of the configuration of the plant control device according to the embodiment. [Diagram 3] FIG. 3 is a diagram illustrating an example of an access period table according to the embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of an input data table according to the embodiment. [Diagram 5] FIG. 5 is a diagram showing an example of the data update cycle of input data stored in the memories of two input modules according to the embodiment and data acquisition timing by the control circuit of the interface module. [Figure 6] FIG. 6 is a flowchart showing an example of the flow of the initial setting process executed by the control circuit of the interface module according to the embodiment. [Figure 7] FIG. 7 is a flowchart showing an example of the flow of an access process to an input module executed by a control circuit of an interface module according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] (First embodiment) In this embodiment, a plant control device used mainly for controlling an industrial plant (hereinafter, simply referred to as a plant) will be described. Generally, as a technology for controlling a plant, it is known to connect a plurality of plant control devices to configure a control system.
[0008] FIG. 1 is a diagram showing an example of a control system S including a plurality of plant control devices 1 and 2 according to the present embodiment.
[0009] The plant control devices 1 and 2 each have a plurality of modules combined with a basic base 10 or 20. The basic bases 10 and 20 are provided with a plurality of slots, and each module is inserted into one of the slots.
[0010] The plant control device 1 includes a basic base 10, an interface module 110, a plurality of input modules 120a to 120k, and a power supply module .
[0011] The power supply module 130 obtains power from a power cable (not shown), and supplies the obtained power to the interface module 110 and the multiple input modules 120a to 120k.
[0012] The input modules 120a to 120k receive data input from various external devices. The various external devices are, for example, sensors, control devices, PCs (Personal Computers), and servers. The input modules 120a to 120k have I / O ports to which cables for connecting to various external devices can be attached. The input modules 120a to 120k correspond to different communication standards. The communication standard may be, for example, an existing standard such as Ethernet (registered trademark), or may be a unique standard for the control system S. Hereinafter, when the input modules 120a to 120k are not distinguished from one another, they are simply referred to as input modules 120. The input modules 120 may be input / output modules having a function of not only inputting data but also outputting data to external devices.
[0013] The interface module 110 acquires input data acquired by the multiple input modules 120a to 120k from various devices, and stores the acquired input data in a memory within the interface module 110. The memory within the interface module 110 is called a shared memory because it can be read by an interface module 210 of the plant control device 2 described below. The shared memory is illustrated in FIG. 2 described below. The input data is data input to the input modules 120a to 120k from various devices. In this embodiment, when simply referring to data, it refers to the input data.
[0014] 1, one end of the cable 3 is inserted into the interface port 111a. The other end of the cable 3 is inserted into the interface port 211a of the interface module 210 of the plant control device 2. In this case, the interface module 110 is connected to the interface module 210 of the plant control device 2 via the cable 3. Note that the interface module 110 may be connected to a plant control device other than the plant control device 2 via the interface ports 111a and 111b.
[0015] The plant control device 2 includes a basic base 20, an interface module 210, a plurality of I / O transmission modules 220a to 220i, a power supply module 230, and a controller 240.
[0016] The plant control device 2 is, for example, a higher-level device of the plant control device 1. For example, although there is a limit to the number of I / O·transmission modules 220a-220i that can be inserted into the plant control device 2, there are cases where a user wants to add another I / O·transmission module to the control system S. In such a case, by connecting the plant control device 1 to the plant control device 2, a plurality of input modules 120a-120k can be added. Note that the input modules 120a-120k may be I / O·transmission modules having an output function.
[0017] The plurality of I / O transmission modules 220a to 220i of the plant control device 2 input and output data and transmit information to and from various external devices.
[0018] The power supply module 230 of the plant control device 2 obtains power from a power supply cable (not shown), and supplies the obtained power to the interface module 210, the multiple I / O transmission modules 220a to 220i, and the controller 240.
[0019] The controller 240 of the plant control device 2 includes a CPU (Central Processing Unit) and a memory, and executes a program stored in the memory to input and output data to and from the I / O transmission modules 220a to 220i. The controller 240 also controls the interface module 210 to read out input data stored in the shared memory of the interface module 110 of the plant control device 1.
[0020] 1, one end of the cable 3 is inserted into the interface port 211a, and the interface module 210 is connected to the interface module 110 of the plant control device 1 via the cable 3. Note that the standard to which the cable 3 and the interface ports 111a, 111b, 211a to 211d conform is not particularly limited, and a general serial communication standard may be adopted, or a unique standard for the control system S may be used.
[0021] The interface module 210 of the plant control device 2, under the control of the controller 240, reads input data from the shared memory of the interface module 110 of the plant control device 1, and stores the read input data in the memory of the controller 240. The interface module 210 is an example of another interface device in this embodiment.
[0022] Next, the configuration of the plant control device 1 according to this embodiment will be described in more detail.
[0023] Fig. 2 is a block diagram showing an example of the configuration of the plant control device 1 according to this embodiment. As shown in Fig. 2, the interface module 110, the multiple input modules 120a to 120k, and the power supply module 130 of the plant control device 1 are inserted into the slots 11a to 11m of the basic base 10, respectively. Hereinafter, when there is no need to distinguish between the individual slots 11a to 11m, they will simply be referred to as slots 11.
[0024] The basic base 10 includes an interface module 110, a plurality of input modules 120a to 120k, and a power supply cable 91 and a bus 90 that connect the power supply module 130.
[0025] The interface module 110, the multiple input modules 120a to 120k, and the power supply module 130 each include connectors 112a to 112k. The connectors 112a to 112k are connected to the power supply cable 91 and the bus 90 of the basic base 10.
[0026] The power supply module 130 supplies power via a power supply cable 91 to the interface modules 110 inserted into the slots 11b to 11m and the multiple input modules 120a to 120k.
[0027] The interface module 110 includes a control circuit 400, a shared memory 410, and interface ports 111a and 111b.
[0028] The interface ports 111a and 111b are ports into which the cable 3 can be inserted, as described with reference to FIG.
[0029] The control circuit 400 is a programmable integrated circuit, for example an FPGA (Field-Programmable Gate Array). In the control circuit 400, various processes are defined by a hardware description language. The control circuit 400 includes a register 41. The control circuit 400 acquires input data 61a-61k from the multiple input modules 120a-120k according to the access cycle for each type of the input module 120 registered in the access cycle table 51. The control circuit 400 stores the acquired input data 61a-61k in an input data table 52a. Hereinafter, when the input data 61a-61k are not particularly distinguished from each other, they are simply referred to as input data 61.
[0030] Furthermore, the control circuit 400 transfers the input data table 52a stored in the register 41 to the shared memory 410. The transfer means, for example, copying the input data table 52a from the register 41 to the shared memory 410.
[0031] The register 41 stores an access cycle table 51 and an input data table 52a.
[0032] The access period table 51 is a table in which the access period for each type of input module 120 is registered. The access period table 51 is stored in advance in the register 41 before shipment of the plant control device 1. An example of the configuration of the access period table 51 will be described later with reference to FIG. 3. Hereinafter, the type of input module 120 is referred to as a "module type." The access period of each module type in this embodiment is the data update period for each module type. The data update period is the period in which each input module 120 acquires input data from an external device. The input data 61a-61k stored in the memories 600a-600k of each input module 120a-120k is updated at each data update period.
[0033] The input data table 52a is a table in which the slot numbers of the slots 11c-11m into which the multiple input modules 120a-120k are inserted, the module types of the multiple input modules 120a-120k, and the input data 61a-61k acquired from the memories 600a-600k of the multiple input modules 120a-120k are associated with each other. The input data table 52a is generated by the control circuit 400 when the interface module 110 is started for the first time. An example of the configuration of the input data table 52a will be described later with reference to FIG. 4.
[0034] The shared memory 410 is a readable / writable storage device such as a static random access memory (SRAM). The shared memory 410 stores an input data table transferred from the register 41 by the control circuit 400. In FIG. 2, the input data table in the register 41 is described as "input data table 52a," and the input data table transferred from the register 41 to the shared memory 410 is described as "input data table 52b." The input data table 52a and the input data table 52b have the same item configuration. The input data table 52a and the input data table 52b are collectively referred to as "input data table 52."
[0035] The register 41 cannot be accessed from the interface module 210 of the plant control device 2, but the shared memory 410 can be accessed from the interface module 210. The control circuit 400 copies the input data table 52a of the register 41 to the shared memory 410, so that the interface module 210 of the plant control device 2 can read out the input data stored in the input data table 52b of the shared memory 410. The interface module 210 of the plant control device 2 accesses the shared memory 410 of the plant control device 1 at a timing determined by, for example, the controller 240. Since the interface module 110 of the plant control device 1 acquires input data from the multiple input modules 120a to 120k according to their respective data update periods, the plant control device 2 can acquire the input data of each of the input modules 120a to 120k from the shared memory 410 without adjusting the access timing to the data update period of the multiple input modules 120a to 120k.
[0036] The input modules 120a to 120k each include a memory 600a to 600k, a control circuit 610a to 610k, and an I / O port 121a to 121k. Although FIG. 2 illustrates a configuration common to the input modules 120a to 120k, each of the input modules 120a to 120k may further include a unique configuration. Hereinafter, when the individual control circuits 610a to 610k are not differentiated from each other, they are simply referred to as a control circuit 610. When the individual memories 600a to 600k are not differentiated from each other, they are simply referred to as a memory 600. When the individual I / O ports 121a to 121k are not differentiated from each other, they are simply referred to as an I / O port 121.
[0037] 2, sensors 6a to 6k are connected to the I / O ports 121a to 121k. The sensors 6a to 6k are examples of external devices that input input data to the input modules 120a to 120k. Note that the external devices connected to the I / O port 121 are not limited to sensors. Hereinafter, when there is no need to distinguish between the sensors 6a to 6k, they will simply be referred to as sensor 6.
[0038] The memories 600a to 600k store input data 61a to 61k, module types 62a to 62k, and control circuits 610a to 610k. The memories 600a to 600k are, for example, storage devices such as readable and writable SRAMs.
[0039] Alternatively, the input modules 120a to 120k may include both read-only memory and read / write memory. In this case, the read-only memory such as a ROM (Read Only Memory) stores the module types 62a to 62k, and the read / write memory such as a RAM (Random Access Memory) stores the input data 61a to 61k. Hereinafter, when there is no need to distinguish between the individual module types 62a to 62k, they will simply be referred to as module types 62.
[0040] The following describes the function of the input module 120, taking the input module 120a as an example. The I / O port 121a of the input module 120a is connected to, for example, the sensor 6a.
[0041] The control circuit 610a controls input and output of data via the I / O port 121a. For example, the control circuit 610a stores the input data 61a acquired by the I / O port 121a from the sensor 6a at a specified data update period in the memory 600a. The time length per data update period of the input data 61a depends on the module type of the input module 120a.
[0042] The memory 600a also stores a module type 62a of the input module 120a. The module type 62a is stored in the memory 600a before the input module 120a is shipped.
[0043] The input modules 120b to 120k each have a similar configuration to the input module 120a.
[0044] Next, the configuration of the access cycle table 51 stored in the register 41 of the interface module 110 will be described.
[0045] Fig. 3 is a diagram showing an example of the access period table 51 according to this embodiment. As shown in Fig. 3, a module type and an access period are stored in association with each other at each address of the register 41. Among the addresses in the storage area of the register 41, the addresses not to be used as the access period table 51 are assumed to be determined in advance.
[0046] The module type is, for example, a code indicating the model of the input module 120. The control circuits 610 of the input modules 120 of the same module type update the input data 61 of the memory 600 at the same data update period. For example, the data update period of the input module 120 of the module type "GEN610nnn" is 50 microseconds. In this case, the access period "50 microseconds" is associated with the module type "GEN610nnn" and registered in the access period table 51. The data update period of the input module 120 of the module type "GSN620nnn" is 100 microseconds, and the data update period of the input modules 120 of the module type "GPI630nnn" and the module type "GDI650nnn" is 10 microseconds. In this case, in the access period table 51, the module type "GSN620nnn" is registered with an access period of "100 microseconds", and the module types "GPI630nnn" and "GDI650nnn" are registered with an access period of "10 microseconds".
[0047] Since the module types of the input modules 120 that may be attached to the basic base 10 are predetermined, the module types and access periods of the input modules 120 that may be attached to the basic base 10 are pre-registered in the access period table 51.
[0048] Next, the configuration of the input data table 52a stored in the register 41 of the interface module 110 will be described.
[0049] Fig. 4 is a diagram showing an example of the input data table 52a according to the present embodiment. As shown in Fig. 4, a slot number, a module type, and input data are stored in association with each other at each address of the register 41. Among the addresses in the storage area of the register 41, addresses that are not used as the input data table 52a are assumed to be determined in advance.
[0050] The slot number is identification information for identifying the slots 11c to 11m in which the input modules 120a to 120k are inserted. In the plant control device 1, one input module 120 is inserted into one slot 11, so that one input module 120 can be identified by the slot number.
[0051] As an example, slot number "1" indicates slot 11c, slot number "2" indicates slot 11d, slot number "3" indicates slot 11e, and slot number "11" indicates slot 11m.
[0052] The input data stored in the input data table 52a is the input data 61a to 61k acquired by the control circuit 400 of the interface module 110 from the memories 600a to 600k of the input modules 120a to 120k.
[0053] Next, the relationship between the update cycle of the input data 61a to 61k in the memories 600a to 600k of the input modules 120a to 120k and the acquisition timing of the input data 61a to 61k by the control circuit 400 of the interface module 110 will be described.
[0054] FIG. 5 is a diagram showing an example of the data update period of the input data 61a, 61c stored in the memories 600a, 600c of the two input modules 120a, 120c according to this embodiment, and an example of the access timing for data acquisition by the control circuit 400 of the interface module 110.
[0055] 5 shows values of input data 61a and 61c that change in time series from left to right. Arrows 70a to 70j, 71a, and 71b in FIG.
[0056] For example, as shown in Fig. 2, input module 120c is inserted into slot 11e. As described above, slot 11e has the slot number "3." Also, as shown in Fig. 4, the module type of input module 120c inserted into slot 11e with slot number "3" is "GPI630nnn." And, as shown in Fig. 3, the data update period corresponding to the module type "GPI630nnn" is 10 microseconds.
[0057] That is, the input module 120c updates the input data 61c stored in the memory 600c every 10 microseconds. In the example shown in Fig. 5, the value of the input data 61c stored in the memory 600c changes in the following order every 10 microseconds: "XXXX", "XXXA", "XXXB", "XXXC", "XXXD", "XXXE", "XXXF", "XXXG", "XXXH", and "XXXI".
[0058] In this case, the control circuit 400 of the interface module 110 accesses the input module 120c at an access period corresponding to the data update period of the input module 120c, and acquires the input data 61c from the memory 600c. More specifically, the control circuit 400 reads out the input data 61c once per data update period of the input module 120c. For example, the control circuit 400 acquires the data a second time at the timing indicated by the arrow 70b 10 microseconds after acquiring the data a first time at the timing indicated by the arrow 70a. This allows the control circuit 400 to acquire the input data 61c every time the input data 61c changes. In addition, since the input data 61c does not change even if data is acquired multiple times in one data update period, acquiring data once per data update period can reduce the control circuit 400 from accessing the memory 600c more than necessary.
[0059] 2, the input module 120a is inserted into the slot 11c. As described above, the slot number of the slot 11c is "1." As shown in FIG 4, the module type of the input module 120a inserted into the slot 11c with the slot number "1" is "GEN610nnn." And, as shown in FIG 3, the access period corresponding to the module type "GEN610nnn" is 50 microseconds.
[0060] That is, the input module 120a updates the input data 61a stored in the memory 600a every 50 microseconds.
[0061] In this case, the control circuit 400 of the interface module 110 accesses the input module 120a once per data update period of 50 microseconds to read out the input data 61a.
[0062] If the control circuit 400 reads the input data 61a and the input data 61c at a timing that matches the data update period of the input module 120a, the frequency of reading will be lower than the frequency of updating the input data 61c. Alternatively, if the control circuit 400 reads the input data 61a and the input data 61c at a timing that matches the data update period of the input module 120c, multiple read processes will occur before the input data 61a is updated. The control circuit 400 of this embodiment can obtain the input data 61a and 61c at an appropriate timing that matches each of the input modules 120a and 120c by obtaining the input data 61a and 61c from the memories 600a and 600c according to the data update periods of the input modules 120a and 120c.
[0063] Although FIG. 5 illustrates input data 61a, 61c stored in memories 600a, 600c, the control circuit 400 similarly acquires input data 61b, 61d, 61k stored in other memories 600b, 600d, 600k from the memories 600b, 600d, 600k in accordance with the data update period of each input module 120b, 120d, 120k.
[0064] Next, a process flow for acquiring and storing the input data 61a to 61k executed by the control circuit 400 of the interface module 110 configured as above will be described.
[0065] 6 is a flowchart showing an example of the flow of an initial setting process executed by the control circuit 400 of the interface module 110 according to this embodiment. The process of this flowchart is executed at the start of the plant control device 1. In addition, as a prerequisite for executing this flowchart, it is assumed that an access period table 51 is stored in the register 41 of the interface module 110.
[0066] First, the control circuit 400 acquires the module types 62a-62b, slot numbers, and input data 61a-61b from each of the input modules 120a-120k, and stores them in the register 41. This generates the input data table 52a described in Fig. 4. Then, the control circuit 400 transfers the input data table 52a in the register 41 to the shared memory 410 (S1).
[0067] More specifically, the control circuit 400 reads the input data 61a-61k and the module types 62a-62k from the memories 600a-600k of the input modules 120a-120k inserted into the slots 11c-11m. When accessing the input modules 120a-120k inserted into the slots 11c-11m, the control circuit 400 is capable of identifying the slot numbers of the slots 11c-11m.
[0068] Then, the control circuit 400 associates the input data 61a to 61k and the module types 62a to 62k with the slot numbers of the slots 11c to 11m into which the input modules 120a to 120k are inserted, and stores them in the addresses of the register 41 in the order of the slot numbers.
[0069] Moreover, the transfer of the input data table 52a of the register 41 to the shared memory 410 specifically means copying the input data table 52a to the shared memory 410. The control circuit 400 copies the input data table 52a of the register 41 to the shared memory 410 while associating the slot numbers, module types, and input data of the input data table 52a. Through this process, an input data table 52b is generated in the shared memory 410.
[0070] By the process of S1, the interface module 210 of the plant control device 2 becomes capable of reading out the input data stored in the input data table 52b of the shared memory 410.
[0071] Next, the control circuit 400 specifies the data update period of each of the input modules 120a to 120k based on the acquired module type of each of the input modules 120a to 120k and the access period for each module type stored in the access period table 51 (S2).
[0072] Then, the control circuit 400 starts the process of accessing each of the input modules 120a to 120k based on the identified access cycle (S3).
[0073] FIG. 7 is a flowchart showing an example of the flow of an access process to an input module executed by the control circuit 400 of the interface module 110 according to this embodiment.
[0074] The process of this flowchart is executed individually for each of the input modules 120a to 120k. Here, as an example, the flow of the access process in the input module 120a will be described.
[0075] The control circuit 400 accesses the memory 600a of the input module 120a to acquire the input data 61a, and stores the acquired input data 61a in the input data table 52a of the register 41. After storing, the input data table 52a of the register 41 is transferred to the shared memory 410 (S31).
[0076] Then, the control circuit 400 waits until the time equivalent to the access cycle of the input module 120a identified in the process of S2 in FIG. 6 has elapsed from the time of access to the input module 120a in the process of S31 (S32 "No").
[0077] When the time equivalent to the access period of the input module 120a has elapsed since the access time of the input module 120a in the process of S31 (S32 "Yes"), the process returns to S31. While the plant control device 1 is in operation, the processes of S31 to S32 are repeated. When the power supply of the plant control device 1 is turned off, the process of this flowchart ends.
[0078] The control circuit 400 also acquires the input data 61b to 61k from the input modules 120b to 120k in accordance with the access cycle of each of the input modules 120b to 120k, in the same manner as the processing flow shown in FIG.
[0079] In this flowchart, the transfer process of the input data table 52a from the register 41 to the shared memory 410 is executed every time the input data table 52a of the register 41 is updated, but the timing of the transfer process is not limited to this. For example, the control circuit 400 may repeatedly execute the transfer process of the input data table 52a from the register 41 to the shared memory 410 at regular intervals, regardless of the timing of the update process of the input data table 52a of the register 41. The time interval of the transfer process of the input data table 52a from the register 41 to the shared memory 410 is set to be equal to or shorter than the shortest time interval among the data update periods of the input modules 120a to 120k.
[0080] As described above, the plant control device 1 of this embodiment includes a plurality of input modules 120b to 120k and an interface module 110. The interface module 110 acquires the module type of each of the plurality of input modules 120b to 120k from the plurality of input modules 120b to 120k, and identifies the access period of each of the plurality of input modules 120b to 120k by referring to the acquired module type and the access period table 51 stored in the register 41. The interface module 110 accesses the plurality of input modules 120b to 120k for each access period of the identified plurality of input modules to acquire data. Therefore, according to the plant control device 1 of this embodiment, it is possible to acquire input data 61a to 61k from the plurality of input modules 120a to 120k at an access period according to the module type of each of the input modules 120a to 120k.
[0081] Furthermore, in the plant control device 1 of this embodiment, each of the multiple input modules 120b to 120k receives data input from an external device at a data update period defined by the module type. The register 41 of the interface module 110 stores the data update period for each module type as an access period for each module type. Therefore, according to the plant control device 1 of this embodiment, even if the update periods of the input data 61a to 61k of the multiple input modules 120b to 120k are different from each other, the interface module 110 can acquire the updated input data 61a to 61k every time the input data 61a to 61k is updated in the multiple input modules 120b to 120k.
[0082] Furthermore, in the plant control device 1 of this embodiment, the register 41 in the interface module 110 stores the data update period for each of the multiple input modules 120a to 120k, so that the interface module 110 can centrally manage data collection from the multiple input modules 120a to 120k. As a comparative example, if each of the multiple input modules accesses the interface module at an individual timing, access collisions may occur between buses in the plant control device. In contrast, in the plant control device 1 of this embodiment, the interface module 110 centrally manages access to the multiple input modules 120a to 120k, so that the occurrence of data collisions during access can be reduced.
[0083] Moreover, the interface module 110 of this embodiment includes interface ports 111a and 111b connectable to the interface module 210 of the plant control device 2, and a shared memory 410 accessible from the interface module 210. The control circuit 400 transfers the input data table 52a stored in the register 41 to the shared memory 410. Therefore, according to the interface module 110 of this embodiment, the input data 61a to 61k acquired from the multiple input modules 120a to 120k can be provided in a state in which the input data 61a to 61k can be read out from the interface module 210 of the plant control device 2.
[0084] Each of the input modules 120a-120k connected to the interface module 110 of this embodiment includes a memory 600a-600k and a control circuit 610a-610k. The control circuits 610a-610k store input data 61a-61k input from an external device in the memory 600a-600k at the data update period of each of the input modules 120a-120k. The control circuit 400 of the interface module 110 of this embodiment acquires the input data 61a-61k from the memory 600a-600k of each of the input modules 120a-120k.
[0085] In addition, the data update period of the input modules 120a to 120k in this embodiment differs for each module type. The register 41 of the interface module 110 in this embodiment stores the module type and the data update period in association with each other. The control circuit 400 of the interface module 110 in this embodiment acquires the module types 62a to 62k of the input modules 120a to 120k from the memories 600a to 600k of the input modules 120a to 120k. The control circuit 400 identifies the data update period of each of the input modules 120a to 120k based on the data update period stored in the register 41 in association with the module type and the module type of the input modules 120a to 120k acquired from each of the memories 600a to 600k. The control circuit 400 acquires the input data 61a to 61k from the memories 600a to 600k once for each data update period of the identified input modules 120a to 120k. Therefore, according to the interface module 110 of this embodiment, the input data 61a to 61k can be acquired every time the input data 61a to 61k is updated.
[0086] Moreover, the input modules 120a-120k of this embodiment are stored in the slots 11c-11m, one by one. The control circuit 400 of the interface module 110 of this embodiment stores the module types 62a-62k and the input data 61a-61k acquired from each of the input modules 120a-120k in the register 41 in association with the slot numbers of the slots 11c-11m. According to the interface module 110 of this embodiment, the input modules 120a-120k can be uniquely identified by the slot number, and therefore the input data 61a-61k acquired from each of the input modules 120a-120k can be managed individually.
[0087] In this embodiment, the access period table 51 has been described as a table, but the data storage format is not limited to the table format, and it is sufficient that data update period information in which the module type and the data update period are associated with each other is stored in the register 41. Similarly, the data storage format of the input data tables 52a and 52b is not limited to the table format, and it is sufficient that input data information in which the slot number, the module type, and the input data are associated with each other is stored in the register 41 and the shared memory 410.
[0088] In this embodiment, an example has been described in which the access period from the interface module 110 to the input modules 120a to 120k is synchronized with the data update period of the input modules 120a to 120k. However, if there is no need to obtain the input data each time the input data is updated, the access period may be set to a constant multiple of the data update period.
[0089] In this embodiment, a register is exemplified as the storage device of the interface module 110, but other storage devices may be used.
[0090] The program executed by the interface module 110 of this embodiment is provided by being pre-installed in a ROM or the like. The program executed by the interface module 110 of this embodiment may be provided by being recorded in a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a digital versatile disk (DVD) in the form of an installable or executable file.
[0091] Furthermore, the program executed by the interface module 110 of this embodiment may be configured to be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the program executed by the interface module 110 of this embodiment may be configured to be provided or distributed via a network such as the Internet.
[0092] The program executed by the interface module 110 of this embodiment has a modular configuration capable of realizing the functions of the control circuit 400 described above.
[0093] Although the embodiment of the present invention has been described, the embodiment is presented as an example and is not intended to limit the scope of the invention. The novel embodiment can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. The embodiment and its modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0094] 1,2 Plant control device 3 Cable 10,20 Basic Base 11,11a~11m Slots 41 Register 51 Access Periodic Table 52, 52a, 52b Input data table 61,61a~61k Input data 62,62a~62k Module type 70a~70j,71a,71b Arrows 90 Bus 91 Power supply cable 110 Interface Module 111a, 111b, 211a~211d interface ports 120,120a~120k input module 130,230 Power Module 210 Interface Module 220a~220i I / O Transmission Module 240 Controller 400 Control circuit 410 Shared Memory 600,600a~600k memory 610,610a~610k Control circuit S Control System
Claims
1. A plurality of input modules for receiving data input from external devices; an interface module connected to the plurality of input modules; The plurality of input modules include: storing a module type of each of the plurality of input modules; The interface module includes: a register for storing an access cycle for each module type; a control circuit that acquires the module type of each of the plurality of input modules from the plurality of input modules, identifies the access period of each of the plurality of input modules by referring to the acquired module type and the access period stored in the register, and accesses the plurality of input modules for each of the identified access periods of the plurality of input modules to acquire the data. Plant control device.
2. each of the plurality of input modules receives data input from the external device at a data update period defined by the module type; the register stores the data update period for each of the module types as an access period for each of the module types; The plant control device according to claim 1 .
3. The interface module includes: A shared memory accessible from an interface module of another plant control device is provided, storing the data acquired from the plurality of input modules in the shared memory; The plant control device according to claim 1 or 2.
4. The control circuit includes: storing the data acquired from the plurality of input modules in the register; transferring the data stored in the register to the shared memory at regular intervals; The plant control device according to claim 3 .
5. A base having a plurality of slots; the input modules and the interface module are stored in the slots one by one; the control circuit stores in the register the module type and the data acquired from each of the plurality of input modules in association with identification information of the slot in which each of the plurality of input modules is stored; The plant control device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Supervisory and control method for equipment system
JP1999288304A
Method for updating process data collection device
JP2000172307A
Programmable controller and CPU module
JP2009053963A
Plant monitoring control system
JP2010250435A
Input / output refresh system of programmable controller
JP2015060377A