JPS63195720A - Switch input control system - Google Patents

Switch input control system

Info

Publication number
JPS63195720A
JPS63195720A JP62027550A JP2755087A JPS63195720A JP S63195720 A JPS63195720 A JP S63195720A JP 62027550 A JP62027550 A JP 62027550A JP 2755087 A JP2755087 A JP 2755087A JP S63195720 A JPS63195720 A JP S63195720A
Authority
JP
Japan
Prior art keywords
mode
button
input
switch
definition
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
JP62027550A
Other languages
Japanese (ja)
Inventor
Hiroshi Fukuhara
福原 博司
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62027550A priority Critical patent/JPS63195720A/en
Publication of JPS63195720A publication Critical patent/JPS63195720A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To facilitate an input operation having the definition of a high frequency by providing a mode switch to realize plural defining operations to an input switch and enabling a user to change these definitions. CONSTITUTION:When a power-on state is detected, a CPU 2 reads the input register 15 of a switching part 1 and checks whether the push-buttons 10-14 are depressed or not. In the case of no depressing, a normal mode is started. On the other hand in the case of depressing the push-buttons 10-14, it is checked whether the pushed button is equal to an on-line button 10 or not. If so, a set-up mode is started. If not, it is checked whether the push button is equal to a mode button 14 or not. If so, an assign mode is started. If not, the normal mode is started. In other words, both a power-on button and the mode button 14 are pressed to start the assign mode where the functions are set in modes 1 and 2 of input switches 11 and 12.

Description

