JPH07219606A - Program optimization processor - Google Patents

Program optimization processor

Info

Publication number
JPH07219606A
JPH07219606A JP6008094A JP809494A JPH07219606A JP H07219606 A JPH07219606 A JP H07219606A JP 6008094 A JP6008094 A JP 6008094A JP 809494 A JP809494 A JP 809494A JP H07219606 A JPH07219606 A JP H07219606A
Authority
JP
Japan
Prior art keywords
program
control device
optimization
processor
input
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.)
Pending
Application number
JP6008094A
Other languages
Japanese (ja)
Inventor
Akira Hoshino
公 星野
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom Corp
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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP6008094A priority Critical patent/JPH07219606A/en
Publication of JPH07219606A publication Critical patent/JPH07219606A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily provide optimized programs to plural controllers, connected to a data transmission line, in a short time. CONSTITUTION:The need to generate individual programs by respective controllers 3 connected through the data transmission line 2 is eliminated by providing the program optimization processor 1 which gathers information showing what kind of processor and input/output port each controller consists of, selects at least one of previously stored optimized programs, and generates an optimized program characteristic to the controller.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、データ伝送路を介し
て接続された複数の制御装置の、各プログラムをそれぞ
れ最適化するための最適化処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optimization processing device for optimizing each program of a plurality of control devices connected via a data transmission path.

【0002】[0002]

【従来の技術】従来、この種のシステムでは、1つのデ
ータ伝送路に接続された制御装置が全く同じ構成なら
ば、各制御装置は同じプログラムで所定の機能を実行す
ることができるが、実際にはメインプロセッサの種類や
入出力ポートの仕様が異なることが多いため、各制御装
置毎に専用のプログラムを作成して対処しているケース
が多い。
2. Description of the Related Art Conventionally, in this type of system, if the control devices connected to one data transmission path have exactly the same configuration, each control device can execute a predetermined function with the same program. Since the types of main processors and the specifications of input / output ports are often different, there are many cases in which a dedicated program is created for each control device to deal with it.

【0003】[0003]

【発明が解決しようとする課題】このように、各制御装
置毎に固有のプログラムで対処しているため、作成に時
間が掛かるだけでなく、制御装置の構成要素や機能を変
更しようとすると新たなプログラムを作成しなければな
らず、対応が円滑に行なわれないという問題がある。し
たがって、この発明の課題は1つのデータ伝送路に接続
される複数の制御装置に対し、最適なプログラムを容易
かつ短時間に提供し得るようにすることにある。
As described above, since a program unique to each control device is used, not only does it take a long time to create a new program, but it is also necessary to change the constituent elements and functions of the control device. However, there is a problem that it is not possible to respond smoothly. Therefore, an object of the present invention is to provide an optimum program easily and in a short time to a plurality of control devices connected to one data transmission path.

【0004】[0004]

【課題を解決するための手段】このような課題を解決す
るため、この発明では、プロセッサと各種入出力ポート
を持ちデータ伝送路に接続される複数の制御装置に対し
て共通に設けられ、各制御装置の各々から如何なる種類
のプロセッサと入出力ポートからなるかを示す構成要素
情報を収集し、収集した構成要素情報に応じて、予め記
憶されている最適化プログラの少なくとも1つを選択し
て各制御装置毎に一連の最適化プログラムを作成し、作
成された一連の最適化プログラムを各制御装置へ伝送す
ることを特徴としている。
In order to solve such a problem, according to the present invention, a plurality of control devices having a processor and various input / output ports and connected to a data transmission path are provided in common. Component information indicating what kind of processor and input / output port is configured is collected from each of the control devices, and at least one of the optimization programs stored in advance is selected according to the collected component information. A feature is that a series of optimization programs is created for each control device, and the created series of optimization programs is transmitted to each control device.

【0005】[0005]

