JP2000242307A - Method and device for assisting program generation - Google Patents

Method and device for assisting program generation

Info

Publication number
JP2000242307A
JP2000242307A JP11040106A JP4010699A JP2000242307A JP 2000242307 A JP2000242307 A JP 2000242307A JP 11040106 A JP11040106 A JP 11040106A JP 4010699 A JP4010699 A JP 4010699A JP 2000242307 A JP2000242307 A JP 2000242307A
Authority
JP
Japan
Prior art keywords
program
text
ladder
mnemonic
list block
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
JP11040106A
Other languages
Japanese (ja)
Other versions
JP3570489B2 (en
Inventor
Tsunetaka Muranaka
常高 村中
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 JP04010699A priority Critical patent/JP3570489B2/en
Publication of JP2000242307A publication Critical patent/JP2000242307A/en
Application granted granted Critical
Publication of JP3570489B2 publication Critical patent/JP3570489B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To generate a mnemonic program and a ladder program from data generated in a text editor by pasting a text in a statement list block in a ladder window. SOLUTION: A program in text format (mnemonic language) is generated (S201) by using an external text editor. This text is copied on the display of a personal computer (S202) and pasted in the statement list block on the display (S203). The adequacy of the pasted text is checked (S204). After the adequacy check, it is checked whether the text contents are proper (S205); when not, an error display is made and when the contents are proper, the text generated through the function of the external text editor is pasted as a mnemonic program (S207).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、プログラム作成
支援方法および装置に関し、詳しくは、プログラマブル
コントローラで使用するラダープログラムの作成を支援
するプログラム作成支援方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for supporting program creation, and more particularly, to a method and apparatus for assisting creation of a ladder program used in a programmable controller.

【0002】[0002]

【従来の技術】近年、センサ,アクチュエータ等を制御
するプログラマブルコントローラ(PLC)は、例えば
図11に示すように、CPUユニット50と、システム
バス90を介してCPUユニット50と接続するNCユ
ニット等からなる高機能I/Oユニット60および他の
通信ユニットとデータを送受信する通信ユニット70と
から構成されている。
2. Description of the Related Art In recent years, a programmable controller (PLC) for controlling sensors, actuators, and the like includes, for example, a CPU unit 50 and an NC unit connected to the CPU unit 50 via a system bus 90, as shown in FIG. A high-performance I / O unit 60 and a communication unit 70 for transmitting and receiving data to and from other communication units.

【0003】CPUユニット50は、ラック上に有する
高機能I/Oユニット60および通信ユニット70を制
御するようになっているとともに、ツールケーブル10
0を介してデータを設定させるツール(アプリケーショ
ンソフトウェア)1,高機能I/Oユニット60でモニ
タリングを実行させるツール2(アプリケーションソフ
トウェア)を稼働させるパーソナルコンピュータ80と
接続するようになっている。
The CPU unit 50 controls a high-performance I / O unit 60 and a communication unit 70 provided on a rack.
0, a personal computer 80 for running a tool (application software) for setting data and a tool 2 (application software) for executing monitoring by the high-performance I / O unit 60.

【0004】高機能I/Oユニット60は、特殊な制
御、例えばNC制御,PID制御等を実施するものであ
る。
The high-performance I / O unit 60 performs special control, for example, NC control, PID control and the like.

【0005】通信ユニット70は、他のノードとなる別
のCPUユニット50または高機能I/Oユニット60
とデータを送受信するようになっている。
The communication unit 70 is provided with another CPU unit 50 or high-performance I / O unit 60 serving as another node.
And send and receive data.

【0006】[0006]

【発明が解決しようとする課題】ところで、上述したプ
ログラマブルコントローラシステムにおいて、プログラ
マブルコントローラで使用するラダープログラムを作成
する場合は、 1)ラダー言語でラダープログラムを直接作成する 2)ニモニック言語でニモニックプログラムを作成し、
これをラダープログラムに変換する 等の手法が知られているが、いずれの手法も専門的な知
識が必要であるとともに非常に手間がかかるという問題
があった。
In the above-described programmable controller system, when a ladder program to be used in a programmable controller is created, 1) a ladder program is created directly in a ladder language. 2) A mnemonic program is created in a mnemonic language. make,
Techniques such as converting this to a ladder program are known, but all of these techniques require specialized knowledge and are very laborious.

【0007】そこで、この発明は上述した問題点に鑑
み、プログラマブルコントローラで使用するラダープロ
グラムの作成処理を支援するプログラム作成支援方法お
よび装置を提供することを目的とする。
It is an object of the present invention to provide a method and an apparatus for supporting creation of a ladder program for use in a programmable controller in view of the above-mentioned problems.

