JP2020194373A - Control program creation support system and creation support program - Google Patents

Control program creation support system and creation support program Download PDF

Info

Publication number
JP2020194373A
JP2020194373A JP2019099774A JP2019099774A JP2020194373A JP 2020194373 A JP2020194373 A JP 2020194373A JP 2019099774 A JP2019099774 A JP 2019099774A JP 2019099774 A JP2019099774 A JP 2019099774A JP 2020194373 A JP2020194373 A JP 2020194373A
Authority
JP
Japan
Prior art keywords
unit
unit operation
control program
program
creation support
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2019099774A
Other languages
Japanese (ja)
Other versions
JP7302937B2 (en
Inventor
明郎 中川
Akio Nakagawa
明郎 中川
良樹 森
Yoshiki Mori
良樹 森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Iwai Pharma Tech Co Ltd
Original Assignee
Iwai Pharma Tech Co Ltd
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 Iwai Pharma Tech Co Ltd filed Critical Iwai Pharma Tech Co Ltd
Priority to JP2019099774A priority Critical patent/JP7302937B2/en
Publication of JP2020194373A publication Critical patent/JP2020194373A/en
Application granted granted Critical
Publication of JP7302937B2 publication Critical patent/JP7302937B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a control program creation support system and a control program creation support program capable of easily creating a control program in a liquid product manufacturing facility.SOLUTION: The control program creation support system is provided with a control program 30 and a creation support program 40 for creating a control program, a plurality of unit operations 50, which are programs to control various processing devices, and interlock information 70, which defines a combination of the unit operations 50 that can or cannot be executed in parallel. The creation support program 40 is provided with a unit operation selection section 41 to which the unit operation selected by a user and the first execution order of the unit operation are input, and a control program creation section 44 that creates a control program 30 for executing the unit operation 50 in the first execution order. The unit operation selection section 41 shows on a touch panel the unit operations 50 that is executable in parallel with the unit operation 50 selected by the user with reference to the interlock information 70.SELECTED DRAWING: Figure 3

Description

本発明は、医薬品、飲料、食品、インクなど液状の製品を製造する設備において、制御プログラムを容易に作成することができる制御プログラムの作成支援システム及び作成支援プログラムに関する。 The present invention relates to a control program creation support system and a creation support program that can easily create a control program in a facility that manufactures liquid products such as pharmaceuticals, beverages, foods, and inks.

医薬品、飲料、食品またはインクなど液状の製品を製造する設備には、各種の処理目的に応じた処理装置と、処理装置を制御するための制御装置が配備されている。制御装置にて制御プログラムを実行することで目的とする医薬品等が製造される。制御プログラムは、処理装置の構成はそのままでも別の製品を製造するために異なる制御プログラムに変更されることがある。他にも、メンテナンスや試運転のときにだけ制御プログラムの一部を変更することもある。 Facilities for manufacturing liquid products such as pharmaceuticals, beverages, foods, and inks are equipped with processing devices according to various processing purposes and control devices for controlling the processing devices. The target drug or the like is manufactured by executing the control program on the control device. The control program may be changed to a different control program in order to manufacture another product while keeping the configuration of the processing device. In addition, some control programs may be changed only during maintenance and test runs.

このように、目的に応じて制御プログラムを作成・変更する場面が少なからず生じるため、制御プログラムの作成・変更に掛る手間を軽減することが望まれている。従来では、部品化されたプログラム(以下、部品プログラム)を組み合わせることで目的の制御プログラムを作成可能な技術が提案されている(例えば、特許文献1参照)。 As described above, since there are not a few situations in which a control program is created / changed according to the purpose, it is desired to reduce the time and effort required for creating / changing the control program. Conventionally, a technique capable of creating a target control program by combining a componentized program (hereinafter referred to as a component program) has been proposed (see, for example, Patent Document 1).

部品プログラムを組み合わせるためには、部品プログラム同士が矛盾なく組み合わされている必要がある。例えば、ある部品プログラム同士は、実行不可能な部品プログラムがありえる。従来技術では、このような部品プログラム間を矛盾なく組み合わせることができるような手段はなく、必ずしも、制御プログラムの作成負担が軽減されるとはいえなかった。 In order to combine component programs, the component programs must be combined without contradiction. For example, there may be part programs that cannot be executed between certain part programs. In the prior art, there is no means for combining such component programs without contradiction, and it cannot be said that the burden of creating a control program is necessarily reduced.

特開2002−99742号公報Japanese Unexamined Patent Publication No. 2002-99742

本発明は、このような事情に鑑み、液状の製品の製造設備において、制御プログラムを容易に作成することができる制御プログラムの作成支援システム及び作成支援プログラムを提供することを目的とする。 In view of such circumstances, an object of the present invention is to provide a control program creation support system and a creation support program capable of easily creating a control program in a liquid product manufacturing facility.

上記目的を達成するための第1の態様は、液状の製品を製造する処理装置と、前記処理装置を制御する制御装置と、前記制御装置に設けられた記憶装置と、利用者から情報が入力され、かつ情報を提示する入出力手段と、前記記憶装置に記憶されるとともに前記制御装置で実行される制御プログラム及び前記制御プログラムを作成する作成支援プログラムと、を備えた制御プログラムの作成支援システムであって、前記記憶装置には、前記処理装置を制御するプログラムである複数の単位操作と、並行して実行可能又は実行不可能である前記単位操作の組み合わせを定義したインターロック情報と、が記憶されており、前記作成支援プログラムは、前記入出力手段を介して、複数の前記単位操作を利用者に提示し、利用者に選択された前記単位操作及び前記単位操作の第1の実行順が入力される単位操作選択部と、前記第1の実行順で前記単位操作を実行する前記制御プログラムを作成する制御プログラム作成部とを備え、前記単位操作選択部は、複数の前記単位操作のうち、前記インターロック情報を参照して利用者に選択された前記単位操作と並行して実行可能な前記単位操作を前記入出力手段に提示することを特徴とする制御プログラムの作成支援システムにある。 In the first aspect for achieving the above object, information is input from a processing device for producing a liquid product, a control device for controlling the processing device, a storage device provided in the control device, and a user. A control program creation support system including an input / output means for presenting information, a control program stored in the storage device and executed by the control device, and a creation support program for creating the control program. In the storage device, a plurality of unit operations that are programs that control the processing device and interlock information that defines a combination of the unit operations that can be executed or cannot be executed in parallel are stored in the storage device. The creation support program presents a plurality of the unit operations to the user via the input / output means, and the unit operation selected by the user and the first execution order of the unit operation are stored. The unit operation selection unit includes a unit operation selection unit in which is input, and a control program creation unit that creates the control program that executes the unit operation in the first execution order. The unit operation selection unit is a unit operation selection unit for a plurality of the unit operations. Among them, there is a control program creation support system characterized in that the unit operation that can be executed in parallel with the unit operation selected by the user with reference to the interlock information is presented to the input / output means. ..

本発明の第2の態様は、第1の態様に記載する制御プログラムの作成支援システムにおいて、前記制御プログラムは、第2の実行順で実行される複数の小工程プログラムからなり、前記小工程プログラムは、前記第1の実行順で実行される前記単位操作からなり、前記作成支援プログラムは、前記単位操作選択部により選択された前記単位操作を前記第1の実行順で実行する前記小工程プログラムを作成するとともに、前記小工程プログラムの前記第2の実行順が入力される小工程プログラム作成部を備え、前記制御プログラム作成部は、前記小工程プログラムが前記第2の実行順で実行される前記制御プログラムを作成することを特徴とする制御プログラムの作成支援システムにある。 A second aspect of the present invention is the control program creation support system described in the first aspect, wherein the control program comprises a plurality of small process programs executed in the second execution order, and the small process program. Consists of the unit operations executed in the first execution order, and the creation support program executes the unit operations selected by the unit operation selection unit in the first execution order. Is provided, and the small process program creation unit for inputting the second execution order of the small process program is provided. The control program creation unit executes the small process program in the second execution order. It is in a control program creation support system characterized by creating the control program.

本発明の第3の態様は、第1又は第2の態様に記載する制御プログラムの作成支援システムにおいて、前記単位操作は、前記処理装置の制御をするためのパラメータが設定可能であり、前記作成支援プログラムは、前記入力手段を介して、前記単位操作に対する前記パラメータが入力され、前記パラメータを前記記憶装置に記憶するパラメータ設定部を備えることを特徴とする制御プログラムの作成支援システムにある。 A third aspect of the present invention is the control program creation support system described in the first or second aspect. In the unit operation, parameters for controlling the processing device can be set, and the creation of the unit operation. The support program is in a control program creation support system including a parameter setting unit in which the parameters for the unit operation are input via the input means and the parameters are stored in the storage device.

本発明の第4の態様は、第3の態様に記載する制御プログラムの作成支援システムにおいて、前記作成支援プログラムは、前記単位操作選択部は、複数の前記単位操作のうち、前記インターロック情報を参照して利用者に選択された前記単位操作と並行して実行可能な前記単位操作であって、当該単位操作に対して設定された前記パラメータが所定条件に該当するものを前記入出力手段に提示することを特徴とする制御プログラムの作成支援システムにある。 A fourth aspect of the present invention is the control program creation support system described in the third aspect. In the creation support program, the unit operation selection unit uses the interlock information among a plurality of the unit operations. The unit operation that can be executed in parallel with the unit operation selected by the user with reference to the unit operation and in which the parameter set for the unit operation meets a predetermined condition is used as the input / output means. It is in the control program creation support system, which is characterized by presenting.

本発明の第5の態様は、液状の製品を製造する処理装置を制御する制御プログラムを実行する制御装置で実行される制御プログラムの作成支援プログラムであって、前記制御装置の記憶装置には、前記処理装置を制御するプログラムである複数の単位操作及び並行して実行可能又は実行不可能である前記単位操作の組み合わせを定義したインターロック情報が記憶されており、前記制御装置を、利用者から情報が入力され、かつ情報を提示する入出力手段を介して、複数の前記単位操作を利用者に提示し、利用者に選択された前記単位操作及び前記単位操作の第1の実行順が入力される単位操作選択手段と、前記第1の実行順で前記単位操作を実行する前記制御プログラムを作成する制御プログラム作成手段として機能させ、前記単位操作選択手段は、複数の前記単位操作のうち、前記インターロック情報を参照して利用者に選択された前記単位操作と並行して実行可能な前記単位操作を前記入出力手段に提示することを特徴とする制御プログラムの作成支援プログラムにある。 A fifth aspect of the present invention is a control program creation support program executed by a control device that executes a control program that controls a processing device that manufactures a liquid product, and the storage device of the control device includes a control program. Interlock information that defines a combination of a plurality of unit operations that are programs that control the processing device and the unit operations that can be executed or cannot be executed in parallel is stored, and the control device can be transmitted from the user. A plurality of the unit operations are presented to the user via the input / output means in which the information is input and the information is presented, and the unit operation selected by the user and the first execution order of the unit operation are input. The unit operation selection means is made to function as a control program creation means for creating the control program that executes the unit operation in the first execution order, and the unit operation selection means is among the plurality of the unit operations. It is in a control program creation support program characterized by presenting to the input / output means the unit operation that can be executed in parallel with the unit operation selected by the user with reference to the interlock information.

本発明によれば、製品の製造設備において、制御プログラムを容易に作成することができる制御プログラムの作成支援システム及び作成支援プログラムが提供される。 According to the present invention, there is provided a control program creation support system and a creation support program that can easily create a control program in a product manufacturing facility.

制御プログラムの作成支援システムの概略構成図である。It is a schematic block diagram of the control program creation support system. 制御プログラムの作成支援システムの機能を示すブロック図である。It is a block diagram which shows the function of the control program creation support system. 制御プログラム、作成支援プログラム、単位操作、パラメータ、インターロック情報の概略図である。It is a schematic diagram of a control program, a creation support program, a unit operation, a parameter, and interlock information. 制御プログラムの一例を示す図である。It is a figure which shows an example of a control program. 単位操作及びパラメータの一例を示す図である。It is a figure which shows an example of a unit operation and a parameter. インターロック情報の一例を示す図である。It is a figure which shows an example of the interlock information. 作成支援システムの動作を示すフロー図である。It is a flow chart which shows the operation of the creation support system. 作成支援システムの動作を示すフロー図である。It is a flow chart which shows the operation of the creation support system. タッチパネルに表示された画面例である。This is an example of a screen displayed on the touch panel. タッチパネルに表示された画面例である。This is an example of a screen displayed on the touch panel. タッチパネルに表示された画面例である。This is an example of a screen displayed on the touch panel. タッチパネルに表示された画面例である。This is an example of a screen displayed on the touch panel. タッチパネルに表示された画面例である。This is an example of a screen displayed on the touch panel. タッチパネルに表示された画面例である。This is an example of a screen displayed on the touch panel. タッチパネルに表示された画面例である。This is an example of a screen displayed on the touch panel. インターロック情報、パラメータ及び所定条件を示す図である。It is a figure which shows the interlock information, a parameter and a predetermined condition.

〈実施形態1〉
図1に示すように、本実施形態の作成支援システム1は、液状の製品、例えば、医薬品(薬液)、飲料、液状の食品、インクなどの製品を製造する設備を対象とする。設備は、各種の原料を加工して製品を製造するための様々な処理装置から構成されている。処理装置は、製品を製造するための各種の装置の他、センサーや計測装置も含む。
<Embodiment 1>
As shown in FIG. 1, the creation support system 1 of the present embodiment targets equipment for manufacturing liquid products such as pharmaceuticals (chemicals), beverages, liquid foods, and inks. The equipment consists of various processing devices for processing various raw materials to manufacture products. The processing device includes various devices for manufacturing products, as well as sensors and measuring devices.

本実施形態の設備は、処理装置として、タンク2、原料供給手段3、精製水供給手段4、撹拌装置5、温度センサ6、計量器7、温度調節装置8を備えている。なお、タンク2、原料供給手段3、精製水供給手段4、撹拌装置5、温度センサ6、計量器7、及び温度調節装置8をまとめて各種処理装置2〜8とも称する。 The equipment of the present embodiment includes a tank 2, a raw material supply means 3, a purified water supply means 4, a stirrer 5, a temperature sensor 6, a measuring instrument 7, and a temperature control device 8 as processing devices. The tank 2, the raw material supply means 3, the purified water supply means 4, the stirring device 5, the temperature sensor 6, the measuring instrument 7, and the temperature control device 8 are collectively referred to as various processing devices 2 to 8.

タンク2は、原料供給手段3から原料が供給され、原料を内部に貯留する容器である。特に図示しないが、タンク2の下部には配管が接続されており、当該配管を介して設備の他の処理装置に接続されている。タンク2で処理が終わった原料等は、他の処理装置に送られるようになっている。 The tank 2 is a container in which raw materials are supplied from the raw material supply means 3 and the raw materials are stored inside. Although not particularly shown, a pipe is connected to the lower part of the tank 2 and is connected to another processing device of the facility via the pipe. The raw materials and the like that have been processed in the tank 2 are sent to another processing apparatus.

原料供給手段3は、原料を保持し、その原料をタンク2に投入する装置群である。原料供給手段3は、単一の原料に限らず、複数種の原料を投入可能であってもよい。例えば、原料供給手段3は、原料を保持する容器、当該容器とタンク2を接続する配管、当該配管の開度を調整する弁体、容器から原料を圧送するためのポンプなどから構成されている。原料供給手段3は、後述するPLC(制御装置)10からの制御信号によりポンプの出力や弁体の開度を調整するようになっている。 The raw material supply means 3 is a group of devices that hold the raw material and put the raw material into the tank 2. The raw material supply means 3 is not limited to a single raw material, and may be capable of inputting a plurality of types of raw materials. For example, the raw material supply means 3 is composed of a container for holding the raw material, a pipe connecting the container and the tank 2, a valve body for adjusting the opening degree of the pipe, a pump for pumping the raw material from the container, and the like. .. The raw material supply means 3 adjusts the output of the pump and the opening degree of the valve body by a control signal from the PLC (control device) 10 described later.

精製水供給手段4は、精製水をタンク2に投入する動作を行う装置群である。例えば、精製水供給手段4は、精製水を製造する装置、当該装置とタンク2を接続する配管、当該配管の開度を調整する弁体、容器から原料を圧送するためのポンプなどから構成されている。精製水供給手段4は、後述するPLC(制御装置)10からの制御信号によりポンプの出力や弁体の開度を調整するようになっている。 The purified water supply means 4 is a group of devices that perform an operation of charging purified water into the tank 2. For example, the purified water supply means 4 is composed of a device for producing purified water, a pipe connecting the device and the tank 2, a valve body for adjusting the opening degree of the pipe, a pump for pumping raw materials from a container, and the like. ing. The purified water supply means 4 adjusts the output of the pump and the opening degree of the valve body by a control signal from the PLC (control device) 10 described later.

撹拌装置5は、タンク2の内部に配置されたスクリューを回転させて原料を撹拌する。撹拌装置5には、スクリューの回転数や回転時間などがPLC10から制御信号として与えられる。そして、撹拌装置5は、その制御信号を受信し、設定された回転数及び回転時間でタンク2内の原料を撹拌するように構成されている。また、撹拌装置5からの情報、例えば、実際の回転数や回転を始めてからの経過時間などは、PLC10に送信され、PLC10はその情報を読み取ることが可能となっている。 The stirring device 5 rotates the screw arranged inside the tank 2 to stir the raw material. The rotation speed and rotation time of the screw are given to the stirring device 5 as control signals from the PLC 10. Then, the stirring device 5 is configured to receive the control signal and stir the raw materials in the tank 2 at a set rotation speed and rotation time. Further, information from the stirring device 5, for example, the actual number of rotations and the elapsed time since the start of rotation is transmitted to the PLC 10, and the PLC 10 can read the information.

温度センサ6は、タンク2の内部に貯留された原料の温度を測定する。また、温度センサ6は、原料の温度をPLC10に送信するように構成されている。計量器7は、タンク2の内部に貯留された原料を計量する、ロードセルなどの装置である。計量器7は、原料の重量をPLC10に送信するように構成されている。 The temperature sensor 6 measures the temperature of the raw material stored inside the tank 2. Further, the temperature sensor 6 is configured to transmit the temperature of the raw material to the PLC 10. The measuring instrument 7 is a device such as a load cell that measures the raw materials stored in the tank 2. The measuring instrument 7 is configured to transmit the weight of the raw material to the PLC 10.

温度調節装置8は、タンク2の内部に貯留された原料の温度を調節するための装置である。温度調節装置8は、PLCから与えられた温度となるように原料を加熱又は冷却する。 The temperature control device 8 is a device for controlling the temperature of the raw material stored inside the tank 2. The temperature control device 8 heats or cools the raw material so as to reach the temperature given by the PLC.

これらの各種処理装置2〜8の動作によりタンク2において原料が混合され、その原料が他の処理装置(特に図示せず)にて所定の処理が実行され、設備全体で医薬品等が製造されるようになっている。 Raw materials are mixed in the tank 2 by the operations of these various processing devices 2 to 8, and the raw materials are subjected to predetermined processing in another processing device (not shown in particular), and pharmaceuticals and the like are manufactured in the entire facility. It has become like.

図1及び図2に示すように、作成支援システム1は、このような各種処理装置2〜8を制御する制御装置としてPLC10と、タッチパネル20とを備えている。 As shown in FIGS. 1 and 2, the creation support system 1 includes a PLC 10 and a touch panel 20 as control devices for controlling such various processing devices 2 to 8.

PLC10は、プログラマブルコントローラ又はシーケンサとも称される装置である。PLC10は、CPU11及びメモリ12(記憶装置)を備え、メモリ12に記憶された制御プログラム30を読み取り実行することで、各種処理装置2〜8を制御する。 The PLC 10 is a device also called a programmable controller or a sequencer. The PLC 10 includes a CPU 11 and a memory 12 (storage device), and controls various processing devices 2 to 8 by reading and executing the control program 30 stored in the memory 12.

メモリ12には、作成支援プログラム40、単位操作50、パラメータ60、インターロック情報70が記憶されている。PLC10は、詳細は後述するが、作成支援プログラム40を読み取り実行することで、制御プログラム30の作成支援を行う。 The creation support program 40, the unit operation 50, the parameter 60, and the interlock information 70 are stored in the memory 12. Although the details will be described later, the PLC 10 supports the creation of the control program 30 by reading and executing the creation support program 40.

タッチパネル20は、PLC10に接続された入出力手段の一例であり、所定の画面を表示するとともに、操作者の操作を検出する。具体的には、タッチパネル20は、CPU21、入出力部22、メモリ23を備えている。 The touch panel 20 is an example of the input / output means connected to the PLC 10, and displays a predetermined screen and detects the operation of the operator. Specifically, the touch panel 20 includes a CPU 21, an input / output unit 22, and a memory 23.

入出力部22は、具体的には、表示装置と、その表示装置の表面に触れた操作を検出するための検出機構とから構成されている。表示装置は、液晶パネルや有機ELなど公知の表示装置を用いることができる。また、検出機構は、抵抗膜方式や静電容量方式など公知のものを用いることができる。 Specifically, the input / output unit 22 includes a display device and a detection mechanism for detecting an operation of touching the surface of the display device. As the display device, a known display device such as a liquid crystal panel or an organic EL can be used. Further, as the detection mechanism, a known one such as a resistance film method or a capacitance method can be used.

メモリ23には、タッチパネル20を動作させるためのプログラムが記憶されており、CPU21はこのプログラムをメモリ23から呼び出して実行する。また、上述した制御プログラム30や作成支援プログラム40は、タッチパネル20に情報を提示したり、タッチパネル20から利用者の入力を得ることが可能となっている。 A program for operating the touch panel 20 is stored in the memory 23, and the CPU 21 calls and executes this program from the memory 23. Further, the control program 30 and the creation support program 40 described above can present information on the touch panel 20 and obtain input from the user from the touch panel 20.

図3から図6を用いて、制御プログラム30、作成支援プログラム40、単位操作50、パラメータ60、インターロック情報70について説明する。 The control program 30, the creation support program 40, the unit operation 50, the parameter 60, and the interlock information 70 will be described with reference to FIGS. 3 to 6.

図3に示すように、制御プログラム30は、単位操作を所定の実行順で実行することで各種処理装置2〜8を動作させるプログラムである。本実施形態では、制御プログラム30は、小工程プログラム31に纏められた各単位操作を備えている。 As shown in FIG. 3, the control program 30 is a program that operates various processing devices 2 to 8 by executing unit operations in a predetermined execution order. In the present embodiment, the control program 30 includes each unit operation grouped in the small process program 31.

制御プログラム30には、複数の小工程プログラム31が含まれ、これらを実行する順序が定義されている。この順序を第2の実行順と称する。制御プログラム30は、一番目に実行される「小工程プログラム1」、二番目に実行される「小工程プログラム2」・・・、M番目に実行される「小工程プログラムM」というM個の小工程プログラム31を備えている。このような制御プログラム30は、第2の実行順で各小工程プログラム31を実行するよう、ラダー回路で記述されている。 The control program 30 includes a plurality of sub-process programs 31, and the order in which they are executed is defined. This order is called the second execution order. The control program 30 has M pieces of "small process program 1" executed first, "small process program 2" ... executed second, and "small process program M" executed M third. It includes a small process program 31. Such a control program 30 is described in a ladder circuit so as to execute each sub-process program 31 in the second execution order.

各小工程プログラム31は、1つ又は複数の単位操作を第1の実行順で実行するプログラムである。小工程プログラム31は、プログラムである単位操作50そのものを備えているのではなく、メモリ12に記憶された単位操作50を参照するものである。具体的には、小工程プログラム31は、第1の実行順で各単位操作を実行するよう、ラダー回路で記述されている。 Each sub-process program 31 is a program that executes one or more unit operations in the first execution order. The small process program 31 does not include the unit operation 50 itself, which is a program, but refers to the unit operation 50 stored in the memory 12. Specifically, the sub-process program 31 is described in a ladder circuit so that each unit operation is executed in the first execution order.

図4に示すように、制御プログラム30は複数の小工程プログラム31を備えている。小工程プログラム31は合計で20個あり、ステップ1〜20がそれぞれ割り当てられている。このステップ1〜20が第2の実行順である。小工程プログラム31にはそれぞれ名称が付されている。 As shown in FIG. 4, the control program 30 includes a plurality of small process programs 31. There are a total of 20 sub-process programs 31, and steps 1 to 20 are assigned to each. These steps 1 to 20 are the second execution order. Each of the small process programs 31 is given a name.

図3〜図5に示すように、単位操作50は、各種処理装置2〜8を制御するプログラムである。単位操作50は、全体の工程に関係なく、比較的単純な動作を定義したプログラムである。単位操作50は、制御プログラム30全体の一部を構成するプログラムの部品に相当し、例えばPLC10で実行可能なラダー回路で記述されている。 As shown in FIGS. 3 to 5, the unit operation 50 is a program that controls various processing devices 2 to 8. The unit operation 50 is a program that defines a relatively simple operation regardless of the entire process. The unit operation 50 corresponds to a component of a program that constitutes a part of the entire control program 30, and is described by, for example, a ladder circuit that can be executed by the PLC 10.

図5に単位操作の一例を示す。本実施形態では、「待機」「タンク風袋引き」「プリント−1」「プリント−2」「プリント−3」「精製水採水」「撹拌−N」「表示ゼロ」「原料投入−N」「投入確認」「溶解・分散−N」「冷却準備」「冷却−N」「確認」「移送」「工程終了」と名称が付された単位操作がメモリ12に記憶されている。 FIG. 5 shows an example of unit operation. In this embodiment, "standby", "tank tare", "print-1", "print-2", "print-3", "purified water sampling", "stirring-N", "zero display", "raw material input-N", and " Unit operations named "input confirmation", "dissolution / dispersion-N", "cooling preparation", "cooling-N", "confirmation", "transfer", and "end of process" are stored in the memory 12.

「待機」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「調整工程開始」という文字とともにボタンを表示し、待機する。利用者により当該ボタンが押されたら(ONになったら)、各処理装置2〜8を動作させるための調製工程を開始する(待機を解除して次の単位操作に進める)。 A unit operation called "standby" is a program that does the following: A button is displayed on the touch panel 20 with the characters "start adjustment process", and the user stands by. When the button is pressed by the user (when it is turned on), the preparation process for operating each of the processing devices 2 to 8 is started (the standby is released and the next unit operation is performed).

「タンク風袋引き」という単位操作は、次のことを実行するプログラムである。タッチパネル20に「タンク風袋引き」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、計量器7の風袋引きを実行する。 A unit operation called "tank tare pulling" is a program that does the following: A button is displayed on the touch panel 20 with the characters "tank tare pull". When the button is pressed (turned on), the tare of the measuring instrument 7 is executed.

「プリント−1」という単位操作は、タッチパネル20に計量器7で得られた風袋引き重量を表示する。「プリント−2」という単位操作は、精製水供給手段4からタンク2に供給された精製水の採水重量を計量器7から得てタッチパネル20に表示する。「プリント−3」という単位操作は、原料供給手段3からタンク2に供給された原料の投入量を計量器7から得てタッチパネル20に表示する。なお、「プリント−1」「プリント−2」「プリント−3」は、表示時の時刻などその他の情報も合わせてタッチパネル20に表示してもよい。また、「プリント−1」「プリント−2」「プリント−3」は、タッチパネル20に表示すると共に、プリンターに印字してもよい。 The unit operation "print-1" displays the tare weight obtained by the measuring instrument 7 on the touch panel 20. In the unit operation of "print-2", the sampled weight of purified water supplied from the purified water supply means 4 to the tank 2 is obtained from the measuring instrument 7 and displayed on the touch panel 20. In the unit operation of "print-3", the input amount of the raw material supplied from the raw material supply means 3 to the tank 2 is obtained from the measuring instrument 7 and displayed on the touch panel 20. The "print-1", "print-2", and "print-3" may be displayed on the touch panel 20 together with other information such as the time at the time of display. Further, "Print-1", "Print-2", and "Print-3" may be displayed on the touch panel 20 and printed on the printer.

「精製水採水」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「精製水採水」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、精製水供給手段4にタンク2へ所定の採水温度及び採水量で精製水を供給させる。採水温度及び採水量は、パラメータとしてメモリ12に記憶されている。つまり、「精製水採水」という単位操作は、採水温度及び採水量をパラメータを参照し、精製水供給手段4に、設定された採水量になるまでタンク2へ精製水を供給させる。そして、当該単位操作は、タンク2の精製水が採水温度になるよう温度調節装置8を制御する。 The unit operation "purified water sampling" is a program that does the following: A button is displayed on the touch panel 20 with the characters "purified water sampling". When the button is pressed (turned on), the purified water supply means 4 is made to supply purified water to the tank 2 at a predetermined water sampling temperature and water sampling amount. The water sampling temperature and the water sampling amount are stored in the memory 12 as parameters. That is, in the unit operation of "purified water sampling", the sampling temperature and the sampling amount are referred to the parameters, and the purified water supply means 4 is made to supply purified water to the tank 2 until the set water sampling amount is reached. Then, the unit operation controls the temperature control device 8 so that the purified water in the tank 2 reaches the sampling temperature.

「撹拌−N」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「撹拌」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、所定の撹拌速度で、所定の終了条件が成立するまで撹拌装置5に撹拌させる。 The unit operation "stirring-N" is a program that does the following: A button is displayed on the touch panel 20 with the characters "stirring". When the button is pressed (turned on), the stirring device 5 is made to stir at a predetermined stirring speed until a predetermined end condition is satisfied.

撹拌速度及び終了条件は、パラメータとしてメモリ12に記憶されている。つまり、「撹拌−N」という単位操作は、撹拌速度及び終了条件のパラメータを参照し、撹拌装置5を動作させる。なお、終了条件としては、所定時間や、タッチパネル20に表示したボタン(例えば「撹拌停止」という文字が付されている)が押されたことを採用することができる。前者の終了条件の場合、当該単位操作は、撹拌装置5を起動してから設定された所定時間に達したとき、撹拌を停止する。後者の終了条件の場合、当該単位操作は、当該ボタンが押されたら撹拌を停止する。 The stirring speed and the end condition are stored in the memory 12 as parameters. That is, the unit operation of "stirring-N" refers to the parameters of the stirring speed and the end condition, and operates the stirring device 5. As the end condition, it can be adopted that the button displayed on the touch panel 20 (for example, the character "stirring stop" is attached) is pressed for a predetermined time. In the case of the former end condition, the unit operation stops stirring when the set predetermined time is reached after the stirring device 5 is started. In the latter termination condition, the unit operation stops stirring when the button is pressed.

ここで、「撹拌−N」という表記は、「撹拌−1」から「撹拌−N」までのN個の単位操作を意味する。「撹拌−N」のそれぞれの動作は略同じであるが、参照するパラメータのみが異なる。このパラメータの詳細は後述する。図3にも示すように、各単位操作50はそれぞれ異なるパラメータ60を参照するようになっている。これにより、ある一つの「撹拌」という単位操作は、撹拌速度として「5000rpm」、終了条件として所定時間「60秒」というパラメータを参照して動作し、他の「撹拌」という単位操作は、撹拌速度として「2000rpm」、終了条件として「ボタンが押された」というパラメータを参照して動作することができる。後述する「原料投入−N」「溶解・分散−N」「冷却−N」という表記についても同様である。なお、それらの「N」は同じ個数を意味するものではなく、異なっていてもよい。 Here, the notation "stirring-N" means N unit operations from "stirring-1" to "stirring-N". Each operation of "stirring-N" is substantially the same, but differs only in the parameters referred to. Details of this parameter will be described later. As also shown in FIG. 3, each unit operation 50 refers to a different parameter 60. As a result, one unit operation of "stirring" operates with reference to the parameters of "5000 rpm" as the stirring speed and "60 seconds" as the end condition, and the other unit operation of "stirring" is stirring. It can be operated by referring to the parameters of "2000 rpm" as the speed and "button pressed" as the end condition. The same applies to the notations "raw material input-N", "dissolution / dispersion-N", and "cooling-N" described later. Note that these "N" s do not mean the same number and may be different.

「表示ゼロ」という単位操作は、次のことを実行するプログラムである。タッチパネル20に「表示ゼロ」という文字が付されたボタンを表示する。当該ボタンが押されたら、タッチパネル20に表示される重量をゼロとする。 The unit operation "display zero" is a program that does the following: A button with the characters "display zero" is displayed on the touch panel 20. When the button is pressed, the weight displayed on the touch panel 20 is set to zero.

「原料投入−N」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「原料投入」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、原料供給手段3にタンク2へ終了条件が成立するまで原料を供給させる。 The unit operation "raw material input-N" is a program that executes the following. A button is displayed on the touch panel 20 together with the characters "raw material input". When the button is pressed (turned on), the raw material supply means 3 is made to supply the raw material to the tank 2 until the end condition is satisfied.

終了条件は、パラメータとしてメモリ12に記憶されている。つまり、「原料投入−N」という単位操作は、終了条件のパラメータを参照し、原料供給手段3を動作させる。なお、終了条件としては、所定時間や、タッチパネル20に表示したボタン(例えば「投入停止」という文字が付されている)が押されたことを採用することができる。前者の終了条件の場合、当該単位操作は、原料供給手段3による原料の供給を開始してから設定された所定時間に達したとき、原料の投入を停止する。後者の終了条件の場合、当該単位操作は、当該ボタンが押されたら原料の投入を停止する。 The end condition is stored in the memory 12 as a parameter. That is, the unit operation of "raw material input-N" refers to the parameter of the end condition and operates the raw material supply means 3. As the end condition, it is possible to adopt that a predetermined time or a button displayed on the touch panel 20 (for example, the character "turning on / off" is attached) is pressed. In the case of the former end condition, the unit operation stops the input of the raw material when the predetermined time set from the start of the supply of the raw material by the raw material supply means 3 is reached. In the latter end condition, the unit operation stops the feeding of the raw material when the button is pressed.

「投入確認」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「投入確認」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、次の単位操作に移行する。 The unit operation called "input confirmation" is a program that executes the following. A button is displayed on the touch panel 20 together with the characters "input confirmation". When the button is pressed (turned on), the next unit operation is started.

「溶解・分散−N」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「溶解・分散」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、所定の撹拌速度で、所定の終了条件が成立するまで撹拌装置5に撹拌させる。撹拌速度及び終了条件については「撹拌−N」と同様であるので説明は省略する。 The unit operation "dissolution / dispersion-N" is a program that executes the following. A button is displayed on the touch panel 20 with the characters "dissolve / disperse". When the button is pressed (turned on), the stirring device 5 is made to stir at a predetermined stirring speed until a predetermined end condition is satisfied. Since the stirring speed and the ending condition are the same as those of "stirring-N", the description thereof will be omitted.

「冷却準備」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「冷却準備」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、温度調節装置8に、冷却水を循環させるなど冷却の準備を行わせる。冷却準備が完了したら、次の単位操作に移行する。 A unit operation called "cooling preparation" is a program that does the following: A button is displayed on the touch panel 20 with the characters "preparation for cooling". When the button is pressed (turned on), the temperature control device 8 is made to prepare for cooling by circulating cooling water. When the cooling preparation is completed, the next unit operation is started.

「冷却−N」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「冷却開始」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、所定の終了条件が成立するまで温度調節装置8にタンク2の原料を冷却させる。 The unit operation "cooling-N" is a program that does the following: A button is displayed on the touch panel 20 with the characters "cooling start". When the button is pressed (turned on), the temperature control device 8 cools the raw material in the tank 2 until a predetermined end condition is satisfied.

終了条件は、パラメータとしてメモリ12に記憶されている。つまり、「冷却−N」という単位操作は、終了条件のパラメータを参照し、温度調節装置8を動作させる。なお、終了条件としては、所定時間や、目標温度や、タッチパネル20に表示したボタン(例えば「冷却停止」という文字が付されている)が押されたことを採用することができる。終了条件が「所定時間」である場合、当該単位操作は、温度調節装置8を起動してから所定時間に達したとき、温度調節を停止する。終了条件が「ボタン」である場合、当該単位操作は、当該ボタンが押されたら撹拌を停止する。終了条件が「目標温度」である場合、当該単位操作は、タンク2内の原料が目標温度になるまで温度調節装置8を起動させる。 The end condition is stored in the memory 12 as a parameter. That is, the unit operation of "cooling-N" refers to the parameter of the end condition and operates the temperature control device 8. As the end condition, it is possible to adopt that a predetermined time, a target temperature, or a button displayed on the touch panel 20 (for example, the character "cooling stop" is attached) is pressed. When the end condition is "predetermined time", the unit operation stops the temperature control when the predetermined time is reached after the temperature control device 8 is started. If the end condition is a "button", the unit operation stops stirring when the button is pressed. When the end condition is "target temperature", the unit operation activates the temperature control device 8 until the raw material in the tank 2 reaches the target temperature.

「確認」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「完成確認」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、次の単位操作に移行する。 The unit operation "confirmation" is a program that executes the following. A button is displayed on the touch panel 20 with the characters "completion confirmation". When the button is pressed (turned on), the next unit operation is started.

「移送」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「移送開始」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、所定の終了条件が成立するまでタンク2内の液を他の処理装置に移送する。 A unit operation called "transfer" is a program that does the following: A button is displayed on the touch panel 20 with the characters "transfer start". When the button is pressed (turned on), the liquid in the tank 2 is transferred to another processing device until a predetermined termination condition is satisfied.

終了条件は、パラメータとしてメモリ12に記憶されている。つまり、「移送」という単位操作は、終了条件のパラメータを参照し、タンク2を動作させる。なお、終了条件としては、目標重量や、タッチパネル20に表示したボタン(例えば「移送停止」という文字が付されている)が押されたことを採用することができる。終了条件が「目標重量」である場合、当該単位操作は、計量器7から得られる重量が目標重量にに達したとき、タンク2が他の処理装置へ液を移送することを停止する。終了条件が「ボタン」である場合、当該単位操作は、当該ボタンが押されたら液の移送を停止する。 The end condition is stored in the memory 12 as a parameter. That is, the unit operation of "transfer" refers to the parameter of the end condition and operates the tank 2. As the end condition, it is possible to adopt that the target weight or the button displayed on the touch panel 20 (for example, the character "transfer stop" is attached) is pressed. When the end condition is "target weight", the unit operation stops the tank 2 from transferring the liquid to another processing apparatus when the weight obtained from the measuring instrument 7 reaches the target weight. If the end condition is a "button", the unit operation stops the transfer of liquid when the button is pressed.

「工程終了」という単位操作は、次のことを実行するプログラムである。タッチパネル20に、「工程終了」という文字とともにボタンを表示する。当該ボタンが押されたら(ONになったら)、制御プログラムの実行を停止する。 The unit operation "process end" is a program that executes the following. A button is displayed on the touch panel 20 with the characters "process completed". When the button is pressed (turned on), the execution of the control program is stopped.

上述した単位操作50は、単位操作50ごとにパラメータ60を定義することが可能である。パラメータ60は、単位操作により参照され、各種処理装置2〜8の制御をするための情報である。図5に示す例では、「精製水採水」「撹拌−N」「原料投入−N」「溶解・分散−N」「冷却−N」「移送」という単位操作について、パラメータが設定可能である。 In the unit operation 50 described above, it is possible to define a parameter 60 for each unit operation 50. Parameter 60 is referred to by a unit operation and is information for controlling various processing devices 2 to 8. In the example shown in FIG. 5, parameters can be set for the unit operations of "purified water sampling", "stirring-N", "raw material input-N", "dissolution / dispersion-N", "cooling-N", and "transfer". ..

図4に示すように、制御プログラム30は、上述した単位操作50を備えた小工程プログラム31を、さらに複数備えている。制御プログラム30は、第2の実行順(ステップ)で小工程プログラム31を実行する。そして、各小工程プログラム31では、第1の実行順で単位操作50を実行する。 As shown in FIG. 4, the control program 30 further includes a plurality of small process programs 31 having the unit operation 50 described above. The control program 30 executes the small process program 31 in the second execution order (step). Then, in each small process program 31, the unit operation 50 is executed in the first execution order.

具体的には、ステップ1の「待機」という小工程プログラム31を実行する。この小工程プログラム31は、「待機」という単位操作50を実行する。同様にしてステップ2〜5の小工程プログラム31を実行する。ステップ6の「タンク風袋引き」という小工程プログラム31では、「表示ゼロ」「撹拌−1」の順(第1の実行順)に実行する。以後、同様にして、ステップ7〜20の小工程プログラム31を実行する。 Specifically, the small process program 31 called "standby" in step 1 is executed. This small process program 31 executes a unit operation 50 called "standby". In the same manner, the small process program 31 of steps 2 to 5 is executed. In the small process program 31 called "tank tare pulling" in step 6, execution is performed in the order of "display zero" and "stirring-1" (first execution order). After that, the small process program 31 of steps 7 to 20 is executed in the same manner.

このような制御プログラム30は、作成支援プログラム40により作成される。なお、本発明でいう制御プログラム30の作成とは、制御プログラム30が未作成の状態から制御プログラム30を作成することのみを意味するのではなく、作成支援プログラム40により作成された制御プログラム30を変更することも意味する。 Such a control program 30 is created by the creation support program 40. Note that the creation of the control program 30 in the present invention does not only mean that the control program 30 is created from the state in which the control program 30 has not been created, but the control program 30 created by the creation support program 40 is used. It also means to change.

作成支援プログラム40は、単位操作選択部41、パラメータ設定部42、小工程プログラム作成部43及び制御プログラム作成部44を備えている。このような作成支援プログラム40は、後述する各部41−44の機能を実現させるように、ラダー回路で記述されている。 The creation support program 40 includes a unit operation selection unit 41, a parameter setting unit 42, a small process program creation unit 43, and a control program creation unit 44. Such a creation support program 40 is described by a ladder circuit so as to realize the functions of the respective parts 41-44 described later.

なお、単位操作選択部41は請求項の単位操作選択手段の一例であり、パラメータ設定部42はパラメータ設定手段の一例であり、小工程プログラム作成部43は小工程プログラム作成手段の一例であり、制御プログラム作成部44は制御プログラム作成手段の一例である。 The unit operation selection unit 41 is an example of the unit operation selection means of the claim, the parameter setting unit 42 is an example of the parameter setting means, and the small process program creation unit 43 is an example of the small process program creation means. The control program creating unit 44 is an example of the control program creating means.

単位操作選択部41は、タッチパネル20を介して、複数の単位操作50を利用者に提示し、利用者に選択された単位操作50が入力される。 The unit operation selection unit 41 presents a plurality of unit operations 50 to the user via the touch panel 20, and the unit operation 50 selected by the user is input.

また、単位操作選択部41は、利用者に選択された単位操作50の実行する順序(第1の実行順)を利用者に入力させる。例えば、単位操作選択部41は、タッチパネル20を介して、選択された単位操作50の第1の実行順を明示的に入力させてもよい。他にも、単位操作選択部41は、タッチパネル20を介して、単位操作50が選択された順を記憶し、その順を自動的に第1の実行順としてもよい。 Further, the unit operation selection unit 41 causes the user to input the execution order (first execution order) of the unit operation 50 selected by the user. For example, the unit operation selection unit 41 may explicitly input the first execution order of the selected unit operation 50 via the touch panel 20. In addition, the unit operation selection unit 41 may store the order in which the unit operation 50 is selected via the touch panel 20, and automatically use that order as the first execution order.

本実施形態では、小工程プログラム31ごとに単位操作50をまとめるので、第1の実行順は、小工程プログラム31に属する単位操作50の実行順を意味する。小工程プログラム31を用いずに、複数の単位操作50から制御プログラム30全体を構成する場合では、第1の実行順は、制御プログラム30に属する単位操作50の実行順を意味する。
例えば、利用者が「表示ゼロ」「冷却−2」「撹拌−6」の順に選択した場合、単位操作選択部41は、「表示ゼロ」の第1の実行順を「1」、「冷却−2」の第1の実行順を「2」、「撹拌−6」の第1の実行順を「3」と、自動的に設定してメモリ12に記録する。
In the present embodiment, the unit operation 50 is grouped for each small process program 31, so that the first execution order means the execution order of the unit operation 50 belonging to the small process program 31. When the entire control program 30 is configured from a plurality of unit operations 50 without using the small process program 31, the first execution order means the execution order of the unit operations 50 belonging to the control program 30.
For example, when the user selects "display zero", "cooling-2", and "stirring-6" in this order, the unit operation selection unit 41 sets the first execution order of "display zero" to "1" and "cooling-". The first execution order of "2" is automatically set to "2" and the first execution order of "stirring-6" is set to "3", and the data is recorded in the memory 12.

パラメータ設定部42は、タッチパネル20を介して、単位操作50に対するパラメータ60が入力され、パラメータ60をメモリ12に記憶する。例えば、パラメータ設定部42は、単位操作選択部41により単位操作が利用者に選択された際に、当該単位操作に対するパラメータを入力させる画面をタッチパネル20に表示する。利用者により、当該画面にパラメータが設定されたとき、そのパラメータを当該単位操作に関連づけてメモリ12に記憶する。
パラメータを単位操作に関連づけるとは、単位操作がそのパラメータを参照して動作可能にすることを意味する。
The parameter setting unit 42 inputs the parameter 60 for the unit operation 50 via the touch panel 20, and stores the parameter 60 in the memory 12. For example, the parameter setting unit 42 displays on the touch panel 20 a screen for inputting parameters for the unit operation when the unit operation is selected by the user by the unit operation selection unit 41. When a parameter is set on the screen by the user, the parameter is stored in the memory 12 in association with the unit operation.
Associating a parameter with a unit operation means that the unit operation can operate with reference to that parameter.

小工程プログラム作成部43は、単位操作選択部41から利用者に選択された単位操作50を、メモリ12に記憶された第1の実行順で実行する小工程プログラム31を作成する。また、小工程プログラム作成部43は、制御プログラム30における小工程プログラムの第2の実行順がタッチパネル20を介して入力される。小工程プログラム作成部43はその第2の実行順をメモリ12に記憶する。 The small process program creation unit 43 creates a small process program 31 that executes the unit operation 50 selected by the user from the unit operation selection unit 41 in the first execution order stored in the memory 12. Further, in the small process program creation unit 43, the second execution order of the small process program in the control program 30 is input via the touch panel 20. The small process program creation unit 43 stores the second execution order in the memory 12.

例えば、小工程プログラム作成部43は、小工程プログラムの名称として「タンク風袋引き」、その第2の実行順序として「14」がタッチパネル20により入力される。その後、小工程プログラム作成部43は、「表示ゼロ」「冷却−2」「撹拌−6」の順に実行する小工程プログラムを作成する。 For example, the small process program creation unit 43 inputs "tank tare pulling" as the name of the small process program and "14" as the second execution order thereof by the touch panel 20. After that, the small process program creation unit 43 creates a small process program to be executed in the order of "display zero", "cooling-2", and "stirring-6".

制御プログラム作成部44は、小工程プログラム作成部43で作成された小工程プログラム31を、メモリ12に記憶された第2の実行順で実行する制御プログラム30を作成する。例えば、図4に示すように、制御プログラム作成部44は、小工程プログラム作成部43により作成された「タンク風袋引き」という名称の小工程プログラム31が制御プログラム30内において14番目に実行される制御プログラム30を作成する(図4参照)。 The control program creation unit 44 creates a control program 30 that executes the small process program 31 created by the small process program creation unit 43 in the second execution order stored in the memory 12. For example, as shown in FIG. 4, in the control program creation unit 44, the small process program 31 named “tank tare pulling” created by the small process program creation unit 43 is executed 14th in the control program 30. A control program 30 is created (see FIG. 4).

上述した作成支援プログラム40を実行することにより、図4に示す例のような制御プログラム30が作成される。PLC10は、制御プログラム30の実行を次のように行う。すなわち、第2の実行順に従って小工程プログラム31を順次実行し、各小工程プログラム31の実行は第1の実行順に従って単位操作50を順次実行する。 By executing the creation support program 40 described above, the control program 30 as shown in the example of FIG. 4 is created. The PLC 10 executes the control program 30 as follows. That is, the sub-process programs 31 are sequentially executed according to the second execution order, and the execution of each sub-process program 31 sequentially executes the unit operation 50 according to the first execution order.

以上のようにして、作成支援プログラム40により、利用者は単位操作50を適宜選択するだけで制御プログラム30を作成することが可能である。さらに、本発明の作成支援システム1は、単位操作50を選択する際に、単位操作50同士のインターロックを自動的に判別した上で、選択可能な単位操作50を表示することに特徴がある。 As described above, the creation support program 40 allows the user to create the control program 30 simply by appropriately selecting the unit operation 50. Further, the creation support system 1 of the present invention is characterized in that when the unit operation 50 is selected, the selectable unit operation 50 is displayed after automatically determining the interlock between the unit operations 50. ..

具体的には、単位操作選択部41は、複数の単位操作(図5参照)のうち、インターロック情報70を参照して利用者に選択された単位操作と並行して実行可能な単位操作をタッチパネル20に表示する。 Specifically, the unit operation selection unit 41 performs a unit operation that can be executed in parallel with the unit operation selected by the user by referring to the interlock information 70 among the plurality of unit operations (see FIG. 5). It is displayed on the touch panel 20.

インターロック情報70とは、並行して実行可能又は実行不可能な単位操作の組み合わせを定義した情報である。図6にインターロック情報を例示する。ここではインターロック情報を表形式で示している。左側の縦に並んだ単位操作とともに、上側の横に並んだ単位操作を並行して実行可能であれば「○」、実行不可能であるば空白となっている。例えば、「精製水採水」「撹拌−N」「冷却準備」「確認」という単位操作は並行して実行可能であり、その他の単位操作は実行不可能である。このようなインターロック情報70は単位操作の内容に基づいて、予め作成されたものである。例えば、図4に示す制御プログラム30は、ステップ「12」は、「冷却−1」「撹拌−5」が利用者に選択された単位操作であり、これらの2つは並行して実行される。 The interlock information 70 is information that defines a combination of unit operations that can or cannot be executed in parallel. FIG. 6 illustrates the interlock information. Here, the interlock information is shown in a tabular format. If the unit operations arranged vertically on the left side and the unit operations arranged horizontally on the upper side can be executed in parallel, it is marked with "○", and if it cannot be executed, it is blank. For example, the unit operations of "purified water sampling", "stirring-N", "cooling preparation", and "confirmation" can be performed in parallel, and other unit operations cannot be performed. Such interlock information 70 is created in advance based on the content of the unit operation. For example, in the control program 30 shown in FIG. 4, step "12" is a unit operation in which "cooling-1" and "stirring-5" are selected by the user, and these two are executed in parallel. ..

単位操作選択部41は、このようなインターロック情報70を参照して、選択可能な単位操作を利用者に提示する。このため、利用者は、実行不可能な複数の単位操作を選択してしまうことを回避することができる。 The unit operation selection unit 41 refers to such interlock information 70 and presents a selectable unit operation to the user. Therefore, the user can avoid selecting a plurality of unexecutable unit operations.

図7から図15を用いて、上述した構成の制御プログラムの作成支援システム1の動作について説明する。図7及び図8は、当該動作を示すフロー図であり、図9から図15は、タッチパネル20に表示された画面例である。 The operation of the control program creation support system 1 having the above-described configuration will be described with reference to FIGS. 7 to 15. 7 and 8 are flow charts showing the operation, and FIGS. 9 to 15 are screen examples displayed on the touch panel 20.

まず、作成支援プログラム40(小工程プログラム作成部43)は、タッチパネル20を介して、小工程プログラムの第2の実行順や名称を入力させる(図7ステップS1、S2)。図9及び図10にそのときの画面例を示す。 First, the creation support program 40 (small process program creation unit 43) causes the touch panel 20 to input the second execution order and name of the small process program (steps S1 and S2 in FIGS. 7). 9 and 10 show screen examples at that time.

図9に示すように、タッチパネル20には、全体の調製工程(処理装置2〜8を動作させる工程)を実現する制御プログラムを作成するための画面が表示されている。その画面の一部である小工程表示部51には、調製工程を構成する小工程プログラムの名称、及びそのステップ(第2の実行順)の一覧が表示される。ここでは、制御プログラムが未作成であるので、小工程プログラムは一つも表示されていない。 As shown in FIG. 9, the touch panel 20 displays a screen for creating a control program that realizes the entire preparation process (step of operating the processing devices 2 to 8). The small process display unit 51, which is a part of the screen, displays the names of the small process programs constituting the preparation process and a list of the steps (second execution order). Here, since the control program has not been created, no small process program is displayed.

小工程表示部51の右側には、数値表示部52、数値増加ボタン53、数値減少ボタン54が表示されている。数値増加ボタン53をタップすればカウンタが一つ増加し、そのカウンタが数値表示部52に表示される。数値減少ボタン54をタップすればカウンタが一つ減少し、そのカウンタが数値表示部52に表示される。 On the right side of the small process display unit 51, a numerical value display unit 52, a numerical value increase button 53, and a numerical value decrease button 54 are displayed. When the numerical value increase button 53 is tapped, the counter is incremented by one, and the counter is displayed on the numerical value display unit 52. When the numerical value decrease button 54 is tapped, the counter is decremented by one, and the counter is displayed on the numerical value display unit 52.

利用者が一番目の小工程プログラムを作成する場合、ステップ(第2の実行順)の番号を入力する。具体的には、数値増加ボタン53又は数値減少ボタン54をタップして、「1」が数値表示部52に表示されるようにする。小工程プログラム作成部43は、当該カウンタの数値を、これから作成する小工程プログラム作成部43のステップ(第2の実行順)とする(図7ステップS1)。 When the user creates the first small process program, the step number (second execution order) is input. Specifically, the numerical value increase button 53 or the numerical value decrease button 54 is tapped so that "1" is displayed on the numerical value display unit 52. The small process program creation unit 43 sets the numerical value of the counter as a step (second execution order) of the small process program creation unit 43 to be created (step S1 in FIG. 7).

次に、利用者は、設定ボタン55をタップすると、作成支援プログラム40は、図10に示すような画面をタッチパネル20に表示する。 Next, when the user taps the setting button 55, the creation support program 40 displays the screen as shown in FIG. 10 on the touch panel 20.

タッチパネル20には、小工程プログラムの名称を入力するための名称入力部56が表示されている。小工程プログラム作成部43は、この名称入力部56に入力された文字を、これから作成する小工程プログラム作成部43の名称とする(図7ステップS2)。図10の例では、「待機」という名称が入力されている。 On the touch panel 20, a name input unit 56 for inputting the name of the small process program is displayed. The small process program creation unit 43 uses the characters input to the name input unit 56 as the name of the small process program creation unit 43 to be created (step S2 in FIG. 7). In the example of FIG. 10, the name "standby" is input.

次に、作成支援プログラム40(単位操作選択部41)は、タッチパネル20を介して、これから作成する小工程プログラムに含める単位操作を選択させる(図7ステップS3)。図10にそのときの画面例を示す。 Next, the creation support program 40 (unit operation selection unit 41) causes the touch panel 20 to select a unit operation to be included in the small process program to be created (step S3 in FIG. 7). FIG. 10 shows an example of the screen at that time.

まず、単位操作選択部41は、タッチパネル20に、単位操作の一覧を表示する(図8ステップS10)。図10に示すように、単位操作表示部57に、メモリ12に記憶された全ての単位操作の名称が表示されている。 First, the unit operation selection unit 41 displays a list of unit operations on the touch panel 20 (step S10 in FIG. 8). As shown in FIG. 10, the unit operation display unit 57 displays the names of all the unit operations stored in the memory 12.

利用者が「待機」という小工程プログラムに含める単位操作として、「待機」という単位操作を選択したとする。黒枠58は、「待機」という単位操作が選択されたことを表している。 It is assumed that the user selects the unit operation "standby" as the unit operation to be included in the small process program "standby". The black frame 58 indicates that the unit operation "standby" has been selected.

単位操作選択部41は、単位操作が選択されたとき(図8ステップS11:Yes)、選択された単位操作をメモリ12に記憶する。単位操作リスト表示部59には、利用者により選択された単位操作の一覧が表示されている。ここでは、単位操作を選択した順に、1から順に自動的に第1の実行順をメモリ12に記憶する(ステップS12)。この例では、「待機」という単位操作の第1の実行順は「1」となる。 When the unit operation is selected (step S11: Yes in FIG. 8), the unit operation selection unit 41 stores the selected unit operation in the memory 12. The unit operation list display unit 59 displays a list of unit operations selected by the user. Here, the first execution order is automatically stored in the memory 12 in order from 1 in the order in which the unit operations are selected (step S12). In this example, the first execution order of the unit operation "standby" is "1".

次に、利用者は、小工程プログラムの設定を完了したので、設定ボタン60をタップする。単位操作選択部41は、設定ボタン60がタップされたことをもって、小工程プログラムの設定が完了したと判断し(図8ステップS13:Yes)、処理を終える。 Next, since the user has completed the setting of the small process program, the user taps the setting button 60. The unit operation selection unit 41 determines that the setting of the small process program is completed when the setting button 60 is tapped (step S13: Yes in FIG. 8), and ends the process.

小工程プログラム作成部43は、単位操作選択部41により選択された「待機」という単位操作、名称、第2の実行順を元に、小工程プログラムを作成する(図7ステップS4)。これにより、図4のステップ「1」に示したような小工程プログラム31が作成される。引き続き、終了ボタン62がタップされないので、小工程プログラムの作成は終了がしないと判断し(図7ステップS5:No)、小工程プログラムの作成を繰り返す(図7ステップS1〜ステップS4)。 The small process program creation unit 43 creates a small process program based on the unit operation "standby" selected by the unit operation selection unit 41, the name, and the second execution order (FIG. 7 step S4). As a result, the small process program 31 as shown in step "1" of FIG. 4 is created. Since the end button 62 is not subsequently tapped, it is determined that the creation of the small process program is not completed (step S5: No in FIG. 7), and the creation of the small process program is repeated (steps S1 to S4 in FIG. 7).

図11に示す画面例は、ステップ(第2の実行順)「3」まで小工程プログラムを作成した状態を示している。利用者は、ステップ「4」を数値表示部52に設定し、設定ボタン55をタップしたとする。 The screen example shown in FIG. 11 shows a state in which the small process program is created up to step (second execution order) "3". It is assumed that the user sets step "4" in the numerical display unit 52 and taps the setting button 55.

図12に示すように、その後、利用者は、名称入力部56に小工程プログラムの名称として「精製水採水」を入力している。 As shown in FIG. 12, after that, the user inputs "purified water sampling" as the name of the small process program in the name input unit 56.

単位操作選択部41は単位操作の一覧を表示する(図8ステップS10)。利用者は、この小工程プログラムに含める単位操作として、「精製水採水」を選択したとする(図8ステップS11:Yes)。 The unit operation selection unit 41 displays a list of unit operations (step S10 in FIG. 8). It is assumed that the user has selected "purified water sampling" as the unit operation to be included in this small process program (step S11: Yes in FIG. 8).

この単位操作は、パラメータを設定可能である。この場合、パラメータ設定部42は、パラメータを入力するためのパラメータ入力部61をタッチパネル20に表示する。ここでは、採水温度として「25」℃、採水量として「100」Lが利用者により入力されている。 Parameters can be set for this unit operation. In this case, the parameter setting unit 42 displays the parameter input unit 61 for inputting the parameters on the touch panel 20. Here, "25" ° C. as the water sampling temperature and "100" L as the water sampling amount are input by the user.

パラメータ設定部42は、タッチパネル20を介して採水温度及び採水量を取得し、メモリ12に記憶する。このパラメータは、「精製水採水」という単位操作に関連づけられている。また、第1の実行順として「1」をメモリ12に記憶する(図8ステップS12)。 The parameter setting unit 42 acquires the water sampling temperature and the water sampling amount via the touch panel 20 and stores them in the memory 12. This parameter is associated with a unit operation called "purified water sampling". Further, "1" is stored in the memory 12 as the first execution order (step S12 in FIG. 8).

その後、利用者が設定ボタン60をタップすると、単位操作の選択処理を終了し(図8ステップS13:Yes)、小工程プログラム作成部43は、パラメータが関連づけられた単位操作「精製水採水」からなる小工程プログラム(第2の実行順は「4」番目。図4のステップ「4」参照)を作成する(図7ステップS4)。 After that, when the user taps the setting button 60, the unit operation selection process ends (step S13: Yes in FIG. 8), and the small process program creation unit 43 performs the unit operation “purified water sampling” with which the parameters are associated. A small process program (the second execution order is the "4th". See step "4" in FIG. 4) is created (step S4 in FIG. 7).

図13に示す画面例は、ステップ(第2の実行順)「7」まで小工程プログラムを作成した状態を示している。利用者は、ステップ「8」を数値表示部52に設定し、設定ボタン55をタップしたとする。 The screen example shown in FIG. 13 shows a state in which the small process program is created up to step (second execution order) “7”. It is assumed that the user sets step "8" in the numerical display unit 52 and taps the setting button 55.

図14に示すように、その後、利用者は、名称入力部56に小工程プログラムの名称として「投入確認」を入力している。 As shown in FIG. 14, after that, the user inputs "input confirmation" as the name of the small process program in the name input unit 56.

単位操作選択部41は単位操作の一覧を表示する(図8ステップS10)。利用者は、この小工程プログラムに含める単位操作として、「投入確認」を選択したとする(図8ステップS11:Yes)。 The unit operation selection unit 41 displays a list of unit operations (step S10 in FIG. 8). It is assumed that the user has selected "input confirmation" as the unit operation to be included in this small process program (step S11: Yes in FIG. 8).

この単位操作を選択し、その後、まだ設定終了しないならば(図8ステップS13:No)、単位操作選択部41は、インターロック情報に基づく単位操作の表示を行う(図8ステップS14)。この場合、単位操作選択部41で選択した単位操作は「投入確認」である。したがって、図6に示したインターロック情報から「投入確認」とともに並行して実行可能な単位操作を検索する。図6の例では、「撹拌−N」「冷却準備」「冷却−N」が実行可能である。 If this unit operation is selected and then the setting is not completed (step S13: No in FIG. 8), the unit operation selection unit 41 displays the unit operation based on the interlock information (step S14 in FIG. 8). In this case, the unit operation selected by the unit operation selection unit 41 is "input confirmation". Therefore, from the interlock information shown in FIG. 6, the unit operation that can be executed in parallel with the "input confirmation" is searched. In the example of FIG. 6, "stirring-N", "cooling preparation", and "cooling-N" can be performed.

図15に示すように、単位操作選択部41は、「投入確認」と並行して実行可能な単位操作のみをタッチパネル20に表示する。以降、図8のステップS11以降を実行することで、実行不可能な単位操作を選択することなく、実行可能な単位操作を選択することができる。 As shown in FIG. 15, the unit operation selection unit 41 displays only the unit operations that can be executed in parallel with the “input confirmation” on the touch panel 20. After that, by executing step S11 and subsequent steps in FIG. 8, it is possible to select an executable unit operation without selecting an infeasible unit operation.

図4に示した例では、ステップ(第2の時刻順)「6」「8」「12」〜「19」の小工程プログラムは複数の単位操作を含んでいる。これらは、単位操作を選択するに際して、第1の実行順「1」の次に実行可能な単位操作のみがタッチパネル20に表示されるので、第1の実行順「2」には、実行不可能な単位操作が選ばれないようになっている。第1の実行順「3」以降についても同様である。 In the example shown in FIG. 4, the small process program of steps (second time order) "6", "8", "12" to "19" includes a plurality of unit operations. When selecting a unit operation, only the unit operations that can be executed next to the first execution order "1" are displayed on the touch panel 20, so that they cannot be executed in the first execution order "2". Unit operations are not selected. The same applies to the first execution order "3" and thereafter.

このようにして、単位操作を選択することで小工程プログラムを作成し終えたとき、利用者は、終了ボタン62をタップする。制御プログラム作成部44は、小工程プログラムの設定が完了したので(図7ステップS5:Yes)、これまでに作成された小工程プログラムを第2の実行順で実行する制御プログラムを作成する(図4参照)。 In this way, when the small process program is completed by selecting the unit operation, the user taps the end button 62. Since the control program creation unit 44 has completed the setting of the small process program (step S5: Yes in FIG. 7), the control program creation unit 44 creates a control program that executes the small process programs created so far in the second execution order (FIG. 7). 4).

