JPH0517701U - Programming device - Google Patents

Programming device

Info

Publication number
JPH0517701U
JPH0517701U JP6564991U JP6564991U JPH0517701U JP H0517701 U JPH0517701 U JP H0517701U JP 6564991 U JP6564991 U JP 6564991U JP 6564991 U JP6564991 U JP 6564991U JP H0517701 U JPH0517701 U JP H0517701U
Authority
JP
Japan
Prior art keywords
control program
memory capacity
control
memory
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6564991U
Other languages
Japanese (ja)
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6564991U priority Critical patent/JPH0517701U/en
Publication of JPH0517701U publication Critical patent/JPH0517701U/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 プログラミング装置において、選択した制御
シンボルのメモリ容量と、制御用プログラムの残メモリ
容量をプログラム編集中に表示することにより、メモリ
不足による編集のやりなおしがなくなることを目的とす
る。 【構成】 全制御シンボルの個別メモリ容量を記憶エリ
アに記憶しておき、制御用プログラム編集時に選択され
た制御シンボルのメモリ容量を上記記憶エリアから得
て、制御用プログラムの実メモリ容量を求め、リアルタ
イムに残メモリ容量を算出して表示する。 【効果】 この結果、制御用プログラム編集中に制御シ
ンボルのメモリ容量,制御用プログラムメモリ残容量を
CRT表示から参照でき、編集後のメモリ不足による再
編集の必要性がなくなり、効率的な制御用プログラム作
成ができる。
(57) [Summary] [Purpose] The purpose of the programming device is to display the memory capacity of the selected control symbol and the remaining memory capacity of the control program during program editing, thereby eliminating the need for re-editing due to insufficient memory. And [Structure] The individual memory capacities of all control symbols are stored in a storage area, and the memory capacities of control symbols selected at the time of editing a control program are obtained from the storage area to obtain the actual memory capacity of the control program. The remaining memory capacity is calculated and displayed in real time. As a result, while the control program is being edited, the memory capacity of the control symbol and the remaining capacity of the control program memory can be referred to from the CRT display, eliminating the need for re-editing due to lack of memory after editing, and efficient control Can create programs.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

この考案は、制御シンボルによって構成される制御プログラム作成時に、制御 シンボルのメモリ容量及び残メモリ容量を表示できるプログラミング装置に関す るものである。 The present invention relates to a programming device capable of displaying the memory capacity of a control symbol and the remaining memory capacity when a control program composed of control symbols is created.

【0002】[0002]

【従来の技術】[Prior Art]

図4は、例えば三菱発電プラント用プログラミング装置”MELSEP 1100 メンテ ナンスパネル”のカタログに示されたプログラミング装置(以下P.P.と称す)を 備えた制御装置のブロック図である。図において、1はP.P.、2は制御装置であ る。11はCRT、12はキーボード(以下K/Bと称す)、13はCRT11とK/B 12を用いて作成した制御用プログラムの画像データを機械語に変換する制御用プ ログラム作成ソフトウエア、14は制御用プログラムの使用可能なメモリ容量を定 義するメモリ容量定義ソフトウエア、15は制御用シンボル機械語記憶ソフトウエ ア、17は制御用プログラム作成ソフトウエア13によって作成された制御用プログ ラム、18は制御用プログラムメモリ容量定義ソフトウエア14で定義されたメモリ 容量記憶エリア、19は制御用プログラム17で実際に使用する実メモリ容量記憶エ リア、20は制御装置2との通信を行なう制御装置I/Fソフトウエアである。 又、第5図はP.P.1の内部処理フローである。 FIG. 4 is a block diagram of a control device equipped with a programming device (hereinafter referred to as P.P.) shown in the catalog of the programming device "MELSEP 1100 Maintenance Panel" for Mitsubishi power plant, for example. In the figure, 1 is P.P. and 2 is a control device. 11 is a CRT, 12 is a keyboard (hereinafter referred to as K / B), 13 is control program creation software for converting image data of a control program created using the CRT 11 and K / B 12 into machine language, 14 Is the memory capacity definition software that defines the usable memory capacity of the control program, 15 is the control symbol machine language memory software, 17 is the control program created by the control program creation software 13, and 18 is the control program. Is a memory capacity storage area defined by the control program memory capacity definition software 14, 19 is an actual memory capacity storage area that is actually used by the control program 17, and 20 is a controller I for communicating with the controller 2. / F software. Further, FIG. 5 is an internal processing flow of P.P.1.