【0008】[0008]

【課題を解決するための手段】上述の目的を達成するた
めに、この発明においては、テキストエディタで作成し
たデータからニモニックプログラムおよびラダープログ
ラムを作成可能に構成する。
In order to achieve the above-mentioned object, according to the present invention, a mnemonic program and a ladder program can be created from data created by a text editor.

【0009】例えば、メモ帳などのテキストエディタで
ニモニックプログラムを作成し、これをラダーウインド
ウ上のステートメントリストブロックに貼り付けるだけ
でニモニックプログラムとして使用できるようになり、
更にそのプログラムをラダー図形表示させることができ
るように構成されている。
For example, a mnemonic program can be created by using a text editor such as a memo pad and pasted to a statement list block on a ladder window to be used as a mnemonic program.
Further, the program is configured to be able to display a ladder graphic.

【0010】すなわち、請求項1の発明においては、プ
ログラマブルコントローラで使用するラダープログラム
の作成を支援するプログラム作成支援方法において、テ
キストエディタでニモニック言語からなるプログラムを
テキストとして作成し、該テキストエディタで作成した
テキストをラダーウインドウ上のステートメントリスト
ブロックに貼り付けることによりニモニックプログラム
としての使用を可能にするとともに、該ニモニックプロ
グラムをラダー図形に変換してラダーウインドウ上に表
示することを特徴とする。
That is, according to the first aspect of the present invention, in a program creation supporting method for assisting creation of a ladder program used in a programmable controller, a program composed of a mnemonic language is created as text by a text editor and created by the text editor. The mnemonic program can be used as a mnemonic program by pasting the created text to a statement list block on the ladder window, and the mnemonic program is converted into a ladder figure and displayed on the ladder window.

【0011】また、請求項2の発明においては、プログ
ラマブルコントローラで使用するラダープログラムの作
成を支援するプログラム作成支援装置において、テキス
トエディタで作成したニモニック言語からなるテキスト
を入力し、該テキストをニモニックプログラムとして使
用可能にするステートメントリストブロック手段と、上
記ニモニックプログラムをラダー図形へ変換する変換手
段と、上記変換手段により変換されたラダー図形をラダ
ーウインドウ上に表示する表示制御手段と、を具備する
ことを特徴とする。
According to a second aspect of the present invention, in a program creation supporting device for assisting creation of a ladder program used by a programmable controller, a text composed of a mnemonic language created by a text editor is input, and the text is converted to a mnemonic program. Statement list block means for converting the mnemonic program into a ladder graphic, and display control means for displaying the ladder graphic converted by the conversion means on a ladder window. Features.

【0012】[0012]

【発明の実施の形態】以下、この発明に係るプログラム
作成支援方法および装置を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a method and an apparatus for supporting program creation according to the present invention will be described with reference to the drawings.

【0013】図1はこの発明に係るプログラム作成支援
方法および装置を適用して構成したプログラマブルロジ
ックコントローラシステムの一実施の形態を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a programmable logic controller system configured by applying a program creation support method and apparatus according to the present invention.

【0014】この実施の形態のプログラマブルロジック
コントローラシステム(以下、PLCシステムという)
は、センサ,アクチュエータ等の制御対象機器を制御す
る第1のプログラマブルコントローラ(以下、第1のP
LCという、)1および第2のプログラマブルコントロ
ーラ(以下、第2のPLCという)1aと、後述するツ
ールを稼働するパーソナルコンピュータ(以下、パソコ
ンという)2とから構成されている。
A programmable logic controller system according to this embodiment (hereinafter referred to as a PLC system)
Is a first programmable controller (hereinafter referred to as a first programmable controller) that controls a device to be controlled such as a sensor or an actuator.
LC), a second programmable controller (hereinafter, referred to as a second PLC) 1a, and a personal computer (hereinafter, referred to as a personal computer) 2 that runs a tool described later.

【0015】第1のPLC1は、CPUユニット11
と、高機能ユニット12と、通信ユニット13とを備え
ており、これらがデータバス,アドレスバス等からなる
システムバス14と接続された構成になっている。
The first PLC 1 includes a CPU unit 11
, A high-performance unit 12 and a communication unit 13, which are connected to a system bus 14 including a data bus, an address bus, and the like.