【作用】共通のプログラム最適化処理装置に、プロセッ
サの種別と入出力ポートの種別により一義的に決まる個
々の最適化プログラムを予め記憶しておき、電源投入時
などの実運転を行なっていないときに、各制御装置から
その各々が如何なる種別のプロセッサと各種入出力ポー
トからなるのかの情報を収集し、これにもとづき一連の
最適化プログラムを作成し得るようにし、かつ、作成さ
れた一連の最適化プログラムを伝送路を介して各制御装
置に伝送することで、制御装置毎に個別に作成していた
プログラムの作成を容易にし、製作のための時間を短縮
する。
When a common program optimization processing device stores in advance an individual optimization program uniquely determined by the type of processor and the type of input / output port, and the actual operation such as when the power is turned on is not performed. In addition, it collects information from each control device as to what kind of processor and what kind of input / output port each consists of, so that a series of optimization programs can be created based on this, and a series of created optimization programs can be created. By transmitting the computerized program to each control device through the transmission path, it is easy to create a program that has been created individually for each control device, and the time for production is shortened.

【0006】[0006]

【実施例】図1はこの発明が適用されるシステム構成を
示す概要図である。すなわち、1本のデータ伝送路2
(L)に接続された複数の制御装置3(C1〜Cn)に
対し、プログラム最適化処理装置1(MC)を共通に設
けて構成される。このプログラム最適化処理装置1に
は、プロセッサの種別と入出力ポートの種別により一義
的に決まる個々の基本プログラムが予め記憶されてお
り、電源投入時や休止中などで実運転を行なっていない
ときに、各制御装置3からその各々がどのような種別の
プロセッサと各種入出力ポートから成っているかを示す
構成要素情報を収集し、これにもとづき最適化されたプ
ログラムを作成する機能を有している。
1 is a schematic diagram showing a system configuration to which the present invention is applied. That is, one data transmission line 2
The program optimization processing device 1 (MC) is commonly provided for the plurality of control devices 3 (C1 to Cn) connected to (L). This program optimization processing device 1 stores in advance individual basic programs that are uniquely determined by the type of processor and the type of input / output port. In addition, it has a function of collecting from each control device 3 component information indicating what type of processor and each type of input / output port each is composed of, and creating an optimized program based on this. There is.

【0007】図2は或る制御装置の動作例を説明するた
めのフローチャートである。まず、ステップでは、ポ
ートAからデータを入力し、所定の変換をしてメモリに
格納し(ステップ)、次いで、図1の制御装置3から
所定の指示を受け、ポートBにデータを出力する(ステ
ップ)。
FIG. 2 is a flow chart for explaining an operation example of a control device. First, in a step, data is input from the port A, subjected to a predetermined conversion and stored in a memory (step), and then a predetermined instruction is received from the control device 3 in FIG. 1, and the data is output to the port B ( Step).

【0008】表1は、プログラム最適化処理装置1が各
制御装置3(C1〜Cn)から集めた情報をもとに作成
した構成要素例を示すもので、例えば制御装置C1はメ
インプロセッサの種別がP1、入出力ポートAの種別が
S1、入出力ポートBの種別がR1の各要素から構成さ
れていること等を示している。なお、この表1はプログ
ラム最適化処理装置1内の図示されないメモリに格納さ
れる。
Table 1 shows an example of constituent elements created by the program optimization processing device 1 based on information collected from the respective control devices 3 (C1 to Cn). For example, the control device C1 is a main processor type. Indicates that each element is composed of P1, the input / output port A type is S1, and the input / output port B type is R1. The table 1 is stored in a memory (not shown) in the program optimization processing device 1.

【表1】 [Table 1]

【0009】表2は、プログラム管理装置1内で、メイ
ンプロセッサの種類や入出力ポートの仕様などを含め、
各構成要素毎に作成されている最適化されているプログ
ラム番号(PN1,PN2…)と、そのプログラムに対
応する各制御装置の構成要素の1例を示す。例えば、メ
インプロセッサがP1,入出力ポートがS1の場合はプ
ログラムPN1が対応し、メインプロセッサがP2,入
出力ポートがR2の場合は、プログラムPN7が対応す
ること等を示している。なお、表2とプログラムPN
1,PN2…もプログラム管理装置1内のメモリに格納
されている。
Table 2 shows the type of main processor and specifications of input / output ports in the program management device 1.
An optimized program number (PN1, PN2 ...) Created for each component and one example of the component of each control device corresponding to the program are shown. For example, when the main processor is P1 and the input / output port is S1, the program PN1 corresponds, and when the main processor is P2 and the input / output port is R2, the program PN7 corresponds. Table 2 and program PN
1, PN2 ... Are also stored in the memory in the program management device 1.

