WO2015083231A1 - 制御プログラム作成支援ツールおよび制御プログラム作成支援システム - Google Patents

制御プログラム作成支援ツールおよび制御プログラム作成支援システム Download PDF

Info

Publication number
WO2015083231A1
WO2015083231A1 PCT/JP2013/082458 JP2013082458W WO2015083231A1 WO 2015083231 A1 WO2015083231 A1 WO 2015083231A1 JP 2013082458 W JP2013082458 W JP 2013082458W WO 2015083231 A1 WO2015083231 A1 WO 2015083231A1
Authority
WO
WIPO (PCT)
Prior art keywords
function block
device function
control program
relationship
storage means
Prior art date
Application number
PCT/JP2013/082458
Other languages
English (en)
French (fr)
Inventor
水野 貴之
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2014514971A priority Critical patent/JPWO2015083231A1/ja
Priority to PCT/JP2013/082458 priority patent/WO2015083231A1/ja
Publication of WO2015083231A1 publication Critical patent/WO2015083231A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Definitions

  • the present invention relates to a control program creation support tool and a control program creation support system.
  • SCADA Supervisory Control And Data Acquisition
  • PLC programmable logic controller
  • PLC program a control program
  • the control program is constructed by combining function blocks assigned to each device.
  • the function block assigned to each device is appropriately referred to as “device function block” in the following description.
  • Control logic for a target system operation for example, interlock, start / stop for each group, automatic operation, and the like is created between the device function blocks.
  • control logic for system operation between device function blocks is individually input.
  • the more devices that make up the supervisory control system the greater the work load in creating the control program.
  • a control program creation support tool for automatically generating a control program in a supervisory control system has been used in order to reduce the work burden in creating a control program.
  • Patent Document 1 discloses a technique for automatically generating a control program using a label for connection between control components.
  • a control program that can be automatically generated has a connection form in which only an output contact and an input contact are connected between control components.
  • This conventional technique has a problem that it cannot be applied to a control program having a connection form that involves passing data other than bits, bit inversion, etc. between control components.
  • the present invention has been made in view of the above, and an object thereof is to obtain a control program creation support tool and a control program creation support system that enable automatic generation of a control program having various connection forms.
  • the present invention provides an apparatus function block storage means for storing an apparatus function block in which functions of an apparatus to be controlled by a control program are converted into parts, and the apparatus function block Device function block relation storage means for storing connection information relating to the form of connection between the device function blocks selected from the storage means, and holding the relationship between the device function blocks, and the device function
  • the connection information held by the block relationship storage means includes the output label information of one device function block and the input label information of the other device function block among the related device function blocks. Characterized in that it comprises and.
  • the control program creation support tool can be applied to automatic generation of a control program having various connection forms by registering connection information between device function blocks as a relationship between the device function blocks. . Since the control program creation support tool enables automatic generation of the control program, the work load can be reduced as compared with the case of manually creating the control logic for the system operation between the device function blocks. Thereby, there exists an effect that a control program provided with various connection forms can be generated automatically.
  • FIG. 1 is a diagram showing an overall configuration of hardware in which a control program creation support tool according to the first embodiment of the present invention is installed.
  • FIG. 2 is a functional block diagram showing the functions of the control program creation support tool as a configuration diagram.
  • FIG. 3 is a diagram illustrating an example of a device function block.
  • FIG. 4 is a diagram illustrating an example of a connection form between device function blocks.
  • FIG. 5 is a flowchart showing a procedure for registering device function blocks and connection information.
  • FIG. 6 is a diagram showing an example of the contents of the information table held by the device function block storage means.
  • FIG. 7 is a diagram showing a registration screen for registering associations between device function blocks.
  • FIG. 1 is a diagram showing an overall configuration of hardware in which a control program creation support tool according to the first embodiment of the present invention is installed.
  • FIG. 2 is a functional block diagram showing the functions of the control program creation support tool as a configuration diagram.
  • FIG. 3 is a diagram illustrating
  • FIG. 8 is a diagram showing an example of the contents of the relationship information table held by the device function block relationship storage means.
  • FIG. 9 is a diagram showing a registration screen for registering connection information between device function blocks.
  • FIG. 10 is a diagram illustrating an example of the contents of the connection information table held by the device function block relationship storage unit.
  • FIG. 11 is a flowchart showing a procedure until a PLC project is output.
  • FIG. 12 is a diagram illustrating an example of the contents of the device list table.
  • FIG. 13 is a diagram showing a device function block relationship assignment screen.
  • FIG. 14 is a diagram showing an example of the contents of a device function block relationship assignment list table held by the device function block relationship assigning means.
  • FIG. 15 is a diagram illustrating an example of a connection form between device function blocks in the control program generated by the control program creation support tool according to the second embodiment of the present invention.
  • FIG. 16 is a diagram illustrating an example of the contents of the connection information table held by the device function block relationship storage unit.
  • FIG. 17 is a diagram illustrating an example of a connection form between device function blocks in a control program generated by the control program creation support tool according to the third embodiment of the present invention.
  • FIG. 18 is a diagram showing an example of the contents of a relationship information table held by the device function block relationship storage means.
  • FIG. 1 is a diagram showing an overall configuration of hardware in which a control program creation support tool according to the first embodiment of the present invention is installed.
  • the control program creation support tool is software having a function for supporting creation of a control program.
  • the control program creation support tool is installed in a personal computer (PC) 10 which is hardware, for example.
  • PC personal computer
  • the hardware in which the control program creation support tool is installed functions as a control program creation support system.
  • the PC 10 includes, for example, an input device 11, a display device 12, a central processing unit 13, and a storage device 14.
  • the input device 11 is a keyboard and a pointing device.
  • the display device 12 is a liquid crystal display or the like.
  • the central processing unit 13 is a CPU (Central Processing Unit).
  • the storage device 14 includes a ROM (Read Only Memory), a RAM (Random Access Memory), an external storage device, and the like.
  • the non-volatile memory constituting the storage device 14 stores setting data for the control program creation support tool.
  • the volatile memory constituting the storage device 14 is appropriately used as a work memory when the central processing unit 13 executes various arithmetic processes.
  • FIG. 2 is a functional block diagram showing the functions of the control program creation support tool as a configuration diagram. Each function provided in the control program creation support tool 20 is realized using the central processing unit 13 and the storage device 14.
  • the control program creation support tool 20 includes a device information input unit 21, a device list display unit 22, a device function block storage unit 23, a device function block relationship storage unit 24, a device function block allocation unit 25, a device function block relationship allocation unit 26, Automatic generation means 27 and program output means 28 are provided.
  • the device information input means 21 is a functional unit that receives input of information related to devices to be controlled by the control program.
  • the device list display unit 22 is a functional unit that causes the display device 12 to display a list of devices whose information has been input to the device information input unit 21.
  • the equipment function block storage means 23 is a functional unit that stores equipment function blocks.
  • the device function block is a function block in which functions of a device to be controlled by the control program are converted into parts.
  • the device function block is assigned to each device.
  • the equipment function block is a control component having inputs and outputs other than contacts as labels.
  • the control program is constructed including a combination of device function blocks. It is assumed that the device function block is registered in the control program creation support tool 20 by being stored in the device function block storage unit 23.
  • the device function block relationship storage means 24 is a functional unit that stores connection information between device function blocks as a relationship that relates the device function blocks.
  • the connection information is information relating to the connection form between the device function blocks selected from the device function block storage means 23.
  • the connection information is registered in the control program creation support tool 20 by being stored in the device function block relation storage unit 24.
  • the equipment function block assigning means 25 is a functional section that assigns the equipment function blocks stored in the equipment function block storage means 23 to the equipment displayed by the equipment list display means 22.
  • the device function block relationship assignment unit 26 is a functional unit that assigns connection information stored in the device function block relationship storage unit 24 to the devices displayed by the device list display unit 22.
  • the automatic generation means 27 automatically controls the control program based on the data read from the equipment function block storage means 23, the equipment function block relation storage means 24, the equipment function block assignment means 25, and the equipment function block relation assignment means 26. It is a functional unit that executes generation.
  • the program output unit 28 is a functional unit that outputs the control program generated by the automatic generation unit 27.
  • the program output means 28 outputs the control program generated by the automatic generation means 27 as, for example, a PLC project.
  • FIG. 3 is a diagram illustrating an example of a device function block.
  • the device function block 31 is created by converting a common function for each device type. Real devices corresponding to the equipment function block 31 are classified into input devices, output devices, and internal devices.
  • the internal label corresponding to the internal device is described using a programming language such as a ladder language and an ST (Structure Text) language.
  • the input label 32 corresponds to an input device.
  • the output label 33 corresponds to an output device.
  • FIG. 4 is a diagram showing an example of a connection form between device function blocks.
  • the pump function block 41 is a device function block in which the functions of the pump are made into parts.
  • the valve function block 42 is a device function block in which the valve function is made into parts.
  • the connection unit 43 represents a connection between the output side of the pump function block 41 and the input side of the valve function block 42.
  • connection unit 43 inputs an output indicating that the pump is operating among the output labels of the pump function block 41, and inputs of an open command and a close command that indicate opening / closing of the valve among the input labels of the valve function block 42. And connect.
  • connection portion 43 a system including a pump and a valve which are actual machines can perform an operation of opening and closing the valve in accordance with the operation of the pump.
  • connection unit 43 outputs an output indicating that the pump is operating among the output labels of the pump function block 41 and an input for prohibiting the opening and closing of the valve among the input labels of the valve function block 42. Connecting. By providing such a connection, a system including an actual pump and a valve can perform a safety process so that the valve is not accidentally closed during operation of the pump.
  • the device function block relationship storage unit 24 stores connection information about the connection form in the connection unit 43 as a relationship between device function blocks.
  • FIG. 5 is a flowchart showing a procedure for registering device function blocks and connection information.
  • the device function block storage means 23 stores the device function block together with the device function block name. Thereby, the control program creation support tool 20 adds the device function block name and registers the device function block (step S1).
  • FIG. 6 is a diagram showing an example of the contents of the information table held by the device function block storage means.
  • the information table 60 stores device function block names and function block data for registered device function blocks.
  • the device function block name is the device type (kind) name assigned to the device function block in step S1.
  • the equipment function block name may be arbitrarily set by an operator, for example.
  • step S2 the worker selects device function blocks connected to each other from the device function blocks stored in the information table 60.
  • the operator sets a relation name representing the relation between the selected device function blocks.
  • the device function block relationship storage means 24 stores device function block names and relationship names for the selected device function blocks. Thereby, the control program creation support tool 20 registers the association between the selected device function blocks.
  • the device function block relationship storage unit 24 stores the device function block name and the relationship name, thereby maintaining the relationship between the device function blocks.
  • FIG. 7 is a diagram showing a registration screen for registering associations between device function blocks.
  • the display device 12 displays a registration screen 70 for registering the association between the device function blocks.
  • the control program creation support tool 20 receives registration of the association between the device function blocks on the registration screen 70.
  • the registration screen 70 displays a registered device function block name 72 and a relationship name 71 as a relationship between the device function blocks. For example, in a certain relationship, one of the device function block name 72 in the “FunctionBlock1” column and the device function block name 72 in the “FunctionBlock2” column indicates the device function block to which the output is connected, and the other Indicates the device function block to which the input is connected. Note that which of the device function blocks selected in step S2 is the device function block to which the output is connected or the device function block to which the input is connected is not determined in step S2, and will be described later. In step S3.
  • the registration screen 70 adds a line for new registration.
  • the worker inputs a relation name 71 and a device function block name 72 in a line for new registration.
  • the device function block name 72 is selected from, for example, device function block names stored in the information table 60 of the device function block storage unit 23.
  • FIG. 8 is a diagram showing an example of the contents of the relationship information table held by the device function block relationship storage means.
  • the relationship information table 80 stores a relationship name, a device function block name, and a connection information table for associating device function blocks registered from the registration screen 70.
  • the device function block name in the column of “device function block 1” indicates the device function block to which the output is connected.
  • the device function block name in the “device function block 2” column indicates the device function block to which the input is connected.
  • the output label of the device function block shown in the column of “device function block 2” is connected to the input label of the device function block shown in the column of “device function block 1”. It's also good.
  • the connection information table will be described later.
  • the device function block relationship storage unit 24 selects the relationship name 71 and the device function block.
  • the relationship with the function block name 72 is deleted from the relationship information table 80.
  • the control program creation support tool 20 displays a connection information registration screen for input labels and output labels. It is displayed on the display device 12. Such a registration screen will be described later.
  • control program creation support tool 20 saves the contents of the relationship edited on the registration screen 70 in the relationship information table 80 and closes the registration screen 70.
  • the control program creation support tool 20 closes the registration screen 70 without saving the contents of the relationship edited on the registration screen 70 in the relationship information table 80.
  • step S3 the worker selects a connection pattern between the device function blocks related in step S2.
  • the worker registers connection information between the output label of one of the associated device function blocks and the input label of the other device function block.
  • FIG. 9 is a diagram showing a registration screen for registering connection information between device function blocks.
  • the display device 12 displays a registration screen 90 for registering connection information.
  • the control program creation support tool 20 accepts registration of connection information between device function blocks on the registration screen 90.
  • the connection information includes a connection pattern 91, output label information 92 of one device function block, and input label information 93 of the other device function block.
  • the registration screen 90 displays a registered connection pattern 91, output label information 92, and input label information 93 as connection information.
  • connection pattern 91 is selected from various connection patterns set in advance.
  • the various connection patterns are, for example, “NORMAL” that does not change the signal in the connection, “NOT” that inverts the signal, signal delay by a timer, and the like.
  • the output label information 92 shown in FIG. 9 represents output indicating that the pump is operating.
  • the output label information 92 includes a device function block number including the output label. “1.” in the output label information 92 shown in FIG. 9 is a number indicating the pump function block 41 including the output label.
  • the output label information 92 may be selected from various kinds of preset output label information.
  • the input label information 93 shown in FIG. 9 represents an input of an open command and a close command for instructing opening / closing of the valve, and an input for prohibiting the opening / closing of the valve, respectively.
  • the input label information 93 includes a device function block number including the input label.
  • “2.” is a number indicating the valve function block 42 including the input label.
  • the input label information 93 may be selected from various pieces of information on input labels set in advance. The number indicating the device function block may be determined according to the order set in step S2.
  • FIG. 10 is a diagram showing an example of the contents of the connection information table held by the device function block relation storage means.
  • the connection information table 100 shown in FIG. 10 includes output label information about the pump and input label information about the valve.
  • “Connection information table A” shown in FIG. 8 refers to this connection information table 100.
  • connection information table 100 stores, as connection information, a connection pattern, information on the number and output label of one device function block, and information on the number and input label of the other device function block.
  • the device function block relationship storage unit 24 holds connection information including information on one output label and information on the other input label among the device function blocks that are related to each other.
  • connection pattern 91 When the operator selects the connection pattern 91, the output label information 92, and the input label information 93 for each line on the registration screen 90 and presses the delete button 95, the device function block relationship storage unit 24 causes the connection pattern 91 to be selected.
  • the output label information 92 and the input label information 93 are deleted from the connection information table 100.
  • control program creation support tool 20 saves the contents of the connection information edited on the registration screen 90 in the connection information table 100 and closes the registration screen 90.
  • the control program creation support tool 20 closes the registration screen 90 without saving the contents of the connection information edited on the registration screen 90 in the connection information table 100.
  • FIG. 11 is a flowchart showing a procedure until a PLC project is output.
  • step S ⁇ b> 11 when the operator operates the input device 11, information regarding the device is input to the device information input unit 21.
  • a device name is input to the device information input means 21 as information about the device.
  • the device list display unit 22 creates a device list based on the device name input to the device information input unit 21.
  • the device list display means 22 displays a device list.
  • the device function block allocating means 25 selects one of the device function block names registered in the control program creation support tool 20.
  • the device function block assigning means 25 assigns a device function block to the device displayed in the device list (step S12).
  • FIG. 12 is a diagram showing an example of the contents of the device list table created in step S12.
  • the device list table 120 stores device names 121 and device function block names 122 in association with each other.
  • the device list display means 22 displays the contents of the device list table 120 as a device list.
  • the device function block relationship assigning means 26 selects a relationship name 71 registered in the control program creation support tool 20 and a device associated with the relationship name 71.
  • the device function block relationship assigning unit 26 assigns a relationship between devices (step S13).
  • FIG. 13 is a diagram showing a device function block relationship assignment screen.
  • the display device 12 displays a device function block relationship assignment screen 130.
  • the control program creation support tool 20 receives the assignment of association between the device function blocks on the relation assignment screen 130. Further, the relationship assignment screen 130 displays the relationship name 131 and the device name 132 to which the association has been assigned.
  • the relationship assignment screen 130 adds a line for new registration.
  • the worker inputs the relationship name 131 and the device name 132 in the line for new registration.
  • the control program creation support tool 20 assigns device function block relationships by the device function block relationship assigning means 26.
  • FIG. 14 is a diagram showing an example of the contents of a device function block relationship assignment list table held by the device function block relationship assigning means.
  • the allocation list table 140 stores a relationship name and a device name related by the relationship name regarding the relationship between the device function blocks registered from the relationship allocation screen 130.
  • the device function block relationship assignment unit 26 selects the relationship name 131 and the device. The association with the name 132 is deleted from the assignment list table 140.
  • control program creation support tool 20 saves the contents edited on the relationship assignment screen 130 in the assignment list table 140 and closes the relationship assignment screen 130.
  • the control program creation support tool 20 closes the relationship assignment screen 130 without saving the contents edited on the relationship assignment screen 130 in the assignment list table 140.
  • the equipment function block relation assigning unit 26 sets a storage destination of the PLC project generated by the automatic generation unit 27 (step S14).
  • the automatic generation means 27 selects a PLC project to be created and executes automatic generation (step S15).
  • the automatic generation means 27 refers to the device list table 120 and the function function block information table 60 to generate an instance of the device function block.
  • the automatic generation unit 27 refers to the allocation list table 140, the relationship information table 80, the connection information table 100, and the device list table 120, and generates a connection unit between the device function blocks.
  • the automatic generation means 27 constitutes a PLC project including connection between device function blocks.
  • the automatic generation means 27 assigns device function blocks by the equipment function block assignment means 25, assigns connection information by the equipment function block relation assignment means 26, and relations between equipment function blocks held by the equipment function block relation storage means 24.
  • the automatic generation of the control program is executed based on the attachment.
  • the program output means 28 outputs the PLC project configured by the automatic generation means 27 (step S16).
  • the control program creation support tool 20 writes the PLC project to the target PLC and sets the PLC project in the PLC.
  • the control program creation support tool 20 reduces the work load compared to the case of manually creating control logic for system operation between device function blocks by enabling automatic generation of a control program. be able to.
  • the control program creation support tool 20 can also be applied to automatic generation of control programs having various connection forms by registering connection information between device function blocks as a relationship with the device function blocks. Thereby, there exists an effect that a control program provided with various connection forms can be generated automatically.
  • FIG. FIG. 15 is a diagram illustrating an example of a connection form between device function blocks in the control program generated by the control program creation support tool according to the second embodiment of the present invention.
  • the control program generated by the control program creation support tool 20 according to the second embodiment includes a function block 151 that connects device function blocks.
  • the function block 151 includes two inputs and two outputs.
  • the function block 151 only needs to include a plurality of inputs and a plurality of outputs.
  • the function block 151 connects, for example, the output side of the function block of the device A and the input side of the function block of the device B. Two outputs of the function block of the device A are connected to two inputs of the function block 151, respectively. Two inputs of the function block of the device B are connected to two outputs of the function block 151, respectively.
  • the function block 151 is registered as a connection pattern 91 between the function block of the device A and the function block of the device B.
  • the connection pattern 91 is selected from various connection patterns set in advance.
  • the function block 151 is included in various connection patterns.
  • the control program creation support tool 20 can set a plurality of output label information 92 and a plurality of input label information 93.
  • FIG. 16 is a diagram showing an example of the contents of the connection information table held by the device function block relation storage means.
  • the connection information table 160 shown in FIG. 16 includes output label information about the pump and input label information about the valve.
  • the connection information table 160 of the second embodiment is an extension of the connection information table 100 (see FIG. 10) of the first embodiment so that information of a plurality of output labels and information of a plurality of input labels can be stored.
  • connection patterns “NOT” and “NORMAL” are connections that do not go through the function block 151.
  • the connection pattern “NEW_FB” is a connection via the function block 151.
  • the connection information table 160 can store information of “output label 1” and “output label 2” corresponding to two outputs for the connection pattern “NEW_FB”.
  • the connection information table 160 can store information of “input label 1” and “input label 2” corresponding to two inputs for the connection pattern “NEW_FB”.
  • the connection information held by the device function block relationship storage unit 24 includes information on a plurality of output labels and information on a plurality of input labels.
  • control program creation support tool 20 can register the function block 151 as a connection pattern for connecting the device function blocks.
  • the control program creation support tool 20 can include a function block 151 for connecting device function blocks to the control program.
  • FIG. 17 is a diagram illustrating an example of a connection form between device function blocks in a control program generated by the control program creation support tool according to the third embodiment of the present invention.
  • the control program generated by the control program creation support tool 20 according to the third embodiment includes a function block 171 that connects three or more device function blocks.
  • the function block 171 connects, for example, the output side of the function block of the device A and the output side of the function block of the device B to the input side of the function block of the device C and the input side of the function block of the device D.
  • One output of the function block of the device A and one output of the function block of the device B are connected to two inputs of the function block 171, respectively.
  • One input of the function block of the device C and one input of the function block of the device D are connected to two outputs of the function block 171, respectively.
  • a function block 171 shown in FIG. 17 connects four device function blocks.
  • the registration screen 70 shown in FIG. 7 in addition to the “FunctionBlock1” column and the “FunctionBlock2” column, “FunctionBlock3”, “FunctionBlock4”. As a result, the registration screen 70 can cope with the case where three or more device function block names 72 are selected in each association.
  • the function block 171 is registered as a connection pattern 91 between each function block of the devices A and B and each function block of the devices C and D.
  • the function block 171 is included in various connection patterns.
  • the control program creation support tool 20 can set a plurality of output label information 92 and a plurality of input label information 93.
  • FIG. 18 is a diagram showing an example of the contents of the relationship information table held by the device function block relationship storage means.
  • the relationship information table 180 stores a relationship name, three or more device function block names, and a connection information table regarding the relationship between the device function blocks registered from the registration screen 70.
  • the relation information table 180 of the third embodiment is an extension of the relation information table 80 (see FIG. 8) of the first embodiment so that three or more device function block names can be stored in each association.
  • FIG. 18 shows three device function block names (“device function block 1”, “device function block 2”, and “device function block 3”) stored in the relationship information table 180.
  • the function block 171 only needs to be connected to two or more device function blocks on at least one of the input side and the output side.
  • the method of associating the device function blocks can be appropriately modified according to a mode in which the device function blocks are connected via the function block 171.
  • control program creation support tool 20 can register the function block 171 as a connection pattern for connecting three or more device function blocks.
  • the control program creation support tool 20 can include a function block 171 that connects three or more device function blocks in the control program.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

 制御プログラムによる制御対象とされる機器の機能を部品化した機器ファンクションブロックを格納する機器ファンクションブロック格納手段(23)と、機器ファンクションブロック格納手段から選択された機器ファンクションブロック同士の間における接続の形態に関する接続情報を格納するとともに、当該機器ファンクションブロック同士の関係付けを保持する機器ファンクションブロック関係格納手段(24)と、を有し、機器ファンクションブロック関係格納手段が保持する接続情報は、関係付けがなされた機器ファンクションブロック同士のうち、一方の機器ファンクションブロックの出力ラベルの情報と、他方の機器ファンクションブロックの入力ラベルの情報とを含む。

