JPH0322002A - Programing device - Google Patents

Programing device

Info

Publication number
JPH0322002A
JPH0322002A JP15740189A JP15740189A JPH0322002A JP H0322002 A JPH0322002 A JP H0322002A JP 15740189 A JP15740189 A JP 15740189A JP 15740189 A JP15740189 A JP 15740189A JP H0322002 A JPH0322002 A JP H0322002A
Authority
JP
Japan
Prior art keywords
control
execution time
control program
program
symbol
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
JP15740189A
Other languages
Japanese (ja)
Inventor
Megumi Nakamura
恵 中村
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 JP15740189A priority Critical patent/JPH0322002A/en
Publication of JPH0322002A publication Critical patent/JPH0322002A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily calculate time for execution by storing the execution time for each control symbol, reading, calculating the execution time of the control symbol used for a program for control and displaying the execution time during the preparation of the program for control. CONSTITUTION:The execution time for each control symbol is stored in a storage device 17 and it is judged whether the selected control symbol shows registration to a program 16 for control or deletion. Then, the execution time of the control symbol is read from the storage device 17. According to this judgement, the execution time of the program 16 for control is calculated and this execution time is displayed or a CRT 11 during the preparation of the program 16 for control. Accordingly, it is not necessary to execute the program 16 for control on a controller. Thus, on the stage of preparation and edition for the program for control, the execution time of the program 16 for control can be easily calculated and the program for control can be prepared while observing the display of the execution time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、制御シンボルにより構成される制御プログ
ラムの実行時間を、制御用プログラム作成・編集時に表
示できるプログラミング装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a programming device that can display the execution time of a control program composed of control symbols when creating and editing a control program.

〔従来の技術〕[Conventional technology]

