JPH02181801A - Programming device - Google Patents

Programming device

Info

Publication number
JPH02181801A
JPH02181801A JP161389A JP161389A JPH02181801A JP H02181801 A JPH02181801 A JP H02181801A JP 161389 A JP161389 A JP 161389A JP 161389 A JP161389 A JP 161389A JP H02181801 A JPH02181801 A JP H02181801A
Authority
JP
Japan
Prior art keywords
control program
execution time
control
storage means
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
JP161389A
Other languages
Japanese (ja)
Inventor
Koichi Adachi
浩一 足立
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 JP161389A priority Critical patent/JPH02181801A/en
Publication of JPH02181801A publication Critical patent/JPH02181801A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily obtain the execution time of a control program without permitting a controller to execute the control program by reading the execution time of a control symbol which is used for the control program from a storage means for summing up the result. CONSTITUTION:The storage means 17 storing the execution time at every control symbol and a means 11 which reads the execution time of the control symbol used for the control program from the storage means 17, which executes adding up and which obtains and displays the execution time of the control program are installed. Namely, the execution time at every control symbol for programming for control is stored in the storage means 17. Then, the execution time used for the control program is read from the storage means 17, the execution time is added up, and the execution time of said control program is obtained and displayed. Thus, the execution time can easily be obtained without executing the generated control program in the controller.

Description

【発明の詳細な説明】 〔産業上の利用分計〕 この発明は、制御シンボルによって#4rfi、される
制御プログラムの実行時間?制御用プログラム作成時に
表示でAるプログラミング装置に関するものである。
[Detailed Description of the Invention] [Industrial Utilization] This invention provides control program execution time determined by #4rfi using control symbols. This relates to a programming device that displays A when creating a control program.

〔従来の技術〕[Conventional technology]

第4図は、例えば三菱発電プラント用プログラミング装
置” MELSEP 1100メンテナンスパネル9゜
のカタログに示されたプログラミング装置11(以下P
、P、と称す)全備え比制御装置のブロック図である。
FIG. 4 shows, for example, a programming device 11 (hereinafter P
, P) is a block diagram of a full-feature ratio control device.