【0016】CPUユニット11は、ラック上に有する
高機能I/Oユニット12および通信ユニット13を制
御するとともに、ツールケーブル3を介してパソコン2
と接続されており、パソコン2から受信したツールの所
定処理を実行するようになっている。
The CPU unit 11 controls the high-performance I / O unit 12 and the communication unit 13 provided on the rack, and controls the personal computer 2 via the tool cable 3.
And executes a predetermined process of the tool received from the personal computer 2.

【0017】このCPUユニット11は、CPUユニッ
ト自身を制御するマイクロコンピュータ(マイコン)1
11と、マイクロコンピュータ111がシステムバス1
4を介して各ユニット12,13にアクセスするための
インタフェースを行うマイコンバスASIC112と、
ツールからの受信データ(以下、コマンドメッセージと
いう)を複数格納するとともにツールに対して送信する
送信データ(レスポンスメッセージという)を格納する
メモリ113と、通信処理を行う通信処理プログラムを
格納する通信処理プログラムメモリ114とを有するよ
うな構成になっている。
The CPU unit 11 is a microcomputer (microcomputer) 1 for controlling the CPU unit itself.
11 and the microcomputer 111 are connected to the system bus 1
A microcomputer bus ASIC 112 for providing an interface for accessing each of the units 12 and 13 through the microcomputer 4;
A memory 113 for storing a plurality of data received from the tool (hereinafter, referred to as a command message) and for storing transmission data (a response message) to be transmitted to the tool, and a communication processing program for storing a communication processing program for performing a communication process The memory 114 is provided.

【0018】高機能I/Oユニット12は、特殊な制御
を行うためユニット、例えばNCユニット等であり、高
機能I/Oユニット自身を制御するマイクロコンピュー
タ(マイコン)121と、システムバス14とこのユニ
ットのインタフェースを行うバスASIC122と、C
PUユニット11から送信されてきたコマンドおよびC
PUユニット11に対して送信するレスポンスを格納す
るメモリ123とを有するような構成になっている。
The high-performance I / O unit 12 is a unit for performing special control, for example, an NC unit. The microcomputer 121 controls the high-performance I / O unit itself, the system bus 14 and A bus ASIC 122 for interfacing the units;
Command and C transmitted from PU unit 11
The configuration includes a memory 123 that stores a response to be transmitted to the PU unit 11.

【0019】通信ユニット13は、CPUユニット11
から受信したコマンドメッセージを、接続している他の
ノードに有する通信ユニットに送信するとともに、それ
に対するレスポンス等を受信し、これをCPUユニット
11に送信するようになっており、通信ユニット自身を
制御するマイクロコンピュータ(マイコン)131と、
システムバス14とこのユニットのインタフェースを行
うバスASIC132と、CPUユニット11から送信
されてきたコマンド等およびCPUユニット11に対し
て送信するレスポンスメッセージを格納するメモリ13
3とを有する構成になっている。
The communication unit 13 includes a CPU unit 11
And transmits a command message received from the communication unit to the communication unit of the other connected node, and receives a response thereto and the like to the CPU unit 11 to control the communication unit itself. A microcomputer (microcomputer) 131,
A bus ASIC 132 for interfacing the system bus 14 with this unit; and a memory 13 for storing commands and the like transmitted from the CPU unit 11 and response messages to be transmitted to the CPU unit 11.
3 is provided.