Description

制御プログラム作成支援ツールおよび制御プログラム作成支援システム
 本発明は、制御プログラム作成支援ツールおよび制御プログラム作成支援システムに関する。
 工場や各種社会インフラ設備等のシステムの監視およびプロセスの制御をコンピュータにより行うSCADA(Supervisory Control And Data Acquisition)では、コンピュータから、制御対象とする機器へ動作指示が送られる。例えば、プログラマブルロジックコントローラ(PLC)は、制御プログラム(PLCプログラム)を実行することで、動作指示を生成する。
 制御プログラムは、機器ごとに割り当てられたファンクションブロックを組み合わせて構築される。機器ごとに割り当てられたファンクションブロックを、以下の説明にて、適宜「機器ファンクションブロック」と称する。機器ファンクションブロック間には、目的とするシステム動作、例えばインタロック、グループごとの発停、自動運転等のための制御ロジックが作成される。
 監視制御システムの制御プログラムを作成する際、機器ファンクションブロック間のシステム動作のための制御ロジックを個々に入力することになる。この場合、監視制御システムを構成する機器が多いほど、制御プログラムの作成における作業負担が増大することとなる。制御プログラムの作成における作業負担を軽減するために、従来、監視制御システムにおける制御プログラムを自動生成する制御プログラム作成支援ツールが使用されている。
 例えば、特許文献1には、制御部品間の接続にラベルを使用して、制御プログラムを自動生成する技術が開示されている。
