JPS6247874A - Initializing method for program actuator - Google Patents
Initializing method for program actuatorInfo
- Publication number
- JPS6247874A JPS6247874A JP18658185A JP18658185A JPS6247874A JP S6247874 A JPS6247874 A JP S6247874A JP 18658185 A JP18658185 A JP 18658185A JP 18658185 A JP18658185 A JP 18658185A JP S6247874 A JPS6247874 A JP S6247874A
- Authority
- JP
- Japan
- Prior art keywords
- program
- card
- format
- data
- magnetic card
- 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
Links
- 238000000034 method Methods 0.000 title claims description 12
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、プログラムによって動作するプログラム動作
装置の初期化方法に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for initializing a program-operated device operated by a program.
(従来の技術)
従来より、プログラムによって動作するプログラム動作
装置が知られている。例えば、磁気カードが所定のフォ
ーマットで書かれているかをチェックする装置において
は、EP−ROM中にチェックすべき磁気カードに関す
るフォーマットのチェック内容を書き込んでおき、上記
ROM中のデータと読み取った磁気カードのデータとが
、一致するかどうかをチェックするという方法が採用さ
れている。この方法においては、磁気カードのチェック
のために必要なプログラム条件は、全てEP−ROM中
に書き込まれている。(Prior Art) Program operating devices that operate according to programs have been known. For example, in a device that checks whether a magnetic card is written in a predetermined format, format check details regarding the magnetic card to be checked are written in an EP-ROM, and the data in the ROM and the read magnetic card are written in advance. The method used is to check whether the data matches. In this method, all program conditions necessary for checking the magnetic card are written in the EP-ROM.
(本発明が解決しようとする問題点)
上記従来例におけるプログラム動作装置においては、磁
気カードのチェックのために必要なプログラム条件は、
全てEP−ROM中に書き込まれているので、読み取る
磁気カード上の固定コード(フォーマット)チェックを
する場合、磁気カードの仕様が変わるたびに、その磁気
カードのフォーマットに合わせてプログラム条件などを
変更する必要上、ROM中のプログラムを書き換えなけ
ればならず効率的ではない。また、磁気カード上のデー
タを表示する場合にも、その表示の方法が変わればRO
Mの内容を書き換えなければならない。(Problems to be Solved by the Present Invention) In the program operation device in the conventional example, the program conditions necessary for checking the magnetic card are as follows.
Since everything is written in the EP-ROM, when checking the fixed code (format) on the magnetic card to be read, every time the specifications of the magnetic card change, the program conditions etc. must be changed to match the format of the magnetic card. If necessary, the program in the ROM must be rewritten, which is not efficient. Also, when displaying data on a magnetic card, if the display method changes, RO
The contents of M must be rewritten.
本発明の目的は、上記従来技術に対して、プログラム条
件をフォーマットカードにより装置に入力して初期化を
行い、プログラム条件などを変更する場合にもROM中
のプログラムを書き換えなくてもよいようにし、装置の
初期化を簡単に行うことができるようにすることである
。An object of the present invention, in contrast to the above-mentioned prior art, is to input program conditions into the device using a format card and initialize the device, so that even when changing the program conditions, there is no need to rewrite the program in the ROM. , to enable easy initialization of the device.
(問題点を解決するための手段)
本発明のプログラムによって動作するプログラム動作装
置の初期化方法は、プログラム動作装置にカードリーダ
部を設けると共に、フォーマットカードに上記装置のプ
ログラムデータを書込んでおき、該フォーマットカード
のプログラムデータ。(Means for Solving the Problems) A method for initializing a program operating device that operates according to a program according to the present invention includes providing a card reader section in the program operating device and writing program data for the device on a format card. , the program data of the format card.
を読み取って記憶した後、この記憶したプログラムデー
タから上記プログラム動作装置のプログラム条件を設定
し、上記プログラム条件に基づいてプログラム動作装置
を制御するようにするものである。After reading and storing, program conditions for the program operating device are set from the stored program data, and the program operating device is controlled based on the program conditions.
(作用)
装置のプログラム条件が変った場合には、フォーマット
カードのプログラムデータを変えて読み込み、装置の初
期化を行う。(Operation) When the program conditions of the device change, the program data on the format card is changed and read to initialize the device.
(実施例)
本発明の実施例を、磁気カードが所定のフォーマットで
書かれているかをチェックする磁気カードのフォーマッ
トチェック装置を例にとり、説明する。(Embodiment) An embodiment of the present invention will be described by taking as an example a magnetic card format check device that checks whether a magnetic card is written in a predetermined format.
第1図は、磁気カードのフォーマットチェック方法を示
すフローチャート、第2図は上記方法が実施される装置
の制御ブロック図を示すものである。FIG. 1 is a flowchart showing a method for checking the format of a magnetic card, and FIG. 2 is a control block diagram of an apparatus in which the above method is implemented.
第2図において、磁気カードのデータは、磁気ヘッド1
により再生されたのち、復調回路2を通して再生データ
に変換される。この再生データは入出力ボート3を介し
て制御装置4に与えられ、この制御装置4では、入力さ
れた再生データをバッファ5またはバッファ6に格納す
る。バッファ5には、フォーマットカードに書かれたチ
ェックすべき磁気カードのフォーマットに関するプログ
ラムデータが記憶され、一方、バッファ6には、チェッ
クすべき磁気カードの再生データが記憶される。In FIG. 2, the data on the magnetic card is stored in the magnetic head 1.
After being reproduced, the data is converted into reproduced data through the demodulation circuit 2. This playback data is given to the control device 4 via the input/output port 3, and the control device 4 stores the input playback data in a buffer 5 or a buffer 6. The buffer 5 stores program data written on the format card regarding the format of the magnetic card to be checked, while the buffer 6 stores reproduction data of the magnetic card to be checked.
また、本装置では、表示部7とプリンタ一部8が設けら
れており、それぞれ制御装置4によって制御されるよう
になっている。Further, this device is provided with a display section 7 and a printer section 8, each of which is controlled by the control device 4.
カードのフォーマットに関するデータには、データが何
ビット構成であるか、パリティチェックビットはどのよ
うに定められているか、また、データをプリントアウト
する場合のプリント条件はどのように定められているか
など、チェックすべき磁気カードを読み取り表示する上
で必要な、装置の初期化に関するプログラム条件が書か
れている。また、チェックすべき磁気カードのスタート
符号、エンド符号、そのカードに固をの固定コードデー
タ、有効性コードデータなども書かれている。Data related to the card format includes information such as how many bits the data consists of, how the parity check bits are determined, and how the printing conditions are determined when printing out the data. Program conditions related to device initialization necessary for reading and displaying the magnetic card to be checked are written. Also written are the start code and end code of the magnetic card to be checked, fixed code data specific to the card, validity code data, etc.
第1図に示すフローに従って、磁気カードのフォーマン
トチェック方法を説明すると、装置の電源を投入するこ
とによりフローはスタートする。The method of checking the formant of a magnetic card will be explained according to the flow shown in FIG. 1. The flow starts when the device is powered on.
まず、フォーマットカードの読み取りを行う。First, read the format card.
フォーマットカードに書かれたデータは、磁気ヘッド1
により再生され、既に説明したように、バッファ5に格
納される。バッファ5に格納された後、データの編集が
行われ、まず、読み取ったデータがフォーマットカード
のものであるかを検出する。これは、データの中の所定
位置に書き込まれた識別コードを検出することにより行
う。もしフォーマットカードでなければ、エラー表示を
行う。The data written on the format card is transferred to magnetic head 1.
and stored in the buffer 5 as described above. After being stored in the buffer 5, the data is edited, and first, it is detected whether the read data is from a format card. This is done by detecting an identification code written at a predetermined position in the data. If the card is not a format card, an error message will be displayed.
フォーマットカードであることが検出されると次に、チ
ェックすべき磁気カードの読み取り条件などを指定する
装置の初期化が行われる。即ち、カードのデータが何ビ
ット構成となっているか、パリティチェックピットはど
のように定められているか、また、データをプリントア
ウトする場合のプリント条件はどのように定められてい
るかなどプログラム条件が設定される。If it is detected that the card is a formatted card, then the device is initialized to specify the magnetic card reading conditions to be checked. In other words, the program conditions are set, such as how many bits the card data consists of, how the parity check pit is determined, and how the printing conditions are determined when printing out the data. be done.
そして、チェックすべき磁気カードの読み取りを行う。Then, the magnetic card to be checked is read.
カードのデータは、フォーマットカードの場合と同様に
再生され、バッファ6に格納される。そして、バッファ
5に格納されたフォーマットカードのフォーマットと対
比される。即ち、スタート符号、エンド符号、そのカー
ドに固有の固定コードデータ、有効性コードデータなど
がチェックされる。The data on the card is played back and stored in the buffer 6 in the same way as for a formatted card. Then, the format is compared with the format of the format card stored in the buffer 5. That is, the start code, end code, fixed code data specific to the card, validity code data, etc. are checked.
このチェックにより、読み取られた磁気カードが、所定
のフォーマント通りであれば、上記装置の初期化で設定
された条件に従い、表示またはプリントアウトを行い、
次のチェックすべき磁気カードが読み取られるのを待つ
。Through this check, if the read magnetic card conforms to the predetermined format, it will be displayed or printed out according to the conditions set during initialization of the device, and
Wait for the next magnetic card to be checked to be read.
読み取られた磁気カードが、所定のフォーマット通りで
なければ、エラー表示をする。If the read magnetic card does not conform to the predetermined format, an error message will be displayed.
以上の操作を繰り返すことにより、磁気カード。By repeating the above operations, you can create a magnetic card.
のフォーマットチェックを次々と行うことができる。You can perform format checks one after another.
以上においては、磁気カードが所定のフォーマットで書
かれているかをチェックする磁気カードのフォーマット
チェック装置を例にとり説明したが、上記装置に限らず
本発明は、カードリーダ部を設けると共に、磁気カード
上に装置のプログラム条件等、プログラムを書き込んで
フォーマットカードを作り、このカードをカードリーダ
で読み取った後、フォーマットカードに書き込まれたプ
ログラム条件によって装置を動作させるようにすれば、
プログラムによって動作する装置金膜に適用できる。In the above, a magnetic card format check device that checks whether a magnetic card is written in a predetermined format has been described as an example, but the present invention is not limited to the above device. If you create a format card by writing a program such as the program conditions of the device to the card, read this card with a card reader, and then operate the device according to the program conditions written on the format card.
Applicable to gold film using a program-driven device.
(発明の効果)
本発明によれば、プログラム条件をフォーマットカード
により装置に入力して初期化を行うものであるから、プ
ログラム条件などを変更する場合にもROM中のプログ
ラムを書き換えなくてもよく、装置の初期化を簡単に行
うことができる。(Effects of the Invention) According to the present invention, since initialization is performed by inputting the program conditions into the device using a format card, there is no need to rewrite the program in the ROM even when changing the program conditions. , the device can be initialized easily.
第1図は、磁気カードのフォーマントチェック方法を示
すフローチャート、第2図は上記方法が実施される装置
の制御ブロック図を示すものである。FIG. 1 is a flowchart showing a method for checking the formant of a magnetic card, and FIG. 2 is a control block diagram of an apparatus in which the above method is implemented.
Claims (1)
て、上記プログラム動作装置にカードリーダ部を設ける
と共に、フォーマットカードに上記装置のプログラムデ
ータを書込んでおき、該フォーマットカードのプログラ
ムデータを読み取って記憶した後、この記憶したプログ
ラムデータから上記プログラム動作装置のプログラム条
件を設定し、上記プログラム条件に基づいてプログラム
動作装置を制御するようにしたことを特徴とするプログ
ラム動作装置の初期化方法In a program operating device that operates according to a program, the program operating device is provided with a card reader section, program data of the device is written in a format card, and after reading and storing the program data of the format card, the program data is stored in the memory. A method for initializing a program operating device, characterized in that a program condition of the program operating device is set from the program data obtained by the program, and the program operating device is controlled based on the program condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18658185A JPS6247874A (en) | 1985-08-27 | 1985-08-27 | Initializing method for program actuator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18658185A JPS6247874A (en) | 1985-08-27 | 1985-08-27 | Initializing method for program actuator |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6247874A true JPS6247874A (en) | 1987-03-02 |
Family
ID=16191042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18658185A Pending JPS6247874A (en) | 1985-08-27 | 1985-08-27 | Initializing method for program actuator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6247874A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10392388B2 (en) | 2013-03-15 | 2019-08-27 | Kala Pharmaceuticals, Inc. | Meropenem derivatives and uses thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5621216A (en) * | 1979-07-30 | 1981-02-27 | Fujitsu Ltd | Program loading system |
JPS593560A (en) * | 1982-06-30 | 1984-01-10 | Fujitsu Ltd | Program storing system |
-
1985
- 1985-08-27 JP JP18658185A patent/JPS6247874A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5621216A (en) * | 1979-07-30 | 1981-02-27 | Fujitsu Ltd | Program loading system |
JPS593560A (en) * | 1982-06-30 | 1984-01-10 | Fujitsu Ltd | Program storing system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10392388B2 (en) | 2013-03-15 | 2019-08-27 | Kala Pharmaceuticals, Inc. | Meropenem derivatives and uses thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6247874A (en) | Initializing method for program actuator | |
JP2000218044A (en) | Portable electronic game equipment | |
JP3077667B2 (en) | Magnetic tape device and computer-readable magnetic tape medium | |
JPS6113631B2 (en) | ||
JP2703957B2 (en) | Recording device and recording method for portable medium | |
JPH0157812B2 (en) | ||
KR19990011528A (en) | Learner using IC memory card | |
JPH0373913B2 (en) | ||
JPH03248223A (en) | Slip printing system | |
JPS6057382A (en) | Character processor | |
JPH02236754A (en) | Information processor | |
JPH1069758A (en) | Collating method of recording medium | |
JPH10275069A (en) | Image processing device and method | |
JP2523007B2 (en) | How to check the card reader / writer | |
JPH01137348A (en) | Data writing system | |
JPH01187648A (en) | Data generating device | |
JPS6332642A (en) | Information processor | |
JPH1031585A (en) | Automatic programming generating system by inputting specification | |
JPH0158580B2 (en) | ||
JPS6383894A (en) | Portable electronic device | |
JPH0434675A (en) | Magnetic stripe information processor | |
JPS63308637A (en) | Image output device | |
JPH04186492A (en) | Ic card issuing processor | |
JPS6310881A (en) | Facsimile equipment | |
JPS59178754U (en) | data processing equipment |