【0020】パーソナルコンピュータ2は、表示画面上
に複数のウィンドウを表示できるものであって、このウ
ィンドウを使用して複数のツール21(アプリケーショ
ンソフトウェア)(図面上では#1のツール21および
#2のツール21)を実行するようになっている。
The personal computer 2 is capable of displaying a plurality of windows on a display screen. Using the windows, a plurality of tools 21 (application software) (in the drawing, the tools 21 and # 2 of the tools # 1 and # 2) are displayed. A tool 21) is executed.

【0021】さて、この実施の形態のPLCシステムに
おいては、第1のPLC1若しくは第2のPLC1aを
駆動するためのラダープログラムの作成を外部テキスト
エディタで作成したデータから作成可能に構成し、これ
により設計効率の向上を図っている。
In the PLC system of this embodiment, a ladder program for driving the first PLC 1 or the second PLC 1a can be created from data created by an external text editor. The design efficiency is being improved.

【0022】すなわち、この実施の形態のPLCシステ
ムにおいては、第1のPLC1若しくは第2のPLC1
aを駆動するためのラダープログラムをパーソナルコン
ピュータ2で作成する場合は、メモ帳などのテキストエ
ディタを用いてニモニックプログラムを作成する。
That is, in the PLC system of this embodiment, the first PLC 1 or the second PLC 1
When a ladder program for driving a is created by the personal computer 2, a mnemonic program is created using a text editor such as a memo pad.

【0023】そして、図2に示すように、まず、このメ
モ帳などのテキストエディタで作成したニモニックをコ
ピーし、これをラダーウインドウ上のステートメントリ
ストブロックに貼り付ける。
Then, as shown in FIG. 2, first, the mnemonic created by a text editor such as Notepad is copied and pasted to a statement list block on the ladder window.

【0024】これにより、ステートメントリストブロッ
クに貼り付けられたニモニックは、ニモニックプログラ
ムとして使用可能になる。
Thus, the mnemonics pasted on the statement list block can be used as a mnemonic program.

【0025】更に、このニモニックプログラムは、ラダ
ー図に変換してラダーウインドウ上に表示することがで
きる。
Furthermore, this mnemonic program can be converted into a ladder diagram and displayed on a ladder window.

【0026】すなわち、この実施の形態のPLCシステ
ムにおいては、外部テキストエディタで作成した文字列
をラダープログラムとして取り込むことができ、更にこ
の取り込んだラダープログラムをラダー表示することも
可能となるものである。
That is, in the PLC system according to the present embodiment, a character string created by an external text editor can be imported as a ladder program, and the ladder program can be displayed as a ladder. .

【0027】図3は、この実施の形態におけるプログラ
ム作成支援処理の全体動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the overall operation of the program creation support processing in this embodiment.

【0028】図3において、このプログラム作成支援処
理においては、ます、外部テキストエディタでテキスト
形式(ニモニック言語)のプログラムを作成する(ステ
ップ201)。
Referring to FIG. 3, in this program creation support processing, a text format (mnemonic language) program is created with an external text editor (step 201).

【0029】そして、この外部テキストエディタの機能
において作成したテキストをパーソナルコンピュータ2
のディスプレイ上でコピーして(ステップ202)、こ
れを本ツール、すなわち、パーソナルコンピュータ2の
ディスプレイのステートメントリストブロックに貼り付
ける(ステップ203)。
Then, the text created by the function of the external text editor is transferred to the personal computer 2.
Is copied on the display (step 202), and this is pasted to this tool, that is, the statement list block of the display of the personal computer 2 (step 203).

【0030】次に、このステートメントリストブロック
に貼り付けられたテキストの正当性チェック処理を実行
する(ステップ204)。このテキストの正当性チェッ
ク処理の詳細は後に図4のフローチャートを参照して詳
述する。
Next, the validity check processing of the text pasted to the statement list block is executed (step 204). The details of the text validity check processing will be described later with reference to the flowchart of FIG.

【0031】上記テキストの正当性チェック処理の後、
テキスト内容が正当かを調べ(ステップ205)、正当
でない場合は(ステップ205でNo)、エラー表示
し、正当である場合は(ステップ205でYes)、外
部テキストエディタの機能において作成したテキストの
ニモニックプログラムとしての貼り付け処理を完了する
(ステップ207)。
After the text validity check process,
It is checked whether the text content is valid (step 205). If it is not valid (No at step 205), an error is displayed. If it is valid (Yes at step 205), the mnemonic of the text created by the function of the external text editor is used. The pasting process as a program is completed (step 207).

【0032】図4は、図3に示したステップ204のス
テートメントリストブロックに貼り付けられたテキスト
の正当性チェック処理の詳細を示すフローチャートであ
る。
FIG. 4 is a flowchart showing details of the validity check processing of the text pasted on the statement list block in step 204 shown in FIG.

【0033】図4において、まず、ステートメントリス
トブロックに貼り付けられたテキストをメモリ上に展開
する(ステップ211)。
In FIG. 4, first, the text pasted on the statement list block is expanded on the memory (step 211).

【0034】次に、メモリ上に展開されたステートメン
トリストブロックに貼り付けられたテキストの1行の処
理を実行し(ステップ212)、命令語とアドレス部分
を分解する(ステップ213)。そして、命令語の構文
チェック(命令語列が正しいかのチェック)を行う(ス
テップ214)。
Next, the processing of one line of the text pasted to the statement list block expanded on the memory is executed (step 212), and the instruction word and the address part are decomposed (step 213). Then, the syntax of the command word is checked (check whether the command word string is correct) (step 214).

【0035】このチェックにより、テキスト内容が正当
でないと判断されると(ステップ215でNo)、エラ
ー表示を行う(ステップ216)。
If it is determined by this check that the text content is not valid (No in step 215), an error is displayed (step 216).

【0036】また、ステップ215で、テキスト内容が
正当であると判断されると(ステップ215でYe
s)、次に、アドレスの構文チェック〈アドレス文字列
のエリア、範囲が正しいかのチェック)を行う(ステッ
プ217)。
If it is determined in step 215 that the text content is valid (Yes in step 215).
s) Then, the address syntax check (check whether the address character string area and range are correct) is performed (step 217).

