Control device and control method.

The control device addresses the challenge of updating supervisory control systems by using dual communication units to manage signal addresses, enabling seamless integration and reuse of existing devices, thus simplifying the transition to a new system.

JP7554715B2Active Publication Date: 2024-09-20HITACHI LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021104665
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-24
Publication Date
2024-09-20
Estimated Expiration
2041-06-24

AI Technical Summary

Technical Problem

Existing supervisory control systems face challenges in updating control devices while maintaining compatibility with existing input/output devices, as inter-controller communication units may be discontinued or incompatible with the new system, requiring complex address rewriting during trial runs.

Method used

A control device with first and second input/output communication units and a control unit that manages signal addresses, allowing seamless integration with existing devices by associating signals with relative addresses and converting them back to original addresses without rewriting, enabling easy switching between old and new systems.

Benefits of technology

Facilitates easy updating of control devices by reusing existing input/output devices, eliminating the need for complex address rewriting and ensuring smooth operation of both old and new supervisory control systems during trial runs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007554715000013
    Figure 0007554715000013
  • Figure 0007554715000011
    Figure 0007554715000011
  • Figure 0007554715000003
    Figure 0007554715000003
Patent Text Reader

Abstract

To enable easily updating a control device by using an existing input / output device.SOLUTION: A control device 22 of one aspect of the present invention writes a status signal transmitted by a control unit 222 to an existing control device 12, or an operation signal transmitted from the existing control device 12 to an area of a register 227 specified by a second address that is an address obtained by changing a first address associated with each of the status signal and the operation signal by a predetermined relative number of times. A second input / output communication unit 225 changes the second address associated with the status signal or operation signal read from the register 227, to the first address and transmits it to the existing control device 12.SELECTED DRAWING: Figure 14
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device and a control method. [Background technology]

[0002] Conventionally, there is known a monitoring and control system that monitors and controls the operation of equipment used in a plant. The monitoring and control system includes a monitoring and operation device and a control device. The monitoring and operation device generates an operation signal based on a status signal of the controlled equipment transmitted from the control device and a calculation result of the status signal, and transmits the operation signal to the control device. The control device transmits a status signal of the mechanical equipment, which is the controlled equipment, and a calculation result of the status signal to the monitoring and operation device, and controls the operation of the controlled equipment based on the operation signal transmitted from the monitoring and operation device.

[0003] In such a monitoring and control system, there are cases where an existing system needs to be updated (switched or replaced) with a new system. For example, Patent Document 1 discloses a technology that, when updating a higher-level system corresponding to a monitoring and operation device from an old system to a new system, a relay device cuts off or relays communication between the old system and the new system based on setting information for communication to be cut off, thereby enabling an interface test between the new system and a lower-level system to be safely performed. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2019-117524 A Summary of the Invention [Problem to be solved by the invention]

[0005] Incidentally, Patent Document 1 describes the update of the upper system, but does not describe the update (switching) of the monitoring and control system including the control device. As a method of updating the monitoring and control system including the control device, a method of switching to a new monitoring and control system by reusing the input / output devices connected to the existing control device is considered. This switching method can be realized by switching the connection destination of the input / output devices from the existing control device to the new control device. However, when the connection destination of the input / output devices is switched to the new control device, monitoring and control by the old monitoring and operation device via the existing control controller cannot be performed.

[0006] Before updating to a new monitoring and control system, a trial run with the new monitoring and control system must be performed. During this trial run period, it is necessary that both the new monitoring and control system and the existing monitoring and control system can be operated, for example, by performing a trial run with the new monitoring and control system during the day and operating with the existing monitoring and control system at night. In other words, the connection between the control device and the input / output device in the existing monitoring and control system must be maintained.

[0007] By connecting the existing control device and the new control device using the inter-controller communication unit, it becomes possible to switch between the new monitoring and control system and the existing monitoring and control system. However, if the existing control device has already been discontinued, it is highly likely that the inter-controller communication unit that is compatible with the existing control device has also been discontinued. In such a case, it will not be possible to update to the new monitoring and control system.

[0008] Even if an inter-controller communication unit compatible with an existing control device can be prepared, it is possible that the firmware, operating system, middleware, etc. of the existing control device are not compatible with the inter-controller communication unit. In this case, the inter-controller communication unit cannot connect between the existing control device and the new control device.

[0009] Even if the firmware, operating system, middleware, etc. of the existing control device are compatible with the inter-controller communication unit, when the inter-controller communication unit connects the existing control device and the new control device, it is necessary to rewrite the address (device number) of the register of the existing control device to an address for the inter-controller communication unit. Then, the rewritten address needs to be rewritten back to the original address after the trial operation period is over, which is troublesome.

[0010] The present invention has been made in consideration of the above circumstances, and an object of the present invention is to make it possible to easily update a control device by utilizing existing input / output devices. [Means for solving the problem]

[0011] A control device according to an embodiment of the present invention is a control device that replaces an existing control device that controls the operation of a control target device by an operation signal generated based on a status signal output from the control target device. The control device according to an embodiment of the present invention includes a first input / output communication unit connected to an input / output device that inputs and outputs a status signal, a second input / output communication unit connected to the existing control device, and a control unit that writes or reads a signal input / output to / from the first input / output communication unit or the second input / output communication unit to / from a register and performs signal calculations. The control unit writes a status signal to be transmitted to the existing control device or an operation signal transmitted from the existing control device to an area of ​​the register specified by a second address, which is an address obtained by changing a predetermined relative number from a first address associated with each of the status signal and the operation signal. The second input / output communication unit changes the second address associated with the status signal or operation signal read from the register to the first address and transmits it to the existing control device or the input / output device. Effect of the Invention

[0012] According to at least one aspect of the present invention, it becomes possible to easily update a control device by utilizing an existing input / output device. Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiment. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a conventional monitoring and control system during a test run period. [Diagram 2] FIG. 1 is a diagram illustrating an example of the configuration of an old controller during a conventional test run period. [Diagram 3] FIG. 13 is a diagram showing an example of the configuration of a new controller during a conventional test run period. [Figure 4] FIG. 1 is a diagram illustrating an example of the configuration of an old controller, a new controller, and an input / output device during a conventional test run period. [Diagram 5] 11 is a diagram showing an example of input / output signals input / output during a trial run period between a conventional old controller and a new controller, and between the new controller and an input / output device. FIG. [Figure 6] FIG. 13 is a diagram showing an example of the configuration of the ladder programs of an old controller and a new controller during a conventional test run period. [Figure 7] FIG. 2 is a diagram illustrating an example of the configuration of an old monitoring and control system before the start of a test run according to an embodiment of the present invention. [Figure 8] A figure showing an example of the configuration of a new monitoring and control system at the end of a trial run in one embodiment of the present invention. [Figure 9] 1 is a diagram illustrating an example of the configuration of a monitoring and control system during a trial run period according to an embodiment of the present invention. FIG. [Figure 10] FIG. 2 is a diagram illustrating an example of the configuration of an old controller according to an embodiment of the present invention. [Figure 11] FIG. 11 is a diagram illustrating an example of the configuration of a new controller during a trial operation period according to one embodiment of the present invention. [Figure 12]1A to 1C are diagrams illustrating examples of the configuration of an input / output device before the start of a trial run, during a trial run, and after the trial run is completed in one embodiment of the present invention. [Figure 13] 1 is a diagram illustrating an example of the configuration of an old controller, a new controller, and an input / output device during a trial run period according to an embodiment of the present invention. FIG. [Figure 14] 11 is a diagram showing an example of signals input and output during a trial operation period between an old controller and a new controller, and between the new controller and an input / output device according to an embodiment of the present invention. FIG. [Figure 15] 11 is a diagram showing an example of the configuration of the ladder programs of the old controller and the new controller during a trial run period in one embodiment of the present invention. FIG. [Figure 16] 1 is a flowchart showing an example of the procedure of a control method by a new controller during operation of an old monitoring and control system during a trial run period in one embodiment of the present invention. [Figure 17] 1 is a flowchart showing an example of the procedure of a control method by a new controller during operation of a new monitoring and control system during a trial operation period in one embodiment of the present invention. [Figure 18] 1 is a block diagram showing an example of a hardware configuration that constitutes each device of a monitoring and control system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] First, before describing a mode for carrying out the present invention (hereinafter referred to as an "embodiment"), problems that cannot be solved by the conventional technology will be described with reference to Figures 1 to 6. In this specification and drawings, the same components or components having substantially the same functions are denoted by the same reference numerals, and duplicated descriptions will be omitted.