【表2】 [Table 2]

【0010】図3はプログラム最適化処理装置の動作を
説明するためのフローチャートで、或る制御装置が図2
の如き動作をする場合の例を示すものである。まず、プ
ログラム最適化処理装置1は、データ伝送路2を経由し
て各制御装置3から構成要素の情報を収集する。これを
まとめて示すのが、先に説明した表1である。次に、こ
の表1から最適化に必要な構成要素(例えばP1,S
1)を抽出し、この抽出された構成要素にもとづき、表
2から最適化プログラムを抽出する。ここでは、構成要
素がメインプロセッサP1,入出力ポートがS1なの
で、最適化プログラムとしてPN1を選択する(ステッ
プ)。これにより、図2のステップは最適化プログ
ラムPN1に置換される。
FIG. 3 is a flow chart for explaining the operation of the program optimization processing device.
The following is an example of the case where the above operation is performed. First, the program optimization processing device 1 collects information on constituent elements from each control device 3 via the data transmission path 2. This is summarized in Table 1 described above. Next, from Table 1, the components necessary for optimization (for example, P1, S
1) is extracted, and the optimization program is extracted from Table 2 based on the extracted components. Here, since the constituent element is the main processor P1 and the input / output port is S1, PN1 is selected as the optimization program (step). As a result, the steps of FIG. 2 are replaced with the optimization program PN1.

【0011】図2の次のステップは、入力データにつ
いて所定の変換を行なうステップなので、表2を参照し
て最適化プログラムを抽出する。ここでは、構成要素が
メインプロセッサP1のデータ変換なので、最適化プロ
グラムとしてPN10が選択され、図2のステップは
図3のようにPN10で置換される。さらに、ステップ
は変換データのポートBへの出力なので、上記と同様
にして表2から、メインプロセッサP1によるポートB
(R1)への出力ということから、最適化プログラムP
N5が選択され、図2のステップは図3のようにPN
5にて置換される。なお、こうして作成された或る制御
装置用の一連のプログラムは、プログラム最適化処理装
置1から各制御装置3に与えられるので、各制御装置3
では図示されない所定のメモリにこの一連の最適化プロ
グラムを記憶するなどした後、これにもとづき所定の処
理を実行する。
Since the next step in FIG. 2 is a step for performing a predetermined conversion on the input data, the optimization program is extracted with reference to Table 2. Here, since the constituent element is the data conversion of the main processor P1, PN10 is selected as the optimization program, and the steps of FIG. 2 are replaced by PN10 as shown in FIG. Further, since the step is the output of the converted data to the port B, the port B by the main processor P1 can be selected from
Since it is output to (R1), the optimization program P
N5 is selected and the steps of FIG. 2 are PN as shown in FIG.
Replaced by 5. Since the series of programs for a certain control device created in this way is given from the program optimization processing device 1 to each control device 3, each control device 3
Then, after storing the series of optimization programs in a predetermined memory (not shown), predetermined processing is executed based on the stored programs.

【0012】[0012]

【発明の効果】この発明によれば、プログラム最適化処
理装置により制御装置毎に最適化されたプログラムを作
成し、作成されたプログラムを伝送路を介して制御装置
に与えるようにしたので、制御装置毎に独自に作成して
いたプログラムの作成が容易になるだけでなく、製作の
ための時間も短縮されるという利点が得られる。
According to the present invention, a program optimized for each control device is created by the program optimization processing device, and the created program is given to the control device via a transmission path. Not only is it easy to create a program that was originally created for each device, but also the time required for production is shortened.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明が適用されるシステム構成を示す概要
図である。
FIG. 1 is a schematic diagram showing a system configuration to which the present invention is applied.

【図2】図1の或る制御装置の動作例を説明するための
フローチャートである。
FIG. 2 is a flow chart for explaining an operation example of a certain control device in FIG.

【図3】プログラム最適化処理装置の動作を説明するた
めのフローチャートである。
FIG. 3 is a flowchart for explaining the operation of the program optimization processing device.

【符号の説明】[Explanation of symbols]

