JPH04216102A - Program developing device for programmable controller - Google Patents

Program developing device for programmable controller

Info

Publication number
JPH04216102A
JPH04216102A JP40260190A JP40260190A JPH04216102A JP H04216102 A JPH04216102 A JP H04216102A JP 40260190 A JP40260190 A JP 40260190A JP 40260190 A JP40260190 A JP 40260190A JP H04216102 A JPH04216102 A JP H04216102A
Authority
JP
Japan
Prior art keywords
program
ladder
language
user
mode
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
JP40260190A
Other languages
Japanese (ja)
Other versions
JP2653409B2 (en
Inventor
Hayao Mitsuda
密田 速夫
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP40260190A priority Critical patent/JP2653409B2/en
Publication of JPH04216102A publication Critical patent/JPH04216102A/en
Application granted granted Critical
Publication of JP2653409B2 publication Critical patent/JP2653409B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To enable a user who can understand a ladder language only to program a user program in a sequential function chart language using the ladder language only. CONSTITUTION:A ladder type program mode is provided in addition to an ordinary chart type program mode for generating a program developing environment in which steps, actions, and transitions are inputted in accordance with the rule of a sequential function chart language and, in the ladder type program mode, one step and one action associated with the one step are automatically generated so that a program developing environment can be generated in the ladder language by one action and the one action is given to users as a programming space in the ladder language.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プログラマブルコント
ローラのプログラム開発装置に関し、特にシーケンシャ
ル・ファンクション・チャート(SFC)言語によるユ
ーザプログラムを実行するプログラマブルコントローラ
のためのプログラム開発装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program development apparatus for a programmable controller, and more particularly to a program development apparatus for a programmable controller that executes a user program in a sequential function chart (SFC) language.

【0002】0002

【従来の技術】プログラマブルコントローラに於けるユ
ーザプログラムのプログラミング言語として、従来のラ
ダー言語記述形式に工程歩進表現ができ、工程の流れを
図示化してプログラミングムすることができるシーケン
シャル・ファンクション・チャート(SFC)言語が提
案されている。
[Prior Art] As a programming language for user programs in programmable controllers, sequential function charts (sequential function charts) can express process steps in the conventional ladder language description format, and can be used to illustrate and program process flows. SFC) language has been proposed.

【0003】シーケンシャル・ファンクション・チャー
ト言語によるユーザプログラムのプログラミングは、C
RT、LCDの如き面状の表示装置によりプログラム要
素としてのステップ、ステップに付随するアクション、
トランジション等により工程の流れを図示化して可視性
に優れたグラフィック環境にて行うことができ、特に大
型のユーザプログラムのプログラミングに於いて優れた
操作性を示す。
[0003] Programming a user program using a sequential function chart language is a C
Steps as program elements, actions accompanying the steps,
The process flow can be visualized using transitions and the like in a graphic environment with excellent visibility, and exhibits excellent operability, especially when programming large user programs.

【0004】0004

【発明が解決しようとする課題】しかし、シーケンシャ
ル・ファンクション・チャート言語によるユーザプログ
ラムのプログラミングはラダー言語だけでは行えず、こ
れのプログラミングに於いては、プログラミングを行う
ユーザはラダー言語とは別にシーケンシャル・ファンク
ション・チャート言語を理解できなければならず、ユー
ザはシーケンシャル・ファンクション・チャート言語を
学習する必要がある。
[Problem to be Solved by the Invention] However, programming a user program using a sequential function chart language cannot be done only using the ladder language. Must be able to understand the function chart language and require the user to learn the sequential function chart language.

