JPH0259903A - Program transfer control system for pc - Google Patents

Program transfer control system for pc

Info

Publication number
JPH0259903A
JPH0259903A JP21195888A JP21195888A JPH0259903A JP H0259903 A JPH0259903 A JP H0259903A JP 21195888 A JP21195888 A JP 21195888A JP 21195888 A JP21195888 A JP 21195888A JP H0259903 A JPH0259903 A JP H0259903A
Authority
JP
Japan
Prior art keywords
rom
program
ram
sequence program
label
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
JP21195888A
Other languages
Japanese (ja)
Inventor
Kunio Tanaka
久仁夫 田中
Kimio Maeda
前田 紀美夫
Yoshiharu Saiki
嘉春 斎木
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP21195888A priority Critical patent/JPH0259903A/en
Publication of JPH0259903A publication Critical patent/JPH0259903A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To omit the transfer of a memory area having no information and to shorten time required for reading by transferring only an effective part including information. CONSTITUTION:In the case of writing a sequence program stored in a RAM 30 in a ROM 71, an label 80 indicating the effective size of the program 31 is written in the ROM 71 and then the program 31 is transferred from the RAM 30. In the case of reading out the program 31 from the ROM 71, the label 80 is read out, the effective size of the program 31 is checked and an area in the ROM 71 corresponding to the size shown by the label 80 is transferred to the RAM 30. Consequently, useless operation for transferring also an area including no information can be omitted and the time required for program transfer can be shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はPC(プログラマブル・コントローラ)のプロ
グラム転送制御方式に関し、特にROMカセットへのシ
ーケンス・プログラム書き込みと前記ROMカセットか
らPCに内蔵されたRAMへの前記シーケンス・プログ
ラム読み出しとを制御するPCのプログラム転送制御方
式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a program transfer control method for a PC (programmable controller), and in particular, writing a sequence program to a ROM cassette and transferring a program from the ROM cassette to a built-in RAM in the PC. The present invention relates to a program transfer control method for a PC that controls the sequence program reading to a PC.

〔従来の技術〕[Conventional technology]

PCのRAMに格納されたシーケンス・プログラムを保
存するには、PCにROMライタを接続し、PCl3)
RAMからRoMライタ上17)ROMカセットへとシ
ーケンス・プログラムを書き込んでいる。
To save the sequence program stored in the PC's RAM, connect a ROM writer to the PC and use the PCl3)
17) Writing the sequence program from RAM to the ROM cassette on the RoM writer.

また、読み出しの際には、ROMライタに接続されたR
OMカセットからPCのRAMへと、シ−ケンス・プロ
グラムが転送される。
Also, when reading, the R
The sequence program is transferred from the OM cassette to the PC's RAM.

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

しかし、従来の制御方式ではROMカセットのメモリ領
域をすべてPCのRAMへ転送していたので、情報の入
っていない部分のメモリ領域までも転送することになり
、必要以上に長い読み出し時間を費やしていた。
However, in the conventional control method, the entire memory area of the ROM cassette was transferred to the PC's RAM, which resulted in the transfer of memory areas that did not contain information, resulting in unnecessarily long read times. Ta.

本発明はこのような点に滞みてなされたものであり、情
報の入っている有効部分のみを転送するようにして、読
み出し所要時間を短縮することを目的とする。
The present invention was developed in view of the above problems, and an object of the present invention is to shorten the time required for reading by transferring only the effective portion containing information.

〔課題を解決するだめの手段〕[Failure to solve the problem]

本発明では上記課題を解決するために、ROMライタに
接続されたROMへのシーケンス・プログラム書き込み
と前記ROMからRAMへの前記シーケンス・プログラ
ム読み出しとを制御するPCのプログラム転送制御方式
において、前記シーケンス・プログラムの有効サイズを
示すラベルを前記ROMに書き込むステップと、前記シ
ーケンス・プログラムを前記ROMに格納するステップ
と、 前記ラベルを前記ROMから読み出すステップと、 読み出された前記ラベルに示されている大きさだけの前
記ROMの領域を前記RAMへ読み出すステップと、 を含むことを特徴とするPCのプログラム転送制御方式
、 が提供される。
In order to solve the above problems, the present invention provides a program transfer control method for a PC that controls writing of a sequence program to a ROM connected to a ROM writer and reading of the sequence program from the ROM to a RAM. - writing a label indicating the effective size of the program into the ROM; storing the sequence program in the ROM; reading the label from the ROM; There is provided a program transfer control method for a PC, comprising the steps of: reading out an area of the ROM corresponding to the size of the ROM to the RAM;

〔作用〕[Effect]

シーケンス・プログラムをROMカセットに格納する際
、シーケンス・プログラムの有効サイズを示すラベルを
併せて格納しておく。
When storing a sequence program in a ROM cassette, a label indicating the effective size of the sequence program is also stored.