【0003】 次に動作について説明する。P.P.1ではCRT11の画面にK/B12を用いて制 御シンボルを描くことによって制御用プログラムの画像データを作成する。まず 、制御用プログラムメモリ容量定義ソフトウエアは定義されたメモリ容量を制御 プログラム定義メモリ容量記憶エリアにセットする(ST−1)。次いで、制御 用プログラム実メモリ記憶エリアに0をセットする(ST−2)。そして、制御 用プログラム定義メモリ容量と、実メモリ容量をCRT11に表示する(ST−3 )。制御用プログラム作成ソフトウエア13は、CRT11,K/B12からデータを 得て(ST−4)そのデータを判定し、(ST−5)編集終了以外ならば再び( ST−4)に戻り、編集を続ける。編集終了ならば、作成された画像データを、 制御シンボル機械語記憶ソフトウエア15を参照しながら、制御用プログラム17に 変換し、制御用プログラム実メモリ容量を得る。(ST−6)。 そして、制御用プログラム定義メモリ容量記憶エリア18と比較する(ST−7 )。多ければCRT11にメモリ不足のエラー表示を行い(ST−8)再び(ST −4)に戻る。少なければ制御プログラム実メモリ容量記憶エリア19に、制御プ ログラム実メモリ容量を加算する(ST−9)。(ST−9)が終了したら、制 御装置I/Fソフトウエア20を介して、制御プログラム17を制御装置2へ送信す る。Next, the operation will be described. In P.P.1, image data for the control program is created by drawing control symbols using the K / B12 on the CRT11 screen. First, the control program memory capacity definition software sets the defined memory capacity in the control program definition memory capacity storage area (ST-1). Next, 0 is set in the control program real memory storage area (ST-2). Then, the control program definition memory capacity and the actual memory capacity are displayed on the CRT 11 (ST-3). The control program creation software 13 obtains data from the CRT 11 and K / B 12 (ST-4), judges the data, and (ST-5) returns to (ST-4) again if editing is not completed and edits. Continue. When the editing is completed, the created image data is converted into the control program 17 with reference to the control symbol machine language storage software 15 to obtain the control program actual memory capacity. (ST-6). Then, it is compared with the control program definition memory capacity storage area 18 (ST-7). If there is more, an error message indicating insufficient memory is displayed on the CRT 11 (ST-8) and the process returns to (ST-4). If it is small, the control program real memory capacity is added to the control program real memory capacity storage area 19 (ST-9). When (ST-9) is completed, the control program 17 is transmitted to the control device 2 via the control device I / F software 20.

【0004】[0004]

【考案が解決しようとする課題】[Problems to be solved by the device]

従来のプログラミング装置は以上のように構成されているので、作成した制御 用プログラムの実メモリ容量を求めるには、制御用プログラムの画像データを機 械語の制御用プログラムに変換してみなければならず、編終後に、メモリ容量が 不足した際、編集をやりなおさなければならないという問題点があった。 Since the conventional programming device is configured as described above, in order to obtain the actual memory capacity of the created control program, it is necessary to convert the image data of the control program into the control program of the machine language. However, there was a problem that when the memory capacity became insufficient after the end of the compilation, the editing had to be redone.

【0005】 この考案は上記のような問題点を解決するためになされたもので制御用プログ ラムの編集段階で制御用プログラムの実メモリ容量を容易に求めることができる と共に、制御用プログラムの残メモリ容量のCRT表示を見ながら制御用プログ ラムを作成することによってメモリ不足による制御用プログラム編集後の再編集 がなくなることを目的とする。The present invention has been made to solve the above problems, and the actual memory capacity of the control program can be easily obtained at the editing stage of the control program, and the remaining amount of the control program remains. By creating a control program while observing the CRT display of the memory capacity, the purpose is to avoid re-editing after editing the control program due to insufficient memory.