特開平9-282016号公報
 上記特許文献1の技術によると、自動生成が可能な制御プログラムは、制御部品間にて、出力接点と入力接点とを結ぶのみの接続形態を備えるものとされる。この従来技術は、制御部品間にて、ビット以外のデータの受け渡し、ビット反転等を伴うような接続形態を備える制御プログラムには適用できないことが問題となる。
 本発明は、上記に鑑みてなされたものであって、さまざまな接続形態を備える制御プログラムの自動生成を可能とする制御プログラム作成支援ツールおよび制御プログラム作成支援システムを得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、制御プログラムによる制御対象とされる機器の機能を部品化した機器ファンクションブロックを格納する機器ファンクションブロック格納手段と、前記機器ファンクションブロック格納手段から選択された機器ファンクションブロック同士の間における接続の形態に関する接続情報を格納するとともに、当該機器ファンクションブロック同士の関係付けを保持する機器ファンクションブロック関係格納手段と、を有し、前記機器ファンクションブロック関係格納手段が保持する前記接続情報は、前記関係付けがなされた前記機器ファンクションブロック同士のうち、一方の機器ファンクションブロックの出力ラベルの情報と、他方の機器ファンクションブロックの入力ラベルの情報とを含むことを特徴とする。
 本発明にかかる制御プログラム作成支援ツールは、機器ファンクションブロック同士における接続情報を、当該機器ファンクションブロック同士との関係として登録しておくことで、さまざまな接続形態を備える制御プログラムの自動生成に適用できる。制御プログラム作成支援ツールは、制御プログラムの自動生成を可能とすることで、機器ファンクションブロック間のシステム動作のための制御ロジックを手動で作成する場合に比べて作業負担を軽減することができる。これにより、さまざまな接続形態を備える制御プログラムを自動生成できるという効果を奏する。