なお、上記説明は、未完成の状態から制御プログラムを作成する場合について説明したが、既成の制御プログラムを変更する場合も本発明に含まれる。例えば、作成支援プログラム40は、既成の制御プログラム30のうち、変更対象の小工程プログラムを利用者に選択させる機能を備え、さらに、単位操作選択部41は、その小工程プログラムに含まれる単位操作を追加、削除、順序の変更を可能としてもよい。単位操作を追加する際には、その前の単位操作からみて実行可能な単位操作を追加すればよい。単位操作を削除する際には、削除される前後の単位操作間で実行可能であれば削除すればよい。単位操作の順序を変更する際には、変更後の単位操作間で実行可能であれば、順序変更を適用すればよい。 In the above description, the case where the control program is created from the unfinished state has been described, but the case where the existing control program is changed is also included in the present invention. For example, the creation support program 40 has a function of allowing the user to select a small process program to be changed from the existing control programs 30, and the unit operation selection unit 41 further provides a unit operation included in the small process program. May be added, deleted, and reordered. When adding a unit operation, a unit operation that can be executed from the previous unit operation may be added. When deleting a unit operation, it may be deleted if it can be executed between the unit operations before and after the deletion. When changing the order of unit operations, the order change may be applied if it can be executed between the changed unit operations.

