JPH08166871A - Control method for electrical equipment - Google Patents
Control method for electrical equipmentInfo
- Publication number
- JPH08166871A JPH08166871A JP6332016A JP33201694A JPH08166871A JP H08166871 A JPH08166871 A JP H08166871A JP 6332016 A JP6332016 A JP 6332016A JP 33201694 A JP33201694 A JP 33201694A JP H08166871 A JPH08166871 A JP H08166871A
- Authority
- JP
- Japan
- Prior art keywords
- program
- sequence
- command
- cpu
- phase
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
- Microcomputers (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、マイクロコンピュー
タによる電気機器の制御方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of controlling electric equipment by a microcomputer.
【0002】[0002]
【従来の技術】ラジオ受信機、CDプレーヤ、全自動洗
濯機などの電気機器の一部においては、マイクロコンピ
ュータが内蔵され、これにより動作モードなどを制御す
るようにされている。2. Description of the Related Art Some electric appliances such as a radio receiver, a CD player, and a fully automatic washing machine have a built-in microcomputer, which controls an operation mode and the like.
【0003】そして、そのマイクロコンピュータとし
て、一般に、CPU、ROM、RAM、ポートなどの主
要回路が1チップIC化されたものが使用されている。As such a microcomputer, one in which main circuits such as a CPU, a ROM, a RAM and a port are integrated into one chip is generally used.
【0004】[0004]
【発明が解決しようとする課題】ところで、上記のよう
なマイクロコンピュータにおいては、CPUの実行する
プログラムは、ROMに書き込まれているが、プログラ
ムが、構造の階層化や部品化について留意せずに記述さ
れていると、概して構造面での特徴や一貫性に乏しくな
ってしまう。また、そのようなプログラムは、種々の階
層における処理や各種の機能の処理が、入り乱れて記述
されている場合が多い。By the way, in the above-mentioned microcomputer, the program executed by the CPU is written in the ROM, but the program does not pay attention to the hierarchization and the componentization of the structure. If written, it generally results in poor structural features and consistency. Further, in such a program, the processing in various layers and the processing of various functions are often described in disorder.
【0005】このため、そのようなプログラムを再利用
のために解析をする場合、構造面での特徴から、処理内
容を知ることが困難である。For this reason, when analyzing such a program for reuse, it is difficult to know the processing content from the structural characteristics.
【0006】さらに、機能の一部の変更を行う場合、処
理内容がプログラムリスト上で散在していたり、他の機
能との分離性が悪いことが多いので、変更作業そのもの
も困難であり、他の部分に対する影響範囲を推察するこ
とも困難である。Furthermore, when a part of the function is changed, the processing contents are often scattered on the program list and the separability from other functions is often poor, so that the changing operation itself is difficult and other It is also difficult to infer the range of influence for the part.
【0007】つまり、 ・解析作業が困難である。 ・変更作業が困難である。 ・変更の影響範囲を限定することが困難である。That is, the analysis work is difficult.・ Change work is difficult.・ It is difficult to limit the scope of change.
【0008】これら3つの要因から、本来はプログラム
の一部の変更であっても、プログラム上では、ほぼ全域
の解析と、全機能の再評価の必要が生じてしまう。そし
て、従来は、このような再利用性や保守性の悪いプログ
ラムになりやすい傾向にあった。Due to these three factors, it is necessary to analyze almost the entire area of the program and re-evaluate all the functions even if a part of the program is originally changed. In the past, there has been a tendency for such programs to have poor reusability and maintainability.
【0009】この発明は、このような問題点を解決しよ
うとするものである。The present invention is intended to solve such a problem.
【0010】[0010]
【課題を解決するための手段】このため、この発明にお
いては、各部の参照符号を後述の実施例に対応させる
と、ROMが、CPUの処理手順を記述したテーブル4
00と、処理手順を構成する単位機能の処理群600
と、CPUがテーブル400および処理群600の記述
を解釈して実行する解釈プログラム100とを有し、少
なくともROMとCPUとが、マイクロコンピュータと
して1チップIC化され、このマイクロコンピュータに
より動作を制御するようにしたものである。Therefore, in the present invention, when the reference numerals of the respective parts correspond to the embodiments described later, the ROM stores the table 4 in which the processing procedure of the CPU is described.
00 and a processing group 600 of unit functions that make up the processing procedure
And an interpretation program 100 in which the CPU interprets and executes the description of the table 400 and the processing group 600, and at least the ROM and the CPU are integrated into one chip IC as a microcomputer, and the operation is controlled by this microcomputer. It was done like this.
【0011】[0011]
【作用】CPUが、解釈プログラムを実行すると、シー
ケンスチャートテーブル400に記述された手順にした
がって処理が実行されていく。When the CPU executes the interpretation program, the processing is executed according to the procedure described in the sequence chart table 400.
【0012】[0012]
〔用語の定義〕以下の説明において使用する用語を、下
記のように定義する。 シーケンス:実現しようとする個々の機能をいう。 フェイズ :シーケンスの処理過程には、段階的に区切
りを設ける。その個個の段階をいう。 コマンド :フェイズの中で実行すべき個々の処理単位
をいう。[Definition of Terms] Terms used in the following description are defined as follows. Sequence: An individual function to be realized. Phase: A stepwise division is provided in the sequence processing process. The individual stage. Command: An individual processing unit to be executed in a phase.
【0013】〔対象となるプログラムの説明〕ここで
は、シンセサイザ方式の受信機に組み込まれるマイクロ
コンピュータであって、その受信周波数をマニュアル操
作により変更するためのルーチンを記述する場合であ
る。すなわち、シンセサイザ方式の受信機においては、
PLLの可変分周回路の分周比が受信周波数に対応する
ので、受信周波数を変更するキー操作が行われると、そ
のキー入力にしたがって、新しい分周比のデータが作成
され、この分周比のデータが可変分周回路にセットされ
る。[Explanation of Target Program] Here, a microcomputer incorporated in a receiver of a synthesizer system and a routine for changing the reception frequency by a manual operation are described. That is, in the synthesizer type receiver,
Since the frequency division ratio of the PLL variable frequency divider circuit corresponds to the reception frequency, when a key operation for changing the reception frequency is performed, new frequency division ratio data is created according to the key input, and this frequency division ratio is used. Data is set in the variable frequency dividing circuit.
【0014】図13は、そのマニュアル選局の場合にお
けるCPUの処理手順の一例を示すもので、各ステップ
が1つあるいは複数のコマンドにより構成されている。
すなわち、この例においては、ステップ10は、複数の
コマンドの集まりであると同時に1つのシーケンスでも
あり、このステップ10において、ミューティングをオ
ンにしたり、受信感度を最大にするなどの前処理が実行
される。FIG. 13 shows an example of a processing procedure of the CPU in the case of the manual channel selection, and each step is composed of one or a plurality of commands.
That is, in this example, step 10 is a set of a plurality of commands and at the same time one sequence, and in this step 10, preprocessing such as turning on muting and maximizing reception sensitivity is executed. To be done.
【0015】また、続くステップ11、12は、コマン
ドあるいはその集まりであるとともに、両ステップが1
つのフェイズを構成している。そして、ステップ11に
おいて、回路の動作が安定するまでの時間待ちが行わ
れ、ステップ12において、新しい分周比のデータが作
成されるとともに、これがPLLの可変分周回路に送信
される。Further, the following steps 11 and 12 are a command or a group thereof, and both steps are 1
It consists of two phases. Then, in step 11, a time is waited until the operation of the circuit is stabilized, and in step 12, data of a new frequency division ratio is created and is transmitted to the variable frequency division circuit of the PLL.
【0016】さらに、ステップ21、22も、同様にそ
れぞれコマンドあるいはその集まりであり、両者が1つ
のシーケンスを構成している。そして、ステップ21に
おいて、時間待ちが行われ、ステップ22において、タ
イマのセットが行われる。Further, steps 21 and 22 are likewise commands or a group thereof, respectively, and both of them constitute one sequence. Then, in step 21, a time waiting is performed, and in step 22, the timer is set.
【0017】また、ステップ31、32も、同様にそれ
ぞれコマンドであり、両者が1つのシーケンスを構成し
ている。そして、ステップ31において、PLLがロッ
クしたかどうかを示すデータの受信が行われ、ステップ
32によりPLLのロックが確認されるまで、ステップ
31、32が繰り返される。Similarly, steps 31 and 32 are commands, respectively, and both constitute one sequence. Then, in step 31, data indicating whether or not the PLL is locked is received, and steps 31 and 32 are repeated until the lock of the PLL is confirmed in step 32.
【0018】さらに、ステップ41は、コマンドの集ま
りであるとともに、1つのシーケンスを構成している。
そして、このステップ41において、PLLに対する後
処理が行われる。Further, step 41 is a set of commands and constitutes one sequence.
Then, in this step 41, post-processing for the PLL is performed.
【0019】また、ステップ51も、コマンドの集まり
であるとともに、1つのシーケンスを構成している。そ
して、このステップ51において、現在の受信周波数の
データを、ラストチャンネル(電源をオフにしたとき受
信していた周波数)としてRAMに記憶したり、ミュー
ティングをオフにするなどの後処理が実行される。The step 51 is also a group of commands and constitutes one sequence. Then, in this step 51, post-processing such as storing the data of the current reception frequency in the RAM as the last channel (the frequency received when the power is turned off) and turning off the muting is executed. It
【0020】したがって、このルーチンによれば、キー
操作に対応してPLLの可変分周回路の分周比が変更さ
れ、結果として受信周波数が変更されることになる。Therefore, according to this routine, the frequency division ratio of the variable frequency dividing circuit of the PLL is changed in response to the key operation, and as a result, the reception frequency is changed.
【0021】〔対象となるプログラムの構成内容〕対象
となるプログラムは、例えばアセンブリ言語で記述され
るとともに、以下の(1)〜(6)により構成される。 (1) 解釈プログラム100 これは、プログラム構造に基づいて、プログラム系を制
御するメインのルーチンである。このため、この解釈プ
ログラム100は、例えば図1および図2に示すように
構成され、詳細は後述するが、シーケンスを指定して実
行すると、そのシーケンスに含まれるフェイズを順番に
解釈していくとともに、各フェイズにおいて、そのフェ
イズに含まれるコマンドを順に呼び出して実行する。[Structure Contents of Target Program] The target program is described in, for example, an assembly language, and includes the following (1) to (6). (1) Interpretation program 100 This is the main routine that controls the program system based on the program structure. Therefore, the interpretation program 100 is configured, for example, as shown in FIGS. 1 and 2, and details will be described later, but when a sequence is designated and executed, the phases included in the sequence are sequentially interpreted. , In each phase, the commands included in that phase are sequentially called and executed.
【0022】(2) シーケンス検索テーブル200 これは、実行すべきシーケンスを検索するためのテーブ
ルであり、例えば図3に示すように、シーケンス名(ま
たはシーケンス番号)と、そのシーケンスにおけるフェ
イズを登録したテーブルの先頭アドレスとをテーブル形
式で有する。(2) Sequence search table 200 This is a table for searching a sequence to be executed. For example, as shown in FIG. 3, the sequence name (or sequence number) and the phase in the sequence are registered. It has a table head address and a table address.
【0023】図7は、そのシーケンス検索テーブル20
0の一例をリストにより示すもので、各機能はラベルと
して記述されている。なお、図13のマニュアル選局の
場合、*印が対応する。FIG. 7 shows the sequence search table 20.
An example of 0 is shown by a list, and each function is described as a label. Incidentally, in the case of the manual channel selection shown in FIG.
【0024】(3) フェイズ登録テーブル300 これは、各シーケンスに含まれるフェイズを登録したテ
ーブルであり、例えば図4に示すように、各フェイズの
先頭アドレスをフェイズ順に有する。例えば、マニュア
ル選局の場合のテーブル300をリストにより示すと、
図8のとおりである。(3) Phase registration table 300 This is a table in which the phases included in each sequence are registered, and, for example, as shown in FIG. 4, it has the start address of each phase in the phase order. For example, if the table 300 in the case of manual tuning is shown by a list,
This is as shown in FIG.
【0025】(4) シーケンスチャートテーブル400 これは、例えば図5に示すように、各フェイズにおいて
実行されるコマンドのコマンド名(またはコマンド番
号)を、そのコマンド順に記述したテーブルである。例
えば、マニュアル選局の場合のテーブル400をリスト
により示すと、図9のとおりである。(4) Sequence Chart Table 400 This is a table in which command names (or command numbers) of commands executed in each phase are described in the order of the commands, as shown in FIG. 5, for example. For example, FIG. 9 shows a list of the table 400 in the case of manual channel selection.
【0026】そして、これらの図からも明らかなよう
に、テーブル400の内容は、図13の処理手順に対応
する。例えば、ラベルcd_man_p0の内容がステップ10
に対応し、ラベルcd_man_p1の内容がステップ11、1
2に対応する。As is clear from these figures, the contents of the table 400 correspond to the processing procedure of FIG. For example, the content of the label cd_man_p0 is Step 10
And the contents of the label cd_man_p1 correspond to steps 11 and 1.
Corresponds to 2.
【0027】(5A) コマンド実プログラム部アドレステ
ーブル500 (5B) コマンド名定義テーブル550 コマンド実プログラム部アドレステーブル500は、図
6Aに示すように、各コマンドの先頭の実アドレスを列
挙したテーブルである。ただし、その先頭アドレスは、
アセンブルにより具体的な値が与えられるもので、プロ
グラムを記述するときには、その先頭アドレスを考慮す
る必要はない。(5A) Command real program part address table 500 (5B) Command name definition table 550 The command real program part address table 500 is a table listing the real addresses at the beginning of each command, as shown in FIG. 6A. . However, the start address is
Since a specific value is given by assembling, it is not necessary to consider the start address when writing a program.
【0028】このため、コマンド名定義テーブル550
が用意される。そして、このテーブル550には、コマ
ンド名がラベルとして列挙されているもので、例えば図
6Bに示すように、コマンド名と、コマンド番号と、テ
ーブル500におけるアドレスとの対応が示される。そ
して、アセンブル時、そのラベルがコマンド番号(ポイ
ンタ)に変換され、このコマンド番号がテーブル500
において各コマンドの先頭アドレスの位置するアドレス
に変換され、これがテーブル500に登録される。Therefore, the command name definition table 550
Is prepared. In this table 550, command names are listed as labels, and, for example, as shown in FIG. 6B, correspondences between command names, command numbers, and addresses in the table 500 are shown. Then, at the time of assembly, the label is converted into a command number (pointer), and this command number is stored in the table 500.
Is converted into an address at which the head address of each command is located, and this is registered in the table 500.
【0029】また、図10および図11は、マニュアル
選局の場合のテーブル500、550の一例をリストに
より示すもので、上記から明らかなように、コマンド名
定義テーブル550は最終的なプログラムにおいては、
コード化されないが、コマンド実プログラム部アドレス
テーブル550はコード化されることになる。10 and 11 show examples of the tables 500 and 550 in the case of manual channel selection. As is apparent from the above, the command name definition table 550 is not used in the final program. ,
Although not coded, the command actual program part address table 550 will be coded.
【0030】(6) コマンド群600 これは、例えば図12に一部をリストにより示すよう
に、個々のコマンドの内容をアセンブリ言語によりサブ
ルーチン形式に記述したものである。(6) Command group 600 This is, for example, as shown in the partial list of FIG. 12, the content of each command is described in the assembly language in a subroutine format.
【0031】そして、実際には、以上のプログラムおよ
びテーブル100〜500(コマンド名定義テーブル5
50を除く)が、機械語のコードにアセンブルされ、そ
のコードが、1チップマイクロコンピュータに内蔵され
ているROMに書き込まれる。そして、そのROMの内
容が、CPUにより、解釈プログラム100にしたがっ
て、下記のように実行される。Actually, the above programs and tables 100 to 500 (command name definition table 5
(Excluding 50) is assembled into a machine language code, and the code is written in the ROM incorporated in the one-chip microcomputer. Then, the contents of the ROM are executed by the CPU according to the interpretation program 100 as follows.
【0032】〔プログラムの処理動作〕以下は、マニュ
アル選局のキー操作が行われた場合を例にとって説明す
る。すなわち、マニュアル選局のキー操作が行われる
と、RAMの所定のアドレスに対して、 シーケンス=「マニュアル選局」 フェイズ=0(初期値) のように初期設定され、解釈プログラム100がコール
される。[Program Processing Operation] The case where a manual channel selection key operation is performed will be described below as an example. That is, when a key operation for manual channel selection is performed, the interpretation program 100 is called for a predetermined address in the RAM as follows: Sequence = “Manual channel selection” Phase = 0 (initial value) .
【0033】すると、プログラム100に対する処理は
ステップ101からスタートし、ステップ102におい
て、初期設定されているシーケンス名「マニュアル選
局」が取り込まれ、次にステップ103において、シー
ケンス検索ポインタSRCHが、第1番目(SRCH=1)にセ
ットされる。そして、ステップ104において、ステッ
プ102で取り込んだシーケンス名「マニュアル選局」
が、シーケンス検索テーブル200のうち、検索ポイン
タSRCHの示す位置に登録されているかどうかがチェック
される。Then, the process for the program 100 starts from step 101, and in step 102, the initially set sequence name "manual tuning" is fetched, and then in step 103, the sequence search pointer SRCH is set to the first The second (SRCH = 1) is set. Then, in step 104, the sequence name “manual tuning” fetched in step 102
Is checked whether it is registered in the position indicated by the search pointer SRCH in the sequence search table 200.
【0034】そして、登録されていないときには、処理
はステップ104からステップ105に進み、このステ
ップ105において、検索ポインタSRCHが1つ進めら
れ、次にステップ106において、検索ポインタSRCHの
示す位置がシーケンス検索テーブル200の終了位置を
越えているかどうか、すなわち、シーケンス検索テーブ
ル200のすべてに対して、ステップ102で取り込ん
だシーケンス名の検索が行われたかどうかがチェックさ
れ、すべてに対して検索が行われていないときには、処
理はステップ104に戻る。If not registered, the process proceeds from step 104 to step 105, in which the search pointer SRCH is advanced by one, and then in step 106, the position indicated by the search pointer SRCH is sequence searched. It is checked whether or not the end position of the table 200 is exceeded, that is, whether or not the sequence name fetched in step 102 has been searched for all of the sequence search table 200, and the search has been performed for all. If not, the process returns to step 104.
【0035】また、ステップ106において、シーケン
ス検索テーブル200のすべてに対して検索が行われた
ときには、処理はステップ106からステップ107に
進み、このプログラム100を終了する。When all the sequence search tables 200 are searched in step 106, the process proceeds from step 106 to step 107, and the program 100 is terminated.
【0036】こうして、シーケンス検索テーブル200
に対して、初期設定されているシーケンス名「マニュア
ル選局」が検索されていく。Thus, the sequence search table 200
Then, the default sequence name "manual tuning" is searched.
【0037】そして、そのシーケンス名が見つかると、
処理はステップ104からステップ111に進み、この
ステップ111において、シーケンス検索テーブル20
0のうち、ステップ104でシーケンス名の見つかった
位置から、そこに登録されているフェイズ登録テーブル
300の先頭アドレスが取り出される。When the sequence name is found,
The process proceeds from step 104 to step 111, and in this step 111, the sequence search table 20
From 0, the start address of the phase registration table 300 registered there is taken out from the position where the sequence name is found in step 104.
【0038】今の場合、シーケンス検索テーブル200
は図3のような構成とされているので、シーケンス名が
見つかったとき、そのときの検索ポインタSRCHの示すア
ドレスに1および2を加えたアドレスから、フェイズ登
録テーブル300の先頭アドレスが取り出される。In the present case, the sequence search table 200
3 has the configuration shown in FIG. 3, so that when the sequence name is found, the start address of the phase registration table 300 is taken out from the address obtained by adding 1 and 2 to the address indicated by the search pointer SRCH at that time.
【0039】次にステップ112において、現在のフェ
イズの値が取り込まれる。今の場合、フェイズの値は初
期値の「0」である。Next, at step 112, the current phase value is fetched. In this case, the phase value is "0" which is the initial value.
【0040】続いて、ステップ113において、ステッ
プ111で取り出したフェイズ登録テーブル300の先
頭アドレスからそのフェイズ登録テーブル300を特定
するとともに、この特定したフェイズ登録テーブル30
0に対して、ステップ112で取り込んだフェイズの値
をポインタとして、そのフェイズの登録されている先頭
アドレスが取り出される。例えば、ステップ111で取
り出したフェイズ登録テーブル300が、図4に示す内
容であり、フェイズの値が0とすれば、cd_man_p0番地
(の上位および下位)が取り出される。Then, in step 113, the phase registration table 300 is specified from the start address of the phase registration table 300 extracted in step 111, and the specified phase registration table 30 is specified.
With respect to 0, using the value of the phase fetched in step 112 as a pointer, the head address registered for that phase is fetched. For example, the phase registration table 300 extracted in step 111 has the contents shown in FIG. 4, and if the value of the phase is 0, the cd_man_p0 address (upper and lower) is fetched.
【0041】そして、処理はステップ114に進み、こ
のステップ114において、シーケンスチャートテーブ
ル400のうち、ステップ113で取り出されたアドレ
スから、そのアドレスに登録されているフェイズの長さ
を示すデータが取り出され、次にステップ115におい
て、コマンドカウンタCMDCNTが第1番目にセットされ
る。Then, the process proceeds to step 114, and in this step 114, from the address fetched in step 113 of the sequence chart table 400, the data indicating the length of the phase registered in that address is fetched. Then, in step 115, the command counter CMDCNT is first set.
【0042】続いて、ステップ116において、シーケ
ンスチャートテーブル400のうち、コマンドカウンタ
CMDCNTの示す位置からコマンド名が取り出され、次にス
テップ117において、ステップ116で取り出された
コマンド名を使用するとともに、コマンド名定義テーブ
ル550を通じてコマンド実プログラム部アドレステー
ブル500を参照することにより、ステップ116で取
り出されたコマンドの先頭アドレスが取り出される。Subsequently, in step 116, the command counter in the sequence chart table 400 is
The command name is fetched from the position indicated by CMDCNT, and in step 117, the command name fetched in step 116 is used, and the command actual program part address table 500 is referred to through the command name definition table 550. The start address of the command fetched at 116 is fetched.
【0043】そして、ステップ118において、コマン
ド群600のうち、ステップ117で取り出されたコマ
ンドの先頭アドレスのサブルーチンコールされ、そのコ
マンドが実際に実行される。Then, in step 118, the subroutine of the head address of the command fetched in step 117 of the command group 600 is called and the command is actually executed.
【0044】そして、ステップ118のサブルーチンコ
ールを終了すると、すなわち、コマンドの実行が終了す
ると、処理はステップ119に進み、このステップ11
9において、コマンドカウンタCMDCNTが1つだけ進めら
れ、次にステップ120において、ステップ114で得
たフェイズの長さをもとにして、すべてのフェイズを終
了したかどうかがチェックされ、終了していないときに
は、処理はステップ120からステップ116に戻る。When the subroutine call of step 118 is completed, that is, when the execution of the command is completed, the process proceeds to step 119 and this step 11
In step 9, the command counter CMDCNT is incremented by one, and then in step 120, it is checked whether or not all the phases are finished based on the length of the phase obtained in step 114, and it is not finished. Sometimes the process returns from step 120 to step 116.
【0045】したがって、以後、あるシーケンスに含ま
れるすべてのフェイズが終了するまで、ステップ116
〜120が繰り返して実行されることになる。そして、
そのシーケンスに含まれるすべてのフェイズが実行され
ると、処理はステップ120からステップ121に進
み、この解釈プログラム100をいったん終了する。Therefore, thereafter, step 116 is performed until all the phases included in a certain sequence are completed.
~ 120 will be repeatedly executed. And
When all the phases included in the sequence have been executed, the process proceeds from step 120 to step 121, and the interpreting program 100 is ended once.
【0046】以上により、例えばマニュアル選局の機能
が実現されたことになる。As described above, for example, the function of manual channel selection is realized.
【0047】そして、他の動作が要求された場合も、上
記のように、そのシーケンス名およびフェイズの初期値
が設定されてから解釈プログラム100が実行されるこ
うして、各種の動作が実現されるが、この場合、上述し
たように、シーケンスチャートテーブル400の内容
は、図13の処理手順に表現された個々の処理内容と1
対1で対応し、例えば分岐判断も対応している。したが
って、例えば、プログラムリストの解析を容易に行うこ
とができる。Even when another operation is requested, the interpreting program 100 is executed after the sequence name and the initial value of the phase are set as described above, and thus various operations are realized. In this case, as described above, the contents of the sequence chart table 400 are the same as the individual processing contents expressed in the processing procedure of FIG.
Correspondence is made one-to-one, for example, branch determination is also supported. Therefore, for example, the program list can be easily analyzed.
【0048】なお、上述においては、この発明をシンセ
サイザ方式の受信機のマニュアル選局時の処理に適用し
た場合であるが、例えばCDプレーヤ、VTRの機構部
の制御など、フローチャートにより記述可能なプロセス
制御であれば、この発明を適用できる。In the above description, the present invention is applied to the process at the time of manual channel selection of a synthesizer type receiver. For example, a process which can be described by a flow chart such as control of a CD player or a VTR mechanical unit. The present invention can be applied to control.
【0049】[0049]
【発明の効果】この発明によれば、処理手順を、シーケ
ンスチャートテーブル400としてプログラム上に記述
することができるので、プログラムリストの解析を容易
に行うことができる。また、実現すべき制御や機能の組
み替えや変更への対応が容易になる。さらに、プログラ
ムの修整や変更を行ったとき、意図しない部分への影響
を抑えることができる。したがって、プログラムの改善
や再利用などを容易に行うことができる。According to the present invention, the processing procedure can be described on the program as the sequence chart table 400, so that the program list can be easily analyzed. Further, it becomes easy to respond to the rearrangement or change of the control or function to be realized. Further, when the program is modified or changed, it is possible to suppress the influence on an unintended part. Therefore, it is possible to easily improve or reuse the program.
【図1】この発明の一例の一部を示すフローチャートで
ある。FIG. 1 is a flowchart showing a part of an example of the present invention.
【図2】図1の続きの一例を示すフローチャートであ
る。FIG. 2 is a flowchart showing an example of a continuation of FIG.
【図3】シーケンス検索テーブルの一例を示す図であ
る。FIG. 3 is a diagram showing an example of a sequence search table.
【図4】フェイズ登録テーブルの一例を示す図である。FIG. 4 is a diagram showing an example of a phase registration table.
【図5】シーケンスチャートテーブルの一例を示す図で
ある。FIG. 5 is a diagram showing an example of a sequence chart table.
【図6】コマンド実プログラム部アドレステーブルおよ
びコマンド名定義テーブルの一例を示す図である。FIG. 6 is a diagram showing an example of a command actual program part address table and a command name definition table.
【図7】シーケンス検索テーブルのリストの一例を示す
図である。FIG. 7 is a diagram showing an example of a list of a sequence search table.
【図8】フェイズ登録テーブルのリストの一例を示す図
である。FIG. 8 is a diagram showing an example of a list of a phase registration table.
【図9】シーケンスチャートテーブルのリストの一例を
示す図である。FIG. 9 is a diagram showing an example of a list of a sequence chart table.
【図10】コマンド実プログラム部アドレステーブルの
リストの一例を示す図である。FIG. 10 is a diagram showing an example of a list of a command actual program part address table.
【図11】コマンド名定義テーブルのリストの一例を示
す図である。FIG. 11 is a diagram showing an example of a list of a command name definition table.
【図12】コマンド群のリストの一例を示す図である。FIG. 12 is a diagram showing an example of a list of command groups.
【図13】処理手順の一例を示すフローチャートであ
る。FIG. 13 is a flowchart illustrating an example of a processing procedure.
100 解釈プログラム 200 シーケンス検索テーブル 300 フェイズ登録テーブル 400 シーケンスチャートテーブル 500 コマンド実プログラム部アドレステーブル 550 コマンド名定義テーブル 600 コマンド群 100 Interpretation program 200 Sequence search table 300 Phase registration table 400 Sequence chart table 500 Command actual program part address table 550 Command name definition table 600 Command group
Claims (1)
釈して実行する解釈プログラムとを有し、 少なくとも上記ROMと上記CPUとが、マイクロコン
ピュータとして1チップIC化され、 このマイクロコンピュータにより動作を制御するように
した電気機器の制御方法。1. A ROM, a table describing a processing procedure of a CPU, a processing group of a unit function constituting the processing procedure, and an interpreting program executed by the CPU for interpreting and executing the description of the table and the processing group. And at least the ROM and the CPU are integrated into a single-chip IC as a microcomputer, and the operation is controlled by the microcomputer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6332016A JPH08166871A (en) | 1994-12-12 | 1994-12-12 | Control method for electrical equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6332016A JPH08166871A (en) | 1994-12-12 | 1994-12-12 | Control method for electrical equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08166871A true JPH08166871A (en) | 1996-06-25 |
Family
ID=18250204
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6332016A Pending JPH08166871A (en) | 1994-12-12 | 1994-12-12 | Control method for electrical equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08166871A (en) |
-
1994
- 1994-12-12 JP JP6332016A patent/JPH08166871A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5339432A (en) | Method and system for providing user control of device driver configuration | |
| US20030065639A1 (en) | Autogenerated play lists from search criteria | |
| JPH02238516A (en) | Multi-language conversion processing system for data processor | |
| US20010052030A1 (en) | Command processing apparatus | |
| JP2927180B2 (en) | Debugging method of information processing program and debugger therefor | |
| CN115050365A (en) | Vehicle-mounted multimode interaction method | |
| US20040205744A1 (en) | Management of co-processor information by integrating non-program information with program information | |
| JP3800945B2 (en) | Software defined radio | |
| JP2689156B2 (en) | Waveform measuring device | |
| KR0133411B1 (en) | Automatic generation of interactive command input screen in mobile communication base station management system | |
| KR960001977B1 (en) | Control method in programmable controller | |
| JPH10326192A (en) | CATV terminal software program download system | |
| JP3303304B2 (en) | Computer system configuration change method | |
| CN117075947A (en) | Single system upgrading method and device for unfixed address | |
| EP1249756B1 (en) | Management of co-processor information by integrating non-program information with program information | |
| JPH04116756A (en) | Dynamic link system for user definition command in application | |
| KR100862290B1 (en) | How to update add-ons for DST | |
| JPH035845A (en) | File opening substitution device | |
| KR100210796B1 (en) | Method for embodying history function in an ess | |
| JPH09251378A (en) | Class library updating method and apparatus | |
| JPH06119263A (en) | Processing function calling system | |
| JPH03278128A (en) | Menu converting system for user interface | |
| JPH04102156A (en) | Process control system | |
| JPH05289919A (en) | Data base access program generating system | |
| CA2598636A1 (en) | Vehicle quality analyzing system and program file management method |