JPH05143118A - Controller system - Google Patents

Controller system

Info

Publication number
JPH05143118A
JPH05143118A JP30445291A JP30445291A JPH05143118A JP H05143118 A JPH05143118 A JP H05143118A JP 30445291 A JP30445291 A JP 30445291A JP 30445291 A JP30445291 A JP 30445291A JP H05143118 A JPH05143118 A JP H05143118A
Authority
JP
Japan
Prior art keywords
program
executing
description
language
controller system
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
JP30445291A
Other languages
Japanese (ja)
Inventor
Shigeru Masuda
茂 増田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP30445291A priority Critical patent/JPH05143118A/en
Publication of JPH05143118A publication Critical patent/JPH05143118A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To reduce complexity in the development or change of a control program by describing the whole programs in a controller system on the top and down parts and executing the succeeding processing by distributing/ executing a control program by the function of the controller system itself. CONSTITUTION:A control program designer describes the whole programs in a controller group by an integrated programming means 1. In the case of describing plural languages, for the whole description, ranges to be described are divided by using respective languages at first and order relation for executing the divided parts is described. Then the control contents of the divided parts are detailedly described by means of respective proper languages. An overall managing means 2 inputs the program and distributes the programs in the detail description part to plural program execution means 31 to 33 corresponding to respective languages. Each controller inputs is driven by using a connection means 4 so as to input a corresponding program from the means 2, execute the inputted program and inform an execution result to the means 2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は製造職場において利用さ
れる装置や製造ラインを制御するために好適なコントロ
ーラシステムに関する。特にコントローラシステムの制
御プログラムの統一的な開発方法、及びプログラムの実
行方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a controller system suitable for controlling a device or a manufacturing line used in a manufacturing workplace. In particular, it relates to a unified development method of a control program of a controller system and a program execution method.

【0002】[0002]

【従来の技術】装置や製造ラインを制御するコントロー
ラシステムとして、例えば特開平1−276308に見
られるプログラマブルコントローラシステム(PCS)が
ある。PCSでは条件制御向きのラダー言語と順序制御
向きのSFC言語があるが、夫々独立したプログラミン
グシステムとなっていたり、インテリジェントモジュー
ル用のプログラミングシステムも独立したシステムとな
っている。このため、言語間でインタフェースを取るた
めに特別な制御信号を設けて、夫々のプログラムで記述
させる方法をとっている。またコントローラでのプログ
ラムの実行方式は、予めダウンロードされた一つのプロ
グラムを実行する方式であり、ダイナミックにサブプロ
グラムを変更して実行する仕掛けとはなっていない。こ
のため、制御システムの全体状況を全てのコントローラ
のプログラムに反映させて記述しているのが現状であ
る。このことが、コントローラシステムの制御プログラ
ムの作成や変更を複雑にする要因の一つとして指摘され
ている。SFC言語はIECで規格化が進められている
多言語混在記述を可能とするものであるが、まだ効果的
な実現はなされてはいない。
2. Description of the Related Art As a controller system for controlling an apparatus or a manufacturing line, there is a programmable controller system (PCS) found in, for example, JP-A-1-276308. PCS has a ladder language for condition control and an SFC language for sequence control, but each has an independent programming system, and the programming system for intelligent modules is also an independent system. For this reason, a special control signal is provided for interfacing between languages, and each program is described. The program execution method in the controller is a method of executing one program downloaded in advance, and is not a mechanism for dynamically changing and executing a subprogram. For this reason, it is the current situation that the entire status of the control system is reflected in the programs of all the controllers. This is pointed out as one of the factors that complicate the creation and modification of the control program of the controller system. The SFC language enables multilingual mixed description, which is being standardized by the IEC, but has not yet been effectively realized.

【0003】[0003]

【発明が解決しようとする課題】本発明の課題は、上記
の従来技術の問題となっている複数のコントローラで構
成されるシステムの制御プログラムの開発や変更時の複
雑さを低減するのに好適な、制御プログラムの統一的開
発方法、及びそのための実行方法とを備えたコントロー
ラシステムを提供することにある。
The object of the present invention is suitable for reducing the complexity at the time of developing or changing the control program of the system composed of a plurality of controllers, which is a problem of the above-mentioned prior art. Another object of the present invention is to provide a controller system including a unified development method of a control program and an execution method therefor.

【0004】[0004]