[0015] <Conventional example> [Configuration of the old monitoring and control system] First, the configuration of a conventional monitoring and control system during a test run period will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of the configuration of a conventional monitoring and control system 1A during a test run period.

[0016] As shown in Fig. 1, in a conventional monitoring and control system 1A during a trial run, an old monitoring and control system 1oA enclosed in a dashed-dotted frame and a new monitoring and control system 1nA enclosed in a dashed-dotted frame are mixed together. The old monitoring and control system 1oA is the existing system that is being switched over (updated), and the new monitoring and control system 1nA is the new system that is switching over (updating).

[0017] The old monitoring and control system 1oA includes an old monitoring and control device 110, an old controller 120, an input / output device 230, and a controlled device 240. The new monitoring and control system 1nA includes a new monitoring and control device 210, a new controller 220, an input / output device 230, and a controlled device 240. In other words, the input / output device 230 is used in both the old monitoring and control system 1oA and the new monitoring and control system 1nA.

[0018] The new monitoring operation device 210 is connected to a new control controller 220 via a new control LAN (Local Area Network) Lcn, and the new control controller 220 is connected to an input / output device 230 via an I / O communication line Li. The input / output device 230 is connected to a controlled device 240 via a plant signal input / output line Lp.

[0019] The old monitoring operation device 110 is connected to the old control controller 120 via the old control LAN Lco, and the old controller 120 is connected to the new control controller 220 of the new monitoring control system 1nA via an inter-controller communication line Lc.

[0020] The controlled devices 240 are various devices (mechanical equipment) that operate in a plant (not shown), and operate based on operation signals transmitted from the old controller 120 or the new controller 220. The controlled devices 240 generate status signals indicating their own status as needed, and transmit the generated status signals to the new monitoring operation device 210.

[0021] The input / output device 230 controls input / output operations of various data between the control-target devices 240 and the new control controller 220. The old control controller 120 transmits status signals of the control-target devices 240 and calculation results of the status signals to the old monitoring operation device 110, and also transmits operation signals transmitted from the old monitoring operation device 110 to the input / output device 230. The new control controller 220 transmits status signals of the control-target devices 240 and calculation results of the status signals to the new monitoring operation device 210, and also transmits operation signals transmitted from the new monitoring operation device 210 to the input / output device 230.

[0022] The old monitoring operation device 110 monitors the state of the control-target device 240 based on a status signal transmitted from the control-target device 240, generates an operation signal based on the monitoring result, and transmits the generated operation signal to the old control controller 120. The new monitoring operation device 210 monitors the state of the control-target device 240 based on a status signal transmitted from the control-target device 240, generates an operation signal based on the monitoring result, and transmits the generated operation signal to the new control controller 220.

[0023] When a trial run of the new monitoring control system 1nA is performed, the connection destination of the old controller 120 is switched from the input / output device 230 connected by the I / O communication line Li shown by the dashed line to the new controller 220 connected by the inter-controller communication line Lc shown by the solid line. Then, for example, during the trial run period, the new controller 220 exchanges various data with the new monitoring operation device 210 during the day, and exchanges various data with the old monitoring operation device 110 via the old controller 120 at night.

[0024] After the trial run is completed, the connection between the old controller 120 and the new controller 220 is cut off, and the new monitoring and control system 1nA consisting of the new monitoring operation device 210, the new controller 220, the input / output device 230 and the controlled device 240 begins full operation.

[0025] Fig. 2 is a diagram showing a configuration example of the old controller 120 during a conventional test run period. As shown in Fig. 2, the old controller 120 includes a power supply unit 1201, a CPU (Central Processing Unit) unit 1202, a control LAN communication unit 1203, an I / O communication unit 1204, and an inter-controller communication unit 1205.

[0026] The power supply unit 1201 converts and insulates power input from an external AC power supply or DC power supply, and supplies the power to each component constituting the old controller 120 .

[0027] The CPU unit 1202 has a ladder program 1206 (see FIG. 5). The ladder program 1206 performs arithmetic processing on digital signals and analog signals input from the control LAN communication unit 1203 or the I / O communication unit 1204. Then, the CPU unit 1202 outputs the result of the arithmetic processing (arithmetic result) to the control LAN communication unit 1203 or the I / O communication unit 1204.

[0028] The control LAN communication unit 1203 is connected to the old monitoring operation device 110 (see FIG. 1) via the old control LANLco. The control LAN communication unit 1203 transmits operation signals sent from the old monitoring operation device 110 to the CPU unit 1202. In addition, the control LAN communication unit 1203 transmits calculation results input from the CPU unit 1202 and digital or analog signals input from the I / O communication unit 1204 to the old monitoring operation device 110 via the control LANLco.

[0029] The I / O communication unit 1204 is disconnected from the input / output device 230 at the start of commissioning.

[0030] The inter-controller communication unit 1205 is connected to the new control controller 220 via the inter-controller communication line Lc, and controls communication performed with the new control controller 220. The inter-controller communication unit 1205 transmits a digital status signal (hereinafter referred to as a "digital status signal") or an analog status signal (hereinafter referred to as an "analog status signal") input from the input / output device 230 via the inter-controller communication unit 2205 to the CPU unit 1202. In addition, the inter-controller communication unit 1205 transmits an operation signal, a digital signal, or an analog signal input from the CPU unit 1202 to the input / output device 230 via the inter-controller communication unit 2205, the CPU unit 2202, and the I / O communication unit 2204.

[0031] 3 is a diagram showing an example of the configuration of the new controller 220 during a conventional test run. As shown in FIG. 3, the new controller 220 includes a power supply unit 2201, a CPU unit 2202, a control LAN communication unit 2203, an I / O communication unit 2204, and an inter-controller communication unit 2205.

[0032] The configurations of the power supply unit 2201 and the CPU unit 2202 are the same as those of the power supply unit 1201 and the CPU unit 1202 in the old controller 120 shown in FIG. 2, and therefore a description thereof will be omitted here.

[0033] The control LAN communication unit 2203 is connected to the new monitoring operation device 210 (see FIG. 1) via the new control LANLcn. The control LAN communication unit 2203 transmits an operation signal sent from the new monitoring operation device 210 to the CPU unit 2202. The control LAN communication unit 2203 also transmits an operation signal input from the CPU unit 2202 and a digital status signal or an analog status signal input from the I / O communication unit 2204 to the new monitoring operation device 210.

[0034] The I / O communication unit 2204 is connected to the input / output device 230 via an I / O communication line Li. The I / O communication unit 2204 transmits a digital status signal or an analog status signal input from the input / output device 230 to the CPU unit 2202. The I / O communication unit 2204 also transmits an operation signal, a digital signal, or an analog signal input from the CPU unit 2202 to the input / output device 230 via the I / O communication line Li.

[0035] The inter-controller communication unit 1205 is connected to the old controller 120 (see FIG. 2) via an inter-controller communication line Lc, and controls communication performed with the old controller 120.

[0036] Fig. 4 is a diagram showing an example of the configuration of the old controller 120, the new controller 220, and the input / output device 230 during a conventional trial run period. The configuration of the old controller 120 is the same as that shown in Fig. 2, and the configuration of the new controller 220 is the same as that shown in Fig. 3, so a description of these will be omitted here.

[0037] The input / output device 230 includes a power supply unit 2301 , an I / O communication unit 2302 , a digital signal input unit 2303 , a digital signal output unit 2304 , an analog signal input unit 2305 , an analog signal output unit 2306 and a pulse signal input unit 2307 .