図1は、本発明の実施の形態1にかかる制御プログラム作成支援ツールがインストールされたハードウェアの全体構成を示す図である。 図2は、制御プログラム作成支援ツールが備える機能を構成図として示した機能ブロック図である。 図3は、機器ファンクションブロックの例を示す図である。 図4は、機器ファンクションブロック間の接続の形態の例を示す図である。 図5は、機器ファンクションブロックおよび接続情報を登録する手順を示すフローチャートである。 図6は、機器ファンクションブロック格納手段が保持する情報テーブルの内容の一例を示す図である。 図7は、機器ファンクションブロック同士の関係付けを登録するための登録画面を示す図である。 図8は、機器ファンクションブロック関係格納手段が保持する関係情報テーブルの内容の一例を示す図である。 図9は、機器ファンクションブロック間の接続情報を登録するための登録画面を示す図である。 図10は、機器ファンクションブロック関係格納手段が保持する接続情報テーブルの内容の一例を示す図である。 図11は、PLCプロジェクトを出力するまでの手順を示すフローチャートである。 図12は、機器一覧テーブルの内容の一例を示す図である。 図13は、機器ファンクションブロックの関係割り当て画面を示す図である。 図14は、機器ファンクションブロック関係割り当て手段が保持する機器ファンクションブロックの関係の割り当て一覧テーブルの内容の一例を示す図である。 図15は、本発明の実施の形態2にかかる制御プログラム作成支援ツールが生成する制御プログラムのうちの、機器ファンクションブロック間の接続の形態の例を示す図である。 図16は、機器ファンクションブロック関係格納手段が保持する接続情報テーブルの内容の一例を示す図である。 図17は、本発明の実施の形態3にかかる制御プログラム作成支援ツールが生成する制御プログラムのうちの、機器ファンクションブロック間の接続の形態の例を示す図である。 図18は、機器ファンクションブロック関係格納手段が保持する関係情報テーブルの内容の一例を示す図である。
 以下に、本発明にかかる制御プログラム作成支援ツールおよび制御プログラム作成支援システムの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態1.
 図1は、本発明の実施の形態1にかかる制御プログラム作成支援ツールがインストールされたハードウェアの全体構成を示す図である。制御プログラム作成支援ツールは、制御プログラムの作成を支援する機能を備えるソフトウェアである。制御プログラム作成支援ツールは、例えばハードウェアであるパーソナルコンピュータ(PC)10にインストールされる。制御プログラム作成支援ツールがインストールされたハードウェアは、制御プログラム作成支援システムとして機能する。
 PC10は、例えば、入力装置11、表示装置12、中央演算装置13および記憶装置14を備える。入力装置11は、キーボードおよびポインティングデバイスなどである。表示装置12は、液晶ディスプレイなどである。中央演算装置13は、CPU(Central Processing Unit)である。記憶装置14は、ROM(Read Only Memory)、RAM(Random Access Memory)、外部記憶装置などを備える。
 記憶装置14を構成する不揮発性メモリは、制御プログラム作成支援ツールの設定データを記憶する。記憶装置14を構成する揮発性メモリは、中央演算装置13が各種演算処理を実行する際のワークメモリとして適宜使用される。
 図2は、制御プログラム作成支援ツールが備える機能を構成図として示した機能ブロック図である。制御プログラム作成支援ツール20が備える各機能は、中央演算装置13および記憶装置14を使用して実現される。
 制御プログラム作成支援ツール20は、機器情報入力手段21、機器一覧表示手段22、機器ファンクションブロック格納手段23、機器ファンクションブロック関係格納手段24、機器ファンクションブロック割り当て手段25、機器ファンクションブロック関係割り当て手段26、自動生成手段27およびプログラム出力手段28を備える。
 機器情報入力手段21は、制御プログラムによる制御対象とされる機器に関する情報の入力を受け付ける機能部である。機器一覧表示手段22は、機器情報入力手段21へ情報が入力された機器の一覧を表示装置12へ表示させる機能部である。
 機器ファンクションブロック格納手段23は、機器ファンクションブロックを格納する機能部である。機器ファンクションブロックは、制御プログラムによる制御対象とされる機器の機能を部品化したファンクションブロックである。機器ファンクションブロックは、機器ごとに割り当てられている。機器ファンクションブロックは、接点以外の入力および出力をラベルとして持つ制御部品である。
 制御プログラムは、機器ファンクションブロックの組み合わせを含めて構築される。機器ファンクションブロックは、機器ファンクションブロック格納手段23へ格納されることで、制御プログラム作成支援ツール20に登録されたものとする。
 機器ファンクションブロック関係格納手段24は、機器ファンクションブロック同士の接続情報を、当該機器ファンクションブロック同士を関係付ける関係として格納する機能部である。接続情報は、機器ファンクションブロック格納手段23から選択された機器ファンクションブロック同士の間における接続の形態に関する情報である。接続情報は、機器ファンクションブロック関係格納手段24へ格納されることで、制御プログラム作成支援ツール20に登録される。
 機器ファンクションブロック割り当て手段25は、機器一覧表示手段22により表示されている機器に対し、機器ファンクションブロック格納手段23に格納されている機器ファンクションブロックを割り当てる機能部である。機器ファンクションブロック関係割り当て手段26は、機器一覧表示手段22により表示されている機器に対し、機器ファンクションブロック関係格納手段24に格納されている接続情報を割り当てる機能部である。
 自動生成手段27は、機器ファンクションブロック格納手段23、機器ファンクションブロック関係格納手段24、機器ファンクションブロック割り当て手段25、機器ファンクションブロック関係割り当て手段26から読み出された各データを基に、制御プログラムの自動生成を実行する機能部である。プログラム出力手段28は、自動生成手段27で生成された制御プログラムを出力する機能部である。プログラム出力手段28は、自動生成手段27で生成された制御プログラムを、例えばPLCプロジェクトとして出力する。
 図3は、機器ファンクションブロックの例を示す図である。機器ファンクションブロック31は、機器の種別ごとに共通化された機能を部品化することにより作成される。機器ファンクションブロック31に対応する実デバイスは、入力デバイス、出力デバイスおよび内部デバイスに分類される。内部デバイスに対応する内部ラベルは、ラダー言語およびST(Structure Text)言語などのプログラム言語を用いて記述される。入力ラベル32は、入力デバイスに対応する。出力ラベル33は、出力デバイスに対応する。
 図4は、機器ファンクションブロック間の接続の形態の例を示す図である。ここでは、ポンプ用ファンクションブロック41とバルブ用ファンクションブロック42の間の接続部43の形態を例として説明する。ポンプ用ファンクションブロック41は、ポンプの機能を部品化した機器ファンクションブロックである。バルブ用ファンクションブロック42は、バルブの機能を部品化した機器ファンクションブロックである。接続部43は、ポンプ用ファンクションブロック41の出力側と、バルブ用ファンクションブロック42の入力側との接続を表す。
 接続部43は、ポンプ用ファンクションブロック41の出力ラベルのうちポンプが動作中であることを示す出力と、バルブ用ファンクションブロック42の入力ラベルのうちバルブの開閉を指示する開コマンドおよび閉コマンドの入力とを接続する。かかる接続部43が設けられることで、実機であるポンプおよびバルブを備えるシステムは、ポンプの動作に応じてバルブを開閉させる動作が可能となる。
 また、接続部43は、ポンプ用ファンクションブロック41の出力ラベルのうちポンプが動作中であることを示す出力と、バルブ用ファンクションブロック42の入力ラベルのうちバルブの開閉を禁止するための入力とを接続する。かかる接続が設けられることで、実機であるポンプおよびバルブを備えるシステムは、ポンプの動作中に誤ってバルブを閉めることがないような安全処理を行うことができる。機器ファンクションブロック関係格納手段24は、このような接続部43における接続の形態についての接続情報を、機器ファンクションブロック同士の関係として格納する。
 図5は、機器ファンクションブロックおよび接続情報を登録する手順を示すフローチャートである。機器ファンクションブロック格納手段23は、機器ファンクションブロックを、機器ファンクションブロック名とともに格納する。これにより、制御プログラム作成支援ツール20は、機器ファンクションブロック名を付して、機器ファンクションブロックを登録する(ステップS1)。
 図6は、機器ファンクションブロック格納手段が保持する情報テーブルの内容の一例を示す図である。情報テーブル60は、登録された機器ファンクションブロックについて、機器ファンクションブロック名と、ファンクションブロックのデータとを格納する。ここでは、機器ファンクションブロック名は、ステップS1において機器ファンクションブロックに付された機器タイプ(種類)名とする。機器ファンクションブロック名は、例えば、作業者が任意に設定することとしても良い。
 ステップS2において、作業者は、情報テーブル60に格納されている機器ファンクションブロックから、互いに接続される機器ファンクションブロックを選択する。作業者は、選択された機器ファンクションブロック同士の関係付けを表す関係名を設定する。機器ファンクションブロック関係格納手段24は、当該選択された機器ファンクションブロック同士に関し、機器ファンクションブロック名と、関係名とを格納する。これにより、制御プログラム作成支援ツール20は、選択された機器ファンクションブロック同士の関係付けを登録する。機器ファンクションブロック関係格納手段24は、機器ファンクションブロック名と、関係名とを格納することで、機器ファンクションブロック同士の関係付けを保持する。
 図7は、機器ファンクションブロック同士の関係付けを登録するための登録画面を示す図である。表示装置12は、機器ファンクションブロック同士の関係付けを登録するための登録画面70を表示する。制御プログラム作成支援ツール20は、機器ファンクションブロック同士の関係付けの登録を、登録画面70において受け付ける。また、登録画面70は、機器ファンクションブロック同士の関係付けとして登録済みの機器ファンクションブロック名72と、関係名71とを表示する。例えば、ある関係付けでは、「FunctionBlock1」の欄の機器ファンクションブロック名72と「FunctionBlock2」の欄の機器ファンクションブロック名72とのうちの一方は、出力が接続されるほうの機器ファンクションブロックを示し、他方は、入力が接続されるほうの機器ファンクションブロックを示す。なお、ステップS2にて選択された機器ファンクションブロックのいずれが、出力が接続される機器ファンクションブロックであるか、また入力が接続される機器ファンクションブロックであるかは、ステップS2では定められず、後述するステップS3にて定められる。
 入力装置11の操作によって作業者が追加ボタン73を押下すると、登録画面70は、新規登録のための行を追加する。作業者は、新規登録のための行に、関係名71と機器ファンクションブロック名72とを入力する。機器ファンクションブロック名72は、例えば、機器ファンクションブロック格納手段23の情報テーブル60に格納されている機器ファンクションブロック名から選択されるものとする。
 図8は、機器ファンクションブロック関係格納手段が保持する関係情報テーブルの内容の一例を示す図である。関係情報テーブル80は、登録画面70から登録された機器ファンクションブロック同士の関係付けについて、関係名、機器ファンクションブロック名および接続情報テーブルを格納する。
 例えば、ある関係付けにおいて、「機器ファンクションブロック1」の欄の機器ファンクションブロック名は、出力が接続されるほうの機器ファンクションブロックを示す。「機器ファンクションブロック2」の欄の機器ファンクションブロック名は、入力が接続されるほうの機器ファンクションブロックを示す。この他の関係付けにおいて、例えば、「機器ファンクションブロック2」の欄に示された機器ファンクションブロックの出力ラベルを、「機器ファンクションブロック1」の欄に示された機器ファンクションブロックの入力ラベルに接続することとしても良い。なお、接続情報テーブルについては後述する。
 作業者が、登録画面70において、登録済みの関係名71および機器ファンクションブロック名72を行ごと選択した上で削除ボタン74を押下すると、機器ファンクションブロック関係格納手段24は、当該関係名71と機器ファンクションブロック名72との関係付けを関係情報テーブル80から削除する。
 作業者が、登録済みの関係名71および機器ファンクションブロック名72を行ごと選択した上で編集ボタン75を押下すると、制御プログラム作成支援ツール20は、入力ラベルおよび出力ラベルの接続情報の登録画面を表示装置12に表示する。かかる登録画面については後述する。
 作業者が保存ボタン76を押下すると、制御プログラム作成支援ツール20は、登録画面70にて編集された関係付けの内容を関係情報テーブル80に保存するとともに、登録画面70を閉じる。作業者が取り消しボタン77を押下すると、制御プログラム作成支援ツール20は、登録画面70にて編集された関係付けの内容を関係情報テーブル80に保存せずに登録画面70を閉じる。
 ステップS3において、作業者は、ステップS2にて関係付けられた機器ファンクションブロック同士の接続パターンを選択する。作業者は、関係付けされたうちの一方の機器ファンクションブロックの出力ラベルと、他方の機器ファンクションブロックの入力ラベルとの接続情報を登録する。
 図9は、機器ファンクションブロック間の接続情報を登録するための登録画面を示す図である。表示装置12は、接続情報を登録するための登録画面90を表示する。制御プログラム作成支援ツール20は、機器ファンクションブロック間の接続情報の登録を、登録画面90において受け付ける。接続情報は、接続パターン91、一方の機器ファンクションブロックの出力ラベルの情報92、他方の機器ファンクションブロックの入力ラベルの情報93からなる。また、登録画面90は、接続情報として登録済みの接続パターン91、出力ラベルの情報92および入力ラベルの情報93を表示する。
 入力装置11の操作によって作業者が追加ボタン94を押下すると、登録画面90は、新規登録のための行を追加する。作業者は、新規登録のための行に、接続パターン91、出力ラベルの情報92、入力ラベルの情報93を入力する。接続パターン91は、あらかじめ設定された各種接続パターンから選択されるものとする。各種接続パターンは、例えば、接続内にて信号の変化を伴わない「NORMAL」、信号を反転させる「NOT」、タイマによる信号の遅延などとする。
 図9に示す出力ラベルの情報92は、いずれも、ポンプが動作中であることを示す出力を表すものとする。出力ラベルの情報92には、当該出力ラベルを含む機器ファンクションブロックの番号が含まれる。図9に示す出力ラベルの情報92のうち「1.」は、当該出力ラベルを含むポンプ用ファンクションブロック41を示す番号である。出力ラベルの情報92は、あらかじめ設定された出力ラベルの各種情報から選択されるものとしても良い。
 図9に示す入力ラベルの情報93は、それぞれ、バルブの開閉を指示する開コマンドおよび閉コマンドの入力、バルブの開閉を禁止するための入力を表すものとする。入力ラベルの情報93には、当該入力ラベルを含む機器ファンクションブロックの番号が含まれる。図9に示す入力ラベルの情報93のうち「2.」は、当該入力ラベルを含むバルブ用ファンクションブロック42を示す番号である。入力ラベルの情報93は、あらかじめ設定された入力ラベルの各種情報から選択されるものとしても良い。なお、機器ファンクションブロックを示す番号は、ステップS2にて設定された順序によって決められるものとしても良い。
 図10は、機器ファンクションブロック関係格納手段が保持する接続情報テーブルの内容の一例を示す図である。図10に示す接続情報テーブル100は、ポンプについての出力ラベルの情報と、バルブについての入力ラベルの情報とを含む。図8に示す「接続情報テーブルA」は、この接続情報テーブル100を指すものとする。
 接続情報テーブル100は、接続情報として、接続パターン、一方の機器ファンクションブロックの番号と出力ラベルの情報、他方の機器ファンクションブロックの番号と入力ラベルの情報を格納する。このように、機器ファンクションブロック関係格納手段24は、関係付けがなされた機器ファンクションブロック同士のうち、一方の出力ラベルの情報と、他方の入力ラベルの情報とを含む接続情報を保持する。
 作業者が、登録画面90において接続パターン91、出力ラベルの情報92および入力ラベルの情報93を行ごと選択した上で削除ボタン95を押下すると、機器ファンクションブロック関係格納手段24は、当該接続パターン91、出力ラベルの情報92および入力ラベルの情報93を接続情報テーブル100から削除する。
 作業者が保存ボタン96を押下すると、制御プログラム作成支援ツール20は、登録画面90にて編集された接続情報の内容を接続情報テーブル100に保存するとともに、登録画面90を閉じる。作業者が取り消しボタン97を押下すると、制御プログラム作成支援ツール20は、登録画面90にて編集された接続情報の内容を接続情報テーブル100に保存せずに登録画面90を閉じる。
 図11は、PLCプロジェクトを出力するまでの手順を示すフローチャートである。ステップS11において、作業者が入力装置11を操作することで、機器情報入力手段21には、機器に関する情報が入力される。機器情報入力手段21には、機器に関する情報として、例えば機器名が入力される。機器一覧表示手段22は、機器情報入力手段21へ入力された機器名を基に、機器一覧を作成する。機器一覧表示手段22は、機器一覧を表示する。
 機器ファンクションブロック割り当て手段25は、制御プログラム作成支援ツール20に登録されている機器ファンクションブロック名のいずれかを選択する。機器ファンクションブロック割り当て手段25は、機器一覧に表示されている機器に、機器ファンクションブロックを割り当てる(ステップS12)。
 図12は、ステップS12において作成される機器一覧テーブルの内容の一例を示す図である。機器一覧テーブル120は、機器名121と機器ファンクションブロック名122とを関係付けて格納する。機器一覧表示手段22は、機器一覧テーブル120の内容を、機器一覧として表示する。
 機器ファンクションブロック関係割り当て手段26は、制御プログラム作成支援ツール20に登録されている関係名71と、当該関係名71を付して関係付ける機器とを選択する。機器ファンクションブロック関係割り当て手段26は、機器間における関係付けの割り当てを行う(ステップS13)。
 図13は、機器ファンクションブロックの関係割り当て画面を示す図である。表示装置12は、機器ファンクションブロックの関係割り当て画面130を表示する。制御プログラム作成支援ツール20は、機器ファンクションブロック同士の間における関係付けの割り当てを、関係割り当て画面130において受け付ける。また、関係割り当て画面130は、関係付けが割り当て済みとされた関係名131および機器名132を表示する。
 入力装置11の操作によって作業者が追加ボタン133を押下すると、関係割り当て画面130は、新規登録のための行を追加する。作業者は、新規登録のための行に、関係名131および機器名132を入力する。これにより、制御プログラム作成支援ツール20は、機器ファンクションブロック関係割り当て手段26にて機器ファンクションブロックの関係の割り当てを行う。
 図14は、機器ファンクションブロック関係割り当て手段が保持する機器ファンクションブロックの関係の割り当て一覧テーブルの内容の一例を示す図である。割り当て一覧テーブル140は、関係割り当て画面130から登録された機器ファンクションブロック同士の関係付けについて、関係名、および当該関係名により関係付けられる機器名を格納する。
 作業者が、関係割り当て画面130にて、登録済みの関係名131および機器名132を行ごと選択した上で削除ボタン134を押下すると、機器ファンクションブロック関係割り当て手段26は、当該関係名131と機器名132との関係付けを割り当て一覧テーブル140から削除する。
 作業者が保存ボタン135を押下すると、制御プログラム作成支援ツール20は、関係割り当て画面130にて編集された内容を割り当て一覧テーブル140に保存するとともに、関係割り当て画面130を閉じる。作業者が取り消しボタン136を押下すると、制御プログラム作成支援ツール20は、関係割り当て画面130にて編集された内容を割り当て一覧テーブル140に保存せずに関係割り当て画面130を閉じる。
 機器ファンクションブロック関係割り当て手段26は、自動生成手段27が生成するPLCプロジェクトの保存先を設定する(ステップS14)。自動生成手段27は、作成対象とするPLCプロジェクトを選択して、自動生成を実行する(ステップS15)。
 自動生成手段27は、機器一覧テーブル120と機能ファンクションブロックの情報テーブル60とを参照して、機器ファンクションブロックのインスタンスを生成する。自動生成手段27は、割り当て一覧テーブル140、関係情報テーブル80、接続情報テーブル100および機器一覧テーブル120を参照して、機器ファンクションブロック同士の間の接続部を生成する。自動生成手段27は、機器ファンクションブロック同士の接続を含むPLCプロジェクトを構成する。
 自動生成手段27は、機器ファンクションブロック割り当て手段25による機器ファンクションブロックの割り当てと、機器ファンクションブロック関係割り当て手段26による接続情報の割り当てと、機器ファンクションブロック関係格納手段24が保持する機器ファンクションブロック同士の関係付けとを基に、制御プログラムの自動生成を実行する。
 プログラム出力手段28は、自動生成手段27にて構成されたPLCプロジェクトを出力する(ステップS16)。制御プログラム作成支援ツール20は、対象とするPLCへPLCプロジェクトを書き込み、PLCにPLCプロジェクトを設定する。
 本発明にかかる制御プログラム作成支援ツール20は、制御プログラムの自動生成を可能とすることで、機器ファンクションブロック間のシステム動作のための制御ロジックを手動で作成する場合に比べて作業負担を軽減することができる。制御プログラム作成支援ツール20は、機器ファンクションブロック同士における接続情報を、当該機器ファンクションブロック同士との関係として登録しておくことで、さまざまな接続形態を備える制御プログラムの自動生成にも適用できる。これにより、さまざまな接続形態を備える制御プログラムを自動生成できるという効果を奏する。