【0006】[0006]

【課題を解決するための手段】[Means for Solving the Problems]

この考案に係るプログラミング装置は、制御シンボル個別のメモリ容量を記憶 装置に記憶し、選択された制御シンボル個別のメモリ容量を上記、記憶装置から 読み出し、CRT表示すると共に制御プログラムへの登録か削除かを判断し、判 断に従って求めた制御用プログラム実メモリ容量と定義メモリ容量から得た制御 用プログラム残メモリ容量をCRTに表示するようにしたものである。 The programming device according to the present invention stores the memory capacity of each control symbol in the storage device, reads the selected memory capacity of each control symbol from the storage device, displays the CRT, and registers or deletes the control program. And the control program remaining memory capacity obtained from the control program actual memory capacity and the defined memory capacity are displayed on the CRT.

【0007】[0007]

【作用】[Action]

この考案におけるプログラミング装置は、作成編集中に選択されたシンボルの メモリ容量及びシンボルの登録・削除の度に計算した制御用プログラムの残メモ リ容量を表示することにより、メモリ容量を参照しながら制御用プログラムの作 成・編集ができ、制御用プログラム編集後にメモリ不足による再編集がなくなる 。 The programming device according to the present invention displays the memory capacity of the symbol selected during creation and editing and the remaining memory capacity of the control program calculated each time the symbol is registered or deleted, thereby controlling the memory capacity while referring to the memory capacity. You can create and edit a control program, and after editing the control program, there is no need to re-edit due to lack of memory.

【0008】[0008]

【実施例】【Example】

実施例1. 以下、この実施例を図について説明する。 図1において、1はP.P.、2は制御装置である。11はCRT、12はキーボード (以下K/Bと称す)、13はCRT11とK/B12を用いて作成した制御用プログ ラムの画像データを機械語に変換する制御用プログラム作成ソフトウエア、14は 制御用プログラムの使用可能なメモリ容量を定義するメモリ容量定義ソフトウエ ア15は制御用シンボル機械語記憶ソフトウエア、16は全制御シンボルメモリ容量 記憶ソフトウエア、17は制御用プログラム作成ソフトウエア13によって作成され た制御用プログラム、18は制御用プログラムメモリ容量定義ソフトウエア14で定 義されたメモリ容量記憶エリア、19は制御用プログラム17で実際に使用する実メ モリ容量記憶エリア、20は制御装置2との通信を行なう制御装置I/Fソフトウ エアである。 又、第2図は、P.P.1の内部処理フロー図であり、第3図はP.P.1の制御用プ ログラム編集時の制御画面である。 この制御用プログラムは実行された場合、画面に表示されているすべての演算 処理が実行されるものである。 Example 1. Hereinafter, this embodiment will be described with reference to the drawings. In FIG. 1, 1 is P.P. and 2 is a control device. 11 is a CRT, 12 is a keyboard (hereinafter referred to as K / B), 13 is a control program creation software for converting the image data of the control program created using the CRT 11 and K / B 12 into machine language, and 14 is Memory capacity definition software that defines the usable memory capacity of the control program 15 is the control symbol machine language storage software, 16 is the total control symbol memory capacity storage software, and 17 is created by the control program creation software 13. Control program, 18 is the memory capacity storage area defined by the control program memory capacity definition software 14, 19 is the actual memory capacity storage area actually used by the control program 17, and 20 is the controller 2 It is a control device I / F software that communicates with. FIG. 2 is a flow chart of the internal processing of P.P.1 and FIG. 3 is a control screen when editing the control program of P.P.1. When this control program is executed, all the arithmetic processing displayed on the screen is executed.

