JP2653409B2 - Programmable controller program development equipment - Google Patents

Programmable controller program development equipment

Info

Publication number
JP2653409B2
JP2653409B2 JP40260190A JP40260190A JP2653409B2 JP 2653409 B2 JP2653409 B2 JP 2653409B2 JP 40260190 A JP40260190 A JP 40260190A JP 40260190 A JP40260190 A JP 40260190A JP 2653409 B2 JP2653409 B2 JP 2653409B2
Authority
JP
Japan
Prior art keywords
program
ladder
language
user
programmable controller
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.)
Expired - Fee Related
Application number
JP40260190A
Other languages
Japanese (ja)
Other versions
JPH04216102A (en
Inventor
速夫 密田
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
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 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)

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 device for a programmable controller, and more particularly to a program development device for a programmable controller that executes a user program in a sequential function chart (SFC) language.

【0002】[0002]

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

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

【0004】[0004]

【発明が解決しようとする課題】しかし、シーケンシャ
ル・ファンクション・チャート言語によるユーザプログ
ラムのプログラミングはラダー言語だけでは行えず、こ
れのプログラミングに於いては、プログラミングを行う
ユーザはラダー言語とは別にシーケンシャル・ファンク
ション・チャート言語を理解できなければならず、ユー
ザはシーケンシャル・ファンクション・チャート言語を
学習する必要がある。
However, the programming of the user program in the sequential function chart language cannot be performed only in the ladder language, and in this programming, the user who performs the programming uses the sequential function chart language separately from the ladder language. The function chart language must be understood, and the user needs to learn the sequential function chart language.

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

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

【0007】[0007]

【課題を解決するための手段】上述の如き目的は、本発
明によれば、プログラム要素として、ステップ、ステッ
プに付随するアクション、トランジションを有し、各ス
テップ間に設けられたトランジションの評価によりステ
ップの歩進を制御するシーケンシャル・ファンクション
・チャート言語によるユーザプログラムを実行するプロ
グラマブルコントローラのプログラム開発装置に於い
て、ステップ、アクション、トランジションをシーケン
シャル・ファンクション・チャート言語の規則に従って
入力するプログラム開発環境を生じる通常のチャート式
プログラムモード以外に、ラダー式プログラムモードを
有し、ラダー式プログラムモードに於いては、一つのス
テップとこれに付随する一つのアクションを自動作成
し、一つのアクションにてラダー言語によるプログラム
開発環境を生じるよう構成されていることを特徴とする
プログラマブルコントローラのプログラム開発装置によ
って達成される。
SUMMARY OF THE INVENTION According to the present invention, there is provided, according to the present invention, a program element having a step, an action associated with the step, and a transition, and the step is evaluated by evaluating a transition provided between the steps. 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 a program, a program development environment is created in which steps, actions, and transitions are input in accordance with the rules of the sequential function chart language 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 and one action It is accomplished by a programmable controller program development apparatus according to claim that is configured to produce a program development environment according to ladder language Te.

【0008】[0008]

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

【0009】[0009]

【実施例】以下に添付の図を参照して本発明を実施例に
ついて詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an embodiment of the present invention.

【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 device for a programmable controller according to the present invention.
The program development apparatus 1 includes a microprocessor 2, a system program memory 3 storing a system program for programming a user program, a data memory 4 storing a programmed user program and the like in a readable and writable manner, a keyboard interface 5, 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 connected to PC
The user program is transferred to and from the main body 15.

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

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

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

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