【課題を解決するための手段】コントローラシステムに
おいて、その制御プログラムの作成を、複数の異なる言
語毎の記述範囲を区分けし、区分けした範囲間の関係を
記述する全体記述と、区分けした範囲の制御内容を夫々
の言語で記述する詳細記述との階層記述で行うコントロ
ーラ間の統一プログラミング手段を設ける。さらに作成
したプログラム中の各詳細記述部を入力し、実行し、実
行結果を出力する言語対応のプログラム実行手段を設け
る。その上、プログラム開発手段からプログラムを入力
し、全体記述部に従って、各言語対応のプログラム実行
手段に、プログラム中の対応する詳細処理部を逐次分配
する管理手段と、各手段間を結合する接続手段とを設け
る。
In a controller system, a control program is created by dividing a description range for each of a plurality of different languages, and an overall description that describes the relationship between the divided ranges and control of the divided range. A unified programming means is provided between the controllers for performing the hierarchical description with the detailed description for describing the content in each language. Further, a language-compliant program executing means for inputting and executing each detailed description part in the created program and outputting the execution result is provided. Furthermore, a program is inputted from the program developing means, and a managing means for sequentially distributing the corresponding detailed processing parts in the program to the program executing means for each language according to the whole description part and a connecting means for connecting the respective means. And.

【0005】[0005]

【作用】制御プログラムの作成者は統一プログラミング
手段を持ちいてコントローラ群全体のプログラムを記述
する。複数の言語を用いて記述する場合、初に全体記述
として、夫々の言語を用いて記述する範囲を区分けし、
区分けした部分を実行する順序関係を記述する。続いて
区分けした部分の制御内容を夫々の適する言語を用いて
詳細記述する。全体管理手段はこのプログラムを入力
し、全体記述部に従って詳細記述部のプログラムを言語
対応のプログラム実行手段に分配する。各コントローラ
は全体管理部から対応するプログラムを入力し、実行
し、実行結果を全体管理部に報告するように接続手段を
利用して動作するから、制御プログラムの作成者はプロ
グラム実行手段毎に異なるプログラミング手段を用いる
ことなく、またプログラム実行手段毎の全処理内容を抽
出して記述することなく、制御システム全体の処理内容
を言語対応に記述することで、コントローラシステムの
制御プログラムの作成が可能となる。
The creator of the control program has the unified programming means to describe the program for the entire controller group. When describing in multiple languages, first divide the range to be described in each language as the overall description,
Describe the order relationship in which the divided parts are executed. Next, the control contents of the divided parts will be described in detail by using each suitable language. The overall management means inputs this program, and distributes the program of the detailed description part to the program execution means corresponding to the language according to the overall description part. Each controller operates by using the connection means so as to input and execute the corresponding program from the general management section and report the execution result to the general management section, so that the creator of the control program differs for each program execution means. A control program for a controller system can be created by describing the processing contents of the entire control system in a language-compatible manner without using programming means or extracting and describing all processing contents for each program execution means. Become.

【0006】[0006]