【0005】上述の如きことによりシーケンシャル・フ
ァンクション・チャート言語によるユーザプログラムの
プログラミングが、既にラダー言語によるユーザプログ
ラムのプログラミング法を習得したユーザに敬遠される
向きがある。このことはプログラマブルコントローラの
シーケンシャル・ファンクション・チャート言語化の妨
げになり、メーカは、シーケンシャル・ファンクション
・チャート言語による上級のプログラマブルコントロー
ラと、従来よりのラダー言語によるユーザのために、ラ
ダー言語のみによるプログラマブルコントローラとを生
産する必要が生じる。
[0005] Due to the above-mentioned problems, programming a user program using a sequential function chart language tends to be avoided by users who have already learned how to program a user program using a ladder language. This has hindered the use of sequential function chart language for programmable controllers, and manufacturers are now offering advanced programmable controllers in a sequential function chart language and programmable controllers in only a ladder language for users with traditional ladder languages. It becomes necessary to produce a controller.

【0006】またラダー言語によるユーザのためにラダ
ー言語によるユーザプログラムをシーケンシャル・ファ
ンクション・チャート言語によるユーザプログラムにソ
フトウェア処理によりコンバートすることが考えられが
、しかしこれにあっては、コンバータのソフト開発が必
要であり、ソフトウェアの開発容量を増大することにな
る本発明は、従来のプログラマブルコントローラのユー
ザプログラムのプログラミングに於ける上述の如き問題
点に着目してなされたものであり、ラダー言語しか理解
できないユーザのために、ラダー言語のみによってもシ
ーケンシャル・ファンクション・チャート言語によるユ
ーザプログラムのプログラミングを行えるプログラム開
発装置を提供することを目的としている。
[0006]Also, it is conceivable to convert a user program written in a ladder language into a user program written in a sequential function chart language by software processing for users using a ladder language, but in this case, it is difficult to develop software for the converter. The present invention, which is necessary and increases the software development capacity, was made by focusing on the above-mentioned problems in programming the user program of the conventional programmable controller, and only the ladder language can be understood. It is an object of the present invention to provide a program development device that allows users to program a user program in a sequential function chart language using only a ladder language.

【0007】[0007]

【課題を解決するための手段】上述の如き目的は、本発
明によれば、プログラム要素として、ステップ、ステッ
プに付随するアクション、トランジションを有し、各ス
テップ間に設けられたトランジションの評価によりステ
ップの歩進を制御するシーケンシャル・ファンクション
・チャート言語によるユーザプログラムを実行するプロ
グラマブルコントローラのプログラム開発装置に於いて
、ステップ、アクション、トランジションをシーケンシ
ャル・ファンクション・チャート言語の規則に従って入
力するプログラム開発環境を生じる通常のチャート式プ
ログラムモード以外に、ラダー式プログラムモードを有
し、ラダー式プログラムモードに於いては、一つのステ
ップとこれに付随する一つのアクションを自動作成し、
一つのアクションにてラダー言語によるプログラム開発
環境を生じるよう構成されていることを特徴とするプロ
グラマブルコントローラのプログラム開発装置によって
達成される。
[Means for Solving the Problems] According to the present invention, the above-mentioned object is to have steps, actions accompanying the steps, and transitions as program elements, and to evaluate the transitions provided between each step. A program development environment is created in which steps, actions, and transitions are input according to the rules of the sequential function chart language in a program development device for a programmable controller that executes a user program in a sequential function chart language that controls the progress of the In addition to the normal chart type program mode, there is a ladder type program mode. In the ladder type program mode, one step and one accompanying action are automatically created.
This is achieved by a program development device for a programmable controller, which is configured to create a program development environment using a ladder language with one action.

【0008】[0008]

【作用】上述の如き構成によれば、ラダー式プログラム
モードが選択されれば、一つのステップとこれに付随す
る一つのアクションが自動作成され、自動作成された一
つのアクションをラダー言語によるプログラミング空間
としてユーザに与えるようになる。
[Operation] According to the above-described configuration, when the ladder program mode is selected, one step and one action accompanying it are automatically created, and the automatically created action is transferred to the programming space using the ladder language. will be given to the user as

【0009】[0009]

