JPS60262256A - Terminal device - Google Patents

Terminal device

Info

Publication number
JPS60262256A
JPS60262256A JP59116599A JP11659984A JPS60262256A JP S60262256 A JPS60262256 A JP S60262256A JP 59116599 A JP59116599 A JP 59116599A JP 11659984 A JP11659984 A JP 11659984A JP S60262256 A JPS60262256 A JP S60262256A
Authority
JP
Japan
Prior art keywords
key
input
terminal
program
key code
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
JP59116599A
Other languages
Japanese (ja)
Inventor
Tadahiko Horikiri
堀切 忠彦
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.)
Omron Corp
Original Assignee
Tateisi Electronics Co
Omron Tateisi Electronics Co
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 Tateisi Electronics Co, Omron Tateisi Electronics Co filed Critical Tateisi Electronics Co
Priority to JP59116599A priority Critical patent/JPS60262256A/en
Publication of JPS60262256A publication Critical patent/JPS60262256A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To set and change freely a terminal ID from outside by defining the input keys in order of input after waiting for key input and supplying the input to the terminal ID by means of the defined keys in a system start mode. CONSTITUTION:In a system start mode a CPU1 starts the key definition and the ID decision processing according to the programs stored in a PROM2. A counter (n) in a RAM3 is first cleared and the code of the first key supplied from a keyboard 5 is read. The key codes are stored to key code tables Y(0)-Y(10) in the RAM3 in the order of inputs. In an ID decision processing mode the variable value of the counter (n) is set at ''0''. Then a key code table Y(n) is retrieved successively at and after n=0 after the key code supplied with the 11th key input is read. Then the (n) is decided as ID1 and stored to a terminal ID area if the table Y(n) storing a key code equal to said input one is searched.

Description

【発明の詳細な説明】 (R,明の分野) 本発明は、キー配置がプログラムにより定められるとと
もに、システム起動時のプログラムローディングを主装
置からのポーリングにより行なう端末装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of the Invention) The present invention relates to a terminal device in which the key arrangement is determined by a program and in which program loading at system start-up is performed by polling from a main device.

(発明の背景) 従来、バンキングシステムやPOSシステム等の端末装
置において、キー配列すなわち各キーの定義をハード的
に固定せず、プログラムにより自由に変化させ、これに
より、キー数の減少、操作の容易化、装置の汎用化等を
図ったものが知られている。
(Background of the Invention) Conventionally, in terminal devices such as banking systems and POS systems, the key layout, that is, the definition of each key, is not fixed in hardware, but can be changed freely by a program, which reduces the number of keys and makes operations easier. There are known devices designed to simplify the process and make the device more versatile.

このような端末装置においては、システム起動時の電源
投入で主装置またはプログラムローダ等からのポーリン
グにより伝送ラインを通じてプログラムのローディング
が行なわれた後あるいはこのプログラムを実行中に適宜
、キー配列が決定されるようになっており、プログラム
ローディング前はキー配列が定まっていない。このため
、従来は、各端末装置にディップスイツヂ等のハードウ
ェアを設け、このハードウェアにより各端末装置の識別
コード(端末ID)を設定することにより、伝送ライン
を通じてのこの端末IDを用いたポーリングを受信して
プログラムローディングを行なうようにしている。
In such terminal devices, the key layout is determined as appropriate after the program is loaded through the transmission line by polling from the main device or program loader when the power is turned on at system startup, or while the program is running. The key layout is not fixed before the program is loaded. For this reason, conventionally, each terminal device is equipped with hardware such as a dip switch, and this hardware sets an identification code (terminal ID) for each terminal device, and this terminal ID is used through the transmission line. The program is loaded by receiving polling.

したがって、このような端末装置においては、端末ID
設定のための専用のハードウェアが、必要であり、また
、このようなハードウェアは操作する頻度が低く一般に
ハウジング内に設けられていることから、端末IDを容
易に変更できないという不都合があった。
Therefore, in such a terminal device, the terminal ID
Dedicated hardware is required for configuration, and since such hardware is not operated frequently and is generally installed within the housing, there is an inconvenience that the terminal ID cannot be easily changed. .