【発明の詳細な説明】 (目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段(第1図)作用 実施例 (a)一実施例の構成の説明 (第2図、第3図、第4図) (b)一実施例の動作の説明 (第5図、第6図、第7図、第8図) (c)他の実施例の説明 発明の効果 〔概要〕 操作された入力スイッチに対する定義1n報を得るスイ
ッチ入力制御方式において、制限された数の入カスイン
チを使い易(するため、入カスイッチに複数の定義を可
能とするためのモードスイッチと定義変更可能な入力ス
イッチの定義情報格納部を設けることによって、ユーザ
が個々の入力スイツチの定義を任意に選択できるように
したものである。
[Detailed description of the invention] (Table of contents) Overview Industrial field of application Conventional technology Problems to be solved by the invention Means for solving the problems (Fig. 1) Working example (a) One example Explanation of the configuration (FIGS. 2, 3, and 4) (b) Explanation of the operation of one embodiment (FIGS. 5, 6, 7, and 8) (c) Other embodiments Description of the Effects of the Invention [Summary] In a switch input control method that obtains definition 1n information for operated input switches, it is easy to use a limited number of input switches (to make it possible to have multiple definitions for input switches). By providing a mode switch for the input switch and a definition information storage section for the input switch whose definition can be changed, the user can arbitrarily select the definition of each input switch.

〔産業上の利用分野〕[Industrial application field]

本発明は、プリンタ装置等に設けられたオペレータパネ
ルの入力スイッチの定義をユーザが任意に選択しうる。
According to the present invention, a user can arbitrarily select the definition of an input switch on an operator panel provided in a printer device or the like.

スイッチ入力制御方式に関する。Related to switch input control method.

プリンタ装置等においては、オペレータが通常操作を行
うためにオペレータパネルが設けられている。
2. Description of the Related Art In printer devices and the like, an operator panel is provided for an operator to perform normal operations.

このオペレータパネルには、押ボタンスイッチ、接触ス
イッチ等の入カスインチとLEDランプ等の表示器が設
けられており、オペレータは入力スイッチを操作して、
所望の指定を行う。
This operator panel is equipped with input switches such as pushbutton switches and contact switches, and indicators such as LED lamps, and the operator operates the input switches to
Make the desired specifications.

例えば、プリンタ装置では、用紙セット(吸入)、用紙
排出、位置調整、印字ピッチ指定、印字文字種指定等の
機能指定や選択枝の指定を人力スイッチの操作によって
行う。
For example, in a printer device, functions such as paper setting (inhalation), paper ejection, position adjustment, print pitch designation, print character type designation, and other function designations and selections are performed by manually operating switches.

係る指定は多数有る一方オペレータパネルの物理的サイ
ズの制約、製造コスト等によって人力スイッチの数は限
られる。
While there are many such specifications, the number of manual switches is limited due to constraints on the physical size of the operator panel, manufacturing costs, etc.

このため、限られた数の入力スイッチをユーザが使用し
易いようにする入力制御方式が求められている。
Therefore, there is a need for an input control method that allows users to easily use a limited number of input switches.

〔従来の技術〕[Conventional technology]

第9図は従来技術の説明図である。 FIG. 9 is an explanatory diagram of the prior art.

第9図(A)に示す如く、入力スイッチ部(オペレータ
パネル) lに4つの押ボタン10.11.12.13
が設けられているとすると、この押ボタン1.0.11
.12.13に単独の機能を持たせれば、4つの機能し
か指定できない。図の例では、押ボタン10にオンライ
ン/オフライン切換機能指定、押ボタン11に用紙改ペ
ージ動作(F。
As shown in Figure 9(A), there are four push buttons 10, 11, 12, and 13 on the input switch section (operator panel) l.
is provided, this pushbutton 1.0.11
.. If 12.13 has a single function, only four functions can be specified. In the illustrated example, the push button 10 specifies the online/offline switching function, and the push button 11 specifies the paper page feed operation (F).

rm feed)指定、押ボタン12に改行動作(Li
ne feed)指定、押ボタン13にリセット動作指
定を備えさせたものである。
rm feed) is specified, and the change operation (Li
ne feed) specification, and the push button 13 is provided with a reset operation specification.

このような限られた数の押ボタンで多数の指定全可能と
するため、複数の押ボタンの同時押下を許可し、これに
よって押ボタンの数取上の指定をできるようにしている
In order to make a large number of specifications possible with such a limited number of pushbuttons, simultaneous depression of a plurality of pushbuttons is permitted, thereby making it possible to make multiple specifications of the pushbuttons.

例えば、押ボタン12.13の同時押下で微少改行を指
定し、押ボタン11.13の同時押下で用紙吸入を指定
するという具合である。
For example, pressing the pushbuttons 12 and 13 at the same time specifies a slight line feed, and pressing the pushbuttons 11 and 113 at the same time specifies paper suction.

この実現のため、第9図(B)に示すROM(リードオ
ンリーメモリ)上には、押下ボタンと指定機能との対応
表である変換テーブルが設けられており、1つの押ボタ
ンの押下に対する指定機能と、複数の押ボタンの押下に
対する指定機能とがテーブルとして設けられていた。
To achieve this, a conversion table is provided on the ROM (read-only memory) shown in FIG. 9(B), which is a correspondence table between push buttons and designated functions. Functions and designated functions for pressing a plurality of pushbuttons were provided as a table.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

一方、プリンタ装置等においては、その使用用途に応じ
て使用頻度の高い機能と低い機能があり、これらはユー
ザによって種々である。
On the other hand, printer devices and the like have functions that are frequently used and functions that are used less frequently depending on the purpose of use, and these vary depending on the user.

従来技術においても、設計段階で一般に高頻度と考えら
れる機能を単一キー押下のモードとしておき、低頻度の
ものは複数キー押下のモードとししいるが、ユーザによ
っては低頻度の機能であっても高頻度に使用するものが
ある。
In conventional technology, functions that are generally considered to be frequently used are set to single-key press mode at the design stage, and functions that are considered to be frequently used are set to multiple-key press mode, but some users may prefer functions that are considered to be frequently used to press multiple keys. There are also some that are used frequently.

従来技術では、このような高頻度に使用されるものでも
、押ボタンの数の制限から、前述の複数の押ボタンの同
時押下を設けるという方法で実現せざるを得すこの方法
では、定義が固定され、ユーザが使い易いように自由に
定義を設定することができないという問題があった。
In the conventional technology, due to the limitation on the number of pushbuttons, even for items that are used frequently, it is necessary to provide simultaneous pressing of multiple pushbuttons. There was a problem that the definitions were fixed and the user could not freely set the definitions for ease of use.

本発明は、ユーザが高頻度に使用する定義に対する操作
を容易とするとともにユーザが自由に定義を設定するこ
とができるスイッチ人力制御方式を提供することを目的
とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a switch manual control method that allows a user to easily operate frequently used definitions and also allows the user to freely set definitions.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

図中、第9図を示したものと同一のものは同一の記号で
示してあり、14はモードスイッチであり、入力モード
を指定するものであり、スイッチ部lに設けられるもの
、2は制御部であり、スイッチ部1の出力状態を読取っ
て後述する定義格納部を参照して対応する定義情報を得
るもの、3は定義格納部であり、指定された入力モード
における入力スイッチi 0−12の定義情報を格納し
且つ定義情報の変更可能なものである。
In the figure, the same parts as those shown in Fig. 9 are indicated by the same symbols, 14 is a mode switch, which specifies the input mode, and is provided in the switch section l, and 2 is a control switch. 3 is a definition storage section that reads the output state of the switch section 1 and obtains the corresponding definition information by referring to a definition storage section (to be described later); The definition information can be stored and the definition information can be changed.

本発明では、定義格納部3の定義情報を変更して入力ス
イッチ10〜12の定義を変更できるようにしている。
In the present invention, the definitions of the input switches 10 to 12 can be changed by changing the definition information in the definition storage section 3.

〔作用〕[Effect]

本発明では、第1図にモードスイッチ14を設け、入力
スイッチ10〜12に複数の定義付けを可能とし、且つ
この定義をユーザで変更できるようにしている。
In the present invention, a mode switch 14 is provided in FIG. 1, and a plurality of definitions can be assigned to the input switches 10 to 12, and these definitions can be changed by the user.

このため、高頻度の定義の操作容易性とユーザが個々に
定義を設定しうるという利点を合わせて実現できる。
Therefore, it is possible to achieve both the ease of operation of frequently used definitions and the advantage that users can individually set definitions.

〔実施例〕〔Example〕

(a)一実施例の構成の説明 第2図は本発明の一実施例構成図であり、プリンタ装置
を示しており、第3図は第2図構成のオペレータパネル
説明図、第4図は第2図構成のスイッチ入力制御説明図
である。
(a) Explanation of the configuration of one embodiment FIG. 2 is a configuration diagram of one embodiment of the present invention, showing a printer device, FIG. 3 is an explanatory diagram of the operator panel having the configuration shown in FIG. 2, and FIG. FIG. 3 is an explanatory diagram of switch input control of the configuration shown in FIG. 2;

図中、第1図及び第9図で示したものと同一のものは同
一の記号で示してあり、15は入力レジスタであり、各
スイッチ10〜12.14の押下状態を一時記憶するも
の、16a、16bは各々モード表示ランプ(第3図)
であり、モードスイッチ14による入力モードを表示す
るもの、2は前述の制御部であり、CPtJ(プロセッ
サ)で構成され、通常モード、セットアツプモード及び
アサインモードに対する処理を実行するもの、3aはR
AM (ランダムアクセスメモリ)であり、バッテリー
バックアップされた書替え自在なメモリであり、入力モ
ードを示す入力モードレジスタ30と、後述する入力モ
ードl及び2の時の入力スイッチ11.12の定義(機
能)を格納するアサインレジスタ31を有するもの、3
bはROM(リードオンリーメモリ)であり、各定義機
能に対する実行プログラムの先頭アドレス(工°ントリ
ポイント)及び機能名を格納したエントリポイントテー
ブル32と、押下ボタンに対する定義機能を格納した変
換テーブル33(第9図(B)と同一のもの)と、エン
トリポイントテーブル32のエントリポイントに対応す
る各機能実行プログラムを格納したプログラム格納部3
4を有しているものである。
In the figure, the same parts as those shown in FIGS. 1 and 9 are indicated by the same symbols, and 15 is an input register that temporarily stores the pressed state of each switch 10 to 12. 16a and 16b are mode display lamps (Fig. 3)
, which displays the input mode by the mode switch 14; 2 is the aforementioned control unit, which is composed of a CPtJ (processor) and executes processing for the normal mode, setup mode, and assignment mode; 3a is the R
AM (random access memory), which is a battery-backed, rewritable memory, has an input mode register 30 indicating the input mode, and definitions (functions) of input switches 11 and 12 in input modes 1 and 2, which will be described later. 3, which has an assignment register 31 that stores
b is a ROM (read only memory), which includes an entry point table 32 that stores the start address (factory entry point) and function name of the execution program for each defined function, and a conversion table 33 that stores the defined functions for the pressed buttons ( 9(B)) and a program storage unit 3 that stores each function execution program corresponding to the entry point of the entry point table 32.
4.

尚、RAM3aとROM3bが定義格納部3を構成して
いる。
Note that the RAM 3a and ROM 3b constitute the definition storage section 3.

4はバスであり、制御部(以下CPUと称す)2とスイ
ッチ部1、RAM3 a、、ROM3 b及び後述する
ドライバを接続し、データ等のやりとりを行うもの、5
aはドライバであり、後述するプリンタユニットをCP
U2の指示に従って駆動するもの、5bはプリンタユニ
ットであり、゛ドツトプリントヘッド50と、用紙送り
機構51と、スペーシング機構52と、用紙53を有す
るものである。
4 is a bus, which connects the control unit (hereinafter referred to as CPU) 2, the switch unit 1, RAM 3 a, ROM 3 b, and a driver to be described later, and exchanges data, etc.;
a is a driver, which connects the printer unit described later to the CP
5b is a printer unit that is driven according to the instructions of U2, and has a dot print head 50, a paper feed mechanism 51, a spacing mechanism 52, and a paper 53.

第3図に示す如く、モードスイッチ14を1回押下する
と、モード1となり、モード表示ランプ16aが点灯し
、次に1回押下すると(即ち、2回押下すると)、モー
ド2となり、モード表示ランプ16bが点灯し、次に1
回押下すると、初期状態になりモードOとなり、モード
表示ランプ16a、16bは点灯しない。
As shown in FIG. 3, when the mode switch 14 is pressed once, mode 1 is set, and the mode display lamp 16a lights up, and when the mode switch 14 is pressed once again (that is, when it is pressed twice), mode 2 is set, and the mode display lamp 16a lights up. 16b lights up, then 1
When pressed twice, the mode becomes the initial state and mode O, and the mode display lamps 16a and 16b do not light up.

一方、この入力モードに応じて、各入力スイッチ10〜
12の定義は、モード0では、固定されており、入力ス
イッチ10〜12及びモードスイッチ14は各々「オン
ライン/オフライン切換」、「改ページ」、「改行」、
「モード切換」の定義がなされ、これらは第4図の如く
、変換テーブル33に対応表として格納されている。
On the other hand, depending on this input mode, each input switch 10 to
The definition of 12 is fixed in mode 0, and the input switches 10 to 12 and the mode switch 14 are respectively "online/offline switching", "page break", "line break",
"Mode switching" is defined, and these are stored as a correspondence table in the conversion table 33 as shown in FIG.

又、モード1及び2では、入力スイッチ11.12の定
義はスペース1〜4に示す機能、即ち変更可能なアサイ
ンレジスタ31に設定された機能を示す。
Further, in modes 1 and 2, the definitions of input switches 11 and 12 indicate the functions shown in spaces 1 to 4, that is, the functions set in the changeable assignment register 31.

更に、セットアツプモードは従来と同様に設けられ、こ
れらは、変換テーブル33にその機能が設定されている
Further, setup modes are provided as in the conventional case, and their functions are set in the conversion table 33.

この例では、セットアツプモードの機能の内、高頻度に
使用するものを後述するアサインモードによって、スペ
ース1〜4に自由に設定できる。
In this example, among the functions of the setup mode, frequently used functions can be freely set in spaces 1 to 4 using the assignment mode described later.

そして、スペース1〜4に設定された状態は、モードス
イッチ14の押下と、入力スイッチ111.12の押下
で指定できる。
The states set in spaces 1 to 4 can be specified by pressing the mode switch 14 and input switches 111.12.

即ち、固定変換テーブル33には、第4図に示す如く、
モード0における各人力スイッチ10〜12の定義機能
と、セットアツプモードにおける複数スイッチ10〜1
4の同時押下の定義機能が予じめセットされており、ア
サインレジスタ31には、モードl、モード2における
ユーザが設定した各スペース1〜4の定義機能が格納さ
れている。この定義機能は後述するアサインモードによ
ってセットアツプモードのものからユーザが選定してセ
ットしたものである。
That is, in the fixed conversion table 33, as shown in FIG.
Definition functions of each manual switch 10 to 12 in mode 0 and multiple switches 10 to 1 in setup mode
4 simultaneous press definition functions are set in advance, and the assignment register 31 stores the definition functions of spaces 1 to 4 set by the user in mode 1 and mode 2. This definition function is selected and set by the user from those in the setup mode using the assignment mode described later.

エントリポイントテーブル32は、各機能l〜nに対す
るエントリポイントa、’wa、%を示しており、これ
はプログラム格納部34の対応実行プログラム1〜nの
先頭アドレスを示している。
The entry point table 32 indicates entry points a, 'wa, and % for each of the functions l to n, which indicate the start addresses of the corresponding execution programs 1 to n in the program storage section 34.

(b)一実施例の動作の説明 第5図は起動処理フロー図、第6図は通常モート処理フ
ロー図、第7図はアサインモード処F170−図、第8
図はアサインモード動作説明図である。
(b) Description of operation of one embodiment FIG. 5 is a startup processing flowchart, FIG. 6 is a normal mote processing flowchart, FIG. 7 is an assignment mode processing F170-diagram, and FIG.
The figure is an explanatory diagram of assignment mode operation.

第5図において、CPU2はパワーオンを検出すると、
スイッチ部lの入力レジスタ15を読みとり、押ボタン
10−14の押下が有るかを検出し、押下がなければ第
6図に示す通常モード起動を行う。
In FIG. 5, when the CPU 2 detects power-on,
The input register 15 of the switch section 1 is read and it is detected whether or not the push button 10-14 is pressed.If the push button 10-14 is not pressed, the normal mode activation shown in FIG. 6 is performed.

一方、押ボタン10〜14の押下があると、押下ボタン
がオンラインボタン10かを調べる。オンラインボタン
10であれば、七ソトアップモード起動を行い、一方オ
ンラインボタン10でなければ、モードボタン14かを
調べ、モードボタン14なら第7図に示す如くアサイン
モード起動を行い、モードボタン14でなければ、通常
モード起動を行う。
On the other hand, if any of the push buttons 10 to 14 is pressed, it is checked whether the pressed button is the online button 10 or not. If it is the online button 10, it starts the 7-soto-up mode, and if it is not the online button 10, it checks if it is the mode button 14, and if it is the mode button 14, it starts the assign mode as shown in FIG. If not, start up in normal mode.

即ち、入力スイッチ11.12のモード1.2における
機能設定を行うアサインモードを起動するには、パワー
オンとともにモードボタン14を押下し、セットアツプ
モードを起動するには、パワーオンとともにオンライン
ボタン10を押下し、それ以外は通常モードが起動され
る。
That is, to start the assign mode for setting functions in mode 1.2 of the input switch 11.12, press the mode button 14 while turning on the power, and press the online button 10 while turning on the power to start the setup mode. Press , otherwise normal mode will be activated.

次に、通常モードの処理について第6図を用いて説明す
る。
Next, normal mode processing will be explained using FIG. 6.

CPU2は、押ボタン10−12が押下される毎にこの
処理を実行する。
The CPU 2 executes this process every time the push button 10-12 is pressed.

■ CPU2は、RAM30の入力モードレジスタ30
を8周べる。
■ The CPU 2 inputs the input mode register 30 of the RAM 30.
8 times.

尚、入力モードレジスタ30は、3進のカウンタ機能を
持ち、CPU2がモードボタン14の押下の毎に内容を
歩進する。
The input mode register 30 has a ternary counter function, and the contents are incremented each time the CPU 2 presses the mode button 14.

入力モードレジスタ30の内容がrlJなら、モードl
であるから、CPU2は入力レジスタ1.5の内容から
押下ボタンがFFボタン11かを調べる。
If the contents of the input mode register 30 are rlJ, mode l
Therefore, the CPU 2 checks whether the pressed button is the FF button 11 from the contents of the input register 1.5.

FFボタン11であれば、アサインレジスタ31を索引
するスペース番号nを「1」とし、ステップ■に進む。
If it is the FF button 11, the space number n for indexing the assignment register 31 is set to "1" and the process proceeds to step (2).

■ 一方、ステップ■で押下ボタンがFFボタン11で
なければ、CPU2は押下ボタンがLFボタン12かを
調べる。
(2) On the other hand, if the pressed button is not the FF button 11 in step (2), the CPU 2 checks whether the pressed button is the LF button 12.

押下ボタンがLFボタン12であれば、CPU2はスペ
ース番号nを「2」とし、ステップ■に進む。
If the pressed button is the LF button 12, the CPU 2 sets the space number n to "2" and proceeds to step (2).

逆に押下ボタンがLFボタン12でなければ、CPU2
はオンラインボタン10の押下であるから、ステップ■
に進む。
Conversely, if the pressed button is not the LF button 12, the CPU 2
Since this is the pressing of the online button 10, step ■
Proceed to.

■ CPU2はステップ■で入力モードレジスタ30の
内容が「1」でないと判定すると、その内容が「、2」
であるかを8周べる。
■ If the CPU 2 determines in step ■ that the contents of the input mode register 30 are not "1", the contents are changed to ",2".
Ask yourself 8 times.

入力モードレジスタ30の内容が「2」でなければ、C
PU2はモードOであるから、ステップ■に進む。
If the content of the input mode register 30 is not "2", C
Since PU2 is in mode O, proceed to step (2).

一方、入力モードレジスタ30の内容が「2」であれば
、CPU2はモード2であるから、人力レジスタ15の
内容から押下ボタンがFFボタン11かを調べる。
On the other hand, if the content of the input mode register 30 is "2", the CPU 2 is in mode 2, so it is checked from the content of the manual register 15 whether the pressed button is the FF button 11.

FFボタン11であれば、CPU2はスペース番号nを
「3」とし、ステップ■に進む。
If the FF button is 11, the CPU 2 sets the space number n to "3" and proceeds to step (2).

■ ステップ■で押下ボタンがFFボタン11でなけれ
ば、CPU2は押下ボタンがLFボタン12かを3周べ
る。
(2) If the pressed button is not the FF button 11 in step (2), the CPU 2 rotates three times to see if the pressed button is the LF button 12.

押下ボタンがLFボタンであれば、CPU2はスペース
番号nを「4」とし、ステップ■に進む。
If the pressed button is the LF button, the CPU 2 sets the space number n to "4" and proceeds to step (2).

逆に押下ボタンがLFボタンでなければ、CPU2はオ
ンラインボタン10の押下であるからステップ■に進む
Conversely, if the pressed button is not the LF button, the CPU 2 will proceed to step (2) since the online button 10 has been pressed.

■ CPU2は、スペース番号nを「1」〜「4」に決
定すると、アサインレジスタ31を参照して対応する定
義機能データを読出し、ステップ■へ進む。
(2) When the CPU 2 determines the space number n to be "1" to "4", the CPU 2 refers to the assignment register 31, reads out the corresponding definition function data, and proceeds to step (2).

■ 一方、CPU2は、押下ボタンがFFボタン11、
LFボタン12のいずれでもないと判定すると、押下ボ
タンから変換テーブル33を参照して対応する定義機能
データを読出し、ステップ■へ進む。
■ On the other hand, the push button of CPU2 is FF button 11,
If it is determined that none of the LF buttons 12 is pressed, the conversion table 33 is referred to from the pressed button, the corresponding definition function data is read out, and the process proceeds to step (2).

■ ステップ■又は■で定義機能データが読出されると
、第4図で説明した如く、CPU2はエントリポイント
テーブル32を読出した定義機能データで参照し、対応
するエントリポイント(実行プログラムの先頭アドレス
)を取り出し、プログラム格納部34のエントリポイン
トの示す実行プログラムを読出し、実行する。
■ When the definition function data is read in step ■ or ■, as explained in FIG. The execution program indicated by the entry point of the program storage section 34 is read out and executed.

このようにして、モードボタン14と入カポタン10−
12との入力状態から、対応する定義機能をアサインレ
ジスタ31、変換テーブル33から読出し、対応する実
行プログラムを実行する。
In this way, the mode button 14 and the input capo button 10-
12, the corresponding definition function is read from the assignment register 31 and the conversion table 33, and the corresponding execution program is executed.

このアサインレジスタ31の内容変更について、第7図
及び第8図により説明する。
This change in the contents of the assignment register 31 will be explained with reference to FIGS. 7 and 8.

(i)第5図で説明した如く、CPU2はアサインモー
ド起動とすると、スペース番号nを「1」とする。
(i) As explained in FIG. 5, when the CPU 2 starts up in the assignment mode, the space number n is set to "1".

(ii)CPU2は、アサインレジスタ31に設定でき
る機能をドライバ5aを介しプリンタユニット5bによ
って、第8図の如く印字せしめる。
(ii) The CPU 2 causes the printer unit 5b to print out the functions that can be set in the assignment register 31 via the driver 5a as shown in FIG.

即ち、CPU2はエントリポイントテーブル32の内、
設定できる機能の機能名を読み出し、ドライバ5aに与
えヘッド50により印字せしめる。
That is, the CPU 2 uses the entry point table 32 as follows:
The function names of the functions that can be set are read out and given to the driver 5a to be printed by the head 50.

(iii )次に、CPU2は、ヘッド50をスペーシ
ング機構52によってイニシャル位置に復帰させ、FF
ボタン11の押下毎にヘッド50を用紙上の印字した機
能名の先頭に順次移動させる。
(iii) Next, the CPU 2 returns the head 50 to the initial position using the spacing mechanism 52, and
Each time the button 11 is pressed, the head 50 is sequentially moved to the beginning of the function name printed on the paper.

オペレータは、FFボタン11を押下してヘッド50を
次の機能名の先頭に移動し、所望の機能名にヘッド50
を持っていき、そこでLFボタン12を押下する。
The operator presses the FF button 11 to move the head 50 to the beginning of the next function name, and moves the head 50 to the desired function name.
, and press the LF button 12 there.

(iv)CPU2は、LFボタン12の押下を検出する
と、ヘッド50の位置から対応する機能を求め、これを
アサインレジスタ31にスペースnの機能として設定す
る。
(iv) When the CPU 2 detects the depression of the LF button 12, it determines the corresponding function from the position of the head 50, and sets this in the assignment register 31 as the function of space n.

(v)次にCPU2は、スペース番号nが設定できる最
大限の機能数「4」に達したかを調べ、達していなけれ
ば、n+IGnとする。オペレータはモードボタン14
を押下すると、CPU2は次のスペース番号の機能設定
のため、ステップ(ii )に戻る。
(v) Next, the CPU 2 checks whether the space number n has reached the maximum number of functions that can be set, "4", and if it has not reached it, sets it to n+IGn. Operator presses mode button 14
When pressed, the CPU 2 returns to step (ii) to set the function of the next space number.

一方、CPU2はn=4と判定すると、スペース4まで
の設定完了として、アサインモードを終了する。
On the other hand, when the CPU 2 determines that n=4, the setting up to space 4 is completed and the assignment mode is ended.

このようにして、アサインレジスタ31にFFボタン1
1、LFボタン12のモード1.2における機能を設定
できる。
In this way, the FF button 1 is assigned to the assignment register 31.
1. The function of the LF button 12 in mode 1.2 can be set.

又、第5図において、セットアツプモード起動とすると
、CPU2は従来と同様に、押下された2つの入カポタ
ン10〜14の組合わせより変換テーブル33を参照し
、定義機能を読み出し、エントリポイントテーブル32
を参照し、エントリポイントをとりだし、プログラム格
納部34の対応実行プログラムを実行する。
In addition, in FIG. 5, when the setup mode is activated, the CPU 2 refers to the conversion table 33 based on the combination of the two pressed input buttons 10 to 14, reads out the defined function, and converts the entry point table. 32
, the entry point is retrieved, and the corresponding execution program in the program storage section 34 is executed.

(C)他の実施例の説明 上述の実施例では、アサインレジスタ31に機能を設定
するアサイン機能として、押ボタンの特定の押下手順に
よってプリンタを用いて行っているが、予じめユーザが
設定した機能をホスト又はROMからインターフェイス
を介しアサインレジスタ31にロードしてもよく、選択
すべき機能名を印字しているが、表示器に表示するよう
にしてもよい。
(C) Description of other embodiments In the embodiments described above, the assignment function of setting a function in the assignment register 31 is performed using a printer according to a specific pressing procedure of a push button. The selected function may be loaded into the assignment register 31 from the host or ROM via an interface.Although the name of the function to be selected is printed, it may also be displayed on a display.

又、アサインレジスタ31をバッテリーバックアップR
AMで説明したが、要するにパワーオフしても保持され
るメモリであればよく。Non−volatile  
RA MやEEPROMであってもよく、しかもアサイ
ンレジスタ31をROMで構成し、これを交換するよう
にしてもよい。
In addition, the assign register 31 is backed up by battery R.
As explained in AM, in short, it is sufficient as long as the memory is retained even when the power is turned off. Non-volatile
It may be a RAM or an EEPROM, and moreover, the assignment register 31 may be constructed from a ROM, which may be replaced.

更に、プリンタ装置に適用した例について説明したが、
他の装置であってもよく、定義される機能も実施例に限
られない。
Furthermore, an example of application to a printer device was explained;
Other devices may be used, and the functions defined are not limited to those in the embodiment.

以上本発明を実施例により説明したが、本発明は本発明
の主旨に従い種々の変形が可能であり、本発明からこれ
らを排除するものではない。
Although the present invention has been described above using examples, the present invention can be modified in various ways according to the gist of the present invention, and these are not excluded from the present invention.

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

以上説明した様に、本発明によれば、モードスイッチを
設け、入力スイッチに複数の定義付けを可能とし且つこ
の定義をユーザで変更できるようにしているから、高頻
度の定義の入力操作を容易とするとともにユーザが使用
目的°に応じて独自にこの定義を設定できるという効果
を奏し、ユーザがそれぞれ一番使い易いように自由にス
イッチ機能を設定できる。
As explained above, according to the present invention, a mode switch is provided, multiple definitions can be assigned to the input switch, and this definition can be changed by the user, making it easy to input frequently used definitions. This also has the effect that the user can independently set this definition according to the purpose of use, and each user can freely set the switch function in a way that is most convenient for each user.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例構成図、 第3図は第2図構成のオペレータパネルの説明図、 第4図は第2図構成のスイッチ入力制御説明図、第5図
は本発明の一実施例起動処理フロー図、第6図は本発明
の一実施例通常モード処理フロー図、 第7図は本発明の一実施例アサインモード処理フロー図
、 第8図は第7図のアサインモードの動作説明図、第9図
は従来技術の説明図である。 図中、1−・−オペレータパネル(スイッチ部)、2−
制御部、 3−・・定義格納部、 10〜12−人力スイッチ、 14−・−モードスイッチ、 31−アサインレジスタ。
Figure 1 is an explanatory diagram of the principle of the present invention, Figure 2 is a configuration diagram of an embodiment of the present invention, Figure 3 is an explanatory diagram of the operator panel configured in Figure 2, and Figure 4 is a switch input diagram configured in Figure 2. Control explanatory diagram, FIG. 5 is a startup processing flow diagram of an embodiment of the present invention, FIG. 6 is a normal mode processing flow diagram of an embodiment of the present invention, and FIG. 7 is an assignment mode processing flow diagram of an embodiment of the present invention. , FIG. 8 is an explanatory diagram of the operation of the assign mode of FIG. 7, and FIG. 9 is an explanatory diagram of the prior art. In the figure, 1--operator panel (switch section), 2-
Control unit, 3--Definition storage unit, 10-12-Manual switch, 14--Mode switch, 31-Assign register.

Claims (1)

【特許請求の範囲】 入力モードを指定するモードスイッチ(14)と入力ス
イッチ(10〜12)とを含むスイッチ部(1)と、 該指定された入力モードにおける該入力スイッチ(10
〜12)の定義情報を格納し、且つ該定義情報の変更可
能な定義格納部(3)と、 該モードスイッチ(14)と入力スイッチ(10〜12
)の出力状態を読取って該定義格納部(3)を参照して
対応する定義情報を得る制御部(2)とを有し、 該定義格納部(3)の定義情報を変更して該入力スイッ
チ(10〜12)の定義を変更できるようにしたことを
特徴とするスイッチ入力制御方式。
[Scope of Claims] A switch unit (1) including a mode switch (14) for specifying an input mode and input switches (10 to 12);
- 12) a definition storage section (3) that stores definition information and can change the definition information; the mode switch (14) and the input switch (10 - 12);
), and a control unit (2) that reads the output state of the definition storage unit (3) and obtains the corresponding definition information by referring to the definition storage unit (3), and changes the definition information in the definition storage unit (3) to input the input information. A switch input control method characterized in that the definition of the switches (10 to 12) can be changed.
JP62027550A 1987-02-09 1987-02-09 Switch input control system Pending JPS63195720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62027550A JPS63195720A (en) 1987-02-09 1987-02-09 Switch input control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62027550A JPS63195720A (en) 1987-02-09 1987-02-09 Switch input control system