【実施例】以下に添付の図を参照して本発明を実施例に
ついて詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the accompanying drawings.

【0010】図1は本発明によるプログラマブルコント
ローラのプログラム開発装置の一実施例を示している。 プログラム開発装置1は、マイクロプロセッサ2と、ユ
ーザプログラムのプログラミングのためのシステムプロ
グラムを格納したシステムプログラムメモリ3と、プロ
グラミングされたユーザプログラム等を読み書き可能に
格納するデータメモリ4と、キーボードインタフェース
5及びキーボード6と、ディスプレイインフェース7及
びCRT8と、FDDインフェース10及びフロッピデ
ィスクドライバ11と、HDDインタフェース12及び
ハードディスクユニット13と、PC(プログラマブル
コントローラ)インタフェース14とを有し、PCイン
タフェース14をもってPC本体15と接続され、PC
本体15との間にユーザプログラムの転送を行うように
なっている。
FIG. 1 shows an embodiment of a program development apparatus for a programmable controller according to the present invention. The program development device 1 includes a microprocessor 2, a system program memory 3 that stores a system program for programming user programs, a data memory 4 that stores programmed user programs in a readable and writable manner, a keyboard interface 5, and a system program memory 3 that stores a system program for programming user programs. It has a keyboard 6, a display interface 7, a CRT 8, an FDD interface 10, a floppy disk driver 11, an HDD interface 12, a hard disk unit 13, and a PC (programmable controller) interface 14. 15 and the PC
A user program is transferred to and from the main body 15.

【0011】PC本体15は、プログラム要素として、
ステップ、ステップに付随するアクション、トランジシ
ョンを有し、各ステップ間に設けられたトランジション
の評価によりステップの歩進を制御するシーケンシャル
・ファンクション・チャート言語によるユーザプログラ
ムを実行するプログラマブルコントローラとして構成さ
れている。
The PC main body 15 has the following program elements:
It is configured as a programmable controller that executes a user program in a sequential function chart language that has steps, actions accompanying the steps, and transitions, and controls the progress of the steps by evaluating the transitions provided between each step. .

【0012】プログラム開発装置1がシステムプログラ
ム3に格納しているユーザプログラムプログラミング用
のシステムプログラムは、チャート式プログラムモード
と、ラダー式プログラムモードとを有し、チャート式プ
ログラムモードに於いては、ステップ、アクション、ト
ランジションをシーケンシャル・ファンクション・チャ
ート言語の規則に従って入力するプログラム開発環境を
生じ、ラダー式プログラムモードに於いては、一つのス
テップとこれに付随する一つのアクションを自動作成し
、一つのアクションにてラダー言語によるプログラム開
発環境を生じるようになっている。
The system program for user program programming stored in the system program 3 of the program development device 1 has a chart type program mode and a ladder type program mode. , create a program development environment in which actions and transitions are input according to the rules of the sequential function chart language, and in the ladder program mode, one step and one accompanying action are automatically created, and one action A program development environment using the ladder language is now created.

【0013】チャート式プログラムモードとラダー式プ
ログラムモードとはキーボード6に於けるユーザによる
キーインにより選択設定される。
The chart type program mode and the ladder type program mode are selected and set by the user's key input on the keyboard 6.

【0014】図2は本発明によるプログラム開発装置に
於けるプログラミングモードのフローチャートを示して
いる。本発明によるプログラム開発装置に於けるプログ
ラミングモードに於いては、先ずキーボード6に於ける
ユーザによるキーインによりラダーオンリーモード、即
ちラダー式プログラムモードであるか、否かの判別が行
われる(ステップ10)。
FIG. 2 shows a flowchart of the programming mode in the program development apparatus according to the present invention. In the programming mode of the program development apparatus according to the present invention, first, it is determined by the user's key-in on the keyboard 6 whether or not it is the ladder-only mode, that is, the ladder type programming mode (step 10). .