以上に述べたように、本実施形態の制御プログラムの作成支援システム1(作成支援プログラム)は、複数の単位操作を選択することで制御プログラム30を作成することができる。単位操作の選択に際しては、インターロック情報70を参照して、選択可能な単位操作を利用者に提示する。このため、利用者は、実行不可能な複数の単位操作を選択してしまうことを回避することができる。これにより、単位操作を矛盾なく組み合わせることができるので、制御プログラムの作成負担を顕著に軽減することができる。 As described above, the control program creation support system 1 (creation support program) of the present embodiment can create the control program 30 by selecting a plurality of unit operations. When selecting a unit operation, the interlock information 70 is referred to and the selectable unit operation is presented to the user. Therefore, the user can avoid selecting a plurality of unexecutable unit operations. As a result, unit operations can be combined without contradiction, so that the burden of creating a control program can be significantly reduced.

また、作成支援システム1(作成支援プログラム)は、複数の単位操作をまとめて小工程プログラムを作成し、その小工程プログラムをまとめて制御プログラム30を作成する。これにより、単位操作のみをまとめて制御プログラム30を作成する場合に比べて、小工程プログラム単位で実行される動作を把握しやすくなるため、間違いの少ない制御プログラムを作成することができる。 Further, the creation support system 1 (creation support program) collectively creates a small process program by collecting a plurality of unit operations, and collectively creates a control program 30 by collecting the small process programs. As a result, it becomes easier to grasp the operation executed in the small process program unit as compared with the case where only the unit operation is collectively created in the control program 30, so that the control program with few mistakes can be created.