【0037】このチェックにより、テキスト内容が正当
でないと判断されると(ステップ218でNo)、エラ
ー表示を行う(ステップ219)。
If it is determined by this check that the text content is not valid (No in step 218), an error is displayed (step 219).

【0038】また、ステップ218で、テキスト内容が
正当であると判断されると(ステップ218でYe
s)、次に、テキスト内容が最終行かを調べる(ステッ
プ220)。
If it is determined in step 218 that the text content is valid (Yes in step 218).
s) Then, it is checked whether the text content is the last line (step 220).

【0039】ここで、最終行でない場合は(ステップ2
20でNo)、ステップ212に戻り各行のチェックを
繰り返すが、ステップ220でテキスト内容が最終行で
あると判断されると(ステップ220でYes)、処理
終了、すなわち貼り付けられたテキストが正当であると
判断する(ステップ221)。
If it is not the last line (step 2
(No in 20), the process returns to step 212, and the check of each line is repeated. When it is determined in step 220 that the text content is the last line (Yes in step 220), the processing ends, that is, the pasted text is valid It is determined that there is (Step 221).

【0040】次に、ユーザによりステートメントリスト
ブロックに貼り付けられたニモニックプログラムをラダ
ー図形へ変換するラダー変換ユーザ要求があるかが調べ
られる(ステップ222)。ここで、ラダー変換ユーザ
要求がない場合は(ステップ222でNo)、何もしな
い(ステップ223)。
Next, it is checked whether there is a ladder conversion user request for converting the mnemonic program pasted on the statement list block by the user into a ladder figure (step 222). If there is no ladder conversion user request (No in step 222), nothing is performed (step 223).

【0041】また、ステップ222で、ラダー変換ユー
ザ要求があると判断された場合は(ステップ222でY
es)、テキストに対してラダー図形への変換処理を行
い(ステップ224)、このラダー図形に変換した結果
をラダーウインドウに表示する(ステップ225)。
If it is determined in step 222 that there is a ladder conversion user request (Y in step 222
es), the text is converted into a ladder graphic (step 224), and the result of the conversion to the ladder graphic is displayed in a ladder window (step 225).

【0042】なお、ステップ224のテキストに対して
ラダー図形への変換処理は公知の技術を採用することが
できるので、この明細書では詳細説明は省略する。
Since the conversion of the text into the ladder graphic in step 224 can be performed by using a known technique, detailed description is omitted in this specification.

【0043】さて、この実施の形態において、ステート
メントリストブロックは、ラダーウインドウ内で、ニモ
ニックによる入力を可能にするために導入される。この
ステートメントリストブロックは、 1)ブロックプログラム(ラダー図で表現できない回
路)をラダーウインドウ上で書き込むとき 2)エディタやワープロを使ってニモニックで書き込ん
だテキストをラダーウインドウに取り込むとき 等に用いることができる。
Now, in this embodiment, a statement list block is introduced in the ladder window to enable mnemonic input. This statement list block can be used for 1) when writing a block program (a circuit that cannot be expressed in a ladder diagram) on the ladder window 2) when loading text written by mnemonic using an editor or word processor into the ladder window .

【0044】また、 1)PLC(CPUユニット)からプログラムを転送し
たときに、プログラムにエラーが含まれていて回路にで
きないとき 2)旧サポートソフトからプログラムをインポートした
とき 等においては、ステートメントリストブロックに回路が
表示される。
Also, 1) When a program is transferred from a PLC (CPU unit), when the program contains an error and cannot be made into a circuit. 2) When a program is imported from old support software. The circuit is displayed in.

【0045】この装置の表示画面上において、ステート
メントリストブロックを表示させる場合は、図5に示す
ように、ラダーウインドウ上の左端のセルにカーソルを
移動し、例えば、[L]キーを押すか、[挿入]、[ステ
ートメントリストブロック]を選択する。これにより、
図6に示すように、ステートメントリストブロックが表
示され、カーソルが点滅し、ニモニック入力が行える状
態になる。
To display a statement list block on the display screen of this device, as shown in FIG. 5, move the cursor to the leftmost cell on the ladder window and, for example, press the [L] key or Select Insert, Statement List Block. This allows
As shown in FIG. 6, the statement list block is displayed, the cursor blinks, and the mnemonic input can be performed.

