JPH0228190B2 - - Google Patents

Info

Publication number
JPH0228190B2
JPH0228190B2 JP59161952A JP16195284A JPH0228190B2 JP H0228190 B2 JPH0228190 B2 JP H0228190B2 JP 59161952 A JP59161952 A JP 59161952A JP 16195284 A JP16195284 A JP 16195284A JP H0228190 B2 JPH0228190 B2 JP H0228190B2
Authority
JP
Japan
Prior art keywords
data
input
program
check
setting
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.)
Expired - Lifetime
Application number
JP59161952A
Other languages
Japanese (ja)
Other versions
JPS6142075A (en
Inventor
Soichi Oonishi
Tadahiro Toda
Kensaku Komai
Masuo Sugihara
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP16195284A priority Critical patent/JPS6142075A/en
Priority to US06/761,425 priority patent/US4851994A/en
Priority to DE85109734T priority patent/DE3587335T2/en
Priority to EP85109734A priority patent/EP0181438B1/en
Publication of JPS6142075A publication Critical patent/JPS6142075A/en
Publication of JPH0228190B2 publication Critical patent/JPH0228190B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ホストマシン(ホストコンピユー
タ)に交信可能に接続され、データの入出力に先
立つてホストマシンに格納されたプログラムがロ
ードされ、ロードされたプログラムにしたがつて
データの入出力を行なう型式のデータ入出力用端
末機、とりわけ在庫管理や荷の積み降し管理等に
使用される、所謂ポータブルデータターミナル装
置(以下、ターミナル装置という。)に関するも
のである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is connected to a host machine (host computer) in a communicable manner, and prior to data input/output, a program stored in the host machine is loaded. A data input/output terminal is a type of data input/output terminal that inputs and outputs data according to a program, and is particularly used for inventory management, loading/unloading management, etc., and is a so-called portable data terminal device (hereinafter referred to as a terminal device). ).

[従来技術] 従来より、この種のターミナル装置は、種々の
業種において実用に供されている。
[Prior Art] Conventionally, this type of terminal device has been put into practical use in various industries.

ところで、従来のターミナル装置、個々の業種
に適合させて、当該業種における商慣習等に適し
た専用のプログラムを作成して、その専用プログ
ラムをROM領域又はRAM領域に格納するよう
にした専用機として市場に提供されていた。
By the way, the conventional terminal device is a special machine that is adapted to each industry, creates a special program suitable for the business practices of the industry, and stores the special program in the ROM area or RAM area. was offered to the market.

したがつて、従来においては、輸送業や卸売り
業等各業種ごとに、また同じ業種でも、例えば出
荷業務や入荷業務といつた個々の業務ごとに専用
プログラムを作成しなければならず、そのような
専用プログラムでしか使用できないため、同一業
種でも業務ごとに異なるターミナル機を用意しな
ければならず、台数が多くなるのみならず、誤用
のおそれもあり、管理が複雑化し、利用効率も悪
いものであつた。
Therefore, in the past, dedicated programs had to be created for each type of industry, such as transportation or wholesale, or even for each type of business, such as shipping or receiving, within the same industry. Because terminals can only be used with special programs, different terminals must be prepared for each job even in the same industry, which not only increases the number of terminals, but also poses a risk of misuse, complicating management, and inefficient use. It was hot.

本出願人は、かかる問題に鑑み、業種ごとの設
定が可能で、しかも複数の業務にわたつてデータ
入出力が行なえるデータ入出力用端末機を提供す
ることを目的として、ホストマシンに交信可能に
接続されるデータ入出力用端末機であつて、少な
くともプログラム設定モードと実行モードとを指
定するモード設定手段と、ホストマシンによつて
供給されるプログラムを格納するプログラム用
RAM手段と、プログラム設定モードにおいて上
記格納したプログラムに対し種々のパラメータを
設定することにより複数種の業務用プログラムを
作成する手段と、設定されたパラメータをメモリ
するパラメータ用RAM手段と、データをメモリ
するデータ用RAM手段と、実行モードにおいて
複数種の業務用プログラムのいずれか一を指定す
る業務指定手段とを少なくとも備え、複数の業種
に適用しうるようにデータ入出力用端末機を本願
と同日付の特許願において提案している。
In view of this problem, the present applicant has developed a data input/output terminal that can be configured for each industry and that can communicate with a host machine for data input/output across multiple tasks. A data input/output terminal connected to a host machine, which includes at least a mode setting means for specifying a program setting mode and an execution mode, and a program terminal for storing a program supplied by a host machine.
RAM means, means for creating multiple types of business programs by setting various parameters for the stored program in the program setting mode, parameter RAM means for storing the set parameters in memory, and memory for storing data. A data input/output terminal similar to that of the present application is provided with at least a data RAM means for configuring the program and a business specifying means for specifying one of a plurality of types of business programs in the execution mode. It is proposed in a patent application dated .

[発明の目的] 本発明は、上記型式のデータ入出力用端末機で
は、プログラム設定モードで複数の業務プログラ
ムを作成するのに用いるパラメータが、RAMに
メモリされることになるが、このパラメータがノ
イズ、誤操作等の何等かの原因で化けた場合、機
器は誤動作し、極端な場合暴走する。
[Object of the Invention] The present invention provides that in the data input/output terminal of the above type, parameters used to create a plurality of business programs in the program setting mode are stored in the RAM. If this happens due to some reason such as noise or incorrect operation, the device will malfunction and, in extreme cases, will run out of control.

本発明の目的は、かかるパラメータの化けを発
見し、未然に誤動作を防止することである。
An object of the present invention is to discover such parameter variations and prevent malfunctions.

[発明の構成] かかる目的を達成するため、本発明は、第1図
に全体更成図を示すように、ホストマシンHMに
交信可能に接続されるデータ入出力用端末機
EOSTであつて、少なくともプログラム設定モー
ドと実行モードとを指定するモード設定手段A
と、ホストマシンによつて供給されるプログラム
を格納するプログラム用RAM手段Bと、プログ
ラム設定モードにおいて上記格納したプログラム
に対して複数種の業務を各々実行するために必要
なパラメータを設定するパラメータ設定手段C
と、上記パラメータ設定手段Cによつて設定され
たパラメータをメモリするパラメータ用RAM手
段Dと、データをメモリするデータ用RAM手段
Eと、チエツクコードをメモリするチエツク値用
RAM手段Fと、上記パラメータ設定手段Cによ
るパラメータの設定後に電源をオフするためのス
イツチがオンされたとき、上記パラメータ用
RAM手段Dによつて格納されたパラメータのチ
エツクコードを計算して、上記計算されたチエツ
クコードで上記チエツク値用RAM手段Fに記憶
されたチエツクコードを更新した後、電源をオフ
する制御手段Gと、実行モードにおいて複数種の
業務のいずれか一を指定する業務指定手段Hと、
上記業務指定手段Hによつて業務が指定される
と、当該業務に対応して上記パラメータ設定手段
Cにより設定されたパラメータに基いて上記プロ
グラムを実行し上記データ用RAM手段にメモリ
されたデータを処理して所定の業務を行う実行手
段と、電源オン時、上記実行手段によるプロ
グラムの実行に先立つて上記チエツク値用RAM
手段Fによつて記憶されたチエツクコードにより
エラーチエツクを行う判断手段Jとを備えたこと
を特徴とするデータ入出力用端末機を提供するも
のである。
[Structure of the Invention] In order to achieve the above object, the present invention provides a data input/output terminal device that is communicably connected to a host machine HM, as shown in the overall update diagram in FIG.
Mode setting means A that is EOST and specifies at least a program setting mode and an execution mode
, a program RAM means B for storing programs supplied by the host machine, and parameter setting for setting parameters necessary for executing a plurality of types of tasks for each of the stored programs in the program setting mode. Means C
, a parameter RAM means D for storing the parameters set by the parameter setting means C, a data RAM means E for storing the data, and a check value RAM means for storing the check code.
When the switch for turning off the power is turned on after setting the parameters by the RAM means F and the parameter setting means C,
A control means G calculates a check code for the parameters stored in the RAM means D, updates the check code stored in the check value RAM means F with the calculated check code, and then turns off the power. and a task specifying means H for specifying one of a plurality of types of tasks in the execution mode.
When a job is specified by the job specifying means H, the program is executed based on the parameters set by the parameter setting means C corresponding to the job, and the data stored in the data RAM means is read. Execution means for processing and performing predetermined tasks, and RAM for the above-mentioned check value when the power is turned on, before the execution means executes the program.
The present invention provides a data input/output terminal characterized in that it is equipped with a determining means J that performs an error check using a check code stored by the means F.