なお、本発明は、小工程プログラムを作成することは必須ではなく、複数の単位操作をまとめて制御プログラム30を作成することも可能である。 In the present invention, it is not essential to create a small process program, and it is also possible to create a control program 30 by collectively creating a plurality of unit operations.

また、作成支援システム1(作成支援プログラム)は、単位操作を選択する際に、当該単位操作に対してパラメータを設定することが可能である。これにより、所望の設定で単位操作を実行することができる。なお、図5に示したように、全ての単位操作についてパラメータを設定可能とする必要はなく、パラメータを不要とする単位操作があってもよい。 Further, the creation support system 1 (creation support program) can set parameters for the unit operation when selecting the unit operation. As a result, the unit operation can be executed with the desired settings. As shown in FIG. 5, it is not necessary to make it possible to set parameters for all unit operations, and there may be unit operations that do not require parameters.

〈実施形態2〉
実施形態1では、インターロック情報に基づいて並行して実行可能な単位操作を表示するようにした。本実施形態では、さらに、単位操作に対して設定されたパラメータが所定条件に該当するか否かによって、単位操作を絞り込んで表示する作成支援システムについて説明する。
<Embodiment 2>
In the first embodiment, unit operations that can be executed in parallel are displayed based on the interlock information. In the present embodiment, a creation support system for narrowing down and displaying unit operations depending on whether or not the parameters set for the unit operations correspond to predetermined conditions will be further described.