【0015】ラダーオンリーモードでない時、即ちチャ
ート式プログラムモードである時は、SFCプログラミ
ング用画面表示処理が行われてCRT8にSFCプログ
ラミング用の画面表示が行われ、プログラム開発装置1
はキーボード6よりステップ、アクション、トランジシ
ョン等のプログラム要素がシーケンシャル・ファンクシ
ョン・チャート言語の規則に従って自由に入力され得る
プログラム開発環境をユーザに与えるようになる(ステ
ップ20)。これによりユーザは、キーボード6よりス
テップ、アクション、トランジション等のプログラム要
素を入力できるようになり、ユーザにより図3に示され
ている如きSFCプログラムが作成され(ステップ30
)、またユーザにより各ステップに応じて必要なアクシ
ョンが生成される(ステップ40)。
When not in the ladder-only mode, that is, when in the chart type program mode, SFC programming screen display processing is performed to display the SFC programming screen on the CRT 8, and the program development device 1
provides the user with a program development environment in which program elements such as steps, actions, and transitions can be input freely from the keyboard 6 according to the rules of the sequential function chart language (step 20). This allows the user to input program elements such as steps, actions, and transitions from the keyboard 6, and the user creates an SFC program as shown in FIG. 3 (step 30).
), and necessary actions are generated by the user according to each step (step 40).

【0016】次にユーザによるキー操作により各アクシ
ョン毎にラダープログラム開発環境へ移行する指示がな
されることにより(ステップ50)、ラダープログラミ
ング用画面表示処理が行われてCRT8にラダープログ
ラミング用の画面表示が行われ、プログラム開発装置1
は各アクション毎にキーボード6よりラダー言語の規則
に従ってラダーによるリレー回路を自由に入力され得る
プログラム開発環境をユーザに与えるようになる(ステ
ップ60)。これによりユーザは、キーボード6よりラ
ダー言語の規則に従ってラダーによるリレー回路を自由
に入力できるようになり、ユーザにより図5に示されて
いる如きラダープログラムが各アクション毎に作成され
る(ステップ70)。完成されたプログラムはPC本体
15へ転送される(ステップ80)。
Next, the user issues a key operation to instruct the transition to the ladder program development environment for each action (step 50), and the ladder programming screen display process is performed to display the ladder programming screen on the CRT 8. is carried out, and the program development device 1
provides a program development environment in which the user can freely input a ladder relay circuit using the keyboard 6 according to the rules of the ladder language for each action (step 60). This allows the user to freely input a ladder relay circuit using the keyboard 6 according to the rules of the ladder language, and the user creates a ladder program for each action as shown in FIG. 5 (step 70). . The completed program is transferred to the PC main body 15 (step 80).

【0017】ラダーオンリーモード、即ちラダー式プロ
グラムモードが選択された場合は、プログラム開発装置
1は、図4に示されている如く、シーケンシャル・ファ
ンクション・チャート言語によるプログラムのステップ
を一つ自動作成し(ステップ90)、そしてこの一つの
ステップに付随する一つのアクションを自動生成し、ラ
ダープログラム開発環境を自動的に整備する(ステップ
100)。これによりラダープログラミング用画面表示
処理が行われてCRT8にラダープログラミング用の画
面表示が行われ、プログラム開発装置1は、ラダー式プ
ログラムモードが選択されるだけで、他のキー操作を要
することなくキーボード6よりラダー言語の規則に従っ
てラダーによるリレー回路を自由に入力され得るプログ
ラム開発環境をユーザに与えるようになる(ステップ6
0)。
When the ladder only mode, that is, the ladder type program mode is selected, the program development device 1 automatically creates one program step in the sequential function chart language, as shown in FIG. (Step 90), and one action accompanying this one step is automatically generated, and a ladder program development environment is automatically prepared (Step 100). As a result, the ladder programming screen display process is performed, and the ladder programming screen is displayed on the CRT 8, and the program development device 1 can use the keyboard without requiring any other key operations, simply by selecting the ladder programming mode. From Step 6, users are provided with a program development environment in which they can freely input ladder relay circuits according to the rules of the ladder language (Step 6).
0).

