JPH01273104A - Programming device for digital control apparatus - Google Patents

Programming device for digital control apparatus

Info

Publication number
JPH01273104A
JPH01273104A JP10200388A JP10200388A JPH01273104A JP H01273104 A JPH01273104 A JP H01273104A JP 10200388 A JP10200388 A JP 10200388A JP 10200388 A JP10200388 A JP 10200388A JP H01273104 A JPH01273104 A JP H01273104A
Authority
JP
Japan
Prior art keywords
memory
program
digital control
programs
programming device
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
JP10200388A
Other languages
Japanese (ja)
Inventor
Kazuma Tatsumi
巽 一馬
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 JP10200388A priority Critical patent/JPH01273104A/en
Publication of JPH01273104A publication Critical patent/JPH01273104A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Control By Computers (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To easily execute a copy, a movement and a collation of a part of a program between programs by setting the capacity of a memory for storing the program data to the capacity which can store plural programs. CONSTITUTION:A memory 14a contained in a programming device 2 has the same capacity as that of a memory 5 contained in a digital control apparatus 1, therefore, the contents of the memory 5 are read in advance in the memory 14a in an on-line mode. As a result, even at the time of a local mode, the same programs P1-Pn as those of the memory 5 are stored in the memory 14a, therefore, even in a local mode in which the programming device 2 has been detached from the digital control apparatus 1, a work for copying, moving and collating a part or the whole of a program can be executed easily between plural programs.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、ディジタル制御機器において使用されるプ
ログラムの作成、修正、複写および照合等の作業を行う
プログラミング装置に関し、特にローカルモードにおい
ての使用態様を高めたディジタル制御機器用プログラミ
ング装置に関するものである。
The present invention relates to a programming device for creating, modifying, copying, collating, etc. programs used in digital control equipment, and particularly relates to a programming device for digital control equipment that can be used in a local mode.

【従れ術】[Following technique]

第2図は、例えば[三菱電機技報J  Vol、54.
N。 12 (1980年12月)33〜37頁に示された従
来のディジタル制御機器用プログラミング装置を示す構
成図である。図において、1はディジタル・シーケンス
コントローラ等のディジタル制御機器であって、メモリ
に格納されているプログラムおよびデータに応じて各種
の制御を実行する。2は前記ディジタル制御機器1に接
続されて、プログラミングの作成及び修正を実行するプ
ログラミング装置である。ここで、前記ディジタル制御
機器lに於いて、3は中央演算処理部であって、バス4
を介して接続されているメモリ5に格納されているプロ
グラムおよびデータに応じて制御処理を実行する。6は
パス4に接続されて、外部機器としてのプログラミング
装置2と通信を行う通信インターフェース、7,8はバ
ス4とバス9との間に於いて、各種制御データを相互に
交換するバスインターフェース、10はバス9に接続さ
れて、プロセス制御及びプロセスデータの取り込みを行
うプロセス入出力部である。 また、プログラミング装置2に於いて、11は内部に格
納されているプログラムに応じて作動することにより、
プログラムの作成処理を実行する中央演算処理装置、1
2はバス13を介して中央演算処理装置11に接続され
た通信インターフェースであって、外部回線を介してデ
ィジタル制御機器1に於ける通信インターフェース6に
接続されている。14は作成されたプログラムが格納さ
れるメモリ、15はプログラムの入力時およびプログラ
ムの修正時等において、目視確認する為に使用される陰
極線管デイスプレー(以下CRTデイスプレーと称す)
であって、CRTインターフェース16を介してバス1
3に接続されている。 17はプログラムの入力時およびプログラムの修正時等
に使用するキーボードであって、キーボードインターフ
ェース18を介してバス13に接続されている。19は
作成されたプログラムの保管に使用されるフレキシブル
ディスクドライバであって、フレキシブルディスクイン
ターフェース20を介してバス13に接続されている。 第3図は、前記第2図に示したディジタル制御機器1に
おけるメモリ5の構成図であって、プログラムP1〜P
、から成るn種のプログラムとデータD、、D、が格納
されている。 第4図は前記第2図に示したプログラミング装置2にお
けるメモリ14の構成図であって、1種のプログラムX
のみを格納することが出来る程度の小容量メモリによっ
て構成されている。 次に動作について説明する。第5図は第2図に示すディ
ジタル制御■機器用プログラミング装置におけるプログ
ラミング装置2の動作を示すフローチャートであって、
プログラミング装置2はその動作開始時に中央演算制御
部11がその内部に格納しているチエツクプログラムに
よって、ステップST、に示すようにディジタル制御機
器1との接続状態を判断する。そして、この接続状態の
判断は、通信インターフェース12が外部回線を介して
ディジタル制御機器1の通信インターフェース6に接続
されていることが確認されると、オンライン・モードで
あると判断されて、その判断結果がイエスとなることに
よりステップSTIに移行する。また、通信インターフ
ェース12がディジタル制御機器lの通信インターフェ
ース6に接続されていないこと、つまり通信インターフ
ェース12と通信インターフェース6を接続する外部回
線がオープンされている場合には、オフラインとしての
ローカル・モードであると判断されて、その判断結果が
ノーとなることによりステップST3に移行する。 ここで、ステップSTIに於ける判断がオンライン・モ
ードである場合には、ステップST2に移行してプログ
ラムの作成及び修正処理を実行する。例えば、プログラ
ムの作成においては、先ずキーボード17を操作するこ
とにより、キーボードインターフェース18を介して中
央演算制御部11にディジタル制御機器1に設けられて
いるメモリ5の読出指令を与える。中央演算制御部11
は係る続出指令の供給を受けると、通信インターフェー
ス12.外部回線及び通信インターフェース12を介し
て、ディジタル制御機器lの中央演算制御部3にメモリ
5の内容紹介を伝送する。中央演算制御部3は係る内容
紹介を受けると、メモIJ 5に格納されている第3図
詳記のプログラムP。 〜Pmに対するインデックス情報を返送する。プログラ
ミング装置2における中央演算制御部11は係るインデ
ックス情報の返送を受けると、CRTインターフェース
16を介してCRTデイスプレー15にその内容を表示
させる。従って、オペレータは係るCRT15に表示さ
れているインデックス情報から、プログラムの作成に必
要とするプログラム名を指定する。この指定内容は中央
演算制御部11から中央演算制御部3に伝送されて、係
る指定内容のプログラムが読み出されて中央演算制御部
11に転送される。中央演算制御部11は転送プログラ
ムを受けると、先ずメモリ14に格納する。 ここで、プログラミング族W2に於けるメモリ14は、
第4図にも示すようにその性格がプログラムデータの一
時保管であることから、その容量は1種のプログラムデ
ータが格納できる程度の小容量となっている。メモリ1
4に格納されたプログラムデータは、中央演算制御部1
1によって読み出された後に、CRTインターフェース
16を介してCRTデイスプレー15に供給することに
よりその内容を表示させる。オペレータはこのCRTデ
イスプレー15に表示されたプログラムデータをスクロ
ールさせながら、次に作成するプログラムに必要となる
部分を複写および訂正すると共に、新たに必要とする部
分をキーボード17から追加入力することによって目的
とするプログラムをメモリ14内に完成させる。このよ
うにして完成されたプログラムは、再び中央演算制御部
11及び中央演算制御部30制御下に於いて、ディジタ
ル制御機器1のメモリ5に転送されて格納されることに
より使用される。また、メモリ14に格納されている新
規作成のプログラムは、キーボード17から保管指令が
入力されると、中央演算制御部11の制御下において、
フレキシブルディスク・インターフェース20を介して
フレキシブルディスク・ドライバ19にセットされてい
るフレキシブルディスク(フロッピーディスク)に書き
込まれる。このような動作は、ディジタル制御機器1の
メモリ5に格納されているプログラムを修正する場合に
おいても同様である。 次に、ステップSTIに於ける判断がノーとなって、ロ
ーカル・モードであると判断された場合にはステップS
T3に移行する。ここで、オペレータがキーボード17
からメモリに格納されているプログラムの続出指令を入
力すると、中央演算制御部11はローカル・モードであ
ることから、内部メモリとしてのメモリ14に格納され
ているプログラムデータをCRTデイスプレー15に表
示させる。ここで、メモリ14はその容量が前述したよ
うに小さく、1種類のプログラムデータを格納すること
が出来る程度である。従って、現在格納されているプロ
グラムデータが新たに作成しようとするプログラムに関
係しないものであった場合には、その格納プログラムデ
ータデータを交換する必要が生ずる。この場合には、キ
ーボード17からフレキシブルディスクの読取指令を入
力する。このようにして、フレキシブルディスクの読取
指令が入力されると、中央演算制御部11は、フレキシ
ブルディスク・インターフェース20を介してフレキシ
ブルディスク・ドライブ19にセットされているフレキ
シブルディスクに記録されているプログラムリストを先
ず読み取ってCRTデイスプレー15に表示させる。次
に、オペレータが係る表示リストの内容から、目的とす
るプログラム名を指定すると、中央演算制御部11はこ
の指定内容に一致するプログラムデータをフレキシブル
ディスク・ドライブ19から取り出してメモリ14に格
納するとと共に、その内容をCRTデイスプレー15に
表示させる。オペレータは、係る表示プログラムデータ
の中から、必要とする部分だけに複写、修正、複写およ
び照合等の加工処理を加えたり、あるいは新たに必要と
する部分を入力する等の作業を実行することによって、
新たなプログラムを作成する。そして、このようにして
作成された新プログラムは、メモリ14に新たなプログ
ラムとして格納される。また、必要に応じてキーボード
17から保管指令が入力されると、中央演算制御部11
はフレキシブルディスク・インターフェース20を介し
てフレキシブルディスク・ドライブ19に、メモリ14
に格納されているプログラムデータを転送することによ
り、このフレキシブルディスク・ドライブ19にセント
されているフレキシブルディスクに記録することによっ
て保管する。
FIG. 2 is illustrated in, for example, [Mitsubishi Electric Technical Report J Vol. 54.
N. 12 (December 1980), pages 33 to 37, is a configuration diagram showing a conventional programming device for digital control equipment. In the figure, 1 is a digital control device such as a digital sequence controller, which executes various controls according to programs and data stored in a memory. A programming device 2 is connected to the digital control device 1 and executes programming creation and modification. Here, in the digital control equipment l, 3 is a central processing unit, and a bus 4
Control processing is executed in accordance with the programs and data stored in the memory 5 connected via. 6 is a communication interface that is connected to the path 4 and communicates with the programming device 2 as an external device; 7 and 8 are bus interfaces that mutually exchange various control data between the bus 4 and the bus 9; A process input/output unit 10 is connected to the bus 9 and performs process control and imports process data. In addition, in the programming device 2, 11 operates according to a program stored inside.
A central processing unit that executes program creation processing, 1
A communication interface 2 is connected to the central processing unit 11 via a bus 13, and is connected to a communication interface 6 in the digital control device 1 via an external line. 14 is a memory in which the created program is stored; 15 is a cathode ray tube display (hereinafter referred to as CRT display) used for visual confirmation when inputting a program, modifying a program, etc.
bus 1 via the CRT interface 16.
Connected to 3. A keyboard 17 is used for inputting programs, modifying programs, etc., and is connected to the bus 13 via a keyboard interface 18. A flexible disk driver 19 is used to store created programs, and is connected to the bus 13 via a flexible disk interface 20. FIG. 3 is a block diagram of the memory 5 in the digital control device 1 shown in FIG.
, n types of programs and data D, , D, are stored. FIG. 4 is a block diagram of the memory 14 in the programming device 2 shown in FIG.
It is configured with a small capacity memory that can only store the following information. Next, the operation will be explained. FIG. 5 is a flowchart showing the operation of the programming device 2 in the digital control equipment programming device shown in FIG.
When the programming device 2 starts its operation, the central processing control section 11 determines the connection state with the digital control device 1 as shown in step ST, based on the check program stored therein. When it is confirmed that the communication interface 12 is connected to the communication interface 6 of the digital control device 1 via an external line, it is determined that the connection state is online mode. If the result is YES, the process moves to step STI. In addition, if the communication interface 12 is not connected to the communication interface 6 of the digital control device l, that is, if the external line connecting the communication interface 12 and the communication interface 6 is open, the communication interface 12 can be operated in offline local mode. If it is determined that there is, and the determination result is no, the process moves to step ST3. Here, if the online mode is determined in step STI, the process moves to step ST2 to execute program creation and modification processing. For example, when creating a program, first, by operating the keyboard 17, a command to read the memory 5 provided in the digital control device 1 is given to the central processing control unit 11 via the keyboard interface 18. Central processing control unit 11
When receiving such a subsequent command, the communication interface 12. The content introduction of the memory 5 is transmitted to the central processing control unit 3 of the digital control device l via the external line and the communication interface 12. When the central processing control unit 3 receives the content introduction, it executes the program P detailed in FIG. 3 stored in the memo IJ5. ~ Returns index information for Pm. When the central processing control unit 11 in the programming device 2 receives the index information, it displays the contents on the CRT display 15 via the CRT interface 16. Therefore, the operator specifies the program name necessary for creating the program from the index information displayed on the CRT 15. The specified contents are transmitted from the central processing control section 11 to the central processing control section 3, and the program with the specified contents is read out and transferred to the central processing control section 11. When the central processing control unit 11 receives the transfer program, it first stores it in the memory 14. Here, the memory 14 in the programming group W2 is
As shown in FIG. 4, since its nature is to temporarily store program data, its capacity is small enough to store one type of program data. memory 1
The program data stored in the central processing controller 1
1, the contents are displayed on the CRT display 15 through the CRT interface 16. While scrolling the program data displayed on the CRT display 15, the operator copies and corrects the parts necessary for the next program to be created, and also inputs newly required parts from the keyboard 17. The target program is completed in the memory 14. The program completed in this manner is again transferred to the memory 5 of the digital control device 1 and stored therein under the control of the central processing control section 11 and the central processing control section 30 for use. Furthermore, when a storage command is input from the keyboard 17, a newly created program stored in the memory 14 is stored under the control of the central processing control unit 11.
The data is written to a flexible disk (floppy disk) set in the flexible disk driver 19 via the flexible disk interface 20. Such operations are similar when modifying a program stored in the memory 5 of the digital control device 1. Next, if the determination in step STI is NO and it is determined that the mode is local mode, step STI is executed.
Move to T3. Here, the operator selects the keyboard 17.
When a command for successive execution of the program stored in the memory is input from , the central processing control unit 11 displays the program data stored in the memory 14 as an internal memory on the CRT display 15 since it is in the local mode. . Here, the memory 14 has a small capacity as described above, and is only able to store one type of program data. Therefore, if the currently stored program data is not related to a new program to be created, it becomes necessary to exchange the stored program data. In this case, a flexible disk reading command is input from the keyboard 17. In this way, when a flexible disk reading command is input, the central processing control unit 11 reads the program list recorded on the flexible disk set in the flexible disk drive 19 via the flexible disk interface 20. is first read and displayed on the CRT display 15. Next, when the operator specifies a target program name from the contents of the display list, the central processing control unit 11 retrieves program data matching the specified contents from the flexible disk drive 19 and stores it in the memory 14. , the contents are displayed on the CRT display 15. The operator can perform processing such as copying, modifying, duplicating, and collating only the necessary parts of the display program data, or inputting newly necessary parts. ,
Create a new program. The new program created in this way is stored in the memory 14 as a new program. Further, when a storage command is input from the keyboard 17 as necessary, the central processing control unit 11
is connected to the flexible disk drive 19 via the flexible disk interface 20, and the memory 14
The program data stored in the flexible disk drive 19 is transferred and recorded on the flexible disk stored in the flexible disk drive 19 for storage.

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

従来のディジタル制御機器用プログラミング装置は以上
のように構成されているので、ローカル・モードではメ
モリ14にプログラムデータが1種しか格納されておら
ず、プログラム間においてプログラムの一部分を複写、
移動、複写および照合することが出来ない。そして、係
る処理を行うには、プログラミング装置をディジタル制
御機器に接続して、係るディジタル制御機器に内蔵され
ている大容量のメモリを利用するオンライン・モードを
使用しなければならないが、この場合にはディジタル制
御機器を専有してしまうことから、ディジタル制御機器
の使用効率が低下してしまう問題点があった。 この発明は、上記のような問題点を解消するためになさ
れたもので、ディジタル制御機器を専有すること無く、
プログラム間においてプログラムの一部または全部を複
写、移動および照合する等の加工が行えるディジタル制
御機器用プログラミング装置を提供することを目的とす
る。
Since the conventional programming device for digital control equipment is configured as described above, only one type of program data is stored in the memory 14 in the local mode, and part of the program is copied between programs.
Cannot be moved, copied or compared. To perform such processing, the programming device must be connected to a digital control device and an online mode that utilizes the large capacity memory built into the digital control device must be used. Since the system monopolizes the digital control equipment, there is a problem in that the usage efficiency of the digital control equipment decreases. This invention was made to solve the above-mentioned problems, and without having to exclusively use digital control equipment,
It is an object of the present invention to provide a programming device for digital control equipment that can perform processing such as copying, moving, and collating a part or all of a program between programs.

【課題を解決するための手段】[Means to solve the problem]

この発明に係るディジタル制御機器用プログラミング装
置は、プログラミング装置に内蔵されて、プログラムデ
ータの格納を行うメモリの容量を複数プログラムを格納
することができる容量に設定し、このメモリに格納され
た複数プログラム間において、プログラムの一部または
全部を複写。 移動および照合するものである。
A programming device for a digital control device according to the present invention is configured such that the capacity of a memory built in the programming device for storing program data is set to a capacity capable of storing a plurality of programs. Copying part or all of the program during the period. It is for moving and collating.

【作用】[Effect]

この発明におけるディジタル制御機器用プログラミング
装置は、プログラムデータを格納するメモリの容量を複
数プログラムを格納することができる容量に設定したも
のであることがら、このメモリに複数のプログラムデー
タを読み込むことによって、プログラミング装置をディ
ジタル制御機器から切り離したローカル・モードにおい
て、複数プログラム間でプログラムの一部または全部を
複写、移動および照合する作業が極めて容易に行えるこ
とになる。また、プログラムの作成および修正に際して
、ディジタル制御機器を専有しないことから、係るディ
ジタル制御機器の使用効率も向上するこおになる。
In the programming device for digital control equipment according to the present invention, since the capacity of the memory for storing program data is set to a capacity capable of storing a plurality of programs, by reading a plurality of program data into this memory, In the local mode in which the programming device is separated from the digital control equipment, it is extremely easy to copy, move, and collate part or all of a program between multiple programs. Furthermore, since the digital control equipment is not used exclusively when creating and modifying programs, the efficiency of using the digital control equipment can be improved.

【発明の実施例】[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図はプログラミング装置に内蔵されて、プログラムを格
納する第2図におけるメモリ14に相当するメモリ14
aであって、第3図に示すディジタル制御機器1に内蔵
されているメモリ5と同じ容量を有している。従って、
このプログラミング装置に内蔵されるメモリ14aには
、メモリ5に格納されている第3図に示すプログラムP
。 〜Pfi及びデータDI、D2をか全て格納することが
可能になる。なお、他の構成は第2図に示した構成と同
一である。 次に動作について説明する。先ず、動作開始時において
は、プログラミング装置に内蔵されている中央演算制御
部が第5図において示した場合と同様な処理によって、
オンライン・モードであるかローカル・モードであるか
の判断処理を実行する。そして、この判断がオンライン
・モードであった場合には、従来と同様な処理によって
、プログラムの作成および修正処理を実行する。 次に、ロカル・モードであると判断された場合には、メ
モリ14aに格納されているプログラムを読み出して新
規作成、修正および照合作業を実行する。この場合、プ
ログラミング装置2に内蔵されているメモリ14aは、
ディジタル制御機器1に内蔵されているメモリ5と同一
の容量を有していることから、予めディジタル制御機器
lに内蔵されているメモリ5の内容をオンライン・モー
ドにおいて読み込んでおく。すると、ローカル・モード
時に於いても、プログラミング装置2に内蔵されている
メモリ14aには、ディジタル制御機器1に内蔵されて
いるメモリ5と同様に、複数種のプロラムP、−P、、
が格納されている状態となる。ここで、例えばプログラ
ムP、とプログラムP2との間において、その一部を複
写する場合には、先ずプログラムP、を読み出してCR
Tデイスプレー15に表示させる。オペレータは、この
CRTデイスプレー15に表示されているプログラムの
内容から、必要とする部分に対する複写指令を与える。 複写指令が入力されると、中央演算制御部11は、係る
複写指定範囲の複写先を問い合わせて来る。これに対し
て、オペレータがプログラムP2を指定すると、このプ
ログラムP2の内容がCRTデイスプレー15に表示さ
れる。 次に、オペレータがこのCRTデイスプレー15に表示
されているプログラムP2の内容に対して、先に指定し
た被複写部分の複写先を指定すると、中央演算制御部1
1は、係る部分へ被複写事項を複写して一本のプログラ
ムに作り上げ、これを新たなプログラムとして、または
先に格納されているプログラムに代えて格納する。 このような処理は、成るプログラムを修正する場合も同
様であり、修正を完了した新たなプログラムを、新規に
または先に格納されているプログラムに代えてメモリ1
4aに格納することが出来る。そして、このようにして
作成または修正されたプログラムは、キーボード17か
ら保管命令を入力することにより、中央演算制御部11
がこの保管命令を受けて係るメモリ14aに格納されて
いるプログラムをフレキシブルディスク・ドライバ19
に転送して、このフレキシブルディスク・ドライバ19
にセットされているフレキシブルディスクに書き込んで
保管する。 次に、2種のプログラムを照合する場合にキーボード1
7から照合命令を入力すると、中央演算制御部11はメ
モリ14aに格納されているプログラムのリストをCR
Tデイスプレー15に表示させると共に、照合対象とす
る2種のプログラムを指定するように表示する。オペレ
ータがこの指示に応じて照合対象の2種プログラムを指
定すると、中央演算制御部11は係る指示された2種プ
ログラムの照合処理を実行し、照合結果としての不一致
部分をCRTデイスプレー15に表示する。 なお、上記実施例においては、メモリ14aをディジタ
ル制御機器3に内蔵されているメモリ5と同じ容量に設
定した場合について説明したが、これに限定されるもの
では無く、少なくとも複数種のプログラムを格納するこ
とが出来るものであれば良い。また、このメモリ14a
に対して、ディジタル制御機器3に内蔵されているメモ
リ5の内容を転送して格納した場合について説明したが
、係るメモリ14aへ格納するプログラムは、フレキシ
ブルディスク・ドライバ19等の何れの部分から転送し
ても良いことは言うまでもない。更に、ディジタル制御
機器3に内蔵されているメモリ5には、定数と変数との
2種データも格納されているが、変数のデータは作成す
る必要がないために、プログラミング装置2におけるメ
モリ14aには、定数のデータを格納することが出来れ
ば、変数のデータは無く−とも全てのデータを作成する
ことが可能になる。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure shows a memory 14 built into the programming device and corresponding to the memory 14 in FIG. 2 for storing programs.
a, and has the same capacity as the memory 5 built into the digital control device 1 shown in FIG. Therefore,
The memory 14a built in this programming device has a program P shown in FIG. 3 stored in the memory 5.
. ~Pfi and data DI, D2 can all be stored. Note that the other configurations are the same as the configuration shown in FIG. 2. Next, the operation will be explained. First, at the start of operation, the central processing control unit built into the programming device performs the same processing as shown in FIG.
Execute processing to determine whether the mode is online mode or local mode. If the online mode is determined, program creation and modification processing is executed in the same manner as in the past. Next, if it is determined that the mode is local mode, the program stored in the memory 14a is read out and new creation, modification, and collation operations are executed. In this case, the memory 14a built in the programming device 2 is
Since it has the same capacity as the memory 5 built into the digital control device 1, the contents of the memory 5 built into the digital control device 1 are read in advance in online mode. Then, even in the local mode, the memory 14a built in the programming device 2 stores a plurality of types of programs P, -P, .
is stored. Here, for example, when copying a part of program P and program P2, first read program P and copy it to CR.
displayed on the T-display 15. The operator issues a copy command to a desired portion of the program displayed on the CRT display 15. When a copy command is input, the central processing control unit 11 inquires about the copy destination of the designated copy range. On the other hand, when the operator specifies program P2, the contents of program P2 are displayed on the CRT display 15. Next, when the operator specifies the copy destination of the previously specified copying portion for the content of the program P2 displayed on the CRT display 15, the central processing control unit 1
In No. 1, the items to be copied are copied to the relevant part to create a single program, and this is stored as a new program or in place of a previously stored program. Such processing is the same when modifying a program, and a new program that has been modified is stored in the memory 1 as a new program or in place of a previously stored program.
4a. The program created or modified in this way can be stored in the central processing control unit 11 by inputting a storage command from the keyboard 17.
receives this storage instruction and transfers the program stored in the memory 14a to the flexible disk driver 19.
Transfer to this flexible disk driver 19
Write and store it on the flexible disk set in the . Next, when comparing two types of programs, keyboard 1
When a collation command is input from 7, the central processing control unit 11 CR reads the program list stored in the memory 14a.
It is displayed on the T-display 15, and also displays to specify two types of programs to be compared. When the operator specifies the two types of programs to be compared in accordance with this instruction, the central processing control unit 11 executes the matching process for the instructed two types of programs, and displays the mismatched portions as a result of the comparison on the CRT display 15. do. In the above embodiment, a case has been described in which the memory 14a is set to have the same capacity as the memory 5 built in the digital control device 3. However, the present invention is not limited to this, and it is possible to store at least a plurality of types of programs. It is fine as long as it can be done. In addition, this memory 14a
, a case has been described in which the contents of the memory 5 built into the digital control device 3 are transferred and stored, but the program to be stored in the memory 14a cannot be transferred from any part of the flexible disk driver 19 or the like. It goes without saying that it is okay to do so. Furthermore, the memory 5 built into the digital control device 3 also stores two types of data: constants and variables, but since there is no need to create variable data, the data is stored in the memory 14a of the programming device 2. If constant data can be stored, all data can be created even without variable data.

【発明の効果】【Effect of the invention】

以上のように、この発明によればプログラミング装置に
内蔵されて、プログラムデータの格納を行うメモリの容
量を複数プログラムを格納することができる容量に設定
したものであることから、このメモリに複数のプログラ
ムデータを読み込むことが可能になり、これに伴ってプ
ログラミング装置をディジタル制御機器から切り離した
ローカル・モードにおいても、複数プログラム間でプロ
グラムの一部または全部を複写、移動および照合する作
業が極めて容易に行えることになる。また、プログラム
の作成および修正に際して、ディジタル制御機器を専有
しないことから、係るディジタル制御機器の使用効率も
向上する効果がある。
As described above, according to the present invention, the capacity of the memory that is built into the programming device and stores program data is set to a capacity that can store multiple programs. Program data can now be read, making it extremely easy to copy, move, and verify part or all of a program between multiple programs, even in local mode where the programming device is separated from the digital control device. You will be able to do this. Furthermore, since the digital control equipment is not used exclusively when creating and modifying programs, the efficiency of using the digital control equipment is also improved.

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

第1図はこの発明による一実施例を示すディジタル制御
機器用プログラミング装置のメモリ構成を示す構成図、
第2図は従来のディジタル制御機器用プログラミング装
置を示す構成図、第3図および第4図は第2図に示すメ
モリの構成図、第5図は第2図に示すディジタル制御機
器用プログラミング装置の動作を示すフローチャートで
ある。 14aはメモリ、P、 〜P、はプログラム、D、。 D2はデータ。 なお、図中、同一符号は同一、又は相当部分を示す。 第1図 第4図 一一一一一、       、         、f
派  1
FIG. 1 is a block diagram showing a memory structure of a programming device for digital control equipment showing one embodiment of the present invention;
Fig. 2 is a block diagram showing a conventional programming device for digital control equipment, Figs. 3 and 4 are block diagrams of the memory shown in Fig. 2, and Fig. 5 is a block diagram showing the programming device for digital control equipment shown in Fig. 2. 3 is a flowchart showing the operation of FIG. 14a is a memory, P, ~P is a program, D,. D2 is data. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Figure 1 Figure 4 1111, , , f
Sect 1

Claims (1)

【特許請求の範囲】[Claims] ディジタル処理によって各種制御を実行するディジタル
制御機器において使用されるプログラムの作成、修正、
複写及び照合等の加工処理を行うディジタル制御機器用
プログラミング装置において、内部メモリの容量を少な
くとも前記ディジタル制御機器において使用されるプロ
グラムの複数種類を格納することが出来る容量に設定す
ることにより、このメモリに前記ディジタル制御機器に
おいて使用されるプログラムの複数種類を読み込んで、
前記ディジタル制御機器から完全に独立した状態でプロ
グラムの作成、修正、複写および総合等の各種処理を行
うことを特徴とするディジタル制御機器用プログラミン
グ装置。
Creating and modifying programs used in digital control equipment that performs various controls through digital processing;
In a programming device for a digital control device that performs processing such as copying and collation, the capacity of the internal memory is set to a capacity that can store at least multiple types of programs used in the digital control device. Loading multiple types of programs used in the digital control device into
A programming device for a digital control device, characterized in that it performs various processes such as creating, modifying, copying, and integrating programs completely independently of the digital control device.
JP10200388A 1988-04-25 1988-04-25 Programming device for digital control apparatus Pending JPH01273104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10200388A JPH01273104A (en) 1988-04-25 1988-04-25 Programming device for digital control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10200388A JPH01273104A (en) 1988-04-25 1988-04-25 Programming device for digital control apparatus

Publications (1)

Publication Number Publication Date
JPH01273104A true JPH01273104A (en) 1989-11-01

Family

ID=14315617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10200388A Pending JPH01273104A (en) 1988-04-25 1988-04-25 Programming device for digital control apparatus

Country Status (1)

Country Link
JP (1) JPH01273104A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58159148A (en) * 1982-03-18 1983-09-21 Toshiba Corp Program loader
JPS58165109A (en) * 1982-03-25 1983-09-30 Mitsubishi Electric Corp Sequence drawing generating device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58159148A (en) * 1982-03-18 1983-09-21 Toshiba Corp Program loader
JPS58165109A (en) * 1982-03-25 1983-09-30 Mitsubishi Electric Corp Sequence drawing generating device

Similar Documents

Publication Publication Date Title
JP3407809B2 (en) Automated test system for computer application software
JPH05197513A (en) Computor control and display system and method for moving and copying object
JPH01273104A (en) Programming device for digital control apparatus
JP3143330B2 (en) Programmable controller
JPS6019251A (en) Document switch control system for document processing system
JPS6312300B2 (en)
US5850510A (en) Interpreter language processing device
JPH05324555A (en) Already executed operation canceller
JPH04209007A (en) User program editing system for programmable controller
JPH04281B2 (en)
JPS62243048A (en) Work station system
JPS6238729B2 (en)
JPS63279346A (en) File replacement processing system
JPS6345603A (en) Program storing system for programmable controller
JPH04343689A (en) Numerically controlled device for robot
JPH01230101A (en) Numerical control method
JPH0651888A (en) Operation re-executing device
JPH0318223B2 (en)
JPH04318623A (en) Controller
JPH0423281B2 (en)
JPH0253127A (en) Graphical command control system
JPS58175038A (en) Electronic device of stored program system
JPH0219923A (en) System for constituting system resident volume
JPH03263249A (en) Personal computer communication processing system with operation guidance
JPH04115332A (en) File managing device