図16は本実施形態に係るインターロック情報、パラメータ及び所定条件の一例である。 FIG. 16 is an example of interlock information, parameters, and predetermined conditions according to the present embodiment.

図16(a)には、インターロック情報が例示され、各単位操作に対して設定されたパラメータとしては何も設定されていないことを示す。このインターロック情報は、実施形態1と同様であるので詳細な説明は省略する。 FIG. 16A exemplifies the interlock information, and shows that nothing is set as the parameter set for each unit operation. Since this interlock information is the same as that of the first embodiment, detailed description thereof will be omitted.

図16(b)は、単位操作に対してパラメータが設定されたことを示す。単位操作「撹拌−1」は、パラメータ「撹拌速度」の値として「500rpm」が設定されている。同様に、単位操作「溶解・分散−1」は、パラメータ「時間」の値として「600秒」が設定されている。単位操作「冷却−1」は、パラメータ「目標温度」の値として「10℃」が設定されている。 FIG. 16B shows that the parameters have been set for the unit operation. In the unit operation "stirring-1", "500 rpm" is set as the value of the parameter "stirring speed". Similarly, in the unit operation "dissolution / dispersion-1", "600 seconds" is set as the value of the parameter "time". In the unit operation "cooling-1", "10 ° C." is set as the value of the parameter "target temperature".