Publications (1)

Publication Number Publication Date
JPS63195720A true JPS63195720A (en) 1988-08-12

Family

ID=12224174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62027550A Pending JPS63195720A (en) 1987-02-09 1987-02-09 Switch input control system

Country Status (1)

Country Link
JP (1) JPS63195720A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51105737A (en) * 1975-03-14 1976-09-18 Fujitsu Ltd Fuankushon kiitorokuhoshiki
JPS61269721A (en) * 1985-05-24 1986-11-29 Canon Inc Operation device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51105737A (en) * 1975-03-14 1976-09-18 Fujitsu Ltd Fuankushon kiitorokuhoshiki
JPS61269721A (en) * 1985-05-24 1986-11-29 Canon Inc Operation device

Similar Documents

Publication Publication Date Title
US5109355A (en) Data input apparatus having programmable key arrangement
JPS63195720A (en) Switch input control system
JPS5818735A (en) Character input device
JPH06110526A (en) Nc device with function key
JPH0944286A (en) Keyboard system
US20030090466A1 (en) Method for constituting multiple-key-code of compound keys
JPS62201474A (en) Copying machine
JPS6235685B2 (en)
JP2818555B2 (en) Keyboard with function key guide display
JP2911001B2 (en) External setting method for electronic devices
JPH0328917A (en) Display switching method for set value by use of same input key
JPH04328619A (en) Keyboard device
JP2703608B2 (en) Document processing method and apparatus
JPH09265372A (en) Operation display device
JPH02288912A (en) Document processing device
JP4050332B2 (en) Switch control device, switch control device control method, and printer
JPH06274263A (en) Exclusive application system and its key code converting method
JPH06195117A (en) Single-acting operation system by customization
JPH0278324A (en) Keyboard
JPH04105112A (en) Information processor with key setting function
JPH0452466B2 (en)
JPS61221922A (en) Keyboard system
JPH03256778A (en) Printing control mode selection circuit of printer
JPH04260908A (en) Computer system starting system
JPH03262672A (en) Operation device in printer