実施の形態2.
 図15は、本発明の実施の形態2にかかる制御プログラム作成支援ツールが生成する制御プログラムのうちの、機器ファンクションブロック間の接続の形態の例を示す図である。実施の形態2にかかる制御プログラム作成支援ツール20が生成する制御プログラムは、機器ファンクションブロック同士を接続するファンクションブロック151を含む。ファンクションブロック151は、2つの入力および2つの出力を含む。ファンクションブロック151は、複数の入力および複数の出力を含むものであれば良い。
 ファンクションブロック151は、例えば、機器Aのファンクションブロックの出力側と、機器Bのファンクションブロックの入力側とを接続する。機器Aのファンクションブロックの2つの出力が、ファンクションブロック151の2つの入力にそれぞれ接続されている。機器Bのファンクションブロックの2つの入力が、ファンクションブロック151の2つの出力にそれぞれ接続されている。
 図9に示す登録画面90にて、ファンクションブロック151は、機器Aのファンクションブロックと機器Bのファンクションブロックの間の接続パターン91として登録される。接続パターン91は、あらかじめ設定された各種接続パターンから選択される。実施の形態2では、各種接続パターンに、ファンクションブロック151が含まれるものとする。制御プログラム作成支援ツール20は、複数の出力ラベルの情報92と、複数の入力ラベルの情報93とを設定することができる。
 図16は、機器ファンクションブロック関係格納手段が保持する接続情報テーブルの内容の一例を示す図である。図16に示す接続情報テーブル160は、ポンプについての出力ラベルの情報と、バルブについての入力ラベルの情報とを含む。実施の形態2の接続情報テーブル160は、複数の出力ラベルの情報と複数の入力ラベルの情報とを格納できるように、実施の形態1の接続情報テーブル100(図10参照)を拡張させたものとする。
 接続パターン「NOT」および「NORMAL」は、ファンクションブロック151を介さない接続とする。接続パターン「NEW_FB」は、ファンクションブロック151を介する接続とする。接続情報テーブル160は、接続パターン「NEW_FB」について、2つの出力に対応する「出力ラベル1」および「出力ラベル2」の各情報を格納可能とする。接続情報テーブル160は、接続パターン「NEW_FB」について、2つの入力に対応する「入力ラベル1」および「入力ラベル2」の各情報を格納可能とする。機器ファンクションブロック関係格納手段24が保持する接続情報は、複数の出力ラベルの情報と、複数の入力ラベルの情報とを含む。
 実施の形態2によると、制御プログラム作成支援ツール20は、機器ファンクションブロック同士を接続する接続パターンとしてファンクションブロック151を登録可能とする。制御プログラム作成支援ツール20は、機器ファンクションブロック同士を接続するファンクションブロック151を、制御プログラムに含めることができる。