[0038] The power supply unit 2301 has the same functions as the power supply unit 1201 of the old controller 120 and the power supply unit 2201 of the new controller 220 .

[0039] The I / O communication unit 2302 is connected to the I / O communication unit 2204 of the new control controller 220 via an I / O communication line Li. The I / O communication unit 2302 outputs a digital status signal input from a digital signal input unit 2303, an analog status signal input from an analog signal input unit 2305, or a pulse status signal input from a pulse signal input unit 2307 to the I / O communication unit 2204 of the new control controller 220 via the I / O communication line Li.

[0040] The digital signal input unit 2303, the digital signal output unit 2304, the analog signal input unit 2305, the analog signal output unit 2306 and the pulse signal input unit 2307 are each connected to the controlled equipment 240 (see Figure 1) via a plant signal input / output line Lp (see Figure 1).

[0041] The digital signal input unit 2303 receives a digital status signal output from the controlled device 240 and indicating the status of the controlled device 240, and transmits the input digital status signal to the I / O communication unit 2302.

[0042] The digital signal output unit 2304 outputs an operation signal expressed as a digital signal transmitted from the old controller 120 or the new controller 220 to the controlled device 240 .

[0043] An analog status signal output from the controlled device 240 and indicating the status of the controlled device 240 is input to the analog signal input unit 2305 , and the analog signal input unit 2305 transmits the analog status signal to the I / O communication unit 2302 .

[0044] The analog signal output unit 2306 outputs an operation signal expressed as an analog signal transmitted from the old controller 120 or the new controller 220 to the controlled device 240 .

[0045] The pulse signal input unit 307 receives a pulse state signal output from the controlled device 240 and indicating the state of the controlled device 240 , and the pulse signal input unit 2307 transmits the pulse state signal to the I / O communication unit 2302 .

[0046] FIG. 5 is a diagram showing an example of input / output signals inputted / outputted between the conventional old controller 120 and the new controller 220, and between the new controller 220 and the input / output device 230 during the trial operation period.

[0047] 5 shows only a CPU unit 1202, an I / O communication unit 1204, and an inter-controller communication unit 1205 among the blocks constituting the old controller 120. Also, of the blocks constituting the new controller 220, only a CPU unit 2202, an I / O communication unit 2204, and an inter-controller communication unit 2205 are shown.

[0048] The CPU unit 1202 of the old controller 120 has a ladder program 1206 and a register 1207. The ladder program 1206 refers to (reads out) or sets (writes) data stored in the register 1207 to execute monitoring and control of the control target device 240. Specifically, the ladder program 1206 calculates the status signal of the control target device 240 (see FIG. 1) stored in the register 1207, and outputs the result of the calculation to the I / O communication unit 1204. The ladder program 2206 of the new controller 220 also performs similar processing.

[0049] During the trial run period of the new monitoring and control system, when the old monitoring operation device 110 is in operation (for example, at night), the operation signal output from the old monitoring operation device 110 and input to the I / O device 230, and the status signal output from the I / O device 230 and input to the old monitoring operation device 110 are transmitted via the inter-controller communication unit 2205 and the inter-controller communication unit 1205. On the other hand, during the trial run of the new monitoring operation device 210 (for example, during the day), the operation signal output from the new monitoring operation device 210 and input to the I / O device 230, and the status signal output from the I / O device 230 and input to the new monitoring operation device 210 are transmitted via the I / O communication unit 2204 of the new controller 220.

[0050] Such control can be realized by providing two registers, one for the I / O communication unit and one for the inter-controller communication unit, in each of the old controller 120 and the new controller 220, as shown in Fig. 5. When two different registers are used, the new controller 220, which needs to handle two operation signals or status signals for itself and for the old controller 120, also needs to have two ladder programs prepared corresponding to each.

[0051] Fig. 6 is a diagram showing an example of the configuration of the ladder programs of the old controller 120 and the new controller 220 during a conventional trial run. As shown in Fig. 6, the CPU unit 1202 of the old controller 120 has a ladder program 1206, and the CPU unit 2202 of the new controller 220 has a ladder program 2206.

[0052] Ladder program 1206 has ladder circuits Lc110, Lc120, and Lc130. Ladder circuit Lc110 has an a-contact "G001", an a-contact "M100", and an output relay "G211". The a-contact device number (address) "G001" and the output relay device number "G211" are values ​​that have been rewritten for the trial operation period. Before being rewritten, the a-contact device number was "X001", and the output relay device number was "Y011". In FIG. 6, the device numbers before being rewritten are overlaid with double lines.

[0053] During the trial operation period, communication between the old control controller 120 and the input / output device 230 is performed via the inter-controller communication units 1205, 1216, so the device numbers of each device that makes up the ladder program also need to be changed from values ​​for the input / output device (I / O communication unit) to values ​​for the inter-controller communication unit.

[0054] Device numbers for the I / O communication unit are indicated as "X***", "Y***" (both bool type (1 bit)), "XW***", "WY***" (both word type (16 bit)). Devices for the inter-controller communication unit are indicated as "G***" (bool type (1 bit)) or "FW***" (word type (16 bit)).

[0055] During the trial run period, when the old monitoring and control system 1oA (see FIG. 1) is in operation, that is, in the ladder circuit Lc110 after the device number has been changed, when the a-contact "G001" is ON and the a-contact "M100" is ON, the output relay "G211" is ON. As described above, the device numbers "G001" and "G211" are device numbers used in communication via the inter-controller communication unit 1205.

[0056] The signal output from ladder circuit Lc110 is input to the new control controller 220 via the inter-controller communication unit 1205 and the inter-controller communication unit 2205 of the new control controller 220 (see FIG. 5 for both). The signal is then transmitted to the input / output device 230 by the ladder circuit Lc140 of the ladder program 226 of the new control controller 220 via the I / O communication unit 2204. The ladder circuit Lc140 will be described later.

[0057] During normal operation before the start of the test run, ladder circuit Lc120 was a program that transferred the analog status signal stored in register 1207 (see Figure 5) of device number "XW100" to device number "LWW0001" for calculation input to the CPU unit 1202. On the other hand, during the test run, it becomes a program that transfers the analog status signal stored in device number "FW100" to device number "LWW0001" for calculation input to the CPU unit 1202. As mentioned above, device numbers beginning with "FW" are device numbers for the inter-controller communication unit.

[0058] During normal operation before the start of the test run, the ladder circuit Lc130 was a program that transferred the calculation result (operation signal) by the CPU unit 1202 stored in device number "LWW0002" to device number "YW110" for output to the input / output device 230. On the other hand, during the test run, it becomes a program that transfers the operation signal based on the calculation result by the CPU unit 1202 stored in device number "LWW0002" to device number "FW200" for output to the inter-controller communication unit 1205.

[0059] In this way, in the conventional technology in which an inter-controller communication unit is used to connect the old control controller 120 and the new control controller 220, when performing a trial run, it was necessary to rewrite each address number in the ladder program 1206 of the old control controller 120 to an address for the inter-controller communication unit.

[0060] The ladder program 2206 of the CPU unit 2202 of the new controller 220 has ladder circuits Lc140 to Lc190. In the ladder circuit Lc140, when the a-contact "X001" is ON, the a-contact "new output" is ON, and the a-contact "M100" is "ON", or when the a-contact "X001" is ON, the a-contact "old output" is ON, and the a-contact "G211" is "ON", the output relay "Y011" is turned ON.

[0061] The a-contact "X001" turns ON when a digital status signal of the controlled device 240 is input, and the a-contact "new output" turns ON when the condition for validating the output from the new control controller 220 is satisfied. The condition for validating the output from the new control controller 220 may be, for example, that the current time is daytime when a test run of the new monitoring control system 1nA (see FIG. 1) is being performed. The a-contact "M100" turns ON when the calculation result by the CPU unit 2202 of the new control controller 220 is input.

[0062] The a-contact "old output" turns ON when the condition for validating the output from the old control controller 120 is satisfied. The condition for validating the output from the old control controller 120 may be, for example, that the current time is nighttime when the old monitoring control system 1oA (see FIG. 1) is in operation. The a-contact "G211" turns ON when an operation signal transferred from the ladder circuit Lc110 of the old control controller 12 is input.