[発明の効果] 本発明によれば、複数のプログラムを設定する
パラメータの化けを実行モードの実行に先立つて
未然にチエツクすることができるので、機器の誤
動作を未然に防止することができ、常に正しい業
務プログラムの実行を確保することができる。
[Effects of the Invention] According to the present invention, since it is possible to check for garbled parameters for setting a plurality of programs before executing the execution mode, it is possible to prevent equipment malfunctions, and to always Correct execution of business programs can be ensured.

[実施例] 以下、本発明の実施例を詳細に説明する。[Example] Examples of the present invention will be described in detail below.

<システム構成> 第2図に本装置のシステム構成図を、また第3
図には装置の正面図を示す。
<System configuration> Figure 2 shows the system configuration diagram of this device, and Figure 3 shows the system configuration diagram of this device.
The figure shows a front view of the device.

第2図に示すように、本装置は、1チツプマイ
クロプロセツサで構成する中央演算処理ユニツト
1(以下、CPU1と略記する。)と、イニシヤ
ル・プログラム・ロード用リードオンリメモリ2
(以下、IPL用ROM2と略記する。)と、プログ
ラム用ランダム・アクセス・メモリ3(以下、プ
ログラム用RAM3と略記する。)と、入力デー
タ用およびシステム・パラメータデータ用ランダ
ム・アクセスメモリ4(以下、データ用RAM4
と略記する。)と、以下に詳述するパラメータ設
定やデータのエントリ等に使用する各種フアクシ
ヨンキーとテンキーとを備えたキーボード5と、
電源スイツチ6、以下に説明する第1,第2のシ
ステムスイツチ7,8およびモードスイツチ9か
らなるスイツチ手段10と、各種の必要な表示を
行なうための液晶デイスプレイ11と、各種のイ
ンターフエイス(I/F)、具体的にはシリアル
I/F12,パラレルI/F13およびバーコー
ドリード用ペンI/F14と、ブザー15および
イヤホンコネクタ16とを標準装備として備えて
いる。
As shown in FIG. 2, this device includes a central processing unit 1 (hereinafter abbreviated as CPU 1) consisting of a one-chip microprocessor, and a read-only memory 2 for initial program loading.
(hereinafter abbreviated as IPL ROM 2), program random access memory 3 (hereinafter abbreviated as program RAM 3), and random access memory 4 for input data and system parameter data (hereinafter abbreviated as program RAM 3). , data RAM4
It is abbreviated as ), a keyboard 5 equipped with various function keys and a numeric keypad used for parameter setting, data entry, etc., which will be described in detail below.
A switch means 10 consisting of a power switch 6, first and second system switches 7, 8, and a mode switch 9, which will be explained below, a liquid crystal display 11 for performing various necessary displays, and various interfaces (I). /F), specifically a serial I/F 12, a parallel I/F 13, a pen I/F 14 for reading barcodes, a buzzer 15 and an earphone connector 16 as standard equipment.

オプシヨンとして、プログラム用RAM17と
バーコードペンリーダ18(以下、TPR18と
略記する。)とを装備することができる。
As an option, a program RAM 17 and a barcode pen reader 18 (hereinafter abbreviated as TPR 18) can be provided.

また、CPU1は、シリアル・インターフエイ
ス(I/F)12或いはパラレル・インターフエ
イス(I/F)13を介して、ホストマシン(ホ
ストコンピユータ)19或いは他のデータターミ
ナル装置20に接続される。
Further, the CPU 1 is connected to a host machine (host computer) 19 or other data terminal device 20 via a serial interface (I/F) 12 or a parallel interface (I/F) 13.

第3図に示すように、キーボード5は、“0”
〜“9”の10個のテンキ―NK(i)(i=0〜
9)と、20個のフアンクシヨンキーFK(j)(j
=1〜20)の計30個のキーを備えて構成され、前
記モードスイツチ9は、モードAおよびモードB
のいずれかを選択するスライドスイツチとして構
成されている。
As shown in FIG. 3, the keyboard 5 has a "0"
~ 10 numeric keys for “9” - NK (i) (i = 0 ~
9) and 20 function keys FK (j) (j
= 1 to 20), and the mode switch 9 has mode A and mode B.
It is configured as a slide switch that selects one of the following.

また、上記プログラム用RAM3およびデータ
用RAM4は内蔵された電池(図示せず)により
バツクアツプされるようになつており、第4図に
示すように、第1,第2システムスイツチ7,8
は、上記電池の収納部21において各々3位置
A,B,Cで切替え可能なスイツチとして配置さ
れている。これら第1,第2システムスイツチ
7,8は、以下に述べるように、上記モードスイ
ツチ9と組合せて、種々のモード等を指定するた
めに使用される選択スイツチであつて、ユーザ側
で操作する必要はない。
The program RAM 3 and data RAM 4 are backed up by a built-in battery (not shown), and as shown in FIG.
are arranged as switches that can be switched in three positions A, B, and C in the battery storage section 21, respectively. These first and second system switches 7 and 8, as described below, are selection switches used in combination with the mode switch 9 to specify various modes, etc., and are operated by the user. There's no need.

<動作フロー(全体)> 第5図および第6図には、CPU1が実行する
動作フローが示されている。
<Operation Flow (Overall)> FIGS. 5 and 6 show the operation flow executed by the CPU 1.

第5図に示すように、電源スイツチ6がオンさ
れると、まず、プログラム実行のため、プログラ
ムの有無、正常か否かのチエツクが行なわれ、次
いでバツテリチエツクが行なわれ、バツテリチエ
ツクで問題がなければ、モードの判別が行なわれ
る。
As shown in FIG. 5, when the power switch 6 is turned on, first a check is made to see if the program exists and whether it is normal in order to execute the program, and then a battery check is performed. If not, a mode determination is made.

このモードの設定は、前述したように、第1,
第2のシステムスイツチ7,8とモードスイツチ
9との組合せによつて行なう。
As mentioned above, the settings for this mode are as follows:
This is done by a combination of second system switches 7, 8 and mode switch 9.

設定しうるモードは大別して以下の5種であ
る。
The modes that can be set are roughly divided into the following five types.

(a) サム・チエツク・モード RAMエリアのプログラム部及びパラメータ
部のチエツクサムコードを算出し、所定のメモ
リエリアにセツトするモード。
(a) Sum check mode A mode in which the checksum code of the program section and parameter section of the RAM area is calculated and set in a predetermined memory area.

(b) ダイアグ・モード ROMエリアの診断プログラムを実行して、
ROM,RAM,液晶デイスプレイ,キー,ブ
ザー等のハードウエアのテストをするモード。
(b) Diagnosis mode Run the ROM area diagnostic program and
A mode for testing hardware such as ROM, RAM, LCD display, keys, buzzer, etc.

(c) アプリケーシヨン・モード このモードは、さらにパラメータ設定モード
と実行モードとに分けられる。
(c) Application mode This mode is further divided into parameter setting mode and execution mode.

(c)−1 パラメータ設定モード データエントリ業務(最大7種)、データ
出力業務(1種)、マスタデータ入力業務
(1種)、データコレクタ業務(1種…オプシ
ヨン)等の各種業務仕様をパラメータ設定に
よつて設定するモード。
(c)-1 Parameter setting mode Various business specifications such as data entry business (up to 7 types), data output business (1 type), master data input business (1 type), data collector business (1 type...optional), etc. can be set as parameters. Mode set by settings.

(c)−2 実行モード 初期設定、初期登録、業務選択(データエ
ントリ業務区分、データ出力業務等)の各オ
ペレーシヨンにより、各種業務を実行するモ
ード。
(c)-2 Execution mode A mode in which various tasks are executed by each operation of initial setting, initial registration, and task selection (data entry task classification, data output task, etc.).