【実施例】以下、本発明の一実施例を図を用いて説明す
る。図1は本発明によるコントローラシステムの1構成
例である。1は統一プログラミング手段、2は全体管理
手段、31〜33はそれぞれ言語対応プログラムの実行手
段である。ここで31〜33はそれぞれラダープログラム
の実行手段、Cプログラムの実行手段、及びBASIC
プログラムの実行手段とする。各手段はシステムバスあ
るいはネットワークなどの接続手段4で結合されてい
る。本構成のコントローラシステムで制御対象をコント
ロールする場合を考える。初めに制御対象の制御機能を
分割し、それぞれどの言語で記述するかを決める。かつ
それら分割した制御機能間の接続関係を記述する。この
結果を制御対象の全体記述といい、その例を図1の左図
に示す。SFCを用いて記述している。この図で白箱5
1はラダー記述する制御機能を、斜線箱52はC言語記述
する制御機能を表現している。次に箱の中身、制御機能
の実現方法を予定したそれぞれの言語で詳細記述する。
ラダーの場合を図2の右図で例示している。以上の様に
プログラマは制御対象の機能を記述容易な言語を持ちい
てプログラミングする。この時の使用言語と記述した制
御内容の処理量等を勘案して、実行手段の種類と台数を
選択することでそれを実現するコントローラの構成を選
択する。つまり制御対象の制御内容に着目してプログラ
ミングする方式である。本プログラミング方式に好適な
実行手段と管理手段の実行方式をメッセージ駆動で行な
う例を図3に示す。管理手段は図2の全体記述部のプロ
グラムを参照して、制御機能の実行条件の成立を確認す
る(71)。成立時には対応する詳細記述部のプログラ
ムをメモリ上から抽出し、対応する実行手段に分配する
(72,81)。このとき対応言語の実行手段が2つ以上
の場合には、待ち状態の手段に分配する。その後全体管
理手段は接続関係で一つ前の実行手段からの実行結果報
告を起動情報として対応する実行手段に出力する
(73,82)。それを受けて実行手段はプログラムを実
行し(83)、終了時に実行結果を全体管理手段に報告
する(84,74)。全体管理手段は次の接続関係の起動
情報としてメモリに保存する。このようにプログラマは
制御対象の制御内容に着目して、コントローラシステム
のプログラム全体をトップダウンに記述し、以降の処理
をコントローラシステム自身の機能により、制御プログ
ラムを分配、実行していくことで対象を制御できる。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an example of the configuration of a controller system according to the present invention. Reference numeral 1 is a unified programming means, 2 is an overall management means, and 3 1 to 3 3 are means for executing language corresponding programs. Here, 3 1 to 3 3 are ladder program execution means, C program execution means, and BASIC, respectively.
It is used as a program execution means. The respective means are connected by a connecting means 4 such as a system bus or a network. Consider the case of controlling a controlled object with the controller system of this configuration. First, the control function of the controlled object is divided, and the language to describe each is determined. In addition, describe the connection relationship between these divided control functions. This result is called the overall description of the controlled object, an example of which is shown in the left diagram of FIG. It is described using SFC. White box 5 in this figure
1 the ladder described control functions, the hatched box 5 2 expresses the C language describing control functions. Next, the contents of the box and the implementation method of the control function will be described in detail in each planned language.
The case of a ladder is illustrated in the right diagram of FIG. As described above, the programmer programs the function to be controlled by using a language that is easy to describe. The type of the execution means and the number of execution means are selected in consideration of the language used at this time, the processing amount of the described control contents, and the like, and the configuration of the controller that realizes this is selected. In other words, this is a method of programming focusing on the control content of the control target. FIG. 3 shows an example in which the execution means suitable for the present programming method and the execution method of the management means are message driven. Management means refers to the entire description of the program of FIG. 2, to confirm the establishment of the execution conditions of the control function (71). When established, the program of the corresponding detailed description part is extracted from the memory and distributed to the corresponding execution means (7 2 , 8 1 ). At this time, when there are two or more executing means of the corresponding language, the corresponding means is distributed to the waiting means. After that, the overall management means outputs the execution result report from the previous execution means to the corresponding execution means as the start information in the connection relationship (7 3 , 8 2 ). In response to this, the execution means executes the program (8 3 ), and at the end, reports the execution result to the overall management means (8 4 , 7 4 ). The overall managing means stores it in the memory as the startup information of the next connection relationship. In this way, the programmer focuses on the control contents of the control target, writes the entire program of the controller system in top-down, and the subsequent processing is distributed and executed by the control system by the function of the controller system itself. Can be controlled.

【0007】[0007]

【発明の効果】本発明によれば、制御対象の制御内容に
着目して、コントローラシステムのプログラム全体をト
ップダウンに記述し、以降の処理をコントローラシステ
ム自身の機能により、制御プログラムを分配、実行して
いくことで対象を制御できるから、複数言語のプログラ
ムの実行手段のプログラミングシステムの統合化が実現
できる。また、メッセージ駆動形の実行方式により、プ
ログラムをばらばらなモジュールの集合体として開発、
実行でき、かつモジュールの実行手段非依存実行を実現
できるから、プログラムの開発変更が容易となる。
According to the present invention, the entire program of the controller system is described from the top down, paying attention to the control content of the controlled object, and the subsequent processing is distributed and executed by the function of the controller system itself. Since the target can be controlled by doing so, the integration of the programming system of the execution means of the programs of multiple languages can be realized. In addition, the program is developed as a collection of disjoint modules by the message-driven execution method.
Since it can be executed and the execution means independent execution of the module can be realized, the development change of the program becomes easy.

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

【図1】コントローラシステムの構成図である。FIG. 1 is a configuration diagram of a controller system.

【図2】コントローラシステムのプログラミング方法を
示す図である。
FIG. 2 is a diagram showing a programming method of a controller system.

【図3】プログラムの実行方法を示す図である。FIG. 3 is a diagram showing a method of executing a program.

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