[0063] Then, when the output relay "Y011" is turned ON, an operation signal based on the calculation result of the old control controller 120 or an operation signal based on the calculation result of the new control controller 220 is output to the input / output device 230 via the I / O communication unit 2204 (see Figure 5).

[0064] The ladder circuit Lc150 is a circuit that transfers the analog status signal stored in the device number “XW100” to the device number “LWW0001” for inputting calculations to the CPU unit 1202.

[0065] The ladder circuit Lc160 is a circuit that transfers the calculation result (operation signal) by the CPU unit 2202 stored in device number "LWW0002" to device number "YW110" for output to the input / output device 230 when the a-contact "new output" is ON.

[0066] The ladder circuit Lc170 is a circuit that transfers the analog status signal stored in the device number "FW200" to the device number "YW110" for output to the input / output device 230 when the a-contact "old output" is ON.

[0067] The ladder circuit Lc180 is a circuit that transfers the digital status signal stored in the device number “XW000” to the device number “GW000” for output to the inter-controller communication unit 2205 .

[0068] The ladder circuit Lc190 is a circuit that transfers the analog status signal stored in the device number “XW100” to the device number “FW100” for output to the inter-controller communication unit 2205.

[0069] By configuring the ladder program 2206 of the new control controller 220 in this manner, it becomes possible to achieve both communication between the new control controller 220 and the input / output device 230 via the inter-controller communication unit during the daytime during the trial operation period, and communication between the old control controller 120 and the input / output device 230 via the inter-controller communication unit during the nighttime during the trial operation period.

[0070] After the trial run is completed, the devices or circuits provided for the trial run are deleted from the ladder program 2206 of the new controller 220, thereby completing the switch from the old monitoring and control system 1oA to the new monitoring and control system 1nA. The devices provided for the trial run include the a-contact "new output", the a-contact "old output", and the a-contact "G211" of the ladder circuit Lc140, and the a-contact "new output" of the ladder circuit Lc160. The ladder circuits provided for the trial run include the ladder circuits Lc170 to Lc190.

[0071] However, devices such as a-contacts and output relays must be provided in accordance with the number of controlled devices 240. Therefore, when adding these devices for a test run, the number of devices to be deleted after the test run is completed also increases, which is time-consuming. Also, as described above, the ladder program 1206 of the old controller 120 requires rewriting the device numbers (addresses), which is time-consuming.

[0072] <One embodiment> [Configuration of the old monitoring and control system] Next, the configuration of the old monitoring and control system before the start of a trial run according to one embodiment of the present invention will be described with reference to Fig. 7. Fig. 7 is a diagram showing an example of the configuration of the old monitoring and control system 1o before the start of a trial run. In this embodiment, an example is given in which the old monitoring and control system 1o and the new monitoring and control system 1n shown in the following Fig. 8 are applied to a water supply and sewerage monitoring and control system. However, the old monitoring and control system 1o and the new monitoring and control system 1n of the present invention are not limited to this, and may be applied to any system as long as they are monitoring and control systems capable of monitoring controlled equipment.

[0073] 7, in the old monitoring and control system 1o, a plurality of old control controllers 12-1 to 12-N (N is a natural number equal to or greater than 3) (one example of an existing control device) are connected via an old control LAN Lco to an old monitoring operation device 11. An input / output device 13-1 is connected to the old control controller 12-1 via an I / O communication line Li1-1, and a controlled device 24-1 is connected to the input / output device 13-1 via a plant signal input / output line Lp-1.

[0074] The old control controllers 12-2 and 12-N are also connected to input / output devices 23-2 to 12-N via I / O communication lines Li1-2 to Li1-N, and the input / output devices 23-2 to 12-N are also connected to controlled equipment 24-2 to 24-N via plant signal input / output lines Lp-2 to Lp-N.

[0075] The controlled devices 24-1 to 24-N are, for example, substation equipment, pumps, valves, gates, and other mechanical equipment used in water purification plants, sewage treatment plants, etc. The controlled devices 24-1 to 24-N output status signals indicating the status of the devices themselves to the input / output devices 13-1 to 13-N, and operate based on operation signals transmitted from the old controllers 12-1 to 12-N via the input / output devices 13-1 to 13-N.

[0076] Hereinafter, when it is not necessary to distinguish between the old controllers 12-1 to 12-N, they will be collectively referred to as old controllers 12, and when it is not necessary to distinguish between the input / output devices 13-1 to 13-N, they will be collectively referred to as input / output devices 13. Furthermore, when it is not necessary to distinguish between the control target devices 24-2 to 24-N, they will be collectively referred to as control target devices 24.

[0077] Furthermore, when there is no need to distinguish between the I / O communication lines Li1-1 to Li1-N, they are collectively referred to as the I / O communication line Li1, and when there is no need to distinguish between the plant signal input / output lines Lp-1 to Lp-N, they are collectively referred to as the plant signal input / output line Lp.

[0078] The functions of the devices constituting the old monitoring and control system 1o are similar to those of the devices in the old monitoring and control system 1oA in the prior art described with reference to FIG. 1, and therefore description thereof will be omitted here.

[0079] [Configuration of the new monitoring and control system] Next, the configuration of the new monitoring and control system at the end of the test run according to one embodiment of the present invention will be described with reference to Fig. 8. Fig. 8 is a diagram showing an example of the configuration of the new monitoring and control system In at the end of the test run.

[0080] As shown in Fig. 8, in the new monitoring control system 1n, a plurality of new controllers 22-1 to 22-N (an example of a second control device) are connected to a new monitoring operation device 21 via a new control LANLcn. At the start of a trial run, the connection of the input / output device 23-1 is changed from the old controller 12-1 to the new controller 22-1. The input / output device 23-1 is connected to the new controller 22-1 via an I / O communication line Li2-1, and the input / output device 23-1 is connected to a controlled device 24-1 via a plant signal input / output line Lp-1.

[0081] The new control controllers 22-2 and 22-N are also connected to input / output devices 23-2 to 22-N via I / O communication lines Li2-2 to Li2-N, and the input / output devices 23-2 to 22-N are also connected to the controlled devices 24-2 to 24-N via plant signal input / output lines Lp-2 to Lp-N.

[0082] Hereinafter, when it is not necessary to distinguish between the new controllers 22-1 to 22-N, they will be collectively referred to as the new controllers 22, and when it is not necessary to distinguish between the input / output devices 23-1 to 23-N, they will be collectively referred to as the input / output devices 23. Furthermore, when it is not necessary to distinguish between the control target devices 24-1 to 24-N, they will be collectively referred to as the control target devices 24. Furthermore, when it is not necessary to distinguish between the I / O communication lines Li2-1 to Li2-N, they will be collectively referred to as the I / O communication line Li2.

[0083] The functions of the devices constituting the new monitoring and control system 1n are similar to those of the devices in the prior art described with reference to FIG. 1, and therefore description thereof will be omitted here.

[0084] [Configuration of the monitoring and control system during the trial operation period] Next, the configuration of the monitoring and control system during a trial operation period according to this embodiment will be described with reference to Fig. 9. Fig. 9 is a diagram showing an example of the configuration of the monitoring and control system 1 during a trial operation period. The monitoring and control system 1 shown in Fig. 9 differs from the conventional monitoring and control system 1A shown in Fig. 1 in that the old controller 12 and the new controller 22 are connected via an I / O communication line Li2. That is, in the monitoring and control system 1 according to this embodiment, the inter-controller communication unit 1205 (see Fig. 2) and the inter-controller communication unit 2205 (Fig. 3) are not used for the connection between the old controller 12 and the new controller 22.

[0085] [Old controller configuration] Next, the configuration of the old controller 12 during the trial operation according to this embodiment will be described with reference to Fig. 10. Fig. 10 is a diagram showing an example of the configuration of the old controller 12 during the trial operation. The old controller 12 shown in Fig. 10 includes a power supply unit 121, a CPU unit 122, a control LAN communication unit 123, and an I / O communication unit 124. This configuration is the same as that before the trial operation started.