(d) プログラム・ロード・モード プログラム領域及びパラメータ設定領域のロ
ードを行なうモード。
(d) Program load mode A mode for loading the program area and parameter setting area.

このモードは、さらに、ホストマシンからプ
ログラムをロードするモードと、他のデータタ
ーミナルからプログラムをロードするモードと
に分けられる。
This mode is further divided into a mode in which the program is loaded from the host machine and a mode in which the program is loaded from another data terminal.

(e) プログラム・アンロード・モード プログラム領域及びパラメータ設定領域の内
容のアンロード(内容を他のターミナルに移す
ため出力すること)を行なうモード。
(e) Program unload mode A mode for unloading the contents of the program area and parameter setting area (outputting the contents in order to transfer them to another terminal).

第1表に各種モードの指定方式を示す。 Table 1 shows the designation methods for various modes.

<プログラム設定モード> このモードは、本装置の最大の特徴をなし、以
下のパラメータ設定により、種々の業務プログラ
ムを作成する。つまり、本装置は、従来のこの種
のデータターミナルでは、各業種毎に単一種の業
務プログラムを固有のプログラムとして予め組込
んだものであつたが、本装置は業種に応じて、各
業種に最適な業務プログラムをユーザの要望を取
入れつつ設定できる汎用機である。
<Program setting mode> This mode is the most distinctive feature of this device, and various business programs are created by setting the following parameters. In other words, in conventional data terminals of this type, a single type of business program was pre-installed as a unique program for each industry, but this device can be used for each industry according to the industry. This is a general-purpose machine that can set the optimal business program while taking into account the user's requests.

(1) 設定モードにおけるキー配置 第7図に設定モードにおけるキー配置を示
す。このキー配置は固定である。
(1) Key arrangement in setting mode Figure 7 shows the key arrangement in setting mode. This key arrangement is fixed.

(2) 設定モードにおける設定オペレーシヨン設定
は、全て、第8図に示すキーシーケンスによつ
て行なう。
(2) Setting operation in setting mode All settings are performed using the key sequence shown in FIG.

第8図において、NK1はジヨブナンバJOB
#(例えば4桁)、NK2は項目ナンバ項目
#(例えば2桁)、NK3はパラメータ設定デ
ータ(設定するパラメータに応じて種々)を指
定するキー操作を示す。
In Figure 8, NK1 is the job number JOB
# (for example, 4 digits), NK2 indicates the item number item # (for example, 2 digits), and NK3 indicates a key operation for specifying parameter setting data (various depending on the parameter to be set).

フアンクシヨンキーFK1は、1回目の押下
げでNK2の操作へ移行させ、2回目の押下げ
て該当JOB#の設定内容を表示する。フアン
クシヨンキーFK2は押下げ毎に、次の項目
#或いは次のJOB#に自動的に更新する。フ
アンクシヨンキーFK3は、押下げによつて次
のJOB#の設定内容を表示する。設定点検時
には、FK3を次々に押下げ操作する。
When the function key FK1 is pressed for the first time, the operation shifts to NK2, and when it is pressed for the second time, the setting contents of the corresponding JOB# are displayed. Each time the function key FK2 is pressed, it is automatically updated to the next item # or the next JOB #. Function key FK3 displays the setting contents of the next JOB# when pressed. When checking settings, press and hold FK3 one after another.

(3) データ登録用メモリのデータフオーマツト 実行モードにおけるデータエントリ時のデー
タ登録用メモリのフオーマツトを第9図に示
す。
(3) Data format of data registration memory FIG. 9 shows the format of the data registration memory during data entry in execution mode.

初期登録レコード、業務区分レコードは、納
入システム毎に固定である。ヘツデイング,デ
イテエイル,フツテイングの各レコードは業務
選択された各データエントリの業務毎に固定で
ある。初期登録,業務区分,ヘツデイング,フ
ツテイングの各レコードは無い場合がある。
The initial registration record and business classification record are fixed for each delivery system. The heading, date, and footing records are fixed for each job of each data entry selected for the job. Initial registration, business classification, heading, and footing records may not exist.

業務区分以外の各レコードは、第10図に示
すように複数の項目より構成される。
Each record other than business classification is composed of a plurality of items as shown in FIG.

(4) ヘツデイング,デイテエイルおよびフツテイ
ング各レコードのパラメータ設定 ヘツデイングは、数量でいえば各数量の合
計、金額でいえば金額の合計或いは入力や出力
に際しての年月日や時分等々のデータをメモリ
するための部であつて、パラメータの設定は、
例えばJOB#0101〜0114、項目#10〜14にわ
たつて行なうことができる。
(4) Parameter settings for each record of hetting, date ailment, and footing Hetting is the storage of data such as the total of each quantity in terms of quantities, the total of amounts in terms of amounts, or the year, month, day, hour, and minute of input or output. This section is for setting parameters.
For example, it can be performed for JOB #0101 to 0114 and items #10 to 14.

第2表にその設定方式を示す。 Table 2 shows the setting method.

また、デイテエイルは、例えば、個々の商品
の単価や数量等、いわば詳細を示す部分であ
る。その設定方式は、第3―1表,第3―2表
に示す。
Further, the date information is a part that shows details such as, for example, the unit price and quantity of each product. The setting method is shown in Table 3-1 and Table 3-2.

フツテイングレコードは、最後のデイテエイ
ルレコードの次に位置して設けられるレコード
で、例えば、デイテエイルレコード中の金額の
総計をメモリする等、しめくくり用として用い
られる。その設定方式は第4表に示す。
The footing record is a record located next to the last date record, and is used for closing purposes, such as storing the total amount of money in the date record. The setting method is shown in Table 4.

以下、第2表〜第4表にしたがつて、具体的な
設定方式を説明する。
Hereinafter, specific setting methods will be explained according to Tables 2 to 4.