実施の形態3.
 図17は、本発明の実施の形態3にかかる制御プログラム作成支援ツールが生成する制御プログラムのうちの、機器ファンクションブロック間の接続の形態の例を示す図である。実施の形態3にかかる制御プログラム作成支援ツール20が生成する制御プログラムは、3つ以上の機器ファンクションブロックを接続するファンクションブロック171を含む。
 ファンクションブロック171は、例えば、機器Aのファンクションブロックの出力側および機器Bのファンクションブロックの出力側と、機器Cのファンクションブロックの入力側および機器Dのファンクションブロックの入力側とを接続する。機器Aのファンクションブロックの1つの出力と、機器Bのファンクションブロックの1つの出力とが、ファンクションブロック171の2つの入力にそれぞれ接続されている。機器Cのファンクションブロックの1つの入力と、機器Dのファンクションブロックの1つの入力とが、ファンクションブロック171の2つの出力にそれぞれ接続されている。図17に示すファンクションブロック171は、4つの機器ファンクションブロックを接続する。
 図7に示す登録画面70では、「FunctionBlock1」の欄と「FunctionBlock2」の欄に加えて、さらに「FunctionBlock3」、「FunctionBlock4」・・・と欄を増設しても良い。これにより、登録画面70は、各関係付けにおいて、それぞれ3以上の機器ファンクションブロック名72を選択する場合にも対応することができる。
 図9に示す登録画面90にて、ファンクションブロック171は、機器A,Bの各ファンクションブロックと、機器C,Dの各ファンクションブロックの間の接続パターン91として登録される。実施の形態3では、実施の形態2と同様に、各種接続パターンに、ファンクションブロック171が含まれるものとする。制御プログラム作成支援ツール20は、複数の出力ラベルの情報92と、複数の入力ラベルの情報93とを設定することができる。
 図18は、機器ファンクションブロック関係格納手段が保持する関係情報テーブルの内容の一例を示す図である。関係情報テーブル180は、登録画面70から登録された機器ファンクションブロック同士の関係付けについて、関係名、3つ以上の機器ファンクションブロック名、および接続情報テーブルを格納する。
 実施の形態3の関係情報テーブル180は、各関係付けにおいて3つ以上の機器ファンクションブロック名を格納できるように、実施の形態1の関係情報テーブル80(図8参照)を拡張させたものとする。図18には、関係情報テーブル180に格納されている3つの機器ファンクションブロック名(「機器ファンクションブロック1」、「機器ファンクションブロック2」、「機器ファンクションブロック3」)を示している。
 なお、ファンクションブロック171は、入力側および出力側の少なくとも一方に、2以上の機器ファンクションブロックに接続されるものであれば良いものとする。機器ファンクションブロック同士の関係付けの方法については、ファンクションブロック171を介して機器ファンクションブロックを接続する態様に応じて適宜変形可能であるものとする。
 実施の形態3によると、制御プログラム作成支援ツール20は、3つ以上の機器ファンクションブロックを接続する接続パターンとして、ファンクションブロック171を登録可能とする。制御プログラム作成支援ツール20は、3つ以上の機器ファンクションブロックを接続するファンクションブロック171を、制御プログラムに含めることができる。
 10 PC、11 入力装置、12 表示装置、13 中央演算装置、14 記憶装置、20 制御プログラム作成支援ツール、21 機器情報入力手段、22 機器一覧表示手段、23 機器ファンクションブロック格納手段、24 機器ファンクションブロック関係格納手段、25 機器ファンクションブロック割り当て手段、26 機器ファンクションブロック関係割り当て手段、27 自動生成手段、28 プログラム出力手段、31 機器ファンクションブロック、32 入力ラベル、33 出力ラベル、41 ポンプ用ファンクションブロック、42 バルブ用ファンクションブロック、43 接続部、60 情報テーブル、70 登録画面、71 関係名、72 機器ファンクションブロック名、73 追加ボタン、74 削除ボタン、75 編集ボタン、76 保存ボタン、77 取り消しボタン、80 関係情報テーブル、90 登録画面、91 接続パターン、92 出力ラベルの情報、93 入力ラベルの情報、94 追加ボタン、100 接続情報テーブル、120 機器一覧テーブル、121 機器名、122 機器ファンクションブロック名、130 関係割り当て画面、131 関係名、132 機器名、133 追加ボタン、134 削除ボタン、135 保存ボタン、136 取り消しボタン、140 割り当て一覧テーブル、151 ファンクションブロック、160 接続情報テーブル、171 ファンクションブロック、180 関係情報テーブル。