【0009】 次に動作について説明する。P.P.1ではCRT11の画面にK/B12を用いて制 御シンボルを描くことによって制御用プログラムの画像データを作成する。まず 、制御用プログラムメモリ容量定義ソフトウエアは、定義されたメモリ容量を制 御プログラム定義メモリ容量記憶エリアにセットする(ST−1)。次いで、制 御用プログラム実メモリ記憶エリアに0をセットする(ST−2)。そして、制 御プログラム定義メモリ容量記憶エリア18から、制御プログラム実メモリ記憶エ リア19を減算し(ST−3)、得られた制御プログラム残メモリ容量をCRTに 表示する(ST−4)。 制御用プログラム作成ソフトウエア13は、CRT11,K/B12からデータを得 て(ST−5)そのデータを判定し、(ST−6)制御シンボルの登録、又は削 除ならば全制御シンボル個別メモリ容量記憶ソフトウエア16の中から制御シンボ ルメモリ容量を求め、CRTに表示する(ST−7)。制御シンボルの登録か削 除かを判定し(ST−8)、登録ならば制御用プログラム実メモリ容量記憶エリ ア19に制御シンボルメモリ容量を加算し(ST−9)、削除ならば減算する(S T−10)。 (ST−9)又は(ST−10)が終了したら、再び(ST−3)を実行する。( ST−6)で制御用プログラムの編集が終了したと判断したとき全制御シンボル 機械語記憶ソフトウエア15を参照しながら、制御用プログラム17に変換し、制御 装置I/Fソフトウエア20を介して制御装置2へ送信される。Next, the operation will be described. In P.P.1, image data for the control program is created by drawing control symbols using the K / B12 on the CRT11 screen. First, the control program memory capacity definition software sets the defined memory capacity in the control program definition memory capacity storage area (ST-1). Next, 0 is set in the control program real memory storage area (ST-2). Then, the control program actual memory storage area 19 is subtracted from the control program definition memory capacity storage area 18 (ST-3), and the obtained control program remaining memory capacity is displayed on the CRT (ST-4). The control program creation software 13 obtains data from the CRT 11 and K / B 12 (ST-5), judges the data, and (ST-6) registers control symbols, or if deleted, all control symbol individual memories. The control symbol memory capacity is obtained from the capacity storage software 16 and displayed on the CRT (ST-7). It is judged whether the control symbol is registered or deleted (ST-8). If it is registered, the control symbol memory capacity is added to the control program actual memory capacity storage area 19 (ST-9), and if deleted, it is subtracted (ST-9). ST-10). When (ST-9) or (ST-10) is completed, (ST-3) is executed again. When it is judged that the editing of the control program is completed in (ST-6), all the control symbols are converted into the control program 17 with reference to the machine language storage software 15, and the control device I / F software 20 is used. Is transmitted to the control device 2.

【0010】 実施例2. また、上記実施例では、CRTに制御シンボルメモリ容量と、制御用プログラ ム残メモリ容量を表示する場合について説明したが、制御シンボルメモリ容量、 制御用プログラム定義メモリ容量および制御プログラム実メモリ容量をCRTに 表示しても同様の効果を奏する。Example 2. In the above embodiment, the case where the control symbol memory capacity and the control program remaining memory capacity are displayed on the CRT has been described. However, the control symbol memory capacity, the control program definition memory capacity, and the control program actual memory capacity are displayed on the CRT. The same effect can be obtained by displaying on.

【0011】[0011]

【考案の効果】[Effect of the device]

以上のように、この考案によればプログラミング装置を、制御シンボル毎のメ モリ容量を記憶し、制御用プログラムに使用された制御シンボルのメモリ容量を 読み出し計算し、制御用プログラム作成中に残メモリ容量を表示し、これを参照 しながら制御用プログラムが作成できるように構成したので、制御用プログラム 編集段階から容易に制御用プログラム残メモリ容量を求めることができ、制御用 プログラム編集終了後に、メモリ不足による再編集がなくなる効果がある。 As described above, according to the present invention, the programming device stores the memory capacity of each control symbol, reads out and calculates the memory capacity of the control symbol used for the control program, and the remaining memory during the creation of the control program. Since the control program can be created while displaying the capacity and referring to it, the control program remaining memory capacity can be easily obtained from the control program editing stage. This has the effect of eliminating re-editing due to lack.

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

【図1】この考案の一実施例によるプログラミング装置
を示すブロック図。
FIG. 1 is a block diagram showing a programming device according to an embodiment of the present invention.

【図2】図1のプログラミング装置の処理フロー図。FIG. 2 is a process flow diagram of the programming device of FIG.