[0086] The functions of the power supply unit 121, the CPU unit 122, the control LAN communication unit 123 and the I / O communication unit 124 are respectively the same as the power supply unit 1201, the CPU unit 1202, the control LAN communication unit 1203 and the I / O communication unit 1204 of the conventional old control controller 120 shown in Fig. 2. Therefore, a description of these will be omitted here. The old control controller 12 shown in Fig. 10 differs from the conventional old control controller 120 during the trial operation period shown in Fig. 2 in that it does not have an inter-controller communication unit.

[0087] When a trial run of the new monitoring control system 1n is performed, the connection destination of the old controller 12 is switched from the input / output device 23 connected by the I / O communication line Li shown by the dashed line to the new controller 22 connected by the I / O communication line Li2 shown by the solid line. Then, for example, during the trial run period, the new controller 22 exchanges various data with the new monitoring operation device 21 during the day, and exchanges various data with the old monitoring operation device 11 via the old controller 12 at night.

[0088] [Configuration of new controller] Next, the configuration of the new controller 22 during the trial operation period according to this embodiment will be described with reference to Fig. 11. Fig. 11 is a diagram showing an example of the configuration of the new controller 22 during the trial operation period. The new controller 22 shown in Fig. 11 includes a power supply unit 221, a CPU unit 222 (an example of a control unit), a control LAN communication unit 223, an I / O communication unit 224 (an example of a first input / output communication unit), and an I / O communication unit 225 (an example of a second input / output communication unit).

[0089] The functions of the power supply unit 221, the CPU unit 222, the control LAN communication unit 223, and the I / O communication unit 224 are respectively the same as the power supply unit 2201, the CPU unit 2202, the control LAN communication unit 2203, and the I / O communication unit 2204 of the conventional new controller 220 shown in Fig. 3. Therefore, a description of these will be omitted here.

[0090] The I / O communication unit 225 is connected to the old controller 12 (see FIG. 9) via an I / O communication line Li2, and controls the transmission and reception of various data (signals) between the old controller 12. Specifically, the I / O communication unit 225 transmits digital or analog status signals transmitted from the input / output device 23 and received by the I / O communication unit 224 to the old controller 12. In addition, the I / O communication unit 225 transmits operation signals, digital signals or analog signals transmitted from the old controller 12 to the input / output device 23 via the CPU unit 222 and the I / O communication unit 224.

[0091] [I / O device configuration] Next, the configuration of the input / output device 23 will be described with reference to Fig. 12. Fig. 12 is a diagram showing an example of the configuration of the input / output device 23 before the start of a test run, during the test run, and after the test run is completed.

[0092] The input / output device 23 includes a power supply unit 231, an I / O communication unit 232, a digital signal input unit 233, a digital signal output unit 234, an analog signal input unit 235, an analog signal output unit 236, and a pulse signal input unit 237. The functions of the power supply unit 231, the I / O communication unit 232, the digital signal input unit 233, the digital signal output unit 234, the analog signal input unit 235, the analog signal output unit 236, and the pulse signal input unit 237 are the same as the functions of the corresponding units in the conventional input / output device 230 shown in Fig. 4, and therefore duplicated explanations thereof will be omitted here.

[0093] The digital signals include a status signal indicating that the pump, which is the controlled device 24, is ready to operate, the calculation results in the CPU unit 222 (see FIG. 11) based on the status signal, operation signals such as pump operation commands, etc. The analog signals include a status signal indicating the water level of a water reservoir (not shown), the calculation results in the CPU unit 222 based on the status signal (pump rotation speed, etc.), operation signals such as the pump rotation speed, etc.

[0094] The I / O communication unit 232 is connected to the new control controller 22 (see FIG. 11) via an I / O communication line Li1. The digital signal input unit 233 is connected to the controlled device 24 via a digital signal input line Lpdi. The digital signal output unit 234 is connected to the controlled device 24 via a digital signal input line Lpdo. The analog signal input unit 235 is connected to the controlled device 24 via an analog signal input line Lpai. The analog signal output unit 236 is connected to the controlled device 24 via an analog signal input line Lpao. The pulse signal input unit 237 is connected to the controlled device 24 via a pulse signal input line Lppi.

[0095] In the following description, when there is no need to distinguish between the digital signal input line Lpdi, the digital signal output line Lpdo, the analog signal input line Lpai, the analog signal output line Lpao, and the pulse signal input line Lppi, they are collectively referred to as the plant signal input / output line Lp.

[0096] Fig. 13 is a diagram showing an example of the configuration of the old controller 12, the new controller 22, and the input / output device 23 during the trial operation period. The configuration of the old controller 12 is the same as that shown in Fig. 10, the configuration of the new controller 22 is the same as that shown in Fig. 11, and the configuration of the input / output device 23 is the same as that shown in Fig. 12. Therefore, the description of these will be omitted here.

[0097] The control LAN communication unit 123 of the old controller 12 is connected to the old monitoring operation device 11 (see FIG. 9) via the old control LANLco. Also, the I / O communication unit 124 of the old controller 12 is connected to the I / O communication unit 225 of the new controller 22 via an I / O communication line Li2.

[0098] The control LAN communication unit 223 of the new controller 22 is connected to the new monitoring operation device 21 (see FIG. 9) via the new control LANLcn. The I / O communication unit 224 of the new controller 22 is connected to the I / O communication unit 232 of the input / output device 23 via the I / O communication line Li1.

[0099] FIG. 14 is a diagram showing an example of signals input and output between the old controller 12 and the new controller 22, and between the new controller 22 and the input / output device 23 during the trial operation period.

[0100] 14 shows only the CPU unit 122 and the I / O communication unit 124 among the blocks constituting the old controller 12. Also, of the blocks constituting the new controller 22, only the CPU unit 222, the I / O communication unit 224, and the I / O communication unit 225 are shown.

[0101] The CPU unit 122 of the old controller 12 has a ladder program 126 and a register 127. The ladder program 126 (an example of a control program) executes monitoring control by referring to or setting data stored in the register 127. Specifically, the ladder program 126 transmits status signals of the controlled devices 24 (see FIG. 9 ) stored in the register 127 to the old monitoring operation device 11, calculates the status signals, and transmits the calculation results to the new controller 22.

[0102] The register 127 of the old controller 12 communicates with the I / O communication unit 225 of the new controller 22 via the I / O communication unit 124. Therefore, unlike the conventional case, it is not necessary to provide a separate area in the register 127 for storing analog status signals, digital status signals or operation signals input / output via the inter-controller communication unit.

[0103] The ladder program 226 of the new controller 22 refers to or sets the data stored in the register 227 to execute monitoring and control of the controlled device 24. In addition, during the operation of the old monitoring and control system 1o during the trial run period, the ladder program 226 transfers a status signal to the register 127 of the old controller 12 and transmits an operation signal stored in the register 127 of the old controller 12 to the input / output device 23 via the I / O communication unit 224.

[0104] In this way, when the ladder program 226 of the new controller 22 mediates the sending and receiving of signals between the old controller 12 and the input / output device 23, it is necessary to temporarily store the signals input to and output from the register 127 of the old controller 12 in its own register 227.

[0105] In this embodiment, the ladder program 226 of the new control controller 22 stores signals input / output to / from the register 127 of the old control controller 12 in an area of ​​the register 227 identified by a device number (an example of a second address) that is changed by a predetermined relative number with respect to the device number (an example of a first address) associated with the signal.

[0106] Then, the I / O communication unit 225 restores the device number (second address) that has been changed by the relative number to the device number before the change (first address), and transmits the data stored in the register 227 to the old control controller 12.

[0107] By the ladder program 226 and the I / O communication unit 225 performing such processing, it becomes possible to input and output signals stored in the device number of the register 127 of the old control controller 12 to the register 227 of the new control controller 22 without rewriting the device number of the register 127 of the old control controller 12.

[0108] Fig. 15 is a diagram showing an example of the configuration of each ladder program of the old controller 12 and the new controller 22. Fig. 15 shows only the CPU unit 122 among the blocks constituting the old controller 12, and shows only the CPU unit 222 among the blocks constituting the new controller 22.