【0015】ラダーオンリーモードでない時、即ちチャ
ート式プログラムモードである時は、SFCプログラミ
ング用画面表示処理が行われてCRT8にSFCプログ
ラミング用の画面表示が行われ、プログラム開発装置1
はキーボード6よりステップ、アクション、トランジシ
ョン等のプログラム要素がシーケンシャル・ファンクシ
ョン・チャート言語の規則に従って自由に入力され得る
プログラム開発環境をユーザに与えるようになる(ステ
ップ20)。これによりユーザは、キーボード6よりス
テップ、アクション、トランジション等のプログラム要
素を入力できるようになり、ユーザにより図3に示され
ている如きSFCプログラムが作成され(ステップ3
0)、またユーザにより各ステップに応じて必要なアク
ションが生成される(ステップ40)。
When the mode is not the ladder only mode, that is, when the mode is the chart type program mode, an SFC programming screen display process is performed, and an SFC programming screen is displayed on the CRT 8.
Provides the user with a program development environment in which program elements such as steps, actions, and transitions can be freely input from the keyboard 6 in accordance with 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 3).
0), 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, when an instruction to shift to the ladder program development environment is issued for each action by a key operation by the user (step 50), a ladder programming screen display process is performed and a ladder programming screen is displayed on the CRT 8. Is performed and the program development device 1
Provides the user with a program development environment in which a ladder relay circuit can be freely input from the keyboard 6 in accordance with the rules of the ladder language for each action (step 60). This allows the user to freely input a relay circuit using a ladder from the keyboard 6 in accordance with the rules of the ladder language, and the user creates a ladder program as shown in FIG. 5 for each action (step 70). . The completed program is transferred to the PC body 15 (step 80).

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

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

【0019】[0019]

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

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

【図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 a 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
プログラムの一例を示す説明図。
FIG. 4 Automatically created SFC in ladder program mode
Explanatory drawing showing an example of a program.

【図5】ラダー式プログラムのリレー回路の一例を示す
説明図
FIG. 5 is an 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本体 DESCRIPTION OF SYMBOLS 1 Program development apparatus 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)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 プログラム要素として、ステップ、ステ
ップに付随するアクション、トランジションを有し、各
ステップ間に設けられたトランジションの評価によりス
テップの歩進を制御するシーケンシャル・ファンクショ
ン・チャート言語によるユーザプログラムを実行するプ
ログラマブルコントローラのプログラム開発装置に於い
て、ステップ、アクション、トランジションをシーケン
シャル・ファンクション・チャート言語の規則に従って
入力するプログラム開発環境を生じる通常のチャート式
プログラムモード以外に、ラダー式プログラムモードを
有し、ラダー式プログラムモードに於いては、一つのス
テップとこれに付随する一つのアクションを自動作成
し、一つのアクションにてラダー言語によるプログラム
開発環境を生じるよう構成されていることを特徴とする
プログラマブルコントローラのプログラム開発装置。
1. A user program in a sequential function chart language which has, as program elements, a step, an action associated with the step, and a transition, and controls the progress of the step by evaluating a transition provided between the steps. The program development device of the programmable controller to be executed has a ladder-type program mode in addition to a normal chart-type program mode that creates a program development environment in which steps, actions, and transitions are entered according to the rules of the sequential function chart language. In the ladder program mode, one step and one accompanying action are automatically created, and one action creates a program development environment in ladder language. A program development device for a programmable controller, comprising:
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 JPH04216102A (en) 1992-08-06
JP2653409B2 true 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
JPH04216102A (en) 1992-08-06

Similar Documents

Publication Publication Date Title
US7543281B2 (en) Disabling and conditionally compiling graphical code in a graphical program
US7137071B2 (en) System and method for providing suggested graphical programming operations
KR950012071B1 (en) Data processing system
JPH07261969A (en) Method for constituting definition file for hierarchical structure menu
JP3461400B2 (en) Sequence control program creation device
KR20060128747A (en) Program creation apparatus, program creation method and program
JPH07160462A (en) Screen display controller
JP2671793B2 (en) Program generator usage specification simulation method and apparatus
JP2653409B2 (en) Programmable controller program development equipment
JPH01177609A (en) Simulation system for pc
JPH1097559A (en) Computer-aided operation device and its guidance organization method
JPH06274304A (en) Computer system provided with graphical user interface and its control method
JPH0580814A (en) Programming device for programmable controller
JPH08147265A (en) Method and device for verifying operability
US8132146B2 (en) Input of program instructions in imperative programming languages
JP3486607B2 (en) System development method and apparatus, and recording medium
JPS58105302A (en) Illustrating programming device of programmable controller
JP3085417B2 (en) Substrate CAD system
JPS5884306A (en) Programming device of programmable controller
JP2000347840A (en) Device and method for automatically generating source program and recording medium where same method is recorded
JPH02263227A (en) Display controller
JPH09292963A (en) Graphical user interface
JP2601533B2 (en) Data processing device
JP2002200830A (en) Display
JPH1011260A (en) Intra-window data registration method, recording medium, and computer system

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