図16(c)は、所定条件を示している。所定条件とは、パラメータに対する条件であって、パラメータに対応する単位操作が並行的に実行可能であるための条件である。 FIG. 16 (c) shows predetermined conditions. The predetermined condition is a condition for the parameter, and is a condition for the unit operation corresponding to the parameter to be executed in parallel.

例えば、単位操作「撹拌−1」については、単位操作「溶解・分散−1」及び「冷却−1」とは特に所定条件が設定されていない。したがって、それらの3つの単位操作は、パラメータの値に関わらず、並行して実行可能である。つまり、実施形態1のインターロック情報を用いた単位操作の選択と全く同様である。 For example, with respect to the unit operation "stirring-1", no particular predetermined conditions are set for the unit operations "dissolution / dispersion-1" and "cooling-1". Therefore, these three unit operations can be performed in parallel regardless of the value of the parameter. That is, it is exactly the same as the selection of the unit operation using the interlock information of the first embodiment.

単位操作「溶解・分散−1」については、単位操作「冷却−1」との間で、「目標温度15℃以下」という所定条件が設定されている。この場合、「目標温度15℃以下」に対応した単位操作「冷却−1」のパラメータ「目標温度」の値が15℃以下であるときに限り、単位操作「溶解・分散−1」及び「冷却−1」は並行して実行可能となる。 With respect to the unit operation "dissolution / dispersion-1", a predetermined condition of "target temperature 15 ° C. or less" is set between the unit operation "cooling-1". In this case, only when the value of the parameter "target temperature" of the unit operation "cooling-1" corresponding to the "target temperature of 15 ° C. or less" is 15 ° C. or less, the unit operations "dissolution / dispersion-1" and "cooling" -1 ”can be executed in parallel.