第4図は、例えば三菱発電プラント用プログラミング装
置◆MELSEP 1tooメインテナンスパネル′の
カタログに示されたプログラミング装置(以下P. P
.と称す)を備えた制御装置のブロック図である。図に
おいて、(1)はP. P. , (2)は制御装置で
ある。(ロ)はCRT,Q3はキーボード(以下K/B
と称す)、Q3はCRT(lυとK/B(6)を用いて
作成した制御用プログラムの画像データを機械語に変換
する制御用プログラム作成ソフトウエア、軸は制御用シ
ンボル機械語記憶ソフトウエア、Qリは制御用プログラ
ム作成ソフトウエア切によって作成された制御用プログ
ラム、四は制御装I! (2)との通信を行う制御装置
I/Fソフトウエア、C!υはCPU,@はP. P.
 (1)との通信を行うP. P. I/Fソフトウエ
ア、(自)はP. P. (1)で作成した制御用プロ
グラム、(財)は制御用プログラム翰を定周期に起動す
るタイマ、(ニ)は時刻管理装置、(ニ)は制御用プロ
グラム実行時間記憶エリアである。
Figure 4 shows, for example, the programming device (hereinafter referred to as P.P.
.. FIG. In the figure, (1) is P. P. , (2) is a control device. (B) is a CRT, Q3 is a keyboard (hereinafter K/B)
), Q3 is control program creation software that converts the image data of a control program created using CRT (lυ and K/B (6)) into machine language, and the axis is control symbol machine language storage software. , Qli is the control program created by turning off the control program creation software, 4 is the control device I/F software that communicates with the control device I! (2), C!υ is the CPU, @ is the P .P.
P. to communicate with (1). P. I/F software (self) is P. P. The control program created in (1) is a timer that periodically starts the control program, (d) is a time management device, and (d) is a control program execution time storage area.

又、第5図は制御装置(2)の内部処理フローである。Moreover, FIG. 5 is an internal processing flow of the control device (2).

次に動作について説明する。P. P.(1)ではCR
TQLIの画面にK/B(ロ)を用いて制御シンボルを
描くことによって制御用プログラムの画像データを作成
する。次いで、制御用プログラム作成ソフトウエア0は
作成された画像データを、制御シンボル機械語記憶ソフ
トウエアα彎を参照しながら制御用プログラムutyを
生成する。そして、制御装置I/Fソフトウエア(ト)
を介して、制御プログラムα呻を制御装!(2)へ送信
する。制御装fl (2Jは、P. P, I/Fソフ
トウエア@を介して制御用プログラム(自)を得る。制
御プログラムの実行は、第5図に示すフロー図のように
タイマー(財)から定周期に起動される。
Next, the operation will be explained. P. P. In (1), CR
Image data for the control program is created by drawing control symbols on the TQLI screen using K/B (b). Next, the control program creation software 0 generates a control program uty using the created image data while referring to the control symbol machine language storage software α. Then, the control device I/F software (g)
Control the control program α through the control device! (2) Send to. The control device fl (2J obtains the control program (self) via the P. It is activated at regular intervals.

そして、時刻管理装1(ニ)から制御用プログラム実行
開始時刻を得る(ST−11)。そして制御用プログラ
ム翰を実行し( ST− 12 )、再び時刻管理装置
(ニ)から、制御用プログラム実行終了時刻を得る(S
T−13)。次に、(ST−13)と(ST−11)で
得た時刻の差より制御用プログラム実行時間を算出し、
制御用プログラム実行時間記憶エリア(至)に格納する
(ST−14)。そしてP. P.(1)は制御装置I
/FソフトウエアーとP.P.I/Fソフトウエア@を
介して制御用プログラム実行時間記憶エリア(ホ)の内
容を読み、それをCRTQυに表示する。
Then, the control program execution start time is obtained from the time management device 1 (d) (ST-11). Then, the control program is executed (ST-12), and the control program execution end time is obtained again from the time management device (D) (ST-12).
T-13). Next, calculate the control program execution time from the difference between the times obtained in (ST-13) and (ST-11),
It is stored in the control program execution time storage area (to) (ST-14). And P. P. (1) is the control device I
/F software and P. P. The contents of the control program execution time storage area (e) are read through the I/F software @ and displayed on the CRTQυ.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のプログラミング装置は、以上のように構成されて
いるので、制御用プログラムの実行時間を求めるにはこ
の制御用プログラムを実際に実行させてみなければなら
ず、制御装置上でしか実行時間を求めることができない
という課題があった。
Conventional programming devices are configured as described above, so in order to determine the execution time of a control program, the control program must actually be executed, and the execution time can only be determined on the control device. The problem was that it was impossible to ask for it.

この発明は上記のような課題を解決するためになされた
もので、制御用プログラムを制御装置上で実行すること
なく、制御用プログラムの作成・編集段階で71llI
御用プログラムの実行時間を容易に求めることができる
と共に、実行時間の表示を見ながら制御用プログラムが
作成できるプログラミング装置を得ることを目的とする
, 〔課題を解決するための手段〕 この発明に係るプログラミング装置は、制御シンボル毎
の実行時間を記憶装置に記憶し、選択された制御シンボ
ルが制御用プログラムへの登録か削除かを判断し、上記
記憶装置から制御シンボルの実行時間を読み出し、上記
判断に従って制御用プログラムの実行時間を求めると共
に、この実行時間を上記制御用プログラムの作成中に表
示するようにしたものである。
This invention was made to solve the above-mentioned problems, and it is possible to create and edit a control program without running the control program on the control device.
[Means for Solving the Problems] It is an object of the present invention to provide a programming device that can easily determine the execution time of a control program and also create a control program while viewing the display of the execution time. The programming device stores the execution time of each control symbol in the storage device, determines whether the selected control symbol is to be registered or deleted from the control program, reads the execution time of the control symbol from the storage device, and executes the above determination. Accordingly, the execution time of the control program is determined, and this execution time is displayed while the control program is being created.

〔作用〕[Effect]

この発明におけるプログラミング装置は、作成・編集中
の制御用プログラムの実行時間を制御シンボルの登録・
削除の度に計算し表示することにより、実行時間を参照
しながら制御用プログラムの作成・編集ができる。
The programming device according to the present invention saves the execution time of the control program being created/edited by registering and registering control symbols.
By calculating and displaying the calculation each time a deletion is made, a control program can be created and edited while referring to the execution time.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、(1)l.tP. P. (IIJハcR
T, (t4はK/B,(LlはCRT(IIJ(7)
画面ニK / B nを用いて作成した制御用プログラ
ムの画像データを機械語に変換する制御用プログラム作
成ソフトウエア、(1414よ制御用シンボル機械語記
憶ソフトウエア、明は制御シンボル側別実行時間記惚ソ
フトウエア、q0は制御用プログラム作成ソフトウエア
0によって作成された制御用プログラム、(ロ)は制御
用プログラム芙行時間記憶エリア、一はFIIl御製置
との通信を行なう制御装置I/Fソフトウェアである。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, (1) l. tP. P. (IIJhacR
T, (t4 is K/B, (Ll is CRT (IIJ(7)
Control program creation software that converts the image data of the control program created using the screen Ni K/B n into machine language, (1414 is the control symbol machine language storage software, and the light is the execution time for each control symbol side. q0 is a control program created by control program creation software 0, (b) is a control program time storage area, and (1) is a control device I/F that communicates with FIIl's equipment. It's software.

又、第2図は、プログラミング装置の内部処理フロー図
であり、第3図はプログラミング装置の制御用プログラ
ム作成時の表示画面図である。この制御用プログラムは
実行された場合、画面に表示されている全ての演算処理
が実行されるものである, 次に動作について説明する。制碑用プログラムは,CR
Tα勾とK/B(6)を用いて制御シンボルを描くこと
により作或する。制御用プログラム作成ソフトウエア(
ト)は@2図のフロー図に示すように、ます制御用プロ
グラム実行時間記憶エリアリηに0をセットし(ST−
1)、その値をCRTαυに表示する(ST−2)。
Further, FIG. 2 is an internal processing flow diagram of the programming device, and FIG. 3 is a display screen diagram when the programming device creates a control program. When this control program is executed, all arithmetic processing displayed on the screen is executed.The operation will be explained next. The monument monument program is CR
It is created by drawing a control symbol using Tα gradient and K/B(6). Control program creation software (
As shown in the flowchart in Figure @2, set the control program execution time storage area η to 0 (ST-
1), the value is displayed on CRTαυ (ST-2).

次に、C R ’1’ (lυ,K/Bg3で作成中の
制御用プログラムの画像データを得る(ST−3)。そ
して得られた画像データを判定する(ST−4)。制御
シンボルの登録、又は削除ならば制御シンボル個別実行
時間記憶ソフトウェア(ト)の中から制御シンボルの実
行時間を求める(ST−s)。制御シンボルの登録か削
除かを判定し(Sr−6)、登録ならば制御用プログラ
ム実行時間記憶エリアσカに制御シンボルの実行時間を
加算し(ST−7)、削除ならばm算する(s’r−s
)。
Next, obtain the image data of the control program being created with C R '1' (lυ, K/Bg3 (ST-3). Then, judge the obtained image data (ST-4). If it is registered or deleted, find the execution time of the control symbol from the control symbol individual execution time storage software (ST-s).Determine whether the control symbol is registered or deleted (Sr-6), and if it is registered, For example, add the execution time of the control symbol to the control program execution time storage area σ (ST-7), and if it is deleted, calculate m (s'r-s
).

(ST−7),又は(ST−8)が終了したら制御用プ
ログラムの画像データを機械語に変換し(ST−9)、
再び(ST−2)を実行する。(ST−4)で制御用プ
ログラムの作成が終了したと判断した時、作或した制御
用プログラムは制御装置I/Fソフトウエア(ト)を介
して制御装置へ送信される。
After completing (ST-7) or (ST-8), convert the image data of the control program into machine language (ST-9),
Execute (ST-2) again. When it is determined in (ST-4) that the creation of the control program is completed, the created control program is transmitted to the control device via the control device I/F software (g).

なお、上記実施例ではCRTに制御用プログラムの実行
時間を表示する場合について説明したが、プログラミン
グ装置がプリンタを備えている場合、プリンタに印字出
力することで実行時間を表示しても良い。
In the above embodiment, a case has been described in which the execution time of the control program is displayed on the CRT, but if the programming device is equipped with a printer, the execution time may be displayed by printing on the printer.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によればプログラミング装置を
、制御シンボル毎の実行時間を記憶し、制御用プログラ
ムに使用された制御シンボルの実行時間を読み出し計算
し、制御用プログラム作成中に実行時間を表示し、これ
を参照しながら制御用プログラムが作成できるように構
成したので、作成した制御用プログラムを制御装置上で
実行することなく、制御用プログラム作成段階から容易
に実行時間を求めることができるものが得られる効果が
ある。
As described above, according to the present invention, the programming device stores the execution time of each control symbol, reads and calculates the execution time of the control symbols used in the control program, and calculates the execution time while creating the control program. Since the control program is displayed and the control program can be created while referring to this, the execution time can be easily determined from the control program creation stage without having to run the created control program on the control device. It has the effect of getting something.

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

第1図はこの発明の一実施例によるプログラミング装置
を示すブロック図、第2図は第1図のプログラミング装
置の処理フロー図、第3図は第1図のプログラミング装
置の制御用プログラム作成時の表示画面図、亀4図は従
来のプログラミング装置を備えた制御装置を示すブロッ
ク図、第5図は第4図の制御製置の処理フロー図である
。 図において、(1)はプログラミング製置である。 QDはCRT, 切はK/B%0は制御用プログラム作
成ソフトウエア、軸は全制御シンボル板械語ソフトウエ
ア、Qf9は全制御シンボル個別実行時間記憶ソフトウ
エア、QQは制御用プログラム、αηは制御用プログラ
ム実行時間記憶エリア、(9)は制御装置I/Fソフト
ウエアである。 また、(2)は制御装置、l2υはCPU,@はプログ
ラミング装置I/Fソフトウエア、翰は制御用プログラ
ム、(財)はタイマー、(自)は時刻管理装置、(ホ)
は制御用プログラム実行時間記憶エリアである。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram showing a programming device according to an embodiment of the present invention, FIG. 2 is a processing flow diagram of the programming device shown in FIG. 1, and FIG. 3 is a flowchart of the programming device shown in FIG. The display screen diagram, Figure 4, is a block diagram showing a control device equipped with a conventional programming device, and Figure 5 is a processing flow diagram of the control setup shown in Figure 4. In the figure, (1) is the programming setting. QD is CRT, OFF is K/B%0 is control program creation software, axis is all control symbol board machine language software, Qf9 is all control symbol individual execution time storage software, QQ is control program, αη is Control program execution time storage area (9) is control device I/F software. In addition, (2) is the control device, l2υ is the CPU, @ is the programming device I/F software, Kan is the control program, (Foundation) is the timer, (Own) is the time management device, (E)
is a control program execution time storage area. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 表示装置の画面に所定の制御シンボルを表示して制御用
プログラムを作成するプログラミング装置において、上
記制御シンボルごとの実行時間を記憶する記憶手段を備
え、上記制御プログラム作成中の上記制御シンボルの登
録および削除ごとにそのときの該制御プログラムの実行
時間を求め表示することを特徴とするプログラミング装
置。
A programming device for creating a control program by displaying predetermined control symbols on the screen of a display device, comprising a storage means for storing an execution time for each control symbol, and for registering and registering the control symbols during creation of the control program. A programming device characterized in that for each deletion, the execution time of the control program at that time is determined and displayed.
JP15740189A 1989-06-19 1989-06-19 Programing device Pending JPH0322002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15740189A JPH0322002A (en) 1989-06-19 1989-06-19 Programing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15740189A JPH0322002A (en) 1989-06-19 1989-06-19 Programing device

Publications (1)

Publication Number Publication Date
JPH0322002A true JPH0322002A (en) 1991-01-30

Family

ID=15648829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15740189A Pending JPH0322002A (en) 1989-06-19 1989-06-19 Programing device

Country Status (1)

Country Link
JP (1) JPH0322002A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002351509A (en) * 2001-05-25 2002-12-06 Mitsubishi Electric Corp Programming tool and programming method
WO2012023296A1 (en) * 2010-08-16 2012-02-23 三菱電機株式会社 Control program generation device, control program generation program, and control program generation method
KR20160101158A (en) 2013-12-26 2016-08-24 미쓰비시 마테리알 가부시키가이샤 Drill insert and indexable drill

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002351509A (en) * 2001-05-25 2002-12-06 Mitsubishi Electric Corp Programming tool and programming method
WO2012023296A1 (en) * 2010-08-16 2012-02-23 三菱電機株式会社 Control program generation device, control program generation program, and control program generation method
JP5536892B2 (en) * 2010-08-16 2014-07-02 三菱電機株式会社 Control program generation device, control program generation program, and control program generation method
US9176490B2 (en) 2010-08-16 2015-11-03 Mitsubishi Electric Corporation Control program generation device, control program generation program, and control program generation method
KR20160101158A (en) 2013-12-26 2016-08-24 미쓰비시 마테리알 가부시키가이샤 Drill insert and indexable drill

Similar Documents

Publication Publication Date Title
JPH0322002A (en) Programing device
JPS62190507A (en) Graphic input method
JPH07120285B2 (en) How to use the syntax checker and text editor
JP2645202B2 (en) Plant simulator
JPH02181801A (en) Programming device
TWI823327B (en) Monitoring area setting device, monitoring area setting method and monitoring area setting program
JP4755844B2 (en) Operation guidance support program, operation guidance support processing method, information processing apparatus
JPH0668369A (en) System monitoring abnormality progress reproducing device
JPH01263741A (en) Picture displaying system at time of system rise
JPH0565888B2 (en)
JP2522683Y2 (en) Graphic processing unit
JP2762665B2 (en) Blog programming device for programmable controller
JP2611982B2 (en) Hard copy control device
JP3384141B2 (en) Programmable controller and programmable controller maintenance device
JPH05341939A (en) Operation contents display method for programmable controller
JPS63234303A (en) Warning device for deterioration of performance of external equipment for programmable controller
JPH0517701U (en) Programming device
JPS62293354A (en) Back-up device formation of specialist system
JPH06149933A (en) Device and method for visualizing program operation
JP2749224B2 (en) Performance analysis system for data driven programs
JPH0217567A (en) Document processing device
JP4526975B2 (en) Abnormality response capacity measuring device
JP2817846B2 (en) Information processing apparatus and method
JPH05277270A (en) Stitch data preparation device for sewing machine
JPH0664589B2 (en) Drawing method in CAD system