【0018】これによりユーザは一つのアクション内の
ラダープログラミングエリアをラダー言語によるプログ
ラム空間として認識し、ここにラダー言語のみによって
全プログラムが作成されるようになり、ユーザプログラ
ムのプログラミングが、シーケンシャル・ファンクショ
ン・チャート言語によるプログラムの知識を必要とする
ことなく行われる得るようになる。この場合、PC本体
は、一つのアクションのみのSFCプログラムであると
して、このユーザプログラムを他の一般的なSFCプロ
グラムの実行と同様に、何等処理シーケンスを変更する
ことなく実行することになる。
[0018] As a result, the user recognizes the ladder programming area within one action as a program space in the ladder language, and all programs are created here only in the ladder language, and the programming of the user program is performed using sequential functions.・It can be done without requiring any knowledge of programming using the chart language. In this case, the PC body assumes that the SFC program has only one action and executes this user program in the same way as other general SFC programs without changing the processing sequence.

【0019】[0019]

【発明の効果】以上の説明から理解される如く、本発明
によるプログラマブルコントローラのプログラム開発装
置によれば、チャート式プログラムモードが選択されれ
ば、ステップ、アクション、トランジション等のプログ
ラム要素がシーケンシャル・ファンクション・チャート
言語の規則に従って自由に入力され得るSFCプログラ
ム開発環境をユーザに与え、これに対しラダー式プログ
ラムモードが選択されれば、一つのステップとこれに付
随する一つのアクションが自動作成され、自動作成され
た一つのアクションをラダー言語によるプログラミング
空間としてユーザに与えるようになり、ここにラダー言
語のみによって全プログラムが作成され得るようになる
。これによりラダー言語しか理解できないユーザであっ
てもシーケンシャル・ファンクション・チャート言語に
よるユーザプログラムがプログラミングされるようにな
る。
As can be understood from the above description, according to the programmable controller program development apparatus according to the present invention, if the chart type program mode is selected, program elements such as steps, actions, and transitions can be converted into sequential functions.・Provides the user with an SFC program development environment in which input can be made freely according to the rules of the chart language, and if the ladder program mode is selected, one step and one accompanying action are automatically created, and the SFC program development environment is automatically created. One created action is given to the user as a programming space using the ladder language, and an entire program can be created here only using the ladder language. This allows users who only understand ladder language to program user programs in sequential function chart language.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明によるプログラマブルコントローラのプ
ログラム開発装置の一実施例を示すブロック線図。
FIG. 1 is a block diagram showing an embodiment of a program development device for a programmable controller according to the present invention.

【図2】本発明によるプログラマブルコントローラのプ
ログラム開発装置のプログラミングモードのフローチャ
ート。
FIG. 2 is a flowchart of a programming mode of the program development device for a programmable controller according to the present invention.

【図3】SFCプログラムの一例を示す説明図。FIG. 3 is an explanatory diagram showing an example of an SFC program.

【図4】ラダー式プログラムモード時の自動作成SFC
プログラムの一例を示す説明図。
[Figure 4] Automatically created SFC in ladder program mode
An explanatory diagram showing an example of a program.

【図5】ラダー式プログラムのリレー回路の一例を示す
説明図
[Figure 5] Explanatory diagram showing an example of a relay circuit of a ladder type program

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