[項目#10]項目の各種情報の指定 (a) 項目長 各項目で必要な長さ(桁長)を指定する。但
し、C/Dチエツクコード、小数点“.”,サイ
ン“±”等の記号,項目区分コードを含む。こ
こで指定された桁長がデータ登録用メモリに割
り当てられる。
[Item #10] Specifying various information for items (a) Item length Specify the required length (digit length) for each item. However, it includes C/D check code, symbols such as decimal point ".", sign "±", and item classification code. The digit length specified here is allocated to the data registration memory.

(b) 表示領域 テンキー入力時のモニタリング或いはバーコ
ードリーダTPR入力時の入力内容の表示を行
なう領域について、行数,桁,桁長の各指定を
行なう。
(b) Display area Specify the number of lines, digits, and digit length for the area where the input contents are displayed when monitoring the numeric keypad input or when inputting the barcode reader TPR.

(c) 項目区切コード 各入力項目をデータ登録用メモリに記憶する
時に、各項目の区切りを表わすコードを記憶す
るか否かを指定する。記憶する場合には、その
コード(1桁)を指定する。なお、コードの指
定は、4BITと8BITの場合とで異ならせてあ
る。
(c) Item delimiter code When storing each input item in the data registration memory, specify whether or not to store a code representing the delimiter of each item. When storing, specify the code (1 digit). Note that the code specifications are different for 4BIT and 8BIT.

(d) 入力終了キー テンキーで入力する際、項目の入力終了を表
わすキーをキーコードで指定する。ここで指定
されたキーが入力されると、当該項目の入力が
終了したものとする。
(d) Input end key When inputting using the numeric keypad, specify the key that indicates the end of inputting an item using a key code. When the key specified here is input, it is assumed that the input of the corresponding item is completed.

(e) カレンダー機能 システムで持つているカレンダー機能とし
て、書き込み(初期登録の項目のみ)と読み込
み(ヘツデイングおよびデイテエイルの項目の
み)がある。これらの機能について“有り”又
は“無し”が指定できる。
(e) Calendar function The system has two calendar functions: writing (initial registration items only) and reading (heading and date-ail items only). “Yes” or “No” can be specified for these functions.

“有り”と指定したときは、その内容を「年
月日」,「時分」,「年月日,曜日,時分」のうち
からただ一つ指定する。
If "Yes" is specified, specify only one of the following contents: "Year, Month, Day", "Hour, Minute", "Year, Month, Day, Day of the Week, Hour, Minute".

(f) TPR入力が可能か否かの指定をする。テン
キー入力は、どの項目でも常に可能であるた
め、TPR入力可能と指定された項目について
はテンキーとの多重入力となる。
(f) Specify whether TPR input is possible. Since numeric keypad input is always possible for any item, multiple input with the numeric keypad is required for items designated as allowing TPR input.

[項目#11]各種チエツク方法の指定 (a) 月日チエツク等 「月日」,「時分」,「月日曜時分」チエツクに
ついては、例えば、00≦時≦2300≦分≦59とい
つたチエツクを行なう。
[Item #11] Specification of various check methods (a) Month/day check, etc. For checking "month/day", "hour/minute", "month/Sunday/hour/minute", for example, 00≦hour≦2300≦minute≦59, etc. Perform a check.

(b) 範囲チエツク この範囲チエツクは、例えば、入力された金
額についてその下限値から上限値の範囲内であ
るかをチエツクするもので、上限値及び下限値
の組合せについて、例えば10通りの範囲テーブ
ル(01〜10)から指定することができる。この
チエツクは、1つの項目について、他のチエツ
ク指定(例えば月日チエツク等)が無い時には
複数種最高5種のチエツクを行なうことがで
き、その場合には、1種ごとの“OR”で行な
う。チエツクは有効数字のみ行ない、サイン,
小数点については無視する。
(b) Range check This range check, for example, checks whether the input amount is within the range from the lower limit to the upper limit.For example, 10 range tables are available for combinations of the upper and lower limits. It can be specified from (01 to 10). For one item, if there is no other check specification (for example, month/day check, etc.), multiple types and up to 5 types of checks can be performed for one item. In that case, it is performed by "OR" for each type. . Check only significant figures, sign,
Ignore the decimal point.

第5表に上記範囲テーブルを示す。 Table 5 shows the above range table.

(c) チエツク・デイジツト[C/D]チエツク 入力項目に対するC/Dチエツクである。他
の項目を入力項目の頭に付加してC/Dチエツ
クを行なうことができる。
(c) Check digit [C/D] check This is a C/D check for input items. C/D checks can be performed by adding other items to the beginning of input items.

ウエイトとして、n1,n2,n3,n4,n5を指定
した時のウエイトの割り当て方式を第11図に
示す。
FIG. 11 shows a weight assignment method when n 1 , n 2 , n 3 , n 4 , and n 5 are specified as weights.

また、C/Dチエツクの内容は、第6表に示
すC/Dテーブルから最高6種類指定すること
ができる。
Furthermore, up to six types of C/D check contents can be specified from the C/D table shown in Table 6.

設定するパラメータは、C/Dテーブルの番
号と、他の項目を付加するか否かと、付加する
場合には、その項目番号を指定する。
The parameters to be set include the number of the C/D table, whether or not to add other items, and, if added, the item number.

(d) 初期設定用メモリとの照合チエツク 入力データと初期設定用メモリに記憶されて
いるデータとを照合する。
(d) Comparison check with initial setting memory The input data is compared with the data stored in the initial setting memory.

照合した結果、合致した時は入力データの処
理を行ない、合致しない時はエラーとする。
As a result of the comparison, if a match is found, the input data is processed, and if it is not a match, an error occurs.

(e) 合計チエツク ヘツデイング及びデイテエイル項目の入力デ
ータ値とシステムで持つているトータライザ
(加算用)[後で説明する]とのイコールチエツ
クであり、その1例を第12図に示す。
(e) Total check This is an equality check between the input data values of the heading and date items and the totalizer (for addition) [explained later] provided in the system. An example of this is shown in FIG. 12.

この合計チエツクは、ヘツデイング及びデイ
テエイルレコードについて使用できる。ここで
は、システムト―タライザの番号(01〜04)の
いずれか1つを指定する。
This summation check can be used for heading and date records. Here, specify one of the system totalizer numbers (01 to 04).

合計を求めたシステムトータライザの値(合
計値)は、このチエツクが終了するとクリアさ
れる。システムトータライザについては、後の
“(c)システムトータライザの使用”の項で詳述
する。
The system totalizer value (total value) that was calculated is cleared when this check is completed. The system totalizer will be described in detail in the section "(c) Use of the system totalizer" below.

(f) マスタデータ検索チエツク このチエツクは、ヘツデイング及びデイテエ
イルの入力項目について可能であり、入力項目
でこのチエツクの指定がある時の処理は次の通
りである。
(f) Master data search check This check is possible for heading and date-ail input items, and the processing when this check is specified in the input item is as follows.

なお、第13図にマスタフアイルの構成を示
す。
Note that FIG. 13 shows the configuration of the master aisle.

(f‐1) マスタデータの検索チエツク時の指定に
は、入力データ内のキーデータの指定と、マ
スタ登録用メモリのフオーマツト指定があ
る。
(f-1) Specifications when searching and checking master data include specifying key data in the input data and specifying the format of the master registration memory.

(f‐2) 指定された入力データのキーで、マスタ登
録用メモリのデイテエイルレコード群の先頭
より検索する。
(f-2) Search from the beginning of the date record group in the master registration memory using the specified input data key.

(イ) マスタ登録用メモリに無い時エラーにす
るか又は無視するかの指定ができる。
(b) It is possible to specify whether to cause an error or to ignore the data when it is not in the master registration memory.

●エラーにする時 高音ロングブザーを鳴らす。ロングブ
ザーはフアクシヨンキーのうちCEキー
で消し、再度この項目入力となる。
●When an error occurs, a high-pitched long buzzer sounds. The long buzzer will be turned off by pressing the CE key among the function keys, and this item will be entered again.

●無視する時 入力データの処理を行なつた後、次の
項目入力に移る。
●When ignored After processing the input data, move on to input the next item.

(ロ) マスタ登録用メモリに有る時 マスタデータの各項目のうち、MAX10
項目を液晶デイスプレイ11に表示する。
表示した内容は、デイテエイル項目の入力
時に参照する。
(b) When it is in the master registration memory MAX10 of each item of master data
The items are displayed on the liquid crystal display 11.
The displayed contents are referred to when inputting date items.

●マスタデータの各項目の表示領域の指定
(各データエントリ毎に行なう) 各項目毎に表示する行,桁,桁長を指
定する。行指定を“0”とした時、その
項目は表示しない。
●Specifying the display area for each item of master data (performed for each data entry) Specify the line, column, and column length to be displayed for each item. When the line specification is set to "0", that item is not displayed.

なお、マスタデータの各項目の位置と長さ及
び表示する際のエデイツト・タイプの指定は、
第9表,第10表に夫々示す。
The position and length of each item of master data and the edit type for display are specified as follows:
They are shown in Tables 9 and 10, respectively.

第10表において、表示時のエデイツトの指定
は、以下の通りである。
In Table 10, the edit specifications for display are as follows.

“0”……エデイツト無し→メモリ上のイメー
ジをそのまま表示する。
"0"...No editing → Display the image in memory as is.

“1”……前ゼロをサプレスしてメモリ上の有
効数字のみ表示する。
“1”…Suppress leading zeros and display only the significant numbers in memory.

“2”……小数点第1位まで前ゼロをサプレス
して表示する。
"2"...Display with leading zeros suppressed to the first decimal place.

“3”……小数点第2位まで前ゼロをサプレス
して表示する。
“3”……Display with leading zeros suppressed to the second decimal place.

なお、表示したマスタデータの内容は、ヘツ
デイング及びデイテエイルレコードの最終項目
の入力が完了した時に消される。
Note that the contents of the displayed master data are deleted when the input of the final item of the heading and date record is completed.

このマスタデータ検索チエツクについては、
後に<マスタフアイル機能で>で項を改めて説
明する。
For this master data search check,
This section will be explained again later in <Master File Function>.

(g) データ登録済みチエツク このチエツクは、デイテエイルの入力項目に
ついてのみ可能であり、入力項目でこのチエツ
クの指定がある時の処理は次の通りである。
(g) Data registered check This check is possible only for date input items, and the processing when this check is specified in an input item is as follows.

デイテエイルレコードのメモリサーチ機能と
同様に、入力データ(正整数)をメモリフオー
マツトと同様に編集し、これをキーとしてデー
タ登録用メモリの現在入力中と同じデイテエイ
ルレコード群の先頭より検索する。
Similar to the memory search function of the date record, edit the input data (positive integer) in the same way as the memory format, and use this as a key to search from the beginning of the same date record group that is currently being input in the data registration memory. search for.

(イ) 既に入力済みの時 検索したデイテエイルレコードの内容を表
示し、高音ブザーを鳴らす。表示は現在入力
中のデイテエイルの入力画面と同じである。
表示時のエデイツトは次のように行なう。
(b) When the information has already been entered: Displays the contents of the searched date record and sounds a high-pitched buzzer. The display is the same as the date email input screen currently being entered.
Editing during display is performed as follows.

* 固定桁項目は、メモリ上のイメージで表
示する。
* Fixed digit items are displayed as images in memory.

* 可変桁項目は、前ゼロをサプレスして表
示する。(小数部が有るなら“.”も表示す
る。)その後の処理は次の通りである。
* Variable digit items are displayed with leading zeros suppressed. (If there is a decimal part, "." is also displayed.) The subsequent processing is as follows.

* 削除するキーが入力された時 ブザーと表示内容を消し、データ登録用
メモリ上の検索したデイテエイルレコード
全域を指定された特殊コードでうめ(メモ
リサーチの削除時のメモリクリアコードと
同じ)、 再度、この項目入力となる。
* When the key to delete is entered, the buzzer and displayed contents are erased, and the entire searched date record in the data registration memory is filled with the specified special code (same as the memory clear code when deleting memory search). , This item will be entered again.

* 削除しないキーが入力された時 ブザーと表示内容を消し、再度、この項
目入力となる。データ登録用メモリ上の検
索したデイテエイルレコードを削除するキ
ー又は削除しないキーの指定ができる。
* When a key not to be deleted is entered, the buzzer and displayed content will be turned off and the item will be entered again. It is possible to specify a key for deleting or not deleting the searched date record on the data registration memory.

(ロ) 入力済みでない時 入力データの処理を行なつた後、次の項目
入力に移る。
(b) When the input data has not been completed After processing the input data, move on to input the next item.

[項目#12]メモリ編集方法等 メモリ編集方法は、ヘツデイング,デイテエイ
ル及びフツテイングの種別によつて指定方式が異
なるが、ここでは、主として第3表に示すデイテ
エイルレコードのメモリ編集方法について説明す
る。
[Item #12] Memory editing method, etc. The specification method for memory editing methods differs depending on the type of heading, date-ailing, and footing, but here we will mainly explain the memory editing method for date-ail records shown in Table 3. .

(a) メモリ編集方法 (1) “00”〜“02”小数点基準と小数部桁数メ
モリ上の小数点の位置を指定する(0〜2桁
で、“0”指定時は小数点なし)。この指定に
より入力データは指定された小数点の位置に
基準に編集する。この場合、オーバフローし
た分はカツトし、不足分はゼロで埋める。小
数点が無いときは、右端を小数点位置として
編集する。小数点位置を記憶するか否かは、
システムパラメータの設定に依存する。
(a) Memory editing method (1) “00” to “02” Decimal point reference and number of decimal digits Specify the position of the decimal point in the memory (0 to 2 digits; if “0” is specified, there is no decimal point). With this specification, input data is edited based on the specified decimal point position. In this case, the overflow is cut and the shortfall is filled with zeros. If there is no decimal point, edit with the right end as the decimal point. Whether or not to memorize the decimal point position is
Depends on system parameter settings.

(2) “10”最終桁削除 入力データの最終桁の1桁(C/D値)を
削除して右づめで記憶する。オーバフロー分
はカツトし、不足分はゼロで埋める。
(2) Delete the last digit of “10” Delete the last digit (C/D value) of the input data and store it right-aligned. Cut the overflow and fill in the shortage with zero.

(3) “2n”C/D付加 入力データの最終桁の次にC/D値を付加
し、右づめで記憶する。つまり、“n”は
C/Dテーブルの項目番号を指定するもので
ある(n:1〜6)。この場合も、オーバフ
ロー分はカツトし、不足分はゼロを埋める。
(3) “2n” C/D addition Add the C/D value after the last digit of the input data and store it right-aligned. That is, "n" designates the item number of the C/D table (n: 1 to 6). In this case as well, the overflow is cut and the shortage is filled with zeros.

(b) 他項目付加(データ合成) この他項目付加は、1種のデータ合成であつ
て、他項目(ヘツデイング又はデイテエイル)
の入力データと合成する。
(b) Addition of other items (data synthesis) Addition of other items is a type of data synthesis, and includes other items (heading or date ailment).
Synthesize with the input data of

この場合、(a)のメモリ編集方法において、他
項目付加コード“30”を指定し、次いで、(b)で
付加すべき他項目の項目番号を指定する。
In this case, specify the other item addition code "30" in the memory editing method of (a), and then specify the item number of the other item to be added in (b).

(c) システム―タライザの使用 本システムでは、計4つのトータラザ(整数
部14桁、小数部2桁)が用意され、以下の使用
方法が可能である。
(c) System - Use of totalizers This system provides a total of four totalizers (14 digits for the integer part and 2 digits for the decimal part), which can be used in the following ways.

* 入力データをセーブする。 * Save input data.

* 入力データを加算する。 * Add input data.

* システムトータライザのデータを読み込
む。
* Read the system totalizer data.

* 入力データとシステムトータライザの値と
をイコールチエツクする。
* Check the input data and system totalizer value for equality.

* システムト―タライザどうしの値をイコー
ルチエツクする。
* Check the values of system totalizers for equality.

これらの使用方法を入力項目との組合せとし
て、例えば、以下の第11表に示す如き設定が行な
える。
By combining these usage methods with input items, settings can be made, for example, as shown in Table 11 below.

使用できる範囲 (1) ヘツデイング又はデイテエイルレコード内で
の使用 第16図aに示すように、合計はテンキー入
力項目で入力値としては、項目1〜項目nまで
の合計である入力時に、テンキー入力値と合計
値(項目1〜項目nの入力時にシステムトータ
ライザに加算しておく)とのイコールチエツク
を行なう(合計チエツクの項を参照)。なお、
この時、合計項目をテンキー入力無しでシステ
ムトータライザより入力することはできない。
Usable range (1) Use in heading or date record As shown in Figure 16a, the total is a numeric key input item, and the input value is the sum of items 1 to n. An equality check is performed between the input value and the total value (added to the system totalizer when inputting items 1 to n) (see the section on total check). In addition,
At this time, it is not possible to input total items from the system totalizer without inputting them using the numeric keys.

(2) デイテエイルレコードとフツテイングレコー
ドでの使用 第16図bに示すように、デイテエイルレコ
ードの入力項目の合計をフツテイングレコード
の項目で入力する場合に、合計のテンキー入力
値と合計値(項目nの入力時にシステムトータ
ライザに加算しておく)のイコールチエツクを
行なう。又、合計のテンキー入力無しにシステ
ムトータライザより入力することもできる。
(2) Use in date record and footing record As shown in Figure 16b, when inputting the total of the input items of the date record in the footing record item, the total numeric key input value and The total value (added to the system totalizer when inputting item n) is checked for equality. It is also possible to input the total from the system totalizer without using the numeric keypad.

(3) ヘツデイングレコード,デイテエイルレコー
ド及びフツテイングレコードでの使用 第16図cに示すように、ヘツデイングレコ
ードの入力項目で、デイテエイルレコードの入
力項目の合計値を入力しておき(合計nの入力
時にシステムトータライザにセーブしておく)、
フツテイングレコードに入つた時、デイテエイ
ルレコードの入力項目の合計値(項目nの入力
時に、セーブ用とは別のシステムトータライザ
に加算しておく)と、ヘツデイングの入力値と
イコールチエツクを行なう。
(3) Use in heading records, date-ail records, and footing records As shown in Figure 16c, enter the total value of the date-ail record input items in the heading record input items. (Save it in the system totalizer when inputting the total n),
When entering the footing record, perform an equality check with the total value of the input items of the date record (when inputting item n, add it to a system totalizer separate from the one for saving) and the input value of heading. .

[項目#13]キー入力方式の指定 デイテエイルレコードについては、4種類のキ
ー入力方式を設定することができる。ヘツデイン
グ及びフツテイングについては1種類である。
[Item #13] Designation of key input method For date record, four types of key input methods can be set. There is only one type of hedging and footing.

(a) 全桁数の指定 但し、ここでの全桁数は有効数字の桁数で、
小数点“.”やサインを含まない。
(a) Specifying the total number of digits However, the total number of digits here is the number of significant figures,
Does not include the decimal point “.” or sign.

(b) 小数部桁数 最高2桁,小数部が無いときは“00”指定。(b) Number of decimal places Maximum of 2 digits, if there is no decimal part, specify “00”.

(c) 入力モード “0”……桁数固定で正の整数のみ入力可能で
ある。
(c) Input mode "0"...The number of digits is fixed and only positive integers can be entered.

“−”や“.”は入力できない。 “-” and “.” cannot be entered.

“1”……種々の桁数の正の整数を入力でき
る。
"1"...Positive integers with various numbers of digits can be entered.

“−”や“.”は入力できない。 “-” and “.” cannot be entered.

“2”種々の桁数の正,負の整数を入力できる
が、小数点“.”のものは入力できない。
“2” You can input positive and negative integers with various numbers of digits, but you cannot input numbers with a decimal point “.”.

“3”……種々の桁数の正の実数の入力は行な
えるが、“−”は入力できない。
"3"...Positive real numbers of various numbers of digits can be input, but "-" cannot be input.

“4”……種々の桁数の正,負の実数を入力で
きる。
"4"...Positive and negative real numbers of various numbers of digits can be input.

(d) テンキー置数省略 テンキーの置数が省略できるか否か、省略で
きるとした場合には、“0”の入力とみなすか、
“1”の入力とみなすかを指定する。置数省略
が指定された場合には、終了キーのみの入力が
行なえる(後に詳細に説明する)。
(d) Omission of number on the numeric keypad Whether or not the number on the numeric keypad can be omitted, and if it can be omitted, whether it is considered to be an input of “0”.
Specify whether to consider it as an input of “1”. If omitting the number is specified, only the end key can be input (described in detail later).

(e) 入力編集 (イ) 入力データの右づめ“00” 入力されたデータを右づめにし、指定した
入力桁数に対する不足分は、前にゼロを埋め
る。
(e) Input editing (a) Right-justify input data “00” Align the input data to the right, and fill in the missing number of input digits with zeros in front.

(ロ) 入力データの左づめ 入力されたデータを左づめにし、不足分は
後にフイラーコード(HEX)(“0”〜“9”
のうち1桁)を埋める。
(b) Left-justification of input data The input data is left-justified, and the missing part is later filled in with filler code (HEX) (“0” to “9”).
Fill in one digit).

(ハ) データ合成時の置き換え開始桁 まず、データの合成について説明する。以
上で説明したデータの合成時に、置き換え開
始桁を指定する 第14図に入力項目2についてのデータ合成例
を示す。第14図に示すように、入力項目2に
は、上位3桁に分類コードが下位5桁に商品コー
ドが入力されるようになつているとして、今回、
商品コードに該当する5桁の数字が入力されたと
すると、この商品コードが前回の分類コードと合
成される。この場合、今回のデータ(商品コー
ド)で置き換える先頭桁Pは、以下で述べる[項
目#11]のキー入力方式において指定される。
(c) Replacement start digit during data synthesis First, data synthesis will be explained. When composing the data described above, specify the replacement start digit. Figure 14 shows an example of data compositing for input item 2. As shown in Figure 14, in input item 2, the classification code is entered in the top three digits and the product code is entered in the bottom five digits.
If a 5-digit number corresponding to a product code is input, this product code is combined with the previous classification code. In this case, the first digit P to be replaced with the current data (product code) is specified in the key input method of [Item #11] described below.

このようにして合成されたデータ(分類コード
と商品コード)は、今回のレコードの入力項目
“2”に入力される。
The data (classification code and product code) synthesized in this way is input to input item "2" of the current record.

かかるデータの合成は、一部を共通するデータ
の入力操作をきわめて簡単なものとすることがで
きる効果がある。
Such data composition has the effect of making it possible to extremely simplify input operations for data that have some common data.

実行モードにおけるデータエントリ時のデータ
合成フローを第15図に示す。
FIG. 15 shows a data synthesis flow during data entry in execution mode.

テンキー或いはTPRにより、1レコードのデ
ータエントリが開始されると、入力データがデイ
スプレイ表示され、ステツプ101において、前
回の入力データと合成するか否かの判断が行なわ
れ、“NO”の場合には、ステツプ102で指定
された他の編集が行なわれる。“YES”の場合
は、前回の入力データとの合成及び編がステツプ
103で行なわれる。この合成方式は前述した通
りである。
When data entry for one record is started using the numeric keypad or TPR, the input data is displayed on the display, and in step 101 it is determined whether or not to combine it with the previous input data. , and other edits specified in step 102 are performed. If "YES", synthesis and editing with the previous input data is performed in step 103. This synthesis method is as described above.

そして、入力編集後のデータがステツプ104
で表示され、合成データの確認が行なえる。
Then, the data after input editing is sent to step 104.
is displayed, allowing you to check the composite data.

そして、さらに以下に述べるように各種チエツ
クがステツプ105で行なわれ、チエツクをクリ
ヤした場合には、ステツプ106でメモリ編集が
行なわれ、データがライトバツフアにセーブされ
る。この動作は、ステツプ107で最終項目まで
のデータエントリが行なわれたと判断されるまで
繰り返され、1レコードの入力終了後、ステツプ
108でデータメモリに入力データがセツトさ
れ、次のレコードのデータエントリに移行する。
Further, as described below, various checks are performed at step 105, and if the checks are cleared, memory editing is performed at step 106, and the data is saved in the write buffer. This operation is repeated until it is determined in step 107 that data entry up to the last item has been made. After inputting one record, the input data is set in the data memory in step 108, and data entry for the next record is performed. Transition.

なお、上記(ロ)又は(ハ)が指定されているときに
は、テンキーによる入力終了後、モニタリング領
域に編集されたデータを再度表示する。
Note that when the above (b) or (c) is specified, the edited data is displayed again in the monitoring area after the input using the numeric keypad is completed.

また、入力データについての各種チエツクは、
入力データを編集した後のデータについて行な
う。
In addition, various checks regarding input data can be done by
Perform this on the data after editing the input data.

[項目#14,15]TPR方式の指定 1回のスキヤンで入力終了する場合は、項目
#14で、複数回のスキヤンで入力終了する場合
は、項目#15で夫々入力方式を指定する。
[Item #14, 15] Specify TPR method If you want to complete the input with one scan, specify the input method in item #14. If you want to complete the input with multiple scans, specify the input method in item #15.

指定は、基本的には、以下のTPR入力テーブ
ル(第12表)の番号(JOB#)を指定すること
によつて行なう。
The specification is basically made by specifying the number (JOB#) in the TPR input table (Table 12) below.

具体的には、第12表を参照して、読み込み桁
数,有効データの開始桁位置,有効データ長,区
分コードの有無と有りの場合の区分コード,バー
コードの種類(NW−7,JAN(8.13桁),2out
of5,iNTERLEAVED2out of5),チエツクデイ
ジツトのテーブルNo.,“−”,“+”,“.”のデシ

ル値等を指定する。
Specifically, with reference to Table 12, the number of digits to be read, the starting digit position of valid data, the effective data length, the presence or absence of a classification code, the classification code if it is present, and the type of barcode (NW-7, JAN (8.13 digits), 2out
of5, iNTERLEAVED2out of5), check digit table number, decimal value of "-", "+", ".", etc.

複数回スキヤンでは、入力終了条件を指定す
る。
For multiple scans, specify the input end condition.

入力終了条件は、 * 指定された読み込み桁数,区分以外のTPR
入力があつた時、又はキー入力があつたとき。
The input end conditions are: * TPR other than the specified number of read digits and classification
When an input is received or a key is input.

* 0〜9,“.”以外のTPR入力があつた時
(“−”の時はマイナスデータとみなし、他はプ
ラスデータとみなす。)。
*0 to 9, when a TPR input other than "." is received ("-" is regarded as negative data, others are regarded as positive data).

<小数点等の記号を含むデータに対するC/D計
算方式> バーコードの読み取りミスを防止するために、
読み取りデータに対してチエツクデイジツト
(C/D)のチエツクを行なう。同様にテンキー
でデータを入力する場合も、置数ミスを防止する
ためにC/Dチエツクを行なう。しかし、C/D
の計算は、通常、整数しか取り扱えない。しかる
に、データに小数点が+や−の記号を含んでいる
時は、そのままではC/D計算を行なえない。そ
こで、予め小数点や+や−の記号に対し、0〜99
の数字を設定しておき、C/D計算を行なう時、
記号のかわりにその設定された数字を使つて計算
できるようにするものである。こうすることで、
数字以外の記号を含むデータに対してのC/Dの
計算を可能にすることができる。
<C/D calculation method for data including symbols such as decimal points> To prevent barcode reading errors,
A check digit (C/D) check is performed on the read data. Similarly, when inputting data using the numeric keypad, a C/D check is performed to prevent numeric input errors. However, C/D
Normally, calculations can only handle integers. However, if the decimal point in the data includes + or - symbols, C/D calculation cannot be performed as is. Therefore, in advance, for the decimal point and + and - signs, 0 to 99
When performing C/D calculation after setting the number of
This allows calculations to be made using the set numbers instead of symbols. By doing this,
It is possible to calculate C/D for data including symbols other than numbers.

この場合の指定方式は、第12表に示すTPR入
力テーブル上では、項目#“03”に示されてい
る。
The designation method in this case is shown in item #“03” on the TPR input table shown in Table 12.

この項目#“03”では、前述したバーコードの
種類,C/Dの種類の指定に加えて、“−”記号、
“+”記号および小数点記号“.”について、2桁
の数値00〜99のいずれかを割り当てる。つまり、
これら記号については、適当な数値に変換してお
く。このようにしておけば、プラス,マイナス符
号付の整数や小数点を含む実数の全体について、
C/Dチエツクの実行が行なえることになる。
In this item # “03”, in addition to specifying the barcode type and C/D type mentioned above, the “-” symbol,
Assign any two-digit value from 00 to 99 to the "+" symbol and the decimal point symbol ".". In other words,
Convert these symbols to appropriate numerical values. By doing this, for all real numbers including plus and minus signed integers and decimal points,
A C/D check can now be executed.

いま、第17図に示すC/Dチエツクの動作フ
ローにしたがつて、具体的に説明する。
A detailed description will now be given of the C/D check operation flow shown in FIG.

ステツプ101でTPRから、例えば、“−
1234.67”が入力された場合、この入力項目につ
いてC/Dチエツクを行なうか否かがステツプ1
02で判断され、C/Dチエツクを行なう場合に
は、ステツプ103で“−”,“.”をこれらにつ
いて指定されたデシマル値、例えば“11”,“31”
に置換する。
In step 101, from TPR, for example, “-
1234.67” is input, step 1 determines whether or not to perform a C/D check for this input item.
If it is determined in step 02 and a C/D check is to be performed, in step 103, set "-" and "." to the specified decimal value, such as "11" and "31".
Replace with

したがつて、ステツプ104におけるC/D計
算は“1112343167”について行なわれ、その計算
結果とC/Dのイコールチエツクがステツプ10
6で行なわれることになる。イコールでない場合
にはエラー表示を行なう。
Therefore, the C/D calculation in step 104 is performed for "1112343167", and the calculation result and the C/D equal check are performed in step 10.
It will be held in 6. If they are not equal, an error will be displayed.

上記の例では、“+”,“−”および小数点“.”
を含む場合について説明したが、例えば、日本円
を表わす“¥”等の他の記号についても、上記の
考え方を拡張することができる。
In the above example, “+”, “-” and decimal point “.”
Although a case has been described in which the symbols include "¥", for example, the above concept can be extended to other symbols such as "¥" representing Japanese yen.

<設定データエラーチエツク> 本装置は、一本のプログラムから複数種の業務
プログラム、つまり複数種のアプリケーシヨン仕
様を実行させるため、種々のパラメータを設定
し、プログラムを設定されたパラメータに応じて
動作させるようにしたことを基本的な特徴として
いる。したがつて、ノイズ,誤動作等何らかの原
因で設定されたパラメータが化けると、当然のこ
とながら誤動作を生じ、極端な場合は暴走する。
それゆえ、パラメータはプログラムと同等の信頼
性が要求されることになる。
<Setting data error check> In order to execute multiple types of business programs from one program, that is, multiple types of application specifications, this device sets various parameters and operates the program according to the set parameters. Its basic feature is that it allows Therefore, if the set parameters change due to some reason such as noise or malfunction, malfunction will naturally occur, and in extreme cases, the device will go out of control.
Therefore, the parameters are required to have the same reliability as the program.

ところで、従来においては、プログラム部に対
しては、サム・チエツク等のチエツクが実施され
ているが、パラメータ部に対しては何らチエツク
が施されていない。
By the way, in the past, a check such as a sum check has been performed on the program section, but no check has been performed on the parameter section.

本発明は、かかる観点から、パラメータ部に
も、プログラム部と同様に、チエツクを行なうこ
とにより、機器の誤動作を未然に防止するように
したものである。
From this point of view, the present invention prevents equipment malfunctions by checking the parameter section in the same way as the program section.

このパラメータ部のチエツク方式は、第6図に
特徴的に示されている。
This checking method of the parameter section is characteristically shown in FIG.

プログラムルーチンにおいて、各種パラメータ
を順次に設定し、設定が終了すると、通常は、プ
ログラム設定モードが完了したものとして、電源
スイツチがOFF操作される。
In the program routine, various parameters are set in sequence, and when the settings are completed, the power switch is normally turned off, assuming that the program setting mode has been completed.

この電源スイツチのOFF操作(パラメータ設
定終了キーをオンしてもよい。)を契機にして、
P―OFFルーチンPORが実行される。
This power switch OFF operation (you may also turn on the parameter setting end key) will trigger the
P-OFF routine POR is executed.

このPORでは、設定されたパラメータが格納
されているパラメータ部について、チエツク・サ
ム・コード等のチエツクコードを算出し、所定の
メモリエリアにセツトする。
In this POR, a check code such as a check sum code is calculated for the parameter section in which the set parameters are stored, and is set in a predetermined memory area.

そして、かかるパラメータ設定によつて設定さ
れる業務プログラムを実行するため、電源スイツ
チをONすると、第5図に示すように、まず、プ
ログラムがロードされているか否かを判断した
後、次のステツプでサムチエツクが行なわれる。
When the power switch is turned on to execute the business program set by the parameter settings, as shown in Figure 5, it is first determined whether the program is loaded or not, and then the next step is started. A thumb check is held.

このサムチエツクでは、プログラムと前述のパ
ラメータの両方について、それぞれサムチエツク
が行なわれる。したがつて、プログラムのみなら
ず、パラメータ部について、何らかの原因による
化けが生じていた場合には、サムチエツクエラー
が表示され、プログラムの実行が停止される。こ
の場合には、パラメータ設定モードにて、再度、
設定パラメータについて、必要なチエツク、例え
ば、メモリされている設定パラメータを順次に表
示させ、設定データテーブルとの比較照合を行な
うことができる。
In this thumb check, a thumb check is performed for both the program and the aforementioned parameters. Therefore, if not only the program but also the parameter section is corrupted for some reason, a thumb check error will be displayed and the execution of the program will be stopped. In this case, in the parameter setting mode,
Regarding the setting parameters, necessary checks can be performed, for example, the stored setting parameters can be sequentially displayed and compared with the setting data table.

このようにして、プログラム部のみならずパラ
メータ部のチエツクが行なえるので、設定パラメ
ータの化けを未然に発見でき、常に正しい業務プ
ログラムの実行が可能となる。
In this way, it is possible to check not only the program section but also the parameter section, so that garbled setting parameters can be discovered before they occur, making it possible to always execute the correct business program.

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

第1図は本発明の構成説明図、第2図は本発明
の実施例にかかるデータターミナル機のシステム
構成図、第3図はデータターミナル機の正面図、
第4図はシステムスイツチを示す要部斜視図、第
5図,第6図は夫々上記システムの全体のフロー
を示すフローチヤート、第7図はプログラム設定
モードでのキー配置を示す説明図、第8図はパラ
メータ設定時のキーシーケンスを示す図、第9図
はエントリデータの構成説明図、第10図はレコ
ードの構成説明図、第11図はチエツク・ウエイ
トの割り当て方式を示す方式説明図、第12図は
システムトータライザによるイコールチエツク方
式を示す方式説明図、第13図はマスタフアイル
の構成を示す構成説明図、第14図はデータ合成
方式を示す方式説明図、第15図はデータの合成
方式の動作フローを示すフローチヤート、第16
図a,b,cは夫々システムトータライザの使用
方式を示す方式説明図、第17図は記号を含む
C/Dチエツク方式を示すフローチヤートであ
る。 HM……ホストマシン、EOST……データ入出
力用端末機、A……モード設定手段、B……プロ
グラム用RAM手段、C……パラメータ設定手
段、D……パラメータ用RAM手段、E……デー
タ用RAM手段、F……チエツク値用RAM手段、
G……制御手段、H……業務指定手段、I……実
行手段、J……判断手段。
FIG. 1 is a configuration explanatory diagram of the present invention, FIG. 2 is a system configuration diagram of a data terminal machine according to an embodiment of the present invention, and FIG. 3 is a front view of the data terminal machine.
FIG. 4 is a perspective view of the main parts of the system switch, FIGS. 5 and 6 are flowcharts showing the overall flow of the system, FIG. 7 is an explanatory diagram showing the key arrangement in program setting mode, and FIG. 8 is a diagram showing a key sequence when setting parameters, FIG. 9 is a diagram explaining the structure of entry data, FIG. 10 is a diagram explaining the structure of a record, and FIG. 11 is a diagram explaining a method of assigning check weights. Fig. 12 is an explanatory diagram showing the equal check method by the system totalizer, Fig. 13 is an explanatory diagram showing the configuration of the master file, Fig. 14 is an explanatory diagram showing the data synthesis method, and Fig. 15 is an explanatory diagram of the data synthesis method. Flowchart showing the operation flow of the method, No. 16
Figures a, b, and c are explanatory diagrams showing how the system totalizer is used, respectively, and Fig. 17 is a flowchart showing the C/D check method including symbols. HM...Host machine, EOST...Data input/output terminal, A...Mode setting means, B...RAM means for program, C...Parameter setting means, D...RAM means for parameters, E...Data RAM means for F... Check value RAM means,
G: Control means, H: Business specification means, I: Execution means, J: Judgment means.

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

Claims (1)

【特許請求の範囲】 1 ホストマシンに交信可能に接続されるデータ
入出力用端末機であつて、 少なくともプログラム設定モードと実行モード
とを指定するモード設定手段と、 ホストマシンによつて供給されるプログラムを
格納するプログラム用RAM手段と、 プログラム設定モードにおいて上記格納したプ
ログラムに対して複数種の業務を各々実行するた
めに必要なパラメータを設定するパラメータ設定
手段と、 上記パラメータ設定手段によつて設定されたパ
ラメータをメモリするパラメータ用RAM手段
と、 データをメモリするデータ用RAM手段と、 チエツクコードをメモリするチエツク値用
RAM手段と、 上記パラメータ設定手段によるパラメータの設
定後に電源をオフするためのスイツチがオンされ
たとき、上記パラメータ用RAM手段によつて格
納されたパラメータのチエツクコードを計算し
て、上記計算されたチエツクコードで上記チエツ
ク値用RAM手段に記憶されたチエツクコードを
更新した後、電源をオフする制御手段と、 実行モードにおいて複数種の業務のいずれか一
を指定する業務指定手段と、 上記業務指定手段によつて業務が指定される
と、当該業務に対応して上記パラメータ設定手段
により設定されたパラメータに基づいて上記プロ
グラムを実行し上記データ用RAM手段にメモリ
されたデータを処理して所定の業務を行う実行手
段と、 電源オン時、上記実行手段によるプログラムの
実行に先立つて上記チエツク値用RAM手段によ
つて記憶されたチエツクコードによりエラーチエ
ツクを行う判断手段とを備えたことを特徴とする
データ入出力用端末機。
[Scope of Claims] 1. A data input/output terminal communicably connected to a host machine, which comprises mode setting means for specifying at least a program setting mode and an execution mode, and is supplied by the host machine. a program RAM means for storing a program; a parameter setting means for setting parameters necessary for executing each of the plurality of tasks for the stored program in the program setting mode; RAM means for parameters to memorize the parameters set, RAM means for data to memorize the data, and check value RAM means to memorize the check code.
RAM means; When a switch for turning off the power is turned on after setting parameters by the parameter setting means, a check code of the parameter stored by the parameter RAM means is calculated, control means for turning off the power after updating the check code stored in the check value RAM means with the check code; a job specifying means for specifying one of a plurality of types of jobs in the execution mode; When a task is specified by the means, the program is executed based on the parameters set by the parameter setting means corresponding to the task, and the data stored in the data RAM means is processed to perform a predetermined process. The present invention is characterized by comprising an execution means for carrying out a task, and a judgment means for performing an error check using a check code stored in the check value RAM means when the power is turned on and before the execution means executes the program. Terminal for data input/output.
JP16195284A 1984-08-03 1984-08-03 Data input/output terminal equipment Granted JPS6142075A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP16195284A JPS6142075A (en) 1984-08-03 1984-08-03 Data input/output terminal equipment
US06/761,425 US4851994A (en) 1984-08-03 1985-08-01 Data I/O terminal equipment having mode setting functions for downloading various specified application programs from a host computer
DE85109734T DE3587335T2 (en) 1984-08-03 1985-08-02 Host computer programmable input / output data station.
EP85109734A EP0181438B1 (en) 1984-08-03 1985-08-02 Host-programmable input/output terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16195284A JPS6142075A (en) 1984-08-03 1984-08-03 Data input/output terminal equipment

Publications (2)

Publication Number Publication Date
JPS6142075A JPS6142075A (en) 1986-02-28
JPH0228190B2 true JPH0228190B2 (en) 1990-06-21

Family

ID=15745169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16195284A Granted JPS6142075A (en) 1984-08-03 1984-08-03 Data input/output terminal equipment

Country Status (1)

Country Link
JP (1) JPS6142075A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5839326A (en) * 1981-09-02 1983-03-08 Toshiba Corp Program loading system

Also Published As

Publication number Publication date
JPS6142075A (en) 1986-02-28

Similar Documents

Publication Publication Date Title
US7139729B2 (en) Financial statement module
EP0181438B1 (en) Host-programmable input/output terminal
US5222211A (en) Form generating method and apparatus
US5202984A (en) Apparatus and method for updating transaction file
JPH0368435B2 (en)
JPH0228190B2 (en)
JPH0218749B2 (en)
JPS6142072A (en) Data input/output terminal equipment
JPS6142071A (en) Data input/output terminal equipment
JPS6142069A (en) Data input/output terminal equipment
JPS6142037A (en) Check digit checking system of data input/output use terminal equipment
JPS6142068A (en) Data input/output terminal equipment
EP0350655B1 (en) Apparatus and method for updating transaction file
JPS6142067A (en) Data input/output terminal equipment
JPH11212775A (en) Information processing system
JP2963954B2 (en) Data collection device
JP3536337B2 (en) Portable information terminal
JP3209691B2 (en) Household account book creating system and household account book creating method
JPH07129685A (en) Collation system for sales credits
JPS6142073A (en) Data input/output terminal equipment
JP2002312520A (en) System for automatically preparing/managing document to be presented to customs and its method and medium with its control program recorded
JP2566587B2 (en) Database search method
JPH02133822A (en) data processing equipment
JPS60153594A (en) electronic register
JPS5962943A (en) Code data input device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term