Claims (5)

  1.  制御プログラムによる制御対象とされる機器の機能を部品化した機器ファンクションブロックを格納する機器ファンクションブロック格納手段と、
     前記機器ファンクションブロック格納手段から選択された機器ファンクションブロック同士の間における接続の形態に関する接続情報を格納するとともに、当該機器ファンクションブロック同士の関係付けを保持する機器ファンクションブロック関係格納手段と、を有し、
     前記機器ファンクションブロック関係格納手段が保持する前記接続情報は、前記関係付けがなされた前記機器ファンクションブロック同士のうち、一方の機器ファンクションブロックの出力ラベルの情報と、他方の機器ファンクションブロックの入力ラベルの情報とを含むことを特徴とする制御プログラム作成支援ツール。
  2.  前記機器ファンクションブロック格納手段に格納されている前記機器ファンクションブロックを前記機器に割り当てる機器ファンクションブロック割り当て手段と、
     前記機器ファンクションブロック関係格納手段に格納されている前記接続情報を前記機器に割り当てる機器ファンクションブロック関係割り当て手段と、
     前記制御プログラムの自動生成を実行する自動生成手段と、を有し、
     前記自動生成手段は、前記機器ファンクションブロック割り当て手段による前記機器ファンクションブロックの割り当てと、前記機器ファンクションブロック関係割り当て手段による前記接続情報の割り当てと、前記機器ファンクションブロック関係格納手段が保持する前記機器ファンクションブロック同士の関係付けとを基に、前記ファンクションブロック同士の間の接続部を生成することを特徴とする請求項1に記載の制御プログラム作成支援ツール。
  3.  前記機器ファンクションブロック関係格納手段が保持する前記接続情報には、前記機器ファンクションブロック同士を接続する接続パターンとして、複数の入力および複数の出力を備えるファンクションブロックが登録可能であって、かつ前記接続情報に、複数の前記出力ラベルの情報と、複数の前記入力ラベルの情報とを含むことを特徴とする請求項1に記載の制御プログラム作成支援ツール。
  4.  前記機器ファンクションブロック関係格納手段が保持する前記接続情報には、前記接続パターンとして、3つ以上の機器ファンクションブロックを接続するファンクションブロックが登録可能であって、
     前記機器ファンクションブロック関係格納手段は、前記3つ以上の機器ファンクションブロックについての関係付けを保持することを特徴とする請求項3に記載の制御プログラム作成支援ツール。
  5.  制御プログラムによる制御対象とされる機器の機能を部品化した機器ファンクションブロックを格納する機器ファンクションブロック格納手段と、
     前記機器ファンクションブロック格納手段から選択された機器ファンクションブロック同士の間における接続の形態に関する接続情報を格納するとともに、当該機器ファンクションブロック同士の関係付けを保持する機器ファンクションブロック関係格納手段と、を有し、
     前記機器ファンクションブロック関係格納手段が保持する前記接続情報は、前記関係付けがなされた前記機器ファンクションブロック同士のうち、一方の機器ファンクションブロックの出力ラベルの情報と、他方の機器ファンクションブロックの入力ラベルの情報とを含むことを特徴とする制御プログラム作成支援システム。