[0109] The CPU unit 122 of the old controller 12 shown in Fig. 15 has a ladder program 126. The ladder program 126 has ladder circuits Lc1 to Lc3.

[0110] The ladder circuit Lc1 includes an a-contact "X001", an a-contact "M100", and an output relay "Y011". The a-contact "X001" turns ON when a digital status signal of the controlled device 24 is input, and the a-contact "M100" turns ON when a calculation result that satisfies the output condition of the operation signal is input. The output relay "Y011" turns ON when the a-contact "X001" is ON and the a-contact "M100" is ON. In the ladder circuit Lc1, when the output relay "Y011" turns ON, an operation signal based on the calculation result of the old control controller 120 is output to the new control controller 22 via the I / O communication unit 124 (see FIG. 14).

[0111] For example, suppose that the digital status signal input to the a-contact "X001" is a digital status signal indicating that a pump, which is the controlled device 24, is ready to operate, and the output condition of the operation signal of the a-contact "M100" is the operation condition of the pump. In this case, in the ladder circuit Lc1, when a digital status signal indicating that the pump is ready to operate is input and the a-contact "X001" is turned ON, and a calculation result that satisfies the operation condition of the pump is input and the a-contact "M100" is turned ON, the output relay "Y011" is turned ON. Then, the operation signal, such as an instruction to operate the pump, output from the output relay "Y011" is transmitted to the new controller 22 via the I / O communication unit 124.

[0112] Ladder circuit Lc2 is a circuit that transfers (MOVEs) an analog status signal stored in device number "XW100" to device number "LWW0001" for calculation input to the CPU unit 122. For example, an analog status signal indicating the water level of a water reservoir (not shown) is input to contact "XW100". The calculation result input to device number "LWW0001" is used to determine the operating conditions of a pump, etc.

[0113] The ladder circuit Lc3 is a circuit that transfers the calculation result (operation signal) by the CPU unit 122 stored in device number "LWW0002" to device number "YW110" for output to the I / O communication unit 124 (see FIG. 14). For example, the ladder circuit Lc3 transfers the pump rotation speed (operation signal) calculated based on analog status signals such as the pump rotation speed input to device number "LWW0002" to device number "YW110" for the I / O communication unit 124.

[0114] The ladder program 226 of the CPU unit 222 of the new controller 22 has a main ladder program 226m and a subroutine ladder program 226s.

[0115] The main ladder program 226m has ladder circuits Lc4 to Lc9 (an example of a program). The subroutine ladder program 226s has ladder circuits Lc10 and Lc11 (an example of a program).

[0116] The ladder circuits Lc4 to Lc6 respectively function in the same manner as the ladder circuits Lc1 to Lc3 in the ladder program 126 of the old controller 12. That is, the ladder circuit Lc4 is a circuit that outputs an operation signal based on the calculation result of the new controller 220 from the output relay "Y011" when the a-contact "X001" is ON and the a-contact "M100" is ON.

[0117] Ladder circuit Lc5 is a circuit that transfers (MOVEs) the analog status signal stored in device number "XW100" to device number "LWW0001" for calculation input to the CPU unit 222. Ladder circuit Lc6 is a circuit that transfers the calculation result (operation signal) by the CPU unit 222 stored in device number "LWW0002" to device number "YW110" for output to the input / output device 23 (I / O communication unit 224, see FIG. 14).

[0118] The ladder circuit Lc7 is a program that switches the subroutine ladder program 226s between enabled and disabled, and has an a-contact "old output" and an output relay "NM01." The a-contact "old output" turns ON when a condition for enabling the output from the old controller 12 is satisfied. The condition for enabling the output from the old controller 12 is set, for example, such as the current time being nighttime when the old monitoring control system 1o (see FIG. 8) is switched to trial operation.

[0119] The a-contact "NM01" is a circuit that calls a ladder program that is previously associated with the contact when it is turned ON. In this embodiment, the a-contact "NM01" is associated with the ladder program 226s, which is a subroutine. Therefore, when the a-contact "old output" of the ladder circuit Lc7 turns ON at night and the a-contact "NM01" is ON, the ladder program 226s, which is a subroutine, becomes active and is called.

[0120] The value of the a-contact "NM01" can be changed within the range of "NM01" to "NMFF", and each value can be associated with a different subroutine. That is, in this embodiment, it is also possible to provide a plurality of subroutine ladder programs. By assigning different controlled devices 24 to each subroutine, it is possible to develop the test run in stages, for example, by performing a test run of the controlled devices 24 of group a in period A, and a test run of the controlled devices 24 of group b in period B.

[0121] Ladder circuit Lc8 is a circuit that transfers the digital status signal stored in device number "XW000" to device number "XW800" for output to the old controller 12. Device number "XW000" indicates any value among device numbers "X000" to "X00F". Device numbers "X000" to "X00F" include, for example, device number "X001" in which a digital status signal indicating that the pump is ready to operate is stored.

[0122] The device number "XW800" (an example of a second address) in the register 227 of the new controller 22 (see FIG. 14) is a value obtained by adding "0x800" (an example of a predetermined relative number) to the device number "XW000" (an example of a first address) in the register 127 of the old controller 12. Any value of the device numbers "X800" to "X80F" is set in the device number "XW800". When the I / O communication unit 225 (see FIG. 14) receives data transferred from the ladder circuit Lc8, it transfers the digital status signal stored in the device number "XW800" in its own register 227 to the device number "XW000" in the register 127 of the old controller 12, which is obtained by subtracting "0x800" from the device number "XW800" (changing the relative number).

[0123] Ladder circuit Lc9 is a circuit that transfers the analog status signal stored in device number "XW100" to device number "XW900" for output to the old control controller 12 (I / O communication unit 225). When the I / O communication unit 225 (see FIG. 14) receives the data transferred from ladder circuit Lc9, it transfers the digital status signal stored in device number "XW900" of its own register 227 to device number "XW100" in register 127 of the old control controller 12, which is obtained by subtracting "0x800" from device number "XW900" (changing the relative number).

[0124] Ladder circuits Lc7 to Lc11 are circuits used when the old monitoring and control system 1o is operating during the trial run period, and are circuits that will no longer be necessary after the trial run is completed and the new monitoring and control system 1n is fully operational. Therefore, in the following explanation, these ladder circuits will also be referred to as "temporary ladder circuits."

[0125] By performing such processing by the ladder program 226 and I / O communication unit 225 of the new control controller 22, the ladder program 126 of the old control controller 12 can set or refer to the data stored in its own register 127 via the new control controller 22 without rewriting the device number.

[0126] The ladder circuit Lc10 in the subroutine ladder program 226s includes an a-contact "X001", an a-contact "Y811", and an output relay "Y011". In the ladder circuit Lc10, when the a-contact "X001" is ON and the a-contact "Y811" is ON, the output relay "Y011" is ON. The a-contact "X001" is ON when a digital state signal of the controlled device 240 is input, and the a-contact "Y811" is ON when an output from the output relay "Y011" of the ladder circuit Lc1 of the old control controller 12 (the calculation result of the old control controller 120) is input. When the output relay "Y011" is ON, the calculation result input from the old control controller 12 is output from the ladder circuit Lc10 of the new control controller 22 to the input / output device 23 via the I / O communication unit 225.

[0127] The ladder circuit Lc11 is a circuit that transfers an analog operation signal stored in device number "YW910" to device number "YW110" for output to the I / O device 230. "YW910" is a value obtained by adding "0x800" to the device number "YW110" for output to the I / O device 230.

[0128] When the I / O communication unit 225 (see FIG. 14) receives data transferred from device number "YW110" of ladder circuit Lc3 of the old control controller 12, it adds "0x800" and transfers the analog status signal stored in device number "YW910" to device number "YW110."