1  プログラム開発装置 2  マイクロプロセッサ 3  システムプログラムメモリ 4  データメモリ 5  キーボードインタフェース 6  キーボード 7  ディスプレイインフェース 8  CRT 10  FDDインフェース 11  フロッピディスクドライバ 12  HDDインタフェース 13  ハードディスクユニット 14  PCインタフェース 15  PC本体 1 Program development equipment 2. Microprocessor 3. System program memory 4 Data memory 5 Keyboard interface 6 Keyboard 7 Display interface 8 CRT 10 FDD interface 11 Floppy disk driver 12 HDD interface 13 Hard disk unit 14 PC interface 15 PC body

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  プログラム要素として、ステップ、ス
テップに付随するアクション、トランジションを有し、
各ステップ間に設けられたトランジションの評価により
ステップの歩進を制御するシーケンシャル・ファンクシ
ョン・チャート言語によるユーザプログラムを実行する
プログラマブルコントローラのプログラム開発装置に於
いて、ステップ、アクション、トランジションをシーケ
ンシャル・ファンクション・チャート言語の規則に従っ
て入力するプログラム開発環境を生じる通常のチャート
式プログラムモード以外に、ラダー式プログラムモード
を有し、ラダー式プログラムモードに於いては、一つの
ステップとこれに付随する一つのアクションを自動作成
し、一つのアクションにてラダー言語によるプログラム
開発環境を生じるよう構成されていることを特徴とする
プログラマブルコントローラのプログラム開発装置。
Claim 1: Program elements include steps, actions accompanying the steps, and transitions;
In a program development device for a programmable controller that executes a user program using a sequential function chart language that controls the progression of steps by evaluating the transitions provided between each step, steps, actions, and transitions are In addition to the normal chart program mode, which creates a program development environment where input is performed according to the rules of the chart language, there is also a ladder program mode, in which one step and one accompanying action are executed. A program development device for a programmable controller, characterized in that it is configured to automatically create a program development environment using a ladder language with a single action.
JP40260190A 1990-12-17 1990-12-17 Programmable controller program development equipment Expired - Fee Related JP2653409B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40260190A JP2653409B2 (en) 1990-12-17 1990-12-17 Programmable controller program development equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40260190A JP2653409B2 (en) 1990-12-17 1990-12-17 Programmable controller program development equipment

Publications (2)

Publication Number Publication Date
JPH04216102A true JPH04216102A (en) 1992-08-06
JP2653409B2 JP2653409B2 (en) 1997-09-17

Family

ID=18512398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40260190A Expired - Fee Related JP2653409B2 (en) 1990-12-17 1990-12-17 Programmable controller program development equipment

Country Status (1)

Country Link
JP (1) JP2653409B2 (en)

Also Published As

Publication number Publication date
JP2653409B2 (en) 1997-09-17

Similar Documents

Publication Publication Date Title
US7954097B2 (en) Automatically analyzing and modifying a remote graphical program via a network
US5697788A (en) Algorithm training system
JP2671793B2 (en) Program generator usage specification simulation method and apparatus
JPH04216102A (en) Program developing device for programmable controller
JPH07152550A (en) Method for preparing object-oriented system
JPH0580814A (en) Programming device for programmable controller
JPH04294424A (en) Interactive screen controller for computer system
JPS6182228A (en) Level displaying system of hierarchical structure menu
JPH01233617A (en) Information processor
JPS581207A (en) Programmable programming device
JPH1021062A (en) Device and method for visual programming
JPH02263236A (en) Expert system
JPH1049355A (en) Development support method for work application program performing screen operation
JPS5884306A (en) Programming device of programmable controller
JPH05232857A (en) Educational system
JPS58105302A (en) Illustrating programming device of programmable controller
JPH05242095A (en) Display of manual for word processor
JPH05233295A (en) Supporting system for design type expert system construction
JPH0916218A (en) Programming device of programmable controller, and its sequence program preparing method
JPH0589047A (en) Control system for execution procedure of program
JPH0816091A (en) Simulator using device for operation training
JPH0619662A (en) Help display device for information processing sytem
JPH0210430A (en) Online program generating system
JPH0371207A (en) Numerical controller
JPH01152506A (en) Editing system for ladder program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970425

LAPS Cancellation because of no payment of annual fees