【0046】ここで、ステートメントリストブロック
に、ニモニックで命令を書き込むか、エディタなどで書
き込んだ命令を貼り付ける。
Here, an instruction is written into the statement list block by mnemonic, or the instruction written by an editor or the like is pasted.

【0047】図7は、ステートメントリストブロックに
対する書き込みの一例を示す図である。
FIG. 7 is a diagram showing an example of writing to the statement list block.

【0048】図7において、アドレスの上位桁の0は省
略できる。この例では[W1]と入力することができ
る。
In FIG. 7, the upper digit 0 of the address can be omitted. In this example, [W1] can be input.

【0049】また、カーソルをステートメントリストブ
ロック以外へ移動させたとき、自動的にこのように変換
される。
When the cursor is moved to a position other than the statement list block, the data is automatically converted as described above.

【0050】また、ステートメントリストブロックに入
力した回路にエラーがある場合は、ステートメントリス
トブロックを配置した行の左母線が赤色で表示される。
If there is an error in the circuit input to the statement list block, the left bus of the line where the statement list block is arranged is displayed in red.

【0051】また、回路ヘッダエリアをクリックするこ
とによりステートメントリストブロックを選択した後、
回路の正規化([Ctrl]+[R])を実行すると、
エラーがない場合、ステートメントリストブロック内の
回路がラダー図で表示される。なお、ラダー図をステー
トメントリストブロックへ変更することはできない。
After selecting the statement list block by clicking the circuit header area,
When circuit normalization ([Ctrl] + [R]) is performed,
If there are no errors, the circuits in the statement list block are displayed in a ladder diagram. The ladder diagram cannot be changed to a statement list block.

【0052】ステートメントリストブロックに対するブ
ロックプログラムの書き込みの一例を示すと図8のよう
になる。
FIG. 8 shows an example of writing a block program to the statement list block.

【0053】次に、ステートメントリストブロックに対
する行コメントの入力について説明する。
Next, input of a line comment to the statement list block will be described.

【0054】ステートメントリストブロックへ行コメン
トを入力する場合は、 1)行頭に「’」(シングルコーテーション)を入力する 2)続けて行コメントを入力する ように操作する。
To input a line comment to the statement list block, 1) input "'" (single quote) at the beginning of the line. 2) operate to input a line comment continuously.

【0055】上記ステートメントリストブロックに対す
る行コメントの入力例を示すと図9のようになる。
FIG. 9 shows an example of inputting a line comment to the statement list block.

【0056】次に、ステートメントリストブロックに対
する付箋紙の入力について説明する。
Next, the input of a sticky note to the statement list block will be described.

【0057】ステートメントリストブロックへ付箋紙を
入力する場合は、 1)行頭に「//」(スラッシュ2つ)を入力する 2)続けてコメントを入力する ように操作する。
When inputting a sticky note to the statement list block, 1) input "//" (two slashes) at the beginning of a line. 2) operate to input a comment continuously.

【0058】上記ステートメントリストブロックに対す
る付箋紙の入力例を示すと図10のようになる。
FIG. 10 shows an example of inputting a sticky note to the statement list block.

【0059】[0059]

【発明の効果】以上説明したように請求項1の発明にお
いては、プログラマブルコントローラで使用するラダー
プログラムの作成を支援するプログラム作成支援方法に
おいて、テキストエディタでニモニック言語からなるプ
ログラムをテキストとして作成し、該テキストエディタ
で作成したテキストをラダーウインドウ上のステートメ
ントリストブロックに貼り付けることによりニモニック
プログラムとしての使用を可能にするとともに、該ニモ
ニックプログラムをラダー図形に変換してラダーウイン
ドウ上に表示するように構成したので、テキストエディ
タで作成したデータからニモニック/ラダープログラム
を容易に作成、確認することが可能になる。
As described above, according to the first aspect of the present invention, there is provided a program creation supporting method for assisting creation of a ladder program used in a programmable controller, wherein a program composed of a mnemonic language is created as text by a text editor. By pasting the text created by the text editor into the statement list block on the ladder window, it can be used as a mnemonic program, and the mnemonic program is converted into a ladder figure and displayed on the ladder window. Therefore, it is possible to easily create and confirm a mnemonic / ladder program from data created by a text editor.