そして、ROMカセットからの読み出しに際しては、ま
ずラベルを読み出、してシーケンス・プログラムの有効
サイズを調べ、その大きさだけのメモリ領域をRAMへ
転送する。
When reading from the ROM cassette, the label is first read, the effective size of the sequence program is checked, and a memory area of that size is transferred to the RAM.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図に本発明のプログラム転送制御方式を実施するた
めのハードウェアのブロック図を示す。
FIG. 1 shows a block diagram of hardware for implementing the program transfer control method of the present invention.

図において、10はPCであり、11は全体を制御する
ためのプロセッサである。12は入力回路であり、外部
からの信号を受け、信号レベルを変換してバス14に転
送する。13は出力回路であり、内部の出力信号を外部
へ出力する。
In the figure, 10 is a PC, and 11 is a processor for controlling the entire system. An input circuit 12 receives a signal from the outside, converts the signal level, and transfers it to the bus 14. 13 is an output circuit, which outputs an internal output signal to the outside.

20はPCIOに内蔵されたROMであり、その内部に
はユーザプログラムの実行を管理する管理プログラム2
1等が格納されている。
20 is a ROM built into the PCIO, and inside it is a management program 2 that manages the execution of user programs.
1st prize is stored.

30はRAMであり、シーケンス・プログラム31が格
納されている。また、入力信号、出力信号、補助リレー
信号、内部レジスタ信号等もここに格納される。
30 is a RAM in which a sequence program 31 is stored. Input signals, output signals, auxiliary relay signals, internal register signals, etc. are also stored here.

40はインタフェースであり、バス14とMDI(マニ
ュアル・データ・インプット)50とを接続する。MD
 r 50は液晶表示装置51と操作キー52とを有し
ている。
An interface 40 connects the bus 14 and an MDI (manual data input) 50. MD
r 50 has a liquid crystal display device 51 and operation keys 52 .

60はROMライタ用のインタフェースであり、バス1
4とROMライタ7oとを接続する。71はROMカセ
ットであり、72a、72bはROMライタ70とRO
Mカセット71とを接続するためのコネクタである。
60 is an interface for the ROM writer, and bus 1
4 and the ROM writer 7o. 71 is a ROM cassette, 72a and 72b are a ROM writer 70 and RO
This is a connector for connecting to the M cassette 71.

シーケンス・プログラム3Iは、MDI50の操作キー
52から打ち込まれてRAM30に格納される。このシ
ーケンス・プログラム31を保存するには、RAM30
からROMライタ7oへとシーケンス・プログラム31
を転送して、ROMライタ70に接続されたROM71
にシーケンス・プログラム31を書き込む。
The sequence program 3I is entered from the operation key 52 of the MDI 50 and stored in the RAM 30. To save this sequence program 31, the RAM 30
Sequence program 31 from to ROM writer 7o
The ROM 71 connected to the ROM writer 70
Write the sequence program 31 to.

保存しておいたシーケンス・プログラムを読み出す際に
は、ROMライタ7oにROMカセット71を接続し、
R’0M71に記憶されているシーケンス・プログラム
31をRAM30に転送する。
When reading a saved sequence program, connect the ROM cassette 71 to the ROM writer 7o,
The sequence program 31 stored in R'0M71 is transferred to the RAM 30.

第2図に、本発明のプログラム転送制御方式の概念図を
示す。PCIOのRAM30にはシーケンス・プログラ
ムが格納されているが、RAM30のメモリ領域のすべ
てに情報が入っているわけではない。情報が入っている
領域の大きさを、有効サイズとして図示する。
FIG. 2 shows a conceptual diagram of the program transfer control system of the present invention. A sequence program is stored in the PCIO RAM 30, but not all of the memory area of the RAM 30 contains information. The size of the area containing information is illustrated as the effective size.

RAM30に格納されているシーケンス・プログラムを
ROM71に書き込む際、シーケンス・プログラムの有
効サイズを示すラベル80をROM71に書き込んでお
き、次いでシーケンス・プログラムをRAM30から転
送する。
When writing the sequence program stored in the RAM 30 to the ROM 71, a label 80 indicating the effective size of the sequence program is written in the ROM 71, and then the sequence program is transferred from the RAM 30.

プログラムをROM71から読み出す際には、まず、ラ
ベル80を読み出してシーケンス・プログラムの有効サ
イズを調べ、次に、読み出されたラベルに示されている
大きさだけのROM71の領域をRAM30へ転送する
When reading a program from the ROM 71, first read the label 80 to check the effective size of the sequence program, and then transfer the area of the ROM 71 of the size indicated by the read label to the RAM 30. .

これにより、情報の入っていない領域までも転送すると
いう無駄を省略することが出来る。
This makes it possible to eliminate the waste of transferring even areas that do not contain information.

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