[0129] As described above, the ladder program 226s of the subroutine composed of the ladder circuits Lc10 and Lc11 is valid when the a-contact (old output) of the ladder circuit Lc7 of the new control controller 22 is ON. In other words, by turning on the a-contact (old output) of the ladder circuit Lc7, the outputs of the ladder circuits Lc1 and Lc3 of the old control controller 12 can be output to the input / output device 23 via the subroutine of the new control controller 22.

[0130] On the other hand, when the subroutine ladder program 226s is turned OFF, the outputs from the ladder circuits Lc4 and Lc6 of the new controller 22 are output to the input / output device 23, instead of the outputs from the ladder circuits Lc1 and Lc3 of the old controller 12.

[0131] When the trial operation period of the new monitoring and control system 1n ends, the switchover (replacement, update) to the new monitoring and control system 1n can be completed by removing the ladder circuits Lc7 to Lc11, which are temporary ladder circuits, and the I / O communication unit 225 for connecting to the old control controller 12.

[0132] [Control method using the new controller] Next, a control method by the new controller 22 according to this embodiment will be described with reference to Fig. 16 and Fig. 17. Fig. 16 is a flowchart showing an example of the procedure of the control method by the new controller 22 during operation of the old monitoring and control system 1o during a trial run period. Fig. 17 is a flowchart showing an example of the procedure of the control method by the new controller 22 during trial run of the new monitoring and control system 1n during a trial run period.

[0133] When the current time falls in the nighttime when the old monitoring and control system 1o is in operation, the new controller 22 of the monitoring and control system 1 starts operation in the old monitoring and control system 1o (step S1 in FIG. 16). Next, the subroutine ladder program 226s (see FIG. 14) of the new controller 22 is enabled and starts its operation (step S2). Specifically, when the current time falls in the time period defined as "nighttime" or the like and the old monitoring and control system is in operation, the a-contact "old output" of the ladder circuit Lc7 (see FIG. 15) of the ladder program 226 of the new controller 22 is turned ON. This enables the subroutine ladder program 226s associated with the output relay "NM01" of the ladder circuit Lc7.

[0134] Next, ladder circuits Lc8 and Lc9 (see FIG. 15), which are temporary ladder circuits of the new controller 22, store the status signal input from the input / output device 23 via the I / O communication unit 225 in the device number changed by a predetermined relative number (+ "0x800") in the register 227 (see FIG. 14) (step S3). Next, the I / O communication unit 225 changes the device number of the status signal read from the register 227 by the relative number (returns it to the device number before the change by the relative number (- "0x800")), and transmits it to the old controller 12 (step S4).

[0135] Next, the I / O communication unit 225 changes the device number of the operation signal transmitted from the old controller 12 by the relative number and receives it (step S5). Next, the ladder program 226s of the subroutine of the new controller 22 transmits the operation signal of the device number changed by the relative number to the input / output device 23 via the I / O communication unit 224 (step S6).

[0136] 16, for convenience of explanation, an example is shown in which steps S5 and S6 are executed after steps S3 and S4, but the present invention is not limited to this. The execution order of these steps may be reversed, or steps may be executed in parallel.

[0137] Next, a user or the like judges whether the trial operation period of the new monitoring and control system 1n has ended (step S7). If it is judged in step S7 that the trial operation period of the new monitoring and control system 1n has not ended (if step S7 is judged as NO), it is judged whether the trial operation of the new monitoring and control system 1n has started (step S8). For example, if the current time indicates daytime, the trial operation of the new monitoring and control system 1n is started by turning OFF the a-contact "old output" of the ladder circuit Lc7 (see FIG. 15) of the ladder program 226 of the new controller 22, so that step S8 is judged as YES.

[0138] If it is determined in step S8 that the test run of the new monitoring and control system 1n has started (if the result of step S8 is YES), the process shown in the flowchart of Fig. 17 is executed. On the other hand, if it is determined that the test run of the new monitoring and control system 1n has not started (if the result of step S8 is NO), the new controller 22 returns to step S3 and performs the process.

[0139] On the other hand, if it is determined in step S7 that the trial operation period of the new monitoring control system 1n has ended (if YES is determined in step S7), the user deletes the temporary ladder circuit from the new controller 22 (step S9). Next, the user removes the I / O communication unit 225 for connection with the old controller 12 from the new controller 22 (step S10). After the processing of step S10, the control method during the trial operation period by the new controller 22 ends.

[0140] Next, with reference to FIG. 17, a control method by the new controller 22 during the trial run of the new monitoring and control system 1n during the trial run period will be described.

[0141] When the current time falls within the daytime when the new monitoring and control system 1n is operated, the new controller 22 of the monitoring and control system 1 starts a trial run of the new monitoring and control system 1n (step S11). Next, the subroutine ladder program 226s (see FIG. 14) of the new controller 22 is invalidated and operation is stopped (step S12). Specifically, when the current time falls within the time period defined as "daytime", the a-contact "old output" of the ladder circuit Lc7 (see FIG. 15) of the ladder program 226 of the new controller 22 is turned OFF, and the subroutine ladder program 226s associated with the output relay "NM01" of the ladder circuit Lc7 is invalidated.

[0142] Next, the ladder circuit Lc5 of the ladder program 226 of the new controller 22 stores the status signal output from the input / output device 23 and received by the I / O communication unit 224 in the register 227 (step S13). Next, the control LAN communication unit 223 (see FIG. 13) of the new controller 22 transmits the calculation result stored in the register 227 to the new monitoring operation device 21 (see FIG. 9) (step S14).

[0143] Next, the ladder circuit Lc6 of the ladder program 226 of the new controller 22 stores an operation signal based on the calculation result in the register 227 (step S15). Next, the I / O communication unit 224 of the new controller 22 transmits the operation signal stored in the register 227 to the input / output device 23 (step S16).

[0144] 17, for convenience of explanation, an example is shown in which steps S15 and S16 are executed after steps S13 and S14, but the present invention is not limited to this. The execution order of these steps may be reversed or they may be executed in parallel.

[0145] Next, a user or the like determines whether or not the trial operation period of the new monitoring and control system 1n has ended (step S17). If it is determined in step S17 that the trial operation period of the new monitoring and control system 1n has ended (if YES is determined in step S17), the processes in and after step S9 in FIG. 16 are performed.

[0146] On the other hand, if it is determined in step S17 that the trial operation period of the new monitoring and control system 1n has not ended (if step S17 is NO), it is determined whether or not operation of the old monitoring and control system 1o has started (step S18). For example, if the current time is a time indicating nighttime, the operation of the old monitoring and control system 1o is started by turning ON the a-contact "old output" of the ladder circuit Lc7 (see FIG. 15) of the ladder program 226 of the new controller 22, so that step S18 is determined as YES.

[0147] If it is determined in step S18 that the operation of the old monitoring and control system 1o has started (YES in step S18), the process from step S3 onwards in Fig. 16 is carried out. On the other hand, if it is determined that the operation of the old monitoring and control system 1o has not started (NO in step S18), the new controller 22 returns to step S13 and continues the process.

[0148] [Computer hardware configuration] Next, the hardware configuration of each device for realizing the functions of the monitoring and control system 1 shown in Fig. 9 will be described with reference to Fig. 18. Fig. 18 is a block diagram showing an example of the hardware configuration of each device included in the monitoring and control system 1.

[0149] The calculator 50 is hardware used as a so-called computer. The calculator 50 includes a CPU 501, a ROM (Read Only Memory) 502, and a RAM (Random Access Memory) 503, each of which is connected to a bus B. The calculator 50 further includes a display unit 504, an operation input unit 505, a non-volatile storage 506, and a network interface 507.

[0150] The CPU 501 reads out program code of software for implementing each function according to this embodiment from the ROM 502, expands it in the RAM 503, and executes it. The computer 50 may include a processing device such as an MPU (Micro-Processing Unit) instead of the CPU 501. Variables, parameters, etc. generated during the arithmetic processing by the CPU 501 are temporarily written in the RAM 503. The functions of the CPU unit 122 of the old controller 12 and the CPU unit 222 of the new controller 22 are implemented by the CPU 501.

[0151] The display unit 504 is, for example, a monitor configured with an LCD or the like, and displays the results of the processing performed by the computer 50, etc.