(発明の目的) 本発明の目的は、上述の従来形における問題点に鑑み、
端末IDMQ定のための専用のハードウェアを除去する
とともに、端末IDを外部より自由に設定し変更できる
ようにした端末装置を提供することにある。
(Object of the invention) The object of the present invention is to solve the problems of the conventional type described above.
The purpose of the present invention is to provide a terminal device that eliminates dedicated hardware for terminal IDMQ determination and allows the terminal ID to be freely set and changed from the outside.

(発明の構成および効果) 本発明の端末装置は、システム起動時の電源投入後、キ
ー人力を待機して入力された順にその入力されたキーを
定義し、この定義されたキーによ1 り端末IDを入力
することによって、外部から伝送ラインを通じてのポー
リングを可能とし、目的のプログラムを[1−ディング
して端末装置とじての機能を果すようにするという構想
に基づくもので、このような構想を用いた本発明によれ
ば、端末ID設定のための専用のハードウェアが不要と
なり、かう端末IDが装置のハウジングを開けることな
くキーボードより自由に設定し変更できるようになる。
(Configuration and Effects of the Invention) The terminal device of the present invention waits for key input after the power is turned on at system startup, defines the input keys in the order in which they are input, and performs one key operation using the defined keys. It is based on the idea that by inputting the terminal ID, polling from the outside can be performed through the transmission line, and the target program can be polled to perform the function as a terminal device. According to the present invention using the concept, there is no need for dedicated hardware for setting the terminal ID, and the terminal ID can be freely set and changed from the keyboard without opening the housing of the device.

(実施例の説明) 以下、図面を用いて本発明の詳細な説明する。(Explanation of Examples) Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明の1実施例に係る端末装置のブロック構
成を示す。同図において、1はマイクロプロセッサ等か
らなりこの端末装置全体の動作を制御する中央処理装置
(CPU)、2は従来形と同様の伝送制御プログラムお
よび本発明の特徴とするキ一定義およびID決定処理プ
ログラムが格納されているプログラマブルリードオンリ
メモリ(PROM)、3は伝送ライン4を介してローデ
ィングされるCPU1の制御プログラムを記憶したり、
CPU1が各プログラムを実行する際に発生する各種デ
ータを一時記憶するランダアクセスメモリ(RAM)、
5はキーボード、6は伝送制御装置である。
FIG. 1 shows a block configuration of a terminal device according to an embodiment of the present invention. In the figure, 1 is a central processing unit (CPU) that is composed of a microprocessor or the like and controls the operation of the entire terminal device, 2 is a transmission control program similar to the conventional type, and key definition and ID determination that are the features of the present invention. A programmable read-only memory (PROM) 3 stores a processing program and stores a control program for the CPU 1 that is loaded via a transmission line 4;
random access memory (RAM) that temporarily stores various data generated when the CPU 1 executes each program;
5 is a keyboard, and 6 is a transmission control device.

RAM3には、ローディングされた制御プ□グラムを格
納するプログラムエリアの他、M2図に示り゛ように、
キーコードテーブルY(0)、・・・。
In addition to the program area that stores the loaded control program, RAM3 has the following areas as shown in Figure M2.
Key code table Y(0),...

Y (10) 、端末I D工’J7 I Di 、I
 DO−受信IDエリアIDR,カウンタn等の各ワー
クエリアが設けられている。
Y (10), terminal ID 'J7 I Di, I
Work areas such as a DO-reception ID area IDR and a counter n are provided.

次に、第3図のフローチャートを参照しながら第1図の
装置の動作を説明する。
Next, the operation of the apparatus shown in FIG. 1 will be explained with reference to the flowchart shown in FIG.

システム起動時、装置の電源が投入されると、CPU1
は、PROM2に格納されているプログラムに従ってキ
一定義およびID決定処理を開始する。先ず、キ一定義
処理においては、RAM3内のカウンタnをクリアして
、キーボード5がら入力された最初のキーのキーコード
を読み取り、このキーコードをRAMa内のキーコード
テーブルY(0)に格納し、変数値n=Qをインクリメ
ントしてn=1とした後、続く2番目の入カキ−につい
て上述のキーコードの読取りおよびキーコードテーブル
Y(2)への格納を繰返す。以下同様にして、第3番目
〜第10番目の入カキ−それぞれのキーコードをキーコ
、−トチ−プルY(3)〜Y(10)に格納し、インク
リメントされたnが11になると、°次の処理に移行す
る。なお、ここでは、Y(0)、・・・、Y(9)に格
納されたキーコードに対応するキーをそれぞれrOJ 
、・・・、「9Jキーと定義し、Y(10)は[設定」
キーと定義付けている。また、端末IDは2桁とする。
At system startup, when the device is powered on, CPU1
starts key definition and ID determination processing according to the program stored in PROM2. First, in key definition processing, counter n in RAM 3 is cleared, the key code of the first key input from keyboard 5 is read, and this key code is stored in key code table Y(0) in RAMa. After incrementing the variable value n=Q to set n=1, the above-described key code reading and storage in the key code table Y(2) are repeated for the second subsequent input key. In the same manner, the key codes of the 3rd to 10th input keys are stored in the keys Y(3) to Y(10), and when the incremented n reaches 11, Move on to the next process. Note that here, the keys corresponding to the key codes stored in Y(0), ..., Y(9) are respectively rOJ.
,..., "Define as 9J key, Y(10) is [setting]"
It is defined as a key. Furthermore, the terminal ID is assumed to be two digits.

次の、ID決定処理はID1決定処理とIDO決定処理
からなる。先ず、ID1決定処理においては、カウンタ
nの変数値nをOとし、第11番目のキー人力によるキ
ーコードを読取った後、キーコードテーブルY(n>を
n=Qから順次検索する。そして、入力されたキーコー
ドと同じものが格納されているキーコードテーブルY 
(n)が発見されれば、そのときのnをID1として決
定し、端末IDエリアに格納する。なお、ここで、入力
されたキーコードがキーコードテーブルY(0)〜Y(
9)のいずれからも発見できないときは、定義されてい
ないキーまたは「設定」キーY(10)が入力されたの
であり、誤操作であるから警報音を発する等のエラー処
理を行なう。
The next ID determination process consists of an ID1 determination process and an IDO determination process. First, in the ID1 determination process, the variable value n of the counter n is set to O, and after reading the 11th key manual key code, the key code table Y (n> is sequentially searched from n=Q. Then, Key code table Y that stores the same key code as the input key code
If (n) is found, then n is determined as ID1 and stored in the terminal ID area. Note that the input key code is in the key code table Y(0) to Y(
If it cannot be found in any of the above 9), it means that an undefined key or the "setting" key Y (10) has been input, and this is an erroneous operation, so error processing such as emitting a warning sound is performed.

続<IDO決定処理においては、第12番目のキー人力
について上述の101決定処理と全く同様にしてIDO
を決定し端末IDエリアに格納する。
Continuation<In the IDO determination process, the IDO is determined in exactly the same way as the 101 determination process described above for the 12th key
is determined and stored in the terminal ID area.

このようにしてID1およびIDOが決定されると、さ
らに第13番目のキー人力によるキーコードを読取り、
このキーコードをY (10)の内容と比較する。この
第13番目のキーは「設定」キーでなければならず、上
記比較結果が不一致であれば、誤操作どして警報音を発
する等のエラー処理を行なう。一方、一致していれば、
(ID1.ID0)を端末IDとしで設定した後1、従
来のものと同様に伝送ラインよりのプログラムローディ
ングを行なう。すなわち、伝送ラインよりポーリングを
受信し、受信信号が自機に合致する端末IDを含んでい
れば、自機に対するプログラムローゲイン:・1′ ッ
指、8ヶ。、続いエイ、送つィッ、送出、わ。
When ID1 and IDO are determined in this way, the 13th key code is read manually,
Compare this key code with the contents of Y (10). This 13th key must be a "setting" key, and if the above comparison results do not match, error processing such as emitting a warning sound due to an erroneous operation is performed. On the other hand, if they match,
After setting (ID1.ID0) as the terminal ID, the program is loaded from the transmission line as in the conventional case. That is, if polling is received from the transmission line and the received signal includes a terminal ID that matches the own machine, the program low gain for the own machine is: 1' 8 fingers. , followed by ei, send, send, wa.

信号によりプログラムのローディングを行なう。The program is loaded by the signal.

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

第1図は本発明の1実施例に係る端末装置の概略の構成
を示すブロック図、第2図は第1図におけるRAMのメ
モリ構成図、第3図は第1図の端末装置の動作説明のた
めのフローチャートである。 1・・・CPU、2・・・PROM13・・・RAM。 4・・・伝送ライン、5・・・キーボード、6・・・伝
送制御装置。 特許出願人 立石電機株式会社 代理人 弁理士 伊東辰雄 代理人 弁理士 伊東哲也
FIG. 1 is a block diagram showing the general configuration of a terminal device according to an embodiment of the present invention, FIG. 2 is a memory configuration diagram of the RAM in FIG. 1, and FIG. 3 is an explanation of the operation of the terminal device in FIG. 1. This is a flowchart for 1...CPU, 2...PROM13...RAM. 4...Transmission line, 5...Keyboard, 6...Transmission control device. Patent applicant Tateishi Electric Co., Ltd. Agent Patent attorney Tatsuo Ito Agent Patent attorney Tetsuya Ito

Claims (1)

【特許請求の範囲】 1、伝送ラインを通じてプログラムがローディングされ
た後に端末として機能する装置において、該装置の識別
コードを入力する際に、初期状態から順次入力される所
定数のキーに対しその入力された順序に従って所定の定
義を与えた後、この定義されたキーによる入力により該
装置の識別コードを設定してプログラムのローディング
を可能とづることを特徴とする端末装置。 2、前記順次入力されるキーをそれぞれ「O」。 [1J、・・・、「9」および「設定」キーとして定義
する特許請求の範囲第1項記載の端末装置。
[Claims] 1. In a device that functions as a terminal after a program has been loaded through a transmission line, when inputting the identification code of the device, the input is performed on a predetermined number of keys that are sequentially input from the initial state. 1. A terminal device characterized in that after giving a predetermined definition in accordance with the defined order, an identification code of the device is set by input using the defined key, thereby making it possible to load a program. 2. Press "O" for each of the keys input sequentially. [1J, . . . , "9" and a "setting" key are defined as the terminal device according to claim 1.
JP59116599A 1984-06-08 1984-06-08 Terminal device Pending JPS60262256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59116599A JPS60262256A (en) 1984-06-08 1984-06-08 Terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59116599A JPS60262256A (en) 1984-06-08 1984-06-08 Terminal device

Publications (1)

Publication Number Publication Date
JPS60262256A true JPS60262256A (en) 1985-12-25

Family

ID=14691139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59116599A Pending JPS60262256A (en) 1984-06-08 1984-06-08 Terminal device

Country Status (1)

Country Link
JP (1) JPS60262256A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63129494A (en) * 1986-11-20 1988-06-01 富士通機電株式会社 Telephone circuit type time recorder
WO1988010466A1 (en) * 1987-06-16 1988-12-29 Fanuc Ltd Method and apparatus for controlling keyboard

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63129494A (en) * 1986-11-20 1988-06-01 富士通機電株式会社 Telephone circuit type time recorder
WO1988010466A1 (en) * 1987-06-16 1988-12-29 Fanuc Ltd Method and apparatus for controlling keyboard

Similar Documents

Publication Publication Date Title
JPH08263282A (en) Branching control system for rom program processor
JPS60262256A (en) Terminal device
US4742452A (en) Computer system including address driven program interrupt system
JPH01226057A (en) Method for detecting data error
US4609997A (en) Input processor
KR960010922B1 (en) Apparatus for transforming
JPS6336523B2 (en)
JP2823610B2 (en) Key input device
KR900003791A (en) Transaction processing unit
KR880000342B1 (en) Initial program loading system
JPH0646376B2 (en) Input control method
JPS62168216A (en) Input device with input control function
JPS62226356A (en) Initial program loading system
US7111027B2 (en) Method for automatically adding scale symbol to operation formula during operation and system executing the method
KR900002790B1 (en) Key&#39;s place changeable control method for keyboard
JPH1131029A (en) Condition deciding type power controller
JPH01123314A (en) Output code variable type keyboard
JPH01200429A (en) Keyboard
JPS62251832A (en) Raising system for electronic apparatus
JPH04155424A (en) Information processor
CN117742575A (en) Multi-state storage method, system, platform and storage medium based on bit
JPH07295796A (en) Program starting device
JPH0962913A (en) Automatic vending machine
JPH01155454A (en) Work station backup system
JPS5870361A (en) Input controlling system