以上説明したように本発明では、プログラムの入ってい
る有効部分のみを転送するようにしだので、プログラム
転送に要する時間を短縮することが出来る。
As explained above, in the present invention, only the effective part containing the program is transferred, so that the time required for program transfer can be shortened.

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

第1図は本発明のPCのプログラム転送制御方式を実施
するためのハードウェアのブロック図、第2図は本発明
のプログラム転送制御方式の概念図である。 1 3−−−−−−−・ 20− ・・ 31−・ 40−・ PC(プログラマブル・コントロ ーラ) プロセッサ 入力回路 出力回路 ハ゛ス ・・PCに内蔵されたROM 管理プログラム AM −シーケンス・プログラム MDI用イフィンタフエ ース0−・−−一−−・− 5 2−−−−−−・−・ 60・−・・−・−・・ 70−・−・−一−−−・ 7 1−−−−−−一・・−・・ 72a、72b MDI(マニュアル・データ ンプツト) 液晶表示装置 ・操作キー ・ROMライタ用イ ROMライタ ROMカセット ・−・−−−−−−−・−コネクタ ンタフェース ・イ 特許出願人 ファナック株式会社 代理人   弁理士  服部毅巖 第1図
FIG. 1 is a block diagram of hardware for implementing the PC program transfer control method of the present invention, and FIG. 2 is a conceptual diagram of the program transfer control method of the present invention. 1 3---------・ 20- ・・ 31-・ 40-・ PC (programmable controller) Processor input circuit output circuit bus... ROM built into the PC Management program AM - Sequence program MDI interface Fintaface 0−・−−1−−・− 5 2−−−−−−・−・ 60・−・・−・−・・ 70−・−・−1−−−・ 7 1−−− ---1...72a, 72b MDI (manual data dump) Liquid crystal display device, operation keys, ROM writer for ROM writer, ROM cassette, ------Connector interface, I patent Applicant Fanuc Co., Ltd. Agent Patent Attorney Takeshi Hattori Figure 1

Claims (1)

【特許請求の範囲】 ROMライタに接続されたROMへのシーケンス・プロ
グラム書き込みと前記ROMからRAMへの前記シーケ
ンス・プログラム読み出しとを制御するPCのプログラ
ム転送制御方式において、前記シーケンス・プログラム
の有効サイズを示すラベルを前記ROMに書き込むステ
ップと、前記シーケンス・プログラムを前記ROMに格
納するステップと、 前記ラベルを前記ROMから読み出すステップと、 読み出された前記ラベルに示されている大きさだけの前
記ROMの領域を前記RAMへ読み出すステップと、 を含むことを特徴とするPCのプログラム転送制御方式
[Scope of Claims] In a program transfer control method for a PC that controls writing of a sequence program to a ROM connected to a ROM writer and reading of the sequence program from the ROM to a RAM, an effective size of the sequence program is provided. storing the sequence program in the ROM; reading the label from the ROM; and writing a label indicating the read label into the ROM. A program transfer control method for a PC, comprising the steps of: reading an area of a ROM to the RAM.
JP21195888A 1988-08-26 1988-08-26 Program transfer control system for pc Pending JPH0259903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21195888A JPH0259903A (en) 1988-08-26 1988-08-26 Program transfer control system for pc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21195888A JPH0259903A (en) 1988-08-26 1988-08-26 Program transfer control system for pc

Publications (1)

Publication Number Publication Date
JPH0259903A true JPH0259903A (en) 1990-02-28

Family

ID=16614519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21195888A Pending JPH0259903A (en) 1988-08-26 1988-08-26 Program transfer control system for pc

Country Status (1)

Country Link
JP (1) JPH0259903A (en)

Similar Documents

Publication Publication Date Title
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
KR950001418B1 (en) Pop up control system for portable computer having setup function and popup function
US6938178B2 (en) Terminal device and real-time clock control method therefor enabling preservation of clock/calendar information and high information readout speed
JP2001051756A (en) Power-on method of computer and computer
JPH04187462A (en) printing device
JPH0259903A (en) Program transfer control system for pc
JPS62224808A (en) Numerical controller
JPH0793101A (en) Data backup device
JPH09163419A (en) Key telephone system having program load function
JP2793258B2 (en) Data setting method for positioning control device
JPH02226352A (en) System lsi
JP2697022B2 (en) Unit operation setting method
JPH06119257A (en) Large-scale integrated circuit with internal state saving structure
JPS6289104A (en) Programmable controller
JPS62287356A (en) data transfer device
JPH02128260A (en) Memory data check method when power is turned on/off
JPH0547841B2 (en)
JPS6242250A (en) Main memory device
JPH0561659B2 (en)
JPH01111239A (en) Error display system
JPS6011956A (en) Register control system
JPH01284932A (en) Access device to internal memory area
JPH04340119A (en) Information processor
JPS6152734A (en) Electronic computer
KR19980072967A (en) How to save / restore computer work environment using save-to-disk method