JPH0553611A - Programming device for programmable controller - Google Patents

Programming device for programmable controller

Info

Publication number
JPH0553611A
JPH0553611A JP21082091A JP21082091A JPH0553611A JP H0553611 A JPH0553611 A JP H0553611A JP 21082091 A JP21082091 A JP 21082091A JP 21082091 A JP21082091 A JP 21082091A JP H0553611 A JPH0553611 A JP H0553611A
Authority
JP
Japan
Prior art keywords
operand
memory address
instruction
symbol name
circuit
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
JP21082091A
Other languages
Japanese (ja)
Other versions
JP3048433B2 (en
Inventor
Tomio Oe
富男 大江
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3210820A priority Critical patent/JP3048433B2/en
Publication of JPH0553611A publication Critical patent/JPH0553611A/en
Application granted granted Critical
Publication of JP3048433B2 publication Critical patent/JP3048433B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To improve the working efficiency for the production of a program by allocating the memory addresses of the divided operands with the use of a user memory address allocating means through a symbol name dividing means. CONSTITUTION:An instruction anti an operand are separated from each other by an instruction/operand dividing circuit 2 based on a character string or a code inputted through a keyboard 1. Then an instruction object production circuit 3 produces an object from the separated instruction, and this object is stored in a program memory 7. Meanwhile the memory address of the separated operand is allocated by a user data memory address allocating circuit 5 through a symbol name dividing circuit 4. The value of the allocated address is identical with the initial value, i.e., the default value set previously or the value inputted by a human being when a programming task is started. Then the value of the allocated address is identical with the value of the address which is counted up by the circuit 5 during production of a program.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ユーザデータメモリア
ドレスのラベルネームとも言えるシンボルネームを、プ
ログラム中の命令のオペランドとして入力するプログラ
マブルコントローラのプログラミング装置に係り、特に
プログラマブルコントローラのプログラム作成時の作業
効率を向上させ得るようにしたプログラマブルコントロ
ーラのプログラミング装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programming device for a programmable controller which inputs a symbol name, which can be called a label name of a user data memory address, as an operand of an instruction in a program, and particularly to a work for creating a program for the programmable controller. The present invention relates to a programmable controller programming device capable of improving efficiency.

【0002】[0002]

【従来の技術】一般に、この種のプログラマブルコント
ローラのプログラミング装置においては、プログラムを
入力する時には、プログラム中の命令に対するオペラン
ドを直接にメモリアドレスで入力する方法、およびメモ
リアドレスが既に割り付け済みのシンボルネームを使用
する方法の2つの方法がある。この場合、シンボルネー
ムに対する入力では、メモリアドレスの割り付けがされ
ていないと、オブジェクトプログラムを作成することが
できない。そのため、従来では、シンボルネームを使用
する以前に、シンボルネームに対するメモリアドレスの
割り付けを人間が行ない、この後にシンボルネームを使
用してプログラムを入力しオブジェクトプログラムを作
成していた。
2. Description of the Related Art Generally, in a programmable controller programming device of this type, when a program is input, a method of directly inputting an operand for an instruction in the program by a memory address, and a symbol name to which the memory address has already been assigned. There are two ways to use. In this case, in the input for the symbol name, the object program cannot be created unless the memory address is assigned. For this reason, conventionally, before using a symbol name, a human allocates a memory address to the symbol name, and then a program is input using the symbol name to create an object program.

【0003】しかしながら、上述のようにシンボルネー
ムを使用してプログラムを作成しようとした場合には、
事前に個々のシンボルネームに対してメモリアドレスの
割り付けを行なうことが必要であり、割り付けを意味を
持たせた複数ブロックに行なおうとすると、このシンボ
ルネームやブロックの数が多く、プログラマブルコント
ローラ、特に大形のプログラマブルコントローラにおい
ては、この事前のメモリアドレスの割付作業やチェック
作業に要する時間としては相当の時間が必要になり、プ
ログラマブルコントローラのプログラムを作成する時の
作業効率を低下させる要因の一つともなっている。
However, when an attempt is made to create a program using the symbol name as described above,
It is necessary to allocate memory addresses to individual symbol names in advance, and if you try to allocate to multiple blocks that make sense, the number of symbol names and blocks is large, and programmable controllers, especially In a large programmable controller, a considerable amount of time is required for the work of allocating and checking the memory address in advance, which is one of the factors that reduce the work efficiency when creating a program for the programmable controller. It is also accompanied.

【0004】[0004]

【発明が解決しようとする課題】以上のように、従来の
方法においては、事前のメモリアドレスの割付作業やチ
ェック作業に要する時間が多く、プログラマブルコント
ローラのプログラム作成時の作業効率が悪いという問題
があった。
As described above, in the conventional method, there is a problem that the work time required for the prior memory address allocation work and the check work is long, and the work efficiency at the time of creating the program of the programmable controller is poor. there were.

【0005】本発明の目的は、事前のメモリアドレスの
割付作業やチェック作業を不要として、プログラマブル
コントローラのプログラム作成時の作業効率を向上させ
ることが可能な極めて信頼性の高いプログラマブルコン
トローラのプログラミング装置を提供することにある。
An object of the present invention is to provide an extremely highly reliable programmable controller programming device capable of improving work efficiency when creating a program for a programmable controller without requiring prior memory address allocation work and check work. To provide.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに本発明では、シンボルネームをプログラム中の命令
のオペランドとして入力するプログラマブルコントロー
ラのプログラミング装置を、文字列あるいはコードを入
力する入力手段と、入力手段により入力された文字列あ
るいはコードから、それが命令なのかオペランドなのか
を分別する命令・オペランド分別手段と、命令・オペラ
ンド分別手段により分別された命令からそのオブジェク
トを作成する命令オブジェクト作成手段と、シンボルネ
ームの先頭のブロック識別情報を分別し選択情報を与え
るシンボルネーム分別手段と、命令・オペランド分別手
段により分別されたオペランドにシンボルネームが入力
されたか否かを判定し、シンボルネームでない場合はメ
モリアドレスを割り付け、またシンボルネームである場
合はメモリアドレスの割り付けがされていないシンボル
ネームを、シンボルネーム分別手段からの選択情報に基
づいてあるメモリアドレス以降に順次割り付けを行なう
ユーザデータメモリアドレス割付手段と、ユーザデータ
メモリアドレス割付手段により割り付けられたメモリア
ドレスからそのオブジェクトを作成するオペランドオブ
ジェクト作成手段と、命令オブジェクト作成手段および
オペランドオブジェクト作成手段によりそれぞれ作成さ
れた各オブジェクトを記憶するプログラムメモリとを備
えて構成している。
In order to achieve the above object, according to the present invention, a programmable controller programming device for inputting a symbol name as an operand of an instruction in a program is provided with an input means for inputting a character string or a code. , Creating an object from the character string or code input by the input means, an instruction / operand classification means for classifying whether it is an instruction or an operand, and an object for creating the object from the instructions classified by the instruction / operand classification means Means, a symbol name sorting means for sorting the block identification information at the head of the symbol name and providing selection information, and a symbol name sorting means for judging whether or not a symbol name has been input to the operand sorted by the instruction / operand sorting means. If the memory address is User data memory address allocating means for sequentially allocating a symbol name which is not assigned a memory address in the case of a symbol name and subsequent memory addresses based on the selection information from the symbol name sorting means, and a user data memory address allocating means. An operand object creating means for creating an object from the memory address assigned by the data memory address assigning means, and a program memory for storing each object created by the instruction object creating means and the operand object creating means are configured. ing.

【0007】[0007]

【作用】従って、本発明のプログラマブルコントローラ
のプログラミング装置においては、入力手段より入力さ
れた文字列あるいはコードから、オペランドが命令・オ
ペランド分別手段によって分別され、この分別されたオ
ペランドのメモリアドレスが、シンボルネーム分別手段
を通してユーザデータメモリアドレス割付手段によって
割り付けられる。この場合、割り付けるメモリアドレス
は、割付アドレスカウンタのその時々の内容によって決
まるが、この値はプログラミング開始時は初期値、すな
わちあらかじめ設定されたデフォールト値、または人間
が入力した値になり、プログラム作成中はユーザデータ
メモリアドレス割付手段がカウントアップするアドレス
の値になる。このシンボルネーム分別手段からの識別情
報によって、割付アドレスのブロック別のメモリアドレ
スが決定される。
Therefore, in the programmable controller programming device of the present invention, the operands are sorted by the instruction / operand sorting means from the character string or code input by the input means, and the memory address of the sorted operand is a symbol. It is assigned by the user data memory address assigning means through the name sorting means. In this case, the memory address to be assigned depends on the contents of the assigned address counter at that time, but this value becomes the initial value at the beginning of programming, that is, the preset default value, or the value input by a human, and the program is being created. Becomes the value of the address counted up by the user data memory address allocating means. The memory information for each block of the allocation address is determined by the identification information from the symbol name sorting means.

【0008】[0008]

【実施例】本発明のプログラマブルコントローラのプロ
グラミング装置は、シンボルネームが入力される都度、
シンボルネームの属性をチェックしながら、当該シンボ
ルネームに対するユーザデータメモリアドレスの割り付
けを属性で決まるメモリアドレスに行ない、プログラマ
ブルコントローラのオブジェクトプログラムを作成する
ものである。以下、上記のような考え方に基づく本発明
の一実施例について、図面を参照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The programmable controller programming device of the present invention,
While checking the attribute of the symbol name, the user data memory address for the symbol name is assigned to the memory address determined by the attribute to create the object program of the programmable controller. An embodiment of the present invention based on the above concept will be described below in detail with reference to the drawings.

【0009】図1は、本発明によるプログラマブルコン
トローラのプログラミング装置の全体構成例を示すブロ
ック図である。すなわち、本実施例のプログラマブルコ
ントローラのプログラミング装置は、図1に示すよう
に、入力手段であるキーボード1と、命令・オペランド
分別回路2と、命令オブジェクト作成回路3と、シンボ
ルネーム分別回路4と、ユーザデータメモリアドレス割
付回路5と、オペランドオブジェクト作成回路6と、プ
ログラムメモリ7とから構成している。ここで、キーボ
ード1は、文字列あるいはコードを入力するためのもの
である。
FIG. 1 is a block diagram showing an example of the overall configuration of a programmable controller programming device according to the present invention. That is, as shown in FIG. 1, the programmable controller programming device according to the present embodiment includes a keyboard 1 as an input unit, an instruction / operand classification circuit 2, an instruction object creation circuit 3, a symbol name classification circuit 4, It comprises a user data memory address allocation circuit 5, an operand object creation circuit 6, and a program memory 7. Here, the keyboard 1 is for inputting a character string or a code.

【0010】また、命令・オペランド分別回路2は、キ
ーボード1により入力された文字列あるいはコードか
ら、それが命令なのかオペランドなのかを分別するもの
である。さらに、命令オブジェクト作成回路3は、命令
・オペランド分別回路2により分別された命令から、そ
のオブジェクトを作成するものである。
The instruction / operand discriminating circuit 2 discriminates from a character string or a code input by the keyboard 1 whether it is an instruction or an operand. Further, the instruction object creating circuit 3 creates the object from the instructions sorted by the instruction / operand sorting circuit 2.

【0011】一方、シンボルネーム分別回路4は、シン
ボルネームの先頭のブロック識別情報を分別し、選択情
報を与えるものである。また、ユーザデータメモリアド
レス割付回路5は、ブロック割付選択回路51と、割付
アドレスカウンタ52と、オペランドデータメモリアド
レス割付回路53とからなっている。ここで、割付アド
レスカウンタ52は、次に入力されるシンボルネームに
対して割り付けることのできるメモリアドレスを示すも
のであり、この基本的な構造の上に、シンボルネーム分
別回路4とブロック割付選択回路51によって、オペラ
ンドデータメモリアドレス割付回路53で実際に割り付
けられるブロック毎のメモリアドレスを制御するように
なっている。すなわち、このユーザデータメモリアドレ
ス割付回路5は、命令・オペランド分別回路2により分
別されたオペランドにシンボルネームが入力されたか否
かを判定し、シンボルネームでない場合はメモリアドレ
スを割り付け、またシンボルネームである場合はメモリ
アドレスの割り付けがされていないシンボルネームを、
シンボルネーム分別回路4からの選択情報に基づいてあ
るメモリアドレス以降に順次割り付けを行なうものであ
る。さらに、オペランドオブジェクト作成回路6は、ユ
ーザデータメモリアドレス割付回路5により割り付けら
れたメモリアドレスから、そのオブジェクトを作成する
ものである。さらにまた、プログラムメモリ7は、命令
オブジェクト作成回路3、およびオペランドオブジェク
ト作成回路6によりそれぞれ作成された各オブジェクト
を記憶するためのものである。次に、以上のように構成
した本実施例のプログラマブルコントローラのプログラ
ミング装置の作用について説明する。
On the other hand, the symbol name classification circuit 4 classifies the block identification information at the head of the symbol name and provides selection information. The user data memory address allocation circuit 5 is composed of a block allocation selection circuit 51, an allocation address counter 52, and an operand data memory address allocation circuit 53. Here, the allocation address counter 52 indicates a memory address that can be allocated to a symbol name to be input next, and on top of this basic structure, the symbol name classification circuit 4 and the block allocation selection circuit. By 51, the memory address for each block that is actually allocated by the operand data memory address allocation circuit 53 is controlled. That is, the user data memory address allocation circuit 5 determines whether or not a symbol name is input to the operand classified by the instruction / operand classification circuit 2, and if it is not a symbol name, allocates a memory address, or uses the symbol name. If there is a symbol name that has not been assigned a memory address,
Based on the selection information from the symbol name sorting circuit 4, the memory addresses are sequentially assigned after a certain memory address. Further, the operand object creating circuit 6 creates the object from the memory address assigned by the user data memory address assigning circuit 5. Furthermore, the program memory 7 is for storing each object created by the instruction object creating circuit 3 and the operand object creating circuit 6. Next, the operation of the programmable controller programming device according to the present embodiment configured as described above will be described.

【0012】図1において、キーボード1より入力され
た文字列あるいはコードから、命令とオペランドが命令
・オペランド分別回路2によって分別される。そして、
この命令・オペランド分別回路2によって分別された命
令から、そのオブジェクトが命令オブジェクト作成回路
3によって作成され、プログラムメモリ7に記憶され
る。一方、この命令・オペランド分別回路2によって分
別されたオペランドのメモリアドレスが、シンボルネー
ム分別回路4を通してユーザデータメモリアドレス割付
回路5によって割り付けられる。この場合、割り付ける
メモリアドレスは、割付アドレスカウンタ6のその時々
の内容によって決まるが、この値はプログラミング開始
時は初期値、すなわちあらかじめ設定されたデフォール
ト値、または人間が入力した値になり、プログラム作成
中はユーザデータメモリアドレス割付回路5がカウント
アップするアドレスの値になる。このシンボルネーム分
別回路4からの識別情報によりブロック割付選択回路5
1によって、割付アドレスのブロック別のメモリアドレ
スが決定される。なお、割付アドレスカウンタ52の初
期値は予め設定してもよいし、またはプログラム作成開
始時に人間が入力してもよい。以下、このユーザデータ
メモリアドレス割付回路5における割付動作について、
図2に示すフロー図に従って説明する。
In FIG. 1, instructions and operands are classified by a command / operand classification circuit 2 from a character string or code input from the keyboard 1. And
From the instructions sorted by the instruction / operand sorting circuit 2, the object is created by the instruction object creating circuit 3 and stored in the program memory 7. On the other hand, the memory address of the operand sorted by the instruction / operand sorting circuit 2 is assigned by the user data memory address assigning circuit 5 through the symbol name sorting circuit 4. In this case, the memory address to be assigned depends on the contents of the assigned address counter 6 at each time, but this value becomes an initial value at the start of programming, that is, a preset default value, or a value input by a human, and the program is created. Inside is the value of the address that the user data memory address allocation circuit 5 counts up. Based on the identification information from the symbol name classification circuit 4, the block allocation selection circuit 5
By 1, the memory address for each block of the allocation address is determined. The initial value of the assigned address counter 52 may be set in advance, or may be input by a human at the start of program creation. Hereinafter, regarding the allocation operation in the user data memory address allocation circuit 5,
A description will be given according to the flowchart shown in FIG.

【0013】いま、オペランドが入力されると、この入
力されたオペランドが検出され(ステップS1)、その
オペランドがシンボルネームか否かが判定される(ステ
ップS2)。その結果、オペランドがシンボルネームで
ないと判定した時は、メモリアドレスが入力されたとし
てオペランドアドレスが作成される(ステップS3)。
Now, when an operand is input, this input operand is detected (step S1), and it is determined whether or not the operand is a symbol name (step S2). As a result, when it is determined that the operand is not the symbol name, the operand address is created assuming that the memory address is input (step S3).

【0014】また、オペランドがシンボルネームと判定
した時は、そのブロックがどこであるかがシンボルネー
ム内の識別情報から判別される(ステップS4)。さら
に、該当ブロック内のアドレスが既に割付済みか否かが
判定される(ステップS5)。その結果、既に割付済み
と判定した時は、そのアドレスがテーブル等のデータか
ら検出される(ステップS6)。
When it is determined that the operand is a symbol name, the location of the block is determined from the identification information in the symbol name (step S4). Further, it is determined whether the address in the block has already been assigned (step S5). As a result, when it is determined that the address has already been assigned, the address is detected from the data in the table or the like (step S6).

【0015】一方、未だ割り付けられていないと判定し
た時は、次に割付けすべきアドレスが空いているかどう
かが判定される(ステップS7)。その結果、アドレス
が空いていないと判定した時は、エラーとしてこの割付
動作が中止される(ステップS8)。この場合、次に割
り付けるべきアドレスが空いていない時のエラー処理、
としては、例えばエラーメッセージを出力する等の処理
が行なわれる。また、アドレスが空いていると判定した
時は、割り付けるべきアドレスが検出される(ステップ
S9)。そして、次のシンボルネームが入力された時に
割り付けるべきアドレスを1つ進めるための処理がされ
る(ステップS10)。最後に、ステップS6によって
求められたブロック別のアドレスへ、シンボルネームが
割り付けられる。
On the other hand, when it is determined that the address has not been assigned yet, it is determined whether or not the address to be assigned next is free (step S7). As a result, when it is determined that the address is not empty, this allocation operation is stopped as an error (step S8). In this case, error handling when the next address to be allocated is not available,
For example, processing such as outputting an error message is performed. When it is determined that the address is empty, the address to be assigned is detected (step S9). Then, the processing for advancing the address to be assigned by one when the next symbol name is input is performed (step S10). Finally, the symbol name is assigned to the address for each block obtained in step S6.

【0016】次に、オペランドオブジェクト作成回路6
では、以上のようにしてユーザデータメモリアドレス割
付回路5により割り付けられたメモリアドレスから、そ
のオブジェクトが作成される。そして、このオペランド
オブジェクト作成回路6により作成されたオブジェクト
は、プログラムメモリ7に記憶される。
Next, the operand object creating circuit 6
Then, the object is created from the memory address allocated by the user data memory address allocation circuit 5 as described above. The object created by the operand object creating circuit 6 is stored in the program memory 7.

【0017】上述したように、本実施例のプログラマブ
ルコントローラのプログラミング装置は、文字列あるい
はコードを入力するためのキーボード1と、キーボード
1により入力された文字列あるいはコードから、それが
命令なのかオペランドなのかを分別する命令・オペラン
ド分別回路2と、命令・オペランド分別回路2により分
別された命令から、そのオブジェクトを作成する命令オ
ブジェクト作成回路3と、シンボルネームの先頭のブロ
ック識別情報を分別し、選択情報を与えるシンボルネー
ム分別回路4と、命令・オペランド分別回路2により分
別されたオペランドにシンボルネームが入力されたか否
かを判定し、シンボルネームでない場合はメモリアドレ
スを割り付け、またシンボルネームである場合はメモリ
アドレスの割り付けがされていないシンボルネームを、
シンボルネーム分別回路4からの選択情報に基づいてあ
るメモリアドレス以降に順次割り付けを行なうユーザデ
ータメモリアドレス割付回路5と、ユーザデータメモリ
アドレス割付回路5により割り付けられたメモリアドレ
スから、そのオブジェクトを作成するオペランドオブジ
ェクト作成回路6と、命令オブジェクト作成回路3、お
よびオペランドオブジェクト作成回路6によりそれぞれ
作成された各オブジェクトを記憶するためのプログラム
メモリ7とから構成したものである。
As described above, the programmable controller programming device of this embodiment uses the keyboard 1 for inputting a character string or code and the character string or code input by the keyboard 1 to determine whether it is an instruction or an operand. The instruction / operand classification circuit 2 for classifying the inside, the instruction object creation circuit 3 for creating the object from the instructions classified by the instruction / operand classification circuit 2, and the block identification information at the beginning of the symbol name, It is determined whether or not a symbol name is input to the symbol name sorting circuit 4 that gives selection information and the operand sorted by the instruction / operand sorting circuit 2, and if it is not a symbol name, a memory address is assigned, and it is also a symbol name. In case of memory address allocation The symbol name that is not is,
An object is created from a user data memory address allocating circuit 5 that sequentially allocates a certain memory address and thereafter based on the selection information from the symbol name classification circuit 4 and a memory address allocated by the user data memory address allocating circuit 5. It is composed of an operand object creating circuit 6, an instruction object creating circuit 3, and a program memory 7 for storing each object created by the operand object creating circuit 6.

【0018】従って、オペランドが入力される度に、こ
の割り付けられたメモリアドレスのオブジェクトを作成
して、そのオブジェクトがプログラムメモリ7に順次記
憶されるため、割り付けられていないオペランドを入力
しても、オブジェクトプログラムを作成することができ
る。また、ブロック別に自動割り付けするエリアを指定
できるため、ユーザデータの種類によって割り付けする
エリアを制御することができる。このため、自動割り付
けするエリアを、データの種類、例えば広域データと狭
域データという区分や、内部アドレスとか外部アドレス
という区分、さらには自プログラムタスクと他タスク用
データ区分というように、用途別にデータアドレス割り
付けの自動化が可能である。
Therefore, every time an operand is input, an object of this allocated memory address is created and the object is sequentially stored in the program memory 7. Therefore, even if an unallocated operand is input, Object programs can be created. Moreover, since the area to be automatically allocated can be designated for each block, the area to be allocated can be controlled according to the type of user data. For this reason, the areas to be automatically allocated are classified according to usage, such as the type of data, for example, wide area data and narrow area data, internal address or external address, and data division for own program task and other tasks. Address assignment can be automated.

【0019】以上により、シンボルネームがオペランド
として入力した時に、データメモリ割り付けが済んでい
なくても割り付けが行なわれるため、データメモリの割
付作業を著しく軽減することが可能となり、またデータ
の区分種類毎に自動割付ができるため、プログラマブル
コントローラのタスクのプログラミング時に、他のタス
クのシンボルネームと区別してプログラミングを行なう
ことが可能となり、さらにこれらによるデバッグの効率
も向上して、プログラマブルコントローラのプログラム
作成時の作業効率を著しく向上させることが可能とな
る。
As described above, when the symbol name is input as the operand, the allocation is performed even if the data memory allocation has not been completed, so that the allocation work of the data memory can be remarkably reduced, and the data classification type Since automatic assignment is possible for each, when programming the programmable controller task, it is possible to perform programming while distinguishing it from the symbol names of other tasks. Furthermore, the efficiency of debugging by these can be improved, and when programming the programmable controller program. It is possible to significantly improve the work efficiency of.

【0020】尚、上記実施例では、命令のオペランドの
割り付けの場合について説明したが、最初に初期値を与
えてその後割り付けを行なう割付処理は、プログラマブ
ルコントローラのプログラムページの割り付け、すなわ
ち頁番号の割り付けについても、本発明を同様に適用す
ることが可能である。
In the above embodiment, the case of allocating the operands of the instruction has been described, but the allocating process of first giving the initial value and then allocating the program page of the programmable controller, that is, page number allocation. The present invention can be similarly applied to the above.

【0021】[0021]

【発明の効果】以上説明したように本発明によれば、事
前のメモリアドレスの割付作業やチェック作業を不要と
して、プログラマブルコントローラのプログラム作成時
の作業効率を向上させることが可能な極めて信頼性の高
いプログラマブルコントローラのプログラミング装置が
提供できる。
As described above, according to the present invention, it is possible to improve the work efficiency at the time of creating the program of the programmable controller without the need for the work of allocating the memory address and the check work in advance. A high programmable controller programming device can be provided.

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

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

【図2】同実施例におけるユーザデータメモリアドレス
割付回路の割付動作を説明するためのフロー図。
FIG. 2 is a flowchart for explaining an allocation operation of a user data memory address allocation circuit in the embodiment.

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

1…キーボード、2…命令・オペランド分別回路、3…
命令オブジェクト作成回路、4…シンボルネーム分別回
路、5…ユーザデータメモリアドレス割付回路、51…
ブロック割付選択回路、52…割付アドレスカウンタ、
53…オペランドデータメモリアドレス割付回路、6…
オペランドオブジェクト作成回路、7…プログラムメモ
リ。
1 ... Keyboard, 2 ... Instruction / operand sorting circuit, 3 ...
Instruction object creation circuit, 4 ... Symbol name classification circuit, 5 ... User data memory address allocation circuit, 51 ...
Block allocation selection circuit, 52 ... Allocation address counter,
53 ... Operand data memory address allocation circuit, 6 ...
Operand object creation circuit, 7 ... Program memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 シンボルネームをプログラム中の命令の
オペランドとして入力するプログラマブルコントローラ
のプログラミング装置において、 文字列あるいはコードを入力する入力手段と、 前記入力手段により入力された文字列あるいはコードか
ら、それが命令なのかオペランドなのかを分別する命令
・オペランド分別手段と、 前記命令・オペランド分別手段により分別された命令か
らそのオブジェクトを作成する命令オブジェクト作成手
段と、 シンボルネームの先頭のブロック識別情報を分別し選択
情報を与えるシンボルネーム分別手段と、 前記命令・オペランド分別手段により分別されたオペラ
ンドにシンボルネームが入力されたか否かを判定し、シ
ンボルネームでない場合はメモリアドレスを割り付け、
またシンボルネームである場合はメモリアドレスの割り
付けがされていないシンボルネームを、前記シンボルネ
ーム分別手段からの選択情報に基づいてあるメモリアド
レス以降に順次割り付けを行なうユーザデータメモリア
ドレス割付手段と、 前記ユーザデータメモリアドレス割付手段により割り付
けられたメモリアドレスからそのオブジェクトを作成す
るオペランドオブジェクト作成手段と、 前記命令オブジェクト作成手段および前記オペランドオ
ブジェクト作成手段によりそれぞれ作成された各オブジ
ェクトを記憶するプログラムメモリと、 を備えて成ることを特徴とするプログラマブルコントロ
ーラのプログラミング装置。
1. In a programming device of a programmable controller for inputting a symbol name as an operand of an instruction in a program, an input means for inputting a character string or code, and a character string or code input by the input means Instruction / operand classification means for classifying instructions or operands, instruction object creation means for creating an object from the instructions classified by the instruction / operand classification means, and block identification information at the beginning of the symbol name Symbol name sorting means for giving selection information, and it is determined whether or not a symbol name is input to the operand sorted by the instruction / operand sorting means, and if not a symbol name, a memory address is allocated,
Further, in the case of a symbol name, a user data memory address allocating means for sequentially allocating a symbol name whose memory address is not allocated after a certain memory address based on the selection information from the symbol name classification means, and the user An operand object creating means for creating an object from the memory address allocated by the data memory address allocating means; and a program memory for storing each object created by the instruction object creating means and the operand object creating means, respectively. A programmable controller programming device characterized by comprising:
JP3210820A 1991-08-22 1991-08-22 Programming device for programmable controller Expired - Lifetime JP3048433B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3210820A JP3048433B2 (en) 1991-08-22 1991-08-22 Programming device for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3210820A JP3048433B2 (en) 1991-08-22 1991-08-22 Programming device for programmable controller

Publications (2)

Publication Number Publication Date
JPH0553611A true JPH0553611A (en) 1993-03-05
JP3048433B2 JP3048433B2 (en) 2000-06-05

Family

ID=16595666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3210820A Expired - Lifetime JP3048433B2 (en) 1991-08-22 1991-08-22 Programming device for programmable controller

Country Status (1)

Country Link
JP (1) JP3048433B2 (en)

Also Published As

Publication number Publication date
JP3048433B2 (en) 2000-06-05

Similar Documents

Publication Publication Date Title
US4564913A (en) Flexible transfer machine
EP0190358A1 (en) System for controlling a programmable controller
JPH0553611A (en) Programming device for programmable controller
JPH02284204A (en) Programming device
JPS58181108A (en) Numerical control system
JPH0271342A (en) Memory controller
US4727818A (en) Embroidery machine apparatus
JPH0451324A (en) Programming device
JPS63300302A (en) Program input display device for programmable controller
EP3933523A1 (en) Engineering device, engineering method, and program
JP3637606B2 (en) Data processing device
JPS62216036A (en) Program deciding system
JP3342008B2 (en) Item level number management system
JPS6117019B2 (en)
JPS62152635A (en) Tool selecting method by use of tool number memory in numerically controlled machine tool
JPH0619829A (en) Automatic address allocation system for input/output device
JP4474631B2 (en) Monitoring system
JPH02273828A (en) Internal sorting system
JPS60134940A (en) Register selecting system of information processing device
JPS63298402A (en) Automatic i/o address allocating device for programmable controller
JPS61279906A (en) Programmable controller
JPS6263338A (en) Address allocating system for horizontal microprogram
JPH07295618A (en) Generation device for production program of variable quantities of variety of kinds
JPS63193205A (en) Simultaneous execution system for tape parity check character decoding
JPH03225559A (en) Printed circuit board layout device