【0060】また、請求項2の発明においては、プログ
ラマブルコントローラで使用するラダープログラムの作
成を支援するプログラム作成支援装置において、テキス
トエディタで作成したニモニック言語からなるテキスト
を入力し、該テキストをニモニックプログラムとして使
用可能にするステートメントリストブロック手段と、上
記ニモニックプログラムをラダー図形へ変換する変換手
段と、上記変換手段により変換されたラダー図形をラダ
ーウインドウ上に表示する表示制御手段と、を具備して
構成したので、テキストエディタで作成したデータから
ニモニック/ラダープログラムを容易に作成、確認する
ことが可能になるプログラム作成支援装置を提供するこ
とができる。
According to a second aspect of the present invention, in a program creation supporting device for assisting creation of a ladder program used by a programmable controller, a text composed of a mnemonic language created by a text editor is input, and the text is converted to a mnemonic program. Statement list block means for converting the mnemonic program into a ladder graphic, and display control means for displaying the ladder graphic converted by the conversion means on a ladder window. Therefore, it is possible to provide a program creation support device that can easily create and confirm a mnemonic / ladder program from data created by a text editor.

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

【図1】この発明に係るプログラム作成支援方法および
装置を適用して構成したプログラマブルロジックコント
ローラシステムの一実施の形態を示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a programmable logic controller system configured by applying a program creation support method and apparatus according to the present invention.

【図2】この実施の形態におけるプログラム作成支援処
理の基本処理を説明する図。
FIG. 2 is an exemplary view for explaining a basic process of a program creation support process according to the embodiment;

【図3】この実施の形態におけるプログラム作成支援処
理の全体動作を示すフローチャート。
FIG. 3 is a flowchart showing an overall operation of a program creation support process according to the embodiment;

【図4】図3に示したステートメントリストブロックに
貼り付けられたテキストの正当性チェック処理の詳細を
示すフローチャート。
FIG. 4 is a flowchart showing details of a validity check process of text pasted on the statement list block shown in FIG. 3;

【図5】この実施の形態におけるプログラム作成支援処
理で採用されるステートメントリストブロックを表示さ
せる操作を説明する図。
FIG. 5 is an exemplary view for explaining an operation for displaying a statement list block employed in the program creation support processing according to the embodiment;

【図6】この実施の形態におけるプログラム作成支援処
理で採用されるステートメントリストブロックの表示例
を示す図。
FIG. 6 is a view showing a display example of a statement list block employed in the program creation support processing according to the embodiment.

【図7】この実施の形態におけるプログラム作成支援処
理で採用されるステートメントリストブロックに対する
書き込みの一例を示す図。
FIG. 7 is a diagram showing an example of writing to a statement list block employed in the program creation support processing according to the embodiment.

【図8】この実施の形態におけるプログラム作成支援処
理で採用されるステートメントリストブロックに対する
ブロックプログラムの書き込みの一例を示す図。
FIG. 8 is a diagram showing an example of writing a block program into a statement list block employed in the program creation support processing according to the embodiment.

【図9】この実施の形態におけるプログラム作成支援処
理で採用されるステートメントリストブロックに対する
行コメントの入力例を示す図。
FIG. 9 is an exemplary diagram showing an example of inputting a line comment to a statement list block employed in the program creation support processing according to the embodiment;

【図10】この実施の形態におけるプログラム作成支援
処理で採用されるステートメントリストブロックに対す
る付箋紙の入力例を示す
FIG. 10 shows an example of input of a sticky note to a statement list block adopted in the program creation support processing in this embodiment.

【図11】従来のプログラマブルロジックコントローラ
システムの一例を示すブロック図。
FIG. 11 is a block diagram showing an example of a conventional programmable logic controller system.

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