この所定条件を反映した結果、図16(b)に示すように、目標温度は10℃であり、所定条件を満たすので、単位操作「溶解・分散−1」及び単位操作「冷却−1」とは、並行して実行可能(「○」)となっている。 As a result of reflecting this predetermined condition, as shown in FIG. 16B, the target temperature is 10 ° C. and the predetermined condition is satisfied. Therefore, the unit operation “dissolution / dispersion -1” and the unit operation “cooling -1” are used. Can be executed in parallel (“○”).

単位操作「撹拌−1」については、単位操作「冷却−1」との間で、「撹拌速度300rpm以下」という所定条件が設定されている。この場合、「撹拌速度300rpm以下」に対応した単位操作「撹拌−1」のパラメータ「撹拌速度」の値が300rpm以下であるときに限り、単位操作「撹拌−1」及び「冷却−1」は並行して実行可能となる。 Regarding the unit operation "stirring-1", a predetermined condition of "stirring speed 300 rpm or less" is set between the unit operation "cooling-1" and the unit operation "cooling-1". In this case, the unit operations "stirring-1" and "cooling-1" are performed only when the value of the parameter "stirring speed" of the unit operation "stirring-1" corresponding to "stirring speed 300 rpm or less" is 300 rpm or less. It can be executed in parallel.

この所定条件を反映した結果、図16(b)に示すように、撹拌速度は500rpmであり、所定条件を満たさないので、単位操作「撹拌−1」及び単位操作「冷却−1」とは、並行して実行不可能(空白)となっている。 As a result of reflecting this predetermined condition, as shown in FIG. 16B, the stirring speed is 500 rpm, which does not satisfy the predetermined condition. Therefore, the unit operation "stirring-1" and the unit operation "cooling-1" are referred to as "cooling-1". In parallel, it is not feasible (blank).

このようにして、パラメータの値に応じて、並行して実行可能な単位操作がタッチパネル20に出力される。このような制御によれば、例えば、個々の単位操作に設定したパラメータは適正であっても、並行して行う単位操作としては不適正な場合に、そのような単位操作を表示しないことができる。 In this way, unit operations that can be executed in parallel are output to the touch panel 20 according to the value of the parameter. According to such control, for example, even if the parameters set for each unit operation are appropriate, such a unit operation can not be displayed when it is inappropriate for the unit operation to be performed in parallel. ..

図16の例では、冷却するときは、撹拌速度を300rpmにしなければならないという制約を与えることになるので、作業者がそのような制約を遵守して適正な制御プログラム30を作成することができる。 In the example of FIG. 16, when cooling, the stirring speed must be set to 300 rpm, so that the operator can create an appropriate control program 30 in compliance with such a constraint. ..

なお、所定条件としては上述したように、複数の単位操作の組み合わせについての条件に限らず、単独の単位操作に対する条件であってもよい。例えば、「撹拌−1」に対する所定条件として「攪拌速度は300rpm以下」としておく。利用者によってパラメータが500rpmに設定されていたら、「撹拌−1」は「溶解・分散−1」「冷却−1」とは、並行して実行不可能とする。 As described above, the predetermined condition is not limited to the condition for the combination of a plurality of unit operations, but may be a condition for a single unit operation. For example, as a predetermined condition for "stirring-1", "stirring speed is 300 rpm or less". If the parameter is set to 500 rpm by the user, "stirring-1" cannot be executed in parallel with "dissolution / dispersion-1" and "cooling-1".

何れにしても、本実施形態の作成支援システム1(作成支援プログラム)によれば、インターロック情報とともに、単位操作に設定されたパラメータに基づいても、並行して実行可能な単位操作を表示する。これにより、パラメータに応じて適正な単位操作が組み合わされた制御プログラム30を作成することができる。 In any case, according to the creation support system 1 (creation support program) of the present embodiment, the unit operations that can be executed in parallel are displayed together with the interlock information even based on the parameters set for the unit operations. .. As a result, the control program 30 in which appropriate unit operations are combined according to the parameters can be created.

〈他の実施形態〉
以上、本発明の一実施形態について説明したが、勿論、本発明は、上述の実施形態に限定されるものではない。制御プログラムを構成する小工程プログラムの数に限定はなく、各小工程プログラムに含まれる単位操作の数に限定はない。
また、各実施形態で説明した単位操作の内容、単位操作に対するパラメータ、小工程プログラムの順序、及びインターロック情報は例示であり、製造しようとする対象物や各種の処理装置の構成に応じて適宜作成されるものである。
<Other Embodiments>
Although one embodiment of the present invention has been described above, the present invention is, of course, not limited to the above-described embodiment. The number of subprocess programs constituting the control program is not limited, and the number of unit operations included in each subprocess program is not limited.
In addition, the contents of the unit operation, the parameters for the unit operation, the order of the small process programs, and the interlock information described in each embodiment are examples, and are appropriate according to the object to be manufactured and the configuration of various processing devices. It is created.