【図3】図1のプログラミング装置の制御用プログラム
作成時の表示画面図。
FIG. 3 is a display screen diagram when a control program for the programming device of FIG. 1 is created.

【図4】従来のプログラミング装置を示すブロック図。FIG. 4 is a block diagram showing a conventional programming device.

【図5】図4のプログラミング装置の処理フロー図。5 is a process flow diagram of the programming device of FIG.

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

1 プログラミング装置 2 制御装置 11 CRT 12 K/B 13 制御用プログラム作成ソフトウエア 14 制御用プログラムメモリ容量定義ソフトウエア 15 全制御シンボル機械語ソフトウエア 16 全制御シンボル個別メモリ容量記憶ソフトウエア 17 制御用プログラム 18 制御用プログラム定義メモリ容量記憶エリア 19 制御用プログラム実メモリ容量記憶エリア 20 制御装置I/Fソフトウエア 1 programming device 2 control device 11 CRT 12 K / B 13 control program creation software 14 control program memory capacity definition software 15 all control symbols machine language software 16 all control symbols individual memory capacity storage software 17 control program 18 Control program definition memory capacity storage area 19 Control program actual memory capacity storage area 20 Controller I / F software

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 表示装置の画面に所定の制御シンボルを
表示して制御用プログラムを作成するプログラミング装
置において、上記制御シンボル個別のメモリ容量および
あらかじめ定義された全メモリ容量と、上記制御シンボ
ル個別のメモリ容量から算出した残メモリ容量を制御用
プログラム作成・編集段階でリアルタイムに表示する手
段を備えたプログラミング装置。
1. A programming device for displaying a predetermined control symbol on a screen of a display device to create a control program, wherein a memory capacity for each control symbol and a total memory capacity defined in advance, and a memory capacity for each control symbol A programming device equipped with means for displaying the remaining memory capacity calculated from the memory capacity in real time during the control program creation / editing stage.
JP6564991U 1991-08-20 1991-08-20 Programming device Pending JPH0517701U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6564991U JPH0517701U (en) 1991-08-20 1991-08-20 Programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6564991U JPH0517701U (en) 1991-08-20 1991-08-20 Programming device

Publications (1)

Publication Number Publication Date
JPH0517701U true JPH0517701U (en) 1993-03-05

Family

ID=13293069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6564991U Pending JPH0517701U (en) 1991-08-20 1991-08-20 Programming device

Country Status (1)

Country Link
JP (1) JPH0517701U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2005020070A1 (en) * 2003-08-20 2007-11-01 日本たばこ産業株式会社 Program generation system, program generation program, and program generation module

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2005020070A1 (en) * 2003-08-20 2007-11-01 日本たばこ産業株式会社 Program generation system, program generation program, and program generation module

Similar Documents

Publication Publication Date Title
JPH02232152A (en) Production system simulator forming device
JPH0517701U (en) Programming device
JPH0469472B2 (en)
JP2714100B2 (en) How to make a video
JPH0322002A (en) Programing device
JP3226517B2 (en) NC data creation apparatus and method
JPH05204433A (en) Numerical controller with nc program generating function
JPS6269301A (en) Parts processing cam system
JPS61198305A (en) Program generating device for numerically controlled machine tool
JP2836217B2 (en) Parametric figure registration processing method
JPH0248731A (en) Program display and editing system
JPS6249404A (en) Method and device for editing nc program
JP2840129B2 (en) Method of creating numerical control data for contour machining
JPH0816809A (en) Drawing system
JPH02249072A (en) Graphic data rotating system
JPH0391812A (en) Display system for numerical controller
JPS63293607A (en) Cad/cam automatic programming device
JPH11149311A (en) Input method for work information and means therefor
JPH01282638A (en) Program progress control system
JPS62173144A (en) Control data origination device for electric discharge machine
JPS62103714A (en) Program generating device for industrial robot
JPS6086407A (en) Analyzer for three-dimensional movement
JPS62166409A (en) Display method for numerical controller
JPH04113458A (en) Program data input system
JPH04245382A (en) Method and device for divisional generation of image