1…統一プログラミング手段 2…全体管理手段 31〜33…言語対応プログラム実行手段 4…接続手段 5…全体記述例 51…ラダー言語記述制御機能 52…C言語記述制御機能 6…詳細記述例 7…全体管理手段の実行方法 71…プログラム実行手段の実行条件判定機能 72…プログラム転送機能 73…起動情報転送機能 74…実行結果収集機能 8…言語対応プログラム実行手段の実行方法 81…プログラム入力機能 82…起動情報入力機能 83…プログラム実行機能 84…実行結果報告機能1 ... Unified programming means 2 ... Overall management means 3 1 to 3 3 ... Language corresponding program execution means 4 ... Connection means 5 ... Overall description example 5 1 ... Ladder language description control function 5 2 ... C language description control function 6 ... Detailed description Example 7: Execution method of overall management means 7 1 ... Execution condition determination function of program execution means 7 2 ... Program transfer function 7 3 ... Startup information transfer function 7 4 ... Execution result collection function 8 ... Execution method of language-compatible program execution means 8 1 … Program input function 8 2 … Startup information input function 8 3 … Program execution function 8 4 … Execution result reporting function

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】コントローラシステムの制御プログラムの
作成において、複数の異なる言語毎の記述範囲を区分け
し、区分けした範囲間の関係を記述する全体記述と、区
分けした範囲の制御内容を夫々の言語で記述する詳細記
述との階層記述でプログラムを作成する統一プログラミ
ング手段と、作成したプログラム中の各詳細記述部を入
力し、実行し、実行結果を出力する言語対応のプログラ
ム実行手段と、プログラム開発手段からプログラムを入
力し、全体記述部に従って、各言語対応のプログラム実
行手段に、プログラム中の対応する詳細処理部を逐次分
配する全体管理手段と、各手段間を結合する接続手段と
で構成したことを特徴とするコントローラシステム。
1. When creating a control program for a controller system, a description range for each of a plurality of different languages is divided, and an overall description that describes the relationship between the divided ranges and control contents of the divided range are written in each language. A unified programming means for creating a program by a hierarchical description of the detailed description to be described, a program execution means corresponding to a language for inputting and executing each detailed description part in the created program, and an execution result, and a program development means A program is input from the above, and according to the whole description part, it is composed of a whole managing means for sequentially distributing corresponding detailed processing parts in the program to a program executing means for each language, and a connecting means for connecting the respective means. Controller system characterized by.
【請求項2】請求項1において、異なる各言語毎の記述
範囲を区分けし、区分けした範囲間の関係を記述する全
体記述と、区分けした範囲の制御内容を夫々の言語で記
述する詳細記述との階層記述で、複数のコントローラの
制御プログラムを作成することを特徴とするコントロー
ラシステムの統一プログラム開発方法。
2. The entire description according to claim 1, which divides the description range for each different language and describes the relationship between the divided ranges, and a detailed description that describes the control contents of the divided range in each language. A unified program development method for a controller system, characterized in that a control program for a plurality of controllers is created by the hierarchical description of.
【請求項3】請求項1又は請求項2において、全体管理
手段が階層記述されたプログラムの全体管理部に従って
プログラム実行手段のプログラムを分配し、プログラム
実行手段が分配されたプログラムの詳細記述部を実行
し、その実行結果を全体管理部に報告することで複数の
言語で記述されたプログラムを逐次実行することを特徴
とするコントローラシステムの制御プログラムの実行方
法。
3. The program according to claim 1 or 2, wherein the overall management means distributes the program of the program execution means according to the overall management part of the program hierarchically described, and the program execution means provides a detailed description part of the distributed program. A method of executing a control program of a controller system, which comprises executing a program and sequentially executing programs written in a plurality of languages by reporting the execution result to an overall management unit.
JP30445291A 1991-11-20 1991-11-20 Controller system Pending JPH05143118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30445291A JPH05143118A (en) 1991-11-20 1991-11-20 Controller system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30445291A JPH05143118A (en) 1991-11-20 1991-11-20 Controller system

Publications (1)

Publication Number Publication Date
JPH05143118A true JPH05143118A (en) 1993-06-11

Family

ID=17933191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30445291A Pending JPH05143118A (en) 1991-11-20 1991-11-20 Controller system

Country Status (1)

Country Link
JP (1) JPH05143118A (en)

Similar Documents

Publication Publication Date Title
US7590970B2 (en) Autogeneration of code via human-machine interfaces (HMI) and self-building HMI
JP2007518190A (en) System and method for scheduling execution of model components using model events
JPS63174135A (en) Self-configuration of node for decentralized type message base operating system
US5511167A (en) Program processing method and apparatus for producing a data flow type program
EP0597646B1 (en) Apparatus and method for synthesizing program specifications
US5564049A (en) Industrial controller programming method using external connection database
JPH05143118A (en) Controller system
CN115248570A (en) Development environment and management development operation method of compiling programmable logic controller
Ravene et al. Status of the new WEST plasma control system
JPH0950371A (en) Device and method for program generation support
US11188061B2 (en) Configuration of an automation system
JP2003044106A (en) Generating method for sfc converting program and control program, and programmable logic controller
KR100423742B1 (en) Exclusive control system by sequential function chart
JP2724242B2 (en) Automatic program generator with macro block diagram processing function
JPH06266538A (en) Module group management system
JPH05241806A (en) Design specification inverse preparing device
JPS60175154A (en) Replacing method of instruction
Eker et al. A flexible interactive environment for embedded controllers
JPH0695891A (en) Interface system
JPH02264369A (en) Layout structure description generating system
JPH11143613A (en) System for automatically setting application constitution
JPH05173969A (en) Screen reference type multiterminal simulator
JPH01248235A (en) Application system constructing device for microcomputer
Schäfer et al. A design concept for verified concurrent controllers
Lewis et al. THE PROGRAM LINE SEQuENL= rfil~ A NEM APPROACH.