1,1a プログラマブルコントローラ 11 CPUユニット 111 マイクロコンピュータ 112 バスASIC 113 メモリ 114 通信処理プログラム格納メモリ 12 高機能ユニット 121 マイクロコンピュータ 122 バスASIC 123 メモリ 13 通信ユニット 131 マイクロコンピュータ 132 バスASIC 133 メモリ 14 システムバス 2 パーソナルコンピュータ 3 ツールケーブル 1, 1a Programmable controller 11 CPU unit 111 Microcomputer 112 Bus ASIC 113 Memory 114 Communication processing program storage memory 12 High function unit 121 Microcomputer 122 Bus ASIC 123 Memory 13 Communication unit 131 Microcomputer 132 Bus ASIC 133 Memory 14 System bus 2 Personal Computer 3 tool cable

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブルコントローラで使用する
ラダープログラムの作成を支援するプログラム作成支援
方法において、 テキストエディタでニモニック言語からなるプログラム
をテキストとして作成し、 該テキストエディタで作成したテキストをラダーウイン
ドウ上のステートメントリストブロックに貼り付けるこ
とによりニモニックプログラムとしての使用を可能にす
るとともに、該ニモニックプログラムをラダー図形に変
換してラダーウインドウ上に表示することを特徴とする
プログラム作成支援方法。
1. A program creation supporting method for assisting creation of a ladder program used in a programmable controller, wherein a text editor is used to create a mnemonic language program as a text, and the text created by the text editor is used as a statement in a ladder window. A program creation support method characterized in that it can be used as a mnemonic program by pasting it on a list block, and the mnemonic program is converted into a ladder figure and displayed on a ladder window.
【請求項2】 プログラマブルコントローラで使用する
ラダープログラムの作成を支援するプログラム作成支援
装置において、 テキストエディタで作成したニモニック言語からなるテ
キストを入力し、該テキストをニモニックプログラムと
して使用可能にするステートメントリストブロック手段
と、 上記ニモニックプログラムをラダー図形へ変換する変換
手段と、 上記変換手段により変換されたラダー図形をラダーウイ
ンドウ上に表示する表示制御手段と、 を具備することを特徴とするプログラム作成支援装置。
2. A program creation support device for assisting creation of a ladder program used in a programmable controller, wherein a text consisting of a mnemonic language created by a text editor is input and a statement list block for making the text usable as a mnemonic program. Means for converting the mnemonic program into a ladder graphic, and display control means for displaying the ladder graphic converted by the conversion means on a ladder window.
JP04010699A 1999-02-18 1999-02-18 Program creation support method and apparatus Expired - Lifetime JP3570489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04010699A JP3570489B2 (en) 1999-02-18 1999-02-18 Program creation support method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04010699A JP3570489B2 (en) 1999-02-18 1999-02-18 Program creation support method and apparatus

Publications (2)

Publication Number Publication Date
JP2000242307A true JP2000242307A (en) 2000-09-08
JP3570489B2 JP3570489B2 (en) 2004-09-29

Family

ID=12571620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04010699A Expired - Lifetime JP3570489B2 (en) 1999-02-18 1999-02-18 Program creation support method and apparatus

Country Status (1)

Country Link
JP (1) JP3570489B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010141151A3 (en) * 2009-06-03 2011-03-31 Siemens Industry, Inc. A system and method for free form comments for a programmable logic controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010141151A3 (en) * 2009-06-03 2011-03-31 Siemens Industry, Inc. A system and method for free form comments for a programmable logic controller

Also Published As

Publication number Publication date
JP3570489B2 (en) 2004-09-29

Similar Documents

Publication Publication Date Title
US11567750B2 (en) Web component dynamically deployed in an application and displayed in a workspace product
US20020147505A1 (en) Process for programming an automation application
US20160246279A1 (en) Sequence-program-creation supporting apparatus
JP2009146229A (en) Programmable controller system
CN111267111A (en) Robot control method, device and system
JP3308386B2 (en) Control system
JP2000242307A (en) Method and device for assisting program generation
JP2008165324A (en) Program creation support device
CN111666068B (en) Platform development framework, construction method, equipment and medium
JP2005092676A (en) Programmable controller, unit, and method for editing parameter
JP5141895B2 (en) PLC program development support device
JP4776602B2 (en) Programming device for controller, controller and controller management system
JP2012511775A (en) Adapter for bridging different user interface command systems
JP4443436B2 (en) Control system and control method
JP2009157534A (en) Programming support system, its programmable controller support device, and programmable indicator support device
EP3933523A1 (en) Engineering device, engineering method, and program
CN113297085B (en) SOC platform-based algorithm verification method and device
JP2023111377A (en) Robot control system and method for configuring robot control system
JP2002108731A (en) Network setting method for computer, recording medium recorded with program thereof, and computer capable of performing network setting by the method
JP2761788B2 (en) Program conversion device and program transfer device
JP2004362029A (en) Control equipment setting system
JP2000322245A (en) Programming device and storage medium
JP2000242313A (en) Method and device for automatic address allocation
JPH08147150A (en) Program generatior
JP4919092B2 (en) Control program development support device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040310

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040510

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: 20040602

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040615

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080702

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080702

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090702

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090702

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100702

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110702

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110702

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120702

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130702

Year of fee payment: 9

EXPY Cancellation because of completion of term