1(MC)…プログラム最適化処理装置、2(L)…デ
ータ伝送路、3(C1〜Cn)…制御装置。
1 (MC) ... Program optimization processing device, 2 (L) ... Data transmission path, 3 (C1 to Cn) ... Control device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサと各種入出力ポートを持ちデ
ータ伝送路に接続される複数の制御装置に対して共通に
設けられ、各制御装置の各々から如何なる種類のプロセ
ッサと入出力ポートからなるかを示す構成要素情報を収
集し、収集した構成要素情報に応じて、予め記憶されて
いる最適化プログラの少なくとも1つを選択して各制御
装置毎に一連の最適化プログラムを作成し、作成された
一連の最適化プログラムを各制御装置へ伝送することを
特徴とするプログラム最適化処理装置。
1. A processor and various input / output ports, which are commonly provided for a plurality of control devices connected to a data transmission line, and which type of processor and input / output port each control device comprises. It was created by collecting the component information shown, selecting at least one of the pre-stored optimization programs according to the collected component information, and creating a series of optimization programs for each control device. A program optimization processing device characterized by transmitting a series of optimization programs to each control device.
JP6008094A 1994-01-28 1994-01-28 Program optimization processor Pending JPH07219606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6008094A JPH07219606A (en) 1994-01-28 1994-01-28 Program optimization processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6008094A JPH07219606A (en) 1994-01-28 1994-01-28 Program optimization processor

Publications (1)

Publication Number Publication Date
JPH07219606A true JPH07219606A (en) 1995-08-18

Family

ID=11683733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6008094A Pending JPH07219606A (en) 1994-01-28 1994-01-28 Program optimization processor

Country Status (1)

Country Link
JP (1) JPH07219606A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011506A (en) * 2004-06-22 2006-01-12 Nec Corp Starting image providing system and method, boot node device, boot server device, and program
WO2005119430A3 (en) * 2004-06-01 2007-04-19 Lehman Brothers Method and system for collecting processor information
US7784064B2 (en) 2004-04-14 2010-08-24 Barclays Capital Inc. Method for collecting monitor information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512774B2 (en) 2004-04-14 2009-03-31 Barclays Capital Inc. Method and system for collecting processor information
US7784064B2 (en) 2004-04-14 2010-08-24 Barclays Capital Inc. Method for collecting monitor information
WO2005119430A3 (en) * 2004-06-01 2007-04-19 Lehman Brothers Method and system for collecting processor information
JP2006011506A (en) * 2004-06-22 2006-01-12 Nec Corp Starting image providing system and method, boot node device, boot server device, and program

Similar Documents

Publication Publication Date Title
US10452048B2 (en) Control system and control device
JPH07219606A (en) Program optimization processor
ZA200506289B (en) Method for determining the processing sequence of function blocks of an automated system and corresponding automated system
CN113238746A (en) Hybrid programming control method, device, equipment and storage medium
CN112306947A (en) Topology switching method, device and equipment
JP2009301260A (en) Field data display device and field data display method
JP7022049B2 (en) Recognition device, system and recognition method
US20080313605A1 (en) Development framework for automated data throughput optimization
JP2009522630A (en) Method for controlling a modular production machine composed of apparatus and components
CN108063695B (en) Communication instruction configuration method and device and data acquisition method and device
JP2007172128A (en) I/o simulator device
KR101718086B1 (en) Apparatus and method for processing tag of hmi
US20210183182A1 (en) System and method for processing data of a motor vehicle
JPH075909A (en) Controller checking device
CN114356462A (en) Visual detection method, device, equipment and medium based on flow chart
JPH02193243A (en) Remote bus access system
CN114089837A (en) Control method and device of equipment and computer readable storage medium
JPH05165758A (en) Address setting system for input/output device
CN114363411A (en) Data transmission method, device, system and computer storage medium
JPH01155593A (en) Rom writer device control system
CN115525705A (en) Vehicle real-time signal processing method and device
JPH06100949B2 (en) Power-on control method for computer system
CN114328384A (en) Method, device, equipment and medium for archiving and reviving process data
CN112580215A (en) Distribution network single line diagram map optimization method and system
CN112286086A (en) Servo amplifier selection device and computer program for servo amplifier selection

Legal Events

Date Code Title Description
A02 Decision of refusal

Effective date: 20031224

Free format text: JAPANESE INTERMEDIATE CODE: A02