[0152] Operation input unit 505 is a block into which operations by a user are input, and is configured with, for example, a keyboard, a mouse, a touch sensor, etc. Display unit 504 and operation input unit 505 may be integrated into a touch panel. Also, calculator 50 may be configured without display unit 504 or operation input unit 505.

[0153] For example, a hard disk drive (HDD), a solid state drive (SSD), a flexible disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, etc. may be used as the non-volatile storage 506. In addition to an operating system (OS) and various parameters, a program for making the computer 50 function is recorded in this non-volatile storage 506. The ROM 502 and the non-volatile storage 506 record programs, data, etc. required for the CPU 501 to operate, and are used as an example of a computer-readable non-transient storage medium that stores a program executed by the computer 50.

[0154] For example, a NIC (Network Interface Card) or the like is used for the network interface 507, and it is possible to transmit and receive various data to and from external devices via a network such as a LAN or a communication line. The functions of the control LAN communication unit 123 and the I / O communication unit 124 of the old controller 12 and the control LAN communication unit 223 and the I / O communication unit 224 of the new controller 22 are realized by the network interface 507.

[0155] In the above-described embodiment, the CPU unit 222 of the new controller 22 writes a status signal to be sent to the old controller 12 or an operation signal sent from the old controller 12 to an area of ​​the register 227 specified by a second address, which is an address obtained by changing a predetermined relative amount from a first address associated with the status signal or operation signal, respectively. Also, the I / O communication unit 225 of the new controller 22 changes the second address associated with the status signal or operation signal read from the register 227 to the first address and sends it to the old controller 12.

[0156] Therefore, according to this embodiment, it is possible to easily switch from the old monitoring and control system 1o to the new monitoring and control system 1n by reusing the existing input / output device 23 without rewriting the device number in the register 127 of the old control controller 12.

[0157] In addition, in this embodiment, since the inter-controller communication unit is not used during the trial run of the new monitoring and control system 1n, the trial run can be performed without any problems even if, for example, the model of the old controller 12 is old and a corresponding inter-controller unit has not been manufactured.

[0158] In the above-described embodiment, the CPU unit 222 performs writing or reading and calculation of a status signal or an operation signal in the register 227 based on a ladder program. The process of storing a status signal to be transmitted to the old controller 12 in the register 227 and / or the process of storing an operation signal transmitted from the old controller 12 in the register 227 is specified in a subroutine ladder program.

[0159] Therefore, for example, during a period when the old control controller 12 is not operating, such as during a trial run of the new monitoring and control system 1n during a trial run period, the functions related to the input and output of signals with the old control controller 12 can be disabled by not enabling the subroutine.

[0160] Furthermore, in the above-described embodiment, the ladder program 226 of the new control controller 22 includes a program (ladder circuit Lc7) that enables the subroutine ladder program 226s during the period when the old control controller 12 is operating (such as at night) and disables the subroutine ladder program 226s during the period when the old control controller 12 is not operating (such as during the day).

[0161] Therefore, according to this embodiment, functions related to input and output of signals to and from the old controller 12 can be easily enabled or disabled.

[0162] In addition, the above-mentioned embodiment examples have described the configurations of the devices and systems in detail and specifically in order to explain the present invention in an easy-to-understand manner, and are not necessarily limited to those having all of the configurations described.

[0163] For example, in the above embodiment, an example was given in which the ladder circuits Lc10 and Lc11, which perform the process of outputting the operation signal transmitted from the old controller 12 to the input / output device 23 via the I / O communication unit 224, are made into a subroutine, but the present invention is not limited to this. The ladder circuits Lc8 and Lc9, which perform the process of transmitting the status signal output from the input / output device 23 to the old controller 12, may also be made into a subroutine. Alternatively, all of the ladder circuits Lc8 to Lc11 may be made into subroutines.

[0164] Alternatively, the new controller 22 of the monitoring control system 1 may be configured not to make the ladder program into a subroutine.

[0165] In the above embodiment, an example is given in which one input / output device 23 is connected to one new controller 22, but the present invention is not limited to this. A plurality of input / output devices 23 may be connected to one new controller 22.

[0166] In the above embodiment, the ladder program is described using ladder symbols, but the present invention is not limited to this. For example, the ladder program may be described in other formats such as an instruction list (IL), a function block diagram (FBD), or structured text (ST).

[0167] 7 to 15, the control lines or information lines indicated by solid lines or arrows are those considered necessary for explanation, and not all control lines or information lines in the product are necessarily shown. In reality, it can be considered that almost all components are connected to each other.

[0168] In addition, in this specification, the processing steps describing chronological processing include not only processing that is performed chronologically in the order described, but also processing that is not necessarily performed chronologically but is performed in parallel or individually (for example, parallel processing or processing by objects).

[0169] In addition, each component of the monitoring and control system according to the embodiment of the present disclosure may be implemented in any hardware as long as the hardware can transmit and receive information to each other via a network. In addition, the processing performed by a certain processing unit may be realized by a single piece of hardware, or may be realized by distributed processing using multiple pieces of hardware. [Explanation of symbols]

[0170] 1...monitoring and control system, 1n...new monitoring and control system, 1o...old monitoring and control system, 11...old monitoring and operation device, 12...old control controller, 13...input / output device, 21...new monitoring and operation device, 22...new control controller, 23...input / output device, 24...controlled device, 222...CPU unit, 223...control LAN communication unit, 224...I / O communication unit, 225...I / O communication unit, 226...ladder program, 227...register, Lc1 to Lc11...ladder circuit

Claims

1. A control device that can replace an existing control device that controls an operation of a control target device by an operation signal generated based on a status signal output from the control target device, a first input / output communication unit connected to an input / output device that inputs and outputs the status signal; A second input / output communication unit connected to the existing control device; a control unit that writes or reads signals input to or output from the first input / output communication unit or the second input / output communication unit to a register and performs an operation on the signals, the control unit writes the status signal to be transmitted to the existing control device or the operation signal transmitted from the existing control device into an area of ​​a register specified by a second address, the second address being an address obtained by changing a predetermined relative number of first addresses corresponding to the status signal and the operation signal, respectively; The second input / output communication unit changes the second address corresponding to the status signal or the operation signal read from the register to the first address and transmits the first address to the existing control device or the input / output device. Control device.

2. The control unit writes or reads the signal to or from the register and performs an operation based on a control program; The process of storing the status signal to be transmitted to the existing control device in the register and / or the process of storing the operation signal transmitted from the existing control device in the register is specified in a subroutine program of the control program. The control device according to claim 1 .

3. The control program includes a program for enabling the subroutine program during a period in which the existing control device is operating, and for disabling the subroutine program during a period in which the existing control device is not operating. The control device according to claim 2.

4. a plurality of the input / output devices are connected to the first input / output communication unit; Each of the subroutine programs is provided for each of the plurality of input / output devices or for a predetermined group of the plurality of input / output devices. The control device according to claim 2 or 3.

5. A control method using a control device that replaces an existing control device that controls an operation of a control target device by an operation signal generated based on a status signal output from the control target device, the control device including a first input / output communication unit connected to an input / output device that inputs and outputs the status signal, a second input / output communication unit connected to the existing control device, and a control unit that writes or reads signals input to or output from the first input / output communication unit or the second input / output communication unit to a register and performs calculations on the signals, a step of the control unit writing the status signal to be transmitted to the existing control device or the operation signal transmitted from the existing control device into an area of ​​a register specified by a second address, the second address being an address obtained by changing a first address corresponding to each of the status signal and the operation signal by a predetermined relative amount; The second input / output communication unit changes the second address corresponding to the status signal or the operation signal read from the register to the first address and transmits the first address to the existing control device or the input / output device. Control methods.

Citation Information

Patent Citations

  • Function verification system of PLC (programmable logic controller)

    JP2007188367A

  • Controller support apparatus and programmable controller

    JP2007241728A

  • Plant monitoring system update method and plant monitoring system

    JP2015046136A

  • Monitoring control system and method for switching monitoring control system

    JP2019117524A