1…作成支援システム、2…タンク、3…原料供給手段、4…精製水供給手段、5…撹拌装置、6…温度センサ、7…計量器、8…温度調節装置、10…PLC(制御装置)、20…タッチパネル(入出力手段)、30…制御プログラム、31…小工程プログラム、40…作成支援プログラム、41…単位操作選択部、42…パラメータ設定部、43…小工程プログラム作成部、44…制御プログラム作成部、50…単位操作、60…パラメータ、70…インターロック情報 1 ... Creation support system, 2 ... Tank, 3 ... Raw material supply means, 4 ... Purified water supply means, 5 ... Stirrer, 6 ... Temperature sensor, 7 ... Measuring instrument, 8 ... Temperature control device, 10 ... PLC (Control device) ), 20 ... Touch panel (input / output means), 30 ... Control program, 31 ... Small process program, 40 ... Creation support program, 41 ... Unit operation selection unit, 42 ... Parameter setting unit, 43 ... Small process program creation unit, 44 ... Control program creation unit, 50 ... Unit operation, 60 ... Parameters, 70 ... Interlock information

Claims (5)

液状の製品を製造する処理装置と、
前記処理装置を制御する制御装置と、
前記制御装置に設けられた記憶装置と、
利用者から情報が入力され、かつ情報を提示する入出力手段と、
前記記憶装置に記憶されるとともに前記制御装置で実行される制御プログラム及び前記制御プログラムを作成する作成支援プログラムと、を備えた制御プログラムの作成支援システムであって、
前記記憶装置には、
前記処理装置を制御するプログラムである複数の単位操作と、
並行して実行可能又は実行不可能である前記単位操作の組み合わせを定義したインターロック情報と、が記憶されており、
前記作成支援プログラムは、
前記入出力手段を介して、複数の前記単位操作を利用者に提示し、利用者に選択された前記単位操作及び前記単位操作の第1の実行順が入力される単位操作選択部と、
前記第1の実行順で前記単位操作を実行する前記制御プログラムを作成する制御プログラム作成部とを備え、
前記単位操作選択部は、複数の前記単位操作のうち、前記インターロック情報を参照して利用者に選択された前記単位操作と並行して実行可能な前記単位操作を前記入出力手段に提示する
ことを特徴とする制御プログラムの作成支援システム。
Processing equipment for manufacturing liquid products and
A control device that controls the processing device and
A storage device provided in the control device and
Input / output means for inputting information from the user and presenting the information,
A control program creation support system including a control program stored in the storage device and executed by the control device, and a creation support program for creating the control program.
The storage device has
Multiple unit operations, which are programs that control the processing device,
Interlock information that defines a combination of the unit operations that can or cannot be executed in parallel is stored.
The creation support program
A unit operation selection unit that presents a plurality of the unit operations to the user via the input / output means and inputs the unit operation selected by the user and the first execution order of the unit operation.
A control program creation unit that creates the control program that executes the unit operation in the first execution order is provided.
The unit operation selection unit presents to the input / output means the unit operation that can be executed in parallel with the unit operation selected by the user by referring to the interlock information among the plurality of unit operations. A control program creation support system characterized by this.
請求項1に記載する制御プログラムの作成支援システムにおいて、
前記制御プログラムは、第2の実行順で実行される複数の小工程プログラムからなり、
前記小工程プログラムは、前記第1の実行順で実行される前記単位操作からなり、
前記作成支援プログラムは、
前記単位操作選択部により選択された前記単位操作を前記第1の実行順で実行する前記小工程プログラムを作成するとともに、前記小工程プログラムの前記第2の実行順が入力される小工程プログラム作成部を備え、
前記制御プログラム作成部は、前記小工程プログラムが前記第2の実行順で実行される前記制御プログラムを作成する
ことを特徴とする制御プログラムの作成支援システム。
In the control program creation support system according to claim 1,
The control program comprises a plurality of sub-process programs executed in the second execution order.
The sub-process program comprises the unit operations executed in the first execution order.
The creation support program
Create the small process program that executes the unit operation selected by the unit operation selection unit in the first execution order, and create the small process program in which the second execution order of the small process program is input. With a part
The control program creation unit is a control program creation support system characterized in that the small process program creates the control program in which the small process program is executed in the second execution order.
請求項1又は請求項2に記載する制御プログラムの作成支援システムにおいて、
前記単位操作は、前記処理装置の制御をするためのパラメータが設定可能であり、
前記作成支援プログラムは、
前記入出力手段を介して、前記単位操作に対する前記パラメータが入力され、前記パラメータを前記記憶装置に記憶するパラメータ設定部を備える
ことを特徴とする制御プログラムの作成支援システム。
In the control program creation support system according to claim 1 or 2.
In the unit operation, parameters for controlling the processing device can be set.
The creation support program
A control program creation support system comprising a parameter setting unit in which the parameters for the unit operation are input via the input / output means and the parameters are stored in the storage device.
請求項3に記載する制御プログラムの作成支援システムにおいて、
前記作成支援プログラムは、
前記単位操作選択部は、複数の前記単位操作のうち、前記インターロック情報を参照して利用者に選択された前記単位操作と並行して実行可能な前記単位操作であって、
当該単位操作に対して設定された前記パラメータが所定条件に該当するものを前記入出力手段に提示する
ことを特徴とする制御プログラムの作成支援システム。
In the control program creation support system according to claim 3,
The creation support program
The unit operation selection unit is the unit operation that can be executed in parallel with the unit operation selected by the user by referring to the interlock information among the plurality of unit operations.
A control program creation support system characterized in that the parameters set for the unit operation satisfy a predetermined condition are presented to the input / output means.
液状の製品を製造する処理装置を制御する制御プログラムを実行する制御装置で実行される制御プログラムの作成支援プログラムであって、
前記制御装置の記憶装置には、前記処理装置を制御するプログラムである複数の単位操作及び並行して実行可能又は実行不可能である前記単位操作の組み合わせを定義したインターロック情報が記憶されており、
前記制御装置を、
利用者から情報が入力され、かつ情報を提示する入出力手段を介して、複数の前記単位操作を利用者に提示し、利用者に選択された前記単位操作及び前記単位操作の第1の実行順が入力される単位操作選択手段と、
前記第1の実行順で前記単位操作を実行する前記制御プログラムを作成する制御プログラム作成手段として機能させ、
前記単位操作選択手段は、複数の前記単位操作のうち、前記インターロック情報を参照して利用者に選択された前記単位操作と並行して実行可能な前記単位操作を前記入出力手段に提示する
ことを特徴とする制御プログラムの作成支援プログラム。

A control program creation support program that is executed by a control device that executes a control program that controls a processing device that manufactures liquid products.
The storage device of the control device stores interlock information that defines a combination of a plurality of unit operations that are programs that control the processing device and the unit operations that can be executed or cannot be executed in parallel. ,
The control device
A plurality of the unit operations are presented to the user via an input / output means in which information is input from the user and the information is presented, and the unit operation selected by the user and the first execution of the unit operation are performed. Unit operation selection means in which the order is input,
It functions as a control program creation means for creating the control program that executes the unit operation in the first execution order.
The unit operation selection means presents to the input / output means the unit operation that can be executed in parallel with the unit operation selected by the user by referring to the interlock information among the plurality of unit operations. A control program creation support program characterized by this.

JP2019099774A 2019-05-28 2019-05-28 CONTROL PROGRAM CREATION SUPPORT SYSTEM AND CREATION ASSISTANCE PROGRAM Active JP7302937B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019099774A JP7302937B2 (en) 2019-05-28 2019-05-28 CONTROL PROGRAM CREATION SUPPORT SYSTEM AND CREATION ASSISTANCE PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019099774A JP7302937B2 (en) 2019-05-28 2019-05-28 CONTROL PROGRAM CREATION SUPPORT SYSTEM AND CREATION ASSISTANCE PROGRAM

Publications (2)

Publication Number Publication Date
JP2020194373A true JP2020194373A (en) 2020-12-03
JP7302937B2 JP7302937B2 (en) 2023-07-04

Family

ID=73547932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019099774A Active JP7302937B2 (en) 2019-05-28 2019-05-28 CONTROL PROGRAM CREATION SUPPORT SYSTEM AND CREATION ASSISTANCE PROGRAM

Country Status (1)

Country Link
JP (1) JP7302937B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327263A (en) * 2004-04-13 2005-11-24 Omron Corp Control system setting device
JP2005332211A (en) * 2004-05-20 2005-12-02 House Foods Corp Controller and control method of system for executing a plurality of consecutive processes
JP2007018167A (en) * 2005-07-06 2007-01-25 Yamatake Corp Program generation system
JP2018156214A (en) * 2017-03-16 2018-10-04 株式会社Screenホールディングス SFC program creation support apparatus, SFC program creation support program, and SFC program creation method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011080945A1 (en) 2009-12-28 2011-07-07 三菱電機株式会社 Program creation support device
JP5992777B2 (en) 2012-09-04 2016-09-14 株式会社キーエンス Programmable controller, program creation support device, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327263A (en) * 2004-04-13 2005-11-24 Omron Corp Control system setting device
JP2005332211A (en) * 2004-05-20 2005-12-02 House Foods Corp Controller and control method of system for executing a plurality of consecutive processes
JP2007018167A (en) * 2005-07-06 2007-01-25 Yamatake Corp Program generation system
JP2018156214A (en) * 2017-03-16 2018-10-04 株式会社Screenホールディングス SFC program creation support apparatus, SFC program creation support program, and SFC program creation method

Also Published As

Publication number Publication date
JP7302937B2 (en) 2023-07-04

Similar Documents

Publication Publication Date Title
JP5899339B2 (en) Automatic analyzer
JP2003011926A (en) Method and unit for changing configuration of automatic machine
JP6466042B1 (en) Selection device, selection method and selection program
KR20070078280A (en) Managing method and system of menu according to each family for cooker
JP2010033228A (en) Data display and data display program
JP2020194373A (en) Control program creation support system and creation support program
JP3986354B2 (en) Combination weighing equipment or packaging equipment
JP2008040737A (en) Programmable indicator, program display method, and display program
JP2007098810A (en) Method for setting mold opening and closing option operation of injection molding machine
US20060056871A1 (en) Image forming apparatus and method of controlling the image forming apparatus
JP6156244B2 (en) Operation support device
JP4442010B2 (en) How to change columns in vending machines
JP2006053284A5 (en)
JP2008146569A (en) Recipe data display method
JP7134796B2 (en) Audit trail management system
JP4557625B2 (en) Chemical plant design support method and chemical plant design support program
JP2010182256A (en) Display, display method, and display processing program
JP7297295B2 (en) Condition change confirmation device and pillow packaging machine
JP2017067984A (en) Terminal device and terminal control program
JP3926012B2 (en) Operation support method in non-steady state of plant, apparatus and recording medium
JPH07172725A (en) Monitor of elevator
JP4170717B2 (en) Piping design method for quantitative batch control system
JP5619319B2 (en) System construction support tool
JP2005332211A (en) Controller and control method of system for executing a plurality of consecutive processes
JP2013045425A (en) Display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230410

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230621

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230621

R150 Certificate of patent or registration of utility model

Ref document number: 7302937

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150