図にふ・いて、(11はP、P、 、 +21は制御装
置である。
In the figure, (11 is P, P, +21 is a control device.

(11)はCRT 、 (121はキーボード(以下に
/aと称す)、◇埠はCRT (Illとに/B (1
21を用いて作成した制御用プログラムの画像データを
機械給に変換する制御用プログラム作成ソフトウェア、
■は制御用シンボル機械語記憶ソフトウェア、Oeはi
II御用プログラム作成ソフトウェア031によって作
成され比制御用プログラム、舖は制御装置]2)との通
信を行う制御装@ I/Fソフトウェア、HF1cpu
 、■はP、P、 +11との通信を行うF’−P−1
7Fソフトウエア、曽はP、P、fllで作成した制御
用プログラム、e241は制御用プログラム翰を定間期
に起動するタイマ、(至)は時刻宮埋装置、(至)は制
御用プログラム実行時間記憶工I77である。
(11) is a CRT, (121 is a keyboard (hereinafter referred to as /a), ◇B is a CRT (Ill and /B (1
Control program creation software that converts image data of a control program created using 21 into machine feed;
■ is control symbol machine language storage software, Oe is i
Control device @ I/F software, HF1cpu that communicates with the ratio control program created by the II official program creation software 031 or the control device]2)
, ■ is F'-P-1 that communicates with P, P, +11.
7F software, So is a control program created with P, P, fll, e241 is a timer that starts the control program at regular intervals, (To) is a time embedding device, (To) is a control program execution It is a time memory machine I77.

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

次に動作について説明する。P、Pd[lではCRT 
(Illの画面にに/8021 k用いて制御シンボル
を描くことによって−jlIlil用プログラムの画像
データを作成する。次いで、制−用プログラム作成ソフ
トウェア03は作成された画像データを、制御シンボル
機械語記憶ソフトウェア(+41を参照しながら制御用
プログラム0・を生成する。そして、側副装置x7’p
ソフトウェア(l樽を介して、制御プログラム(ldを
制御装置f21へ送信する。制御装置+21は、P、P
、 I/Fソフトウェア□□□を介して制御用プログラ
ム内を得る。制御プログラムの実行は、第5図に示すフ
ロー図のようにタイマー(財)から定周期に起動される
。そして、時刻管理装置−から制御用プログラム実行開
始時刻全得る(sT−11)。そして制御用プログラム
□□□全実行しく5T−12) 、再び時刻管理装置f
(251から、制御用プログラム実行終了時刻を得る(
ST−13)。
Next, the operation will be explained. P, Pd[l is CRT
(By drawing control symbols on the Ill screen using the /8021k, image data for the -jlIlil program is created.Next, the control program creation software 03 stores the created image data in the control symbol machine language memory. Generate the control program 0 while referring to the software (+41. Then, the collateral device x7'p
The control program (ld) is sent to the control device f21 via the software (l barrel. The control device +21 sends P, P
, Obtain the control program via I/F software □□□. Execution of the control program is periodically activated by a timer as shown in the flowchart shown in FIG. Then, the control program execution start time is obtained from the time management device (sT-11). Then, the control program □□□ is fully executed (5T-12), and the time management device f again.
(Obtain control program execution end time from 251 (
ST-13).

次に、(ST−13)と(ST−11)で得た時刻の差
より制御用プログラム実行時間を算出し、制御用プログ
ラム実行時間記憶エリア翰に格納する( 5T−14)
Next, the control program execution time is calculated from the difference between the times obtained in (ST-13) and (ST-11), and is stored in the control program execution time storage area (5T-14).
.

そして、P、P、+11は制御装m x/Fソフトウェ
アHとP、P、 I/Fソフトウェア(2X5を介して
I′1liIO用プログラム実行時間記憶エリア翰の内
容を読み、それを(:RTi川に表示する。
Then, P, P, +11 read the contents of the program execution time storage area for I'1liIO through the control unit mx/F software H and P, P, I/F software (2 Show on the river.

〔発明が解決しようとするfia) 従来のプログラミング装置は、以上のように構成されて
いるので、制御用プログラムの実行時間を得る之めには
制御用プログラム全実行させなければならず、1.制御
装置上でしか実行時間を得ることができないという課題
があり几。
[FIA to be Solved by the Invention] Since the conventional programming device is configured as described above, in order to obtain the execution time of the control program, the entire control program must be executed. The problem is that the execution time can only be obtained on the control device.

この発明は、上記のような課題を解決する九めになされ
たもので、制御用プログラムを制御装置で実行すること
なく、制御用プログラノ・の実行時間を容易に求めるこ
とができるプログラミング装置を得ること?目的とする
This invention has been made in the ninth attempt to solve the above-mentioned problems, and provides a programming device that can easily determine the execution time of a control program without executing the control program on the control device. thing? purpose.

C諌龜を解決するための手段〕 この発明に係るプログラミング装置は、表示装置の画面
に所定の制御シンボルを表示して制御用プログラム全作
成すくプログラミング装置において、上記制御シンボル
ごとの実行時間全記憶する記憶手段、および該記憶手段
から上記制御用プログラムに使用された上記lIJ御シ
ンボルの実行時間を読み出し集計して上記制御プログラ
ムの実行時間を求め表示する手段金膜けたものである。
Means for Solving Problem C] The programming device according to the present invention displays predetermined control symbols on the screen of a display device to create all control programs. and means for reading and totaling the execution time of the IIJ control symbols used in the control program from the storage means to obtain and display the execution time of the control program.

〔作用〕[Effect]

この発明におけるプログラミング装置は、記憶手段に制
御用プログラム作成用の制御シンボルごとの実行時間を
記憶しており、IIJ御用ブaグラムに使用され比制御
シンボルの実行時間を上記記憶手段から読み出し集計し
て上記制御プログラムの実行時間を求め表示する。
The programming device according to the present invention stores the execution time of each control symbol for creating a control program in the storage means, and reads and totals the execution time of the ratio control symbol used in the IIJ official program a-gram from the storage means. The execution time of the control program is determined and displayed.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図において、(IIはP、P、(IllはCRT、Q2
JはKA%Q3)はCRT (III I)画面K K
/13 Q21 ’i用イテ作成した制御用プログラム
の画像データを機械語に変換する制御用プログラム作成
ソフトウェア、(141till+御用シンボル機械語
記憶ソフトウェア、輛は制御シンボル個別実行時間記憶
ソフトウェア、01りは制御用プログラム作成ソフトウ
ェア(13+によって作成された制御用プログラム、Q
ηは制(財)用プログラム実行時間記憶エリア、081
は制御装置との通信を行なう制御装置1/Fソフトウエ
アである。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, (II is P, P, (Ill is CRT, Q2
J is KA%Q3) is CRT (III I) screen K K
/13 Q21 Control program creation software that converts the image data of the control program created for 'i into machine language, (141till + official symbol machine language storage software, 蛛 is control symbol individual execution time storage software, 01 is control program creation software (control program created by 13+, Q
η is the control program execution time storage area, 081
is control device 1/F software that communicates with the control device.

又、第2図は、プログラミング装置の内部処理フロー図
であり、第3図はプログラミング装置の制御用プログラ
ム作成時の表示画面図である。この制−用プログラムは
実行された場合、画面に表示されている全ての演算処理
が実行されるものである。
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 operations displayed on the screen are executed.

次に動作について説明する。制御用プログラムは、CR
T illとKAt2+を用いて側副シンボル金描くこ
とによって作成する。制御用プログラム作成ソフトウェ
ア(1(至)は、第2図のフロー図に示すようにまず、
CRT 1lll 、 K/B (121で作成し比制
御用プログラムのi!II像データを得る(ST−1)
。そして、制御用プログラム実行時間記憶エリア(Iη
に0をセットする( 5T−2)。次に、制御用プログ
ラムの画像データが全て機械語に変換できたか判断する
(ST−3)。全て変換されていない時、制御シンボル
機械珀記憶ン7ト9エアa4を参照しながら画像データ
を制御シンボル単位に磯檎飴に変換し、制御用プログラ
ムαeを作成する( ST −4)。そして制御シンボ
ル個別実待時間記憶ソフトウェア051の中から(ST
−4)で変換した制御シンボルの実行時間を制御用プロ
グラム実行時間記憶エリア(I71に加算する(ST−
5)。そして再び(ST−3)を実行する。(ST−3
)で、全て機械飴に変換でき之と判断した時、制御用プ
ログラム実行時間記憶エリア(171に格納している値
をCRT i11+に表示する(ST−6)。次に作成
した制御用プログラム061は1lil+御装r1tl
/Fソフトウエアα&を介して制御装置(21へ送信す
る。
Next, the operation will be explained. The control program is CR
It is created by drawing a collateral symbol gold using T ill and KAt2+. The control program creation software (1 (to) starts with the steps shown in the flowchart in Figure 2.
CRT 1ll, K/B (Create with 121 to obtain i!II image data of ratio control program (ST-1)
. The control program execution time storage area (Iη
Set to 0 (5T-2). Next, it is determined whether all the image data of the control program has been converted into machine language (ST-3). If not all have been converted, the image data is converted into Isogi candy in units of control symbols while referring to the control symbol mechanical storage unit 7 air a4, and a control program αe is created (ST-4). Then, from the control symbol individual actual waiting time storage software 051 (ST
-4) Add the execution time of the control symbol converted to the control program execution time storage area (I71 (ST-
5). Then, (ST-3) is executed again. (ST-3
), when it is determined that all can be converted into mechanical candy, the value stored in the control program execution time storage area (171) is displayed on the CRT i11+ (ST-6). Next, the created control program 061 is 1lil + goso r1tl
/F The data is sent to the control device (21) via the software α&.

第3図は制御用プログラム実行時間記憶エリアαηに格
納している[ f CRT K表示した画面表示図であ
る。
FIG. 3 is a screen display diagram of [f CRT K stored in the control program execution time storage area αη.

なお、上記実施例では制御用プログラムの画像データを
機械飴Vc変換りながら、実行時間を其出し九が、制御
用ブaグラムの優械梧の清報から実行時間を算出し、で
もよく、上記実施例と同様の効果がある。
In addition, in the above embodiment, while converting the image data of the control program into a machine image Vc, the execution time may be calculated from the information of the control program A program. This embodiment has the same effect as the above embodiment.

また、1明実施例ではCRTに制御用プログラムの実行
時間?表示する場合について説明したが、プログラミン
グ装置がプリンターを備えている場合には、プリンター
で印字出力することにより実行時間fr表示しても良い
In addition, in the first embodiment, the execution time of the control program is displayed on the CRT. Although the case where the execution time fr is displayed has been described, if the programming device is equipped with a printer, the execution time fr may be displayed by printing it out with the printer.

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

以上のように、この発明によればプログラミング装置を
、表示装置の画面に所定の制御シンボルを表示してjl
rll n用プログラムを作成するプログラミング装置
において、上記制御シンボルごとの実行時間を記憶する
記憶手段、および該記憶手段から上記制御用プログラム
に使用された上記制御シンボルの実行時間を読み出し集
計して上記制御用プログラムの実行時間を求め表示する
手段を備えるように構成したので、作成した制御用プロ
グラムを制御装置で実行することなく、容易に実行時間
管求めることができるものが得られる効果がある。
As described above, according to the present invention, the programming device displays predetermined control symbols on the screen of the display device to
In a programming device for creating a program for rll n, there is provided a storage means for storing the execution time of each control symbol, and the execution time of the control symbols used in the control program is read out from the storage means and summed up to calculate the execution time of the control symbol. Since the present invention is configured to include a means for determining and displaying the execution time of the control program, it is possible to easily determine the execution time without executing the created control program on the control device.

【図面の簡単な説明】 第1図はこの発明の一実施例によるプログラミング装[
i1?示すブロック図、第2図は第1図のプログラミン
グ装置の処理フロー図、第3図は第1図のプログラミン
グ装置の制御用プログラム作成時の表示画面図、第4図
は従来のプログラミング装置t全備えた制御装置を示す
ブロック図、第5図は第4図の制御装置の処理フロー図
である。 図において、(1)はグログラミング装置である。 なお、図中、同一符号は同一、又は相当部分を示す。
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 shows a programming device according to an embodiment of the present invention.
i1? 2 is a processing flow diagram of the programming device shown in FIG. 1, FIG. 3 is a display screen diagram of the programming device shown in FIG. 1 when creating a control program, and FIG. 4 is a complete diagram of the conventional programming device. FIG. 5 is a block diagram showing the control device provided, and FIG. 5 is a processing flow diagram of the control device shown in FIG. In the figure, (1) is a gramming device. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 表示装置の画面に所定の制御シンボルを表示して制御用
プログラムを作成するプログラミング装置において、上
記制御シンボルごとの実行時間を記憶する記憶手段、お
よび該記憶手段から上記制御用プログラムに使用された
上記制御シンボルの実行時間を読み出し集計して上記制
御プログラムの実行時間を求め表示する手段を備えたプ
ログラミング装置。
In a programming device for creating a control program by displaying predetermined control symbols on the screen of a display device, there is provided a storage means for storing an execution time for each of the control symbols, and a storage means for storing the execution time for each of the control symbols, and the above information used for the control program from the storage means. A programming device comprising means for reading and totaling the execution times of control symbols to determine and display the execution time of the control program.
JP161389A 1989-01-07 1989-01-07 Programming device Pending JPH02181801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP161389A JPH02181801A (en) 1989-01-07 1989-01-07 Programming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP161389A JPH02181801A (en) 1989-01-07 1989-01-07 Programming device

Publications (1)

Publication Number Publication Date
JPH02181801A true JPH02181801A (en) 1990-07-16

Family

ID=11506363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP161389A Pending JPH02181801A (en) 1989-01-07 1989-01-07 Programming device

Country Status (1)

Country Link
JP (1) JPH02181801A (en)

Cited By (1)

* 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

Cited By (1)

* 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

Similar Documents

Publication Publication Date Title
JPH02181801A (en) Programming device
JPH0973407A (en) Data management device
JPH0528157A (en) Word processor
JPH0322002A (en) Programing device
JP2738594B2 (en) Electronic computer
JP2001282344A (en) Method and system for making production plan of tact production
JP3978619B2 (en) Graphical user interface device
JP2682418B2 (en) Graph display processing method
JPS594345Y2 (en) cash register
JPH1031581A (en) Control software generation support device in mechanism system
JP2560344Y2 (en) Small electronic calculator
JP2879764B2 (en) Hierarchical menu processor
JP2001005656A (en) Program customizing device and storage medium
JPH01158556A (en) Device for setting operational mode of electronic calculator
KR0159816B1 (en) Active/inactive control method by time of cash register keyboard
JPS6227867A (en) Picture data correcting system
JP3265708B2 (en) Prohibition processing setting device
JP3743869B2 (en) Electronic computing device
JP2543215Y2 (en) Logic circuit simulation waveform display
JPH0738191B2 (en) Document processing device with date automatic update output function
JPS61235928A (en) Key inputting system
JPH09101863A (en) Method and device for controlling input of information processor
JPH0397081A (en) Graphic display device
JPH02176849A (en) Electronic calculator
JPS59197961A (en) Operation system of selling data processing device