PCT/JP2013/082458 2013-12-03 2013-12-03 制御プログラム作成支援ツールおよび制御プログラム作成支援システム WO2015083231A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014514971A JPWO2015083231A1 (ja) 2013-12-03 2013-12-03 制御プログラム作成支援ツールおよび制御プログラム作成支援システム
PCT/JP2013/082458 WO2015083231A1 (ja) 2013-12-03 2013-12-03 制御プログラム作成支援ツールおよび制御プログラム作成支援システム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2013/082458 WO2015083231A1 (ja) 2013-12-03 2013-12-03 制御プログラム作成支援ツールおよび制御プログラム作成支援システム

Publications (1)

Publication Number Publication Date
WO2015083231A1 true WO2015083231A1 (ja) 2015-06-11

Family

ID=53273028

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/082458 WO2015083231A1 (ja) 2013-12-03 2013-12-03 制御プログラム作成支援ツールおよび制御プログラム作成支援システム

Country Status (2)

Country Link
JP (1) JPWO2015083231A1 (ja)
WO (1) WO2015083231A1 (ja)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000305765A (ja) * 1999-04-19 2000-11-02 Yokogawa Electric Corp プロセス制御システムの構築装置
JP2009116429A (ja) * 2007-11-02 2009-05-28 Yamatake Corp 制御プログラム作成装置および制御プログラム作成方法
JP2010198338A (ja) * 2009-02-25 2010-09-09 Fuji Electric Systems Co Ltd ソフトウェア開発支援装置及び方法
JP2010198562A (ja) * 2009-02-27 2010-09-09 Yamatake Corp 制御プログラム作成方法および作成装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000305765A (ja) * 1999-04-19 2000-11-02 Yokogawa Electric Corp プロセス制御システムの構築装置
JP2009116429A (ja) * 2007-11-02 2009-05-28 Yamatake Corp 制御プログラム作成装置および制御プログラム作成方法
JP2010198338A (ja) * 2009-02-25 2010-09-09 Fuji Electric Systems Co Ltd ソフトウェア開発支援装置及び方法
JP2010198562A (ja) * 2009-02-27 2010-09-09 Yamatake Corp 制御プログラム作成方法および作成装置

Also Published As

Publication number Publication date
JPWO2015083231A1 (ja) 2017-03-16

Similar Documents

Publication Publication Date Title
JP4820265B2 (ja) エンジニアリング装置
JP4994517B1 (ja) エンジニアリング装置
WO2016098168A1 (ja) 情報システム構築支援ツールおよび情報システム構築支援プログラム
JP6926841B2 (ja) コントロールシステム、開発支援装置、及びコントロール方法
WO2018198174A1 (ja) プログラマブルロジックコントローラシステム、プログラマブルロジックコントローラおよびエンジニアリングツールプログラム
DE112015007076T5 (de) Programmierbare Anzeige, Informationsverarbeitungsvorrichtung, Anzeigebilddatenerstellungsunterstützungsprogramm und Bildschirmanzeigesystem
WO2015083231A1 (ja) 制御プログラム作成支援ツールおよび制御プログラム作成支援システム
JP4834816B2 (ja) シミュレーション装置
JP5566473B2 (ja) システム設計装置
US8181172B2 (en) Method for operation of an automation system
Jakobi et al. BIM use-case: model-based performance optimization
JP4301976B2 (ja) プログラミングツール
US8539436B2 (en) System and method for rule-based distributed engineering
JP2006127069A (ja) プラント監視制御システム
WO2018179206A1 (ja) システム設計支援装置およびシステム設計支援方法
JP2017072877A (ja) プラント制御システムのエンジニアリング支援装置
JP5911739B2 (ja) 制御インターロック設定装置及び監視制御システム
JP2017111641A (ja) プログラマブルコントローラ
JP7224261B2 (ja) プラント監視制御システム
Macke et al. Standardization of smart manufacturing change management
JP6594535B2 (ja) シーケンス制御装置
WO2014080491A1 (ja) プログラマブル表示器
JP2023080385A (ja) 管理システム、及び管理プログラム
JP2533372B2 (ja) 制御プログラム作成方法
JP2016029542A (ja) 画面構築装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2014514971

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13898856

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13898856

Country of ref document: EP

Kind code of ref document: A1