JP3289921B2 - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JP3289921B2
JP3289921B2 JP17288791A JP17288791A JP3289921B2 JP 3289921 B2 JP3289921 B2 JP 3289921B2 JP 17288791 A JP17288791 A JP 17288791A JP 17288791 A JP17288791 A JP 17288791A JP 3289921 B2 JP3289921 B2 JP 3289921B2
Authority
JP
Japan
Prior art keywords
pulse
register
target value
output unit
count register
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
JP17288791A
Other languages
Japanese (ja)
Other versions
JPH0561551A (en
Inventor
大 中井
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP17288791A priority Critical patent/JP3289921B2/en
Publication of JPH0561551A publication Critical patent/JPH0561551A/en
Application granted granted Critical
Publication of JP3289921B2 publication Critical patent/JP3289921B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Control Of Position Or Direction (AREA)
  • Control Of Stepping Motors (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、パルスモータやDCモ
ータ等の速度、位置制御を行うプログラマブルコントロ
ーラに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller for controlling the speed and position of a pulse motor, a DC motor or the like.

【0002】[0002]

【従来の技術】従来のプログラマブルコントローラで
の、位置制御を行うためには、ハードウエアで構成して
行っていた。
2. Description of the Related Art In order to perform position control in a conventional programmable controller, it has been configured by hardware.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来の方法で
は、専用の高価なパルス出力ユニットが必要となるとい
う問題があった。本発明は、上述の点に鑑みて提供した
ものであって、高価なパルス出力専用のユニットを不要
とし、CPUユニットのみでパルスモータの速度と位置
制御をすることを可能とし、安価なプログラマブルコン
トローラを提供することを目的としたものである。
However, the conventional method has a problem that a dedicated and expensive pulse output unit is required. The present invention has been made in view of the above points, and eliminates the need for an expensive pulse output-dedicated unit, makes it possible to control the speed and position of a pulse motor with only a CPU unit, and provides an inexpensive programmable controller. The purpose is to provide.

【0004】[0004]

【課題を解決するための手段】本発明は、外部からのパ
ルス列をカウントするカウントレジスタ、このカウント
レジスタと値が一致した時に一致割込信号を発生する目
標値レジスタからなるパルスカウンタと、内部クロック
をカウントするカウントレジスタ、カウントレジスタと
値が一致すると一致信号を出力する比較レジスタ、その
一致信号により出力を反転してパルスを出力してパルス
モータドライバへ入力する出力制御回路とからなるパル
ス出力部と、予めユーザープログラムにて演算メモリエ
リアに設定されパルス出力部の比較レジスタにセットす
る周波数データとパルスカウンタの目標値レジスタにセ
ットする目標値データを1セットとし、それをnセット
分連続して設定されたテーブルを参照しながらパルス出
力部を制御し、パルス出力部からパルスカウンタのカウ
ントレジスタに入力されたパルス数と目標値レジスタの
値とが一致した時に発生するパルスカウンタからの一致
割込信号にて割り込み処理を行い、テーブルの次の周波
数データ,目標値データへ切り替えてセットするCPU
とで構成したものである。
According to the present invention, there is provided a pulse counter comprising a count register for counting an external pulse train, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, and an internal clock. A pulse output section comprising: a count register for counting the count; a comparison register for outputting a match signal when the value matches the count register; and an output control circuit for inverting the output by the match signal to output a pulse and inputting the pulse to a pulse motor driver. The frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and the target value data set in the target value register of the pulse counter are set as one set, and are continuously set for n sets. The pulse output unit is controlled while referring to the set table, When the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register, interrupt processing is performed with a coincidence interrupt signal from the pulse counter that is generated. CPU that switches to and sets the target value data
It is composed of

【0005】また、請求項2では、外部からのパルス列
をカウントするカウントレジスタ、このカウントレジス
タと値が一致した時に一致割込信号を発生する目標値レ
ジスタからなるパルスカウンタと、内部クロックをカウ
ントするカウントレジスタ、カウントレジスタと値が一
致すると一致信号を出力する比較レジスタ、その一致信
号により出力を反転してデューテイ比が50%に制御さ
れたパルスを出力してパルスモータドライバへ入力する
出力制御回路とからなるパルス出力部と、予めユーザー
プログラムにて演算メモリエリアに設定されパルス出力
部の比較レジスタにセットする周波数データとパルスカ
ウンタの目標値レジスタにセットする目標値データを1
セットとし、それをnセット分連続して設定されたテー
ブルを参照しながらパルス出力部を制御し、パルス出力
部からパルスカウンタのカウントレジスタに入力された
パルス数と目標値レジスタの値とが一致した時に発生す
るパルスカウンタからの一致割込信号にて割り込み処理
を行い、テーブルの次の周波数データ,目標値データへ
切り替えてセットするCPUとで構成したものである。
According to a second aspect of the present invention, a pulse counter consisting of a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, and an internal clock are counted. A count register, a comparison register that outputs a match signal when the value matches the count register, an output control circuit that inverts the output by the match signal, outputs a pulse with a duty ratio controlled to 50%, and inputs the pulse to a pulse motor driver And a frequency data set in a calculation memory area in advance by a user program and set in a comparison register of the pulse output unit and a target value data set in a target value register of the pulse counter.
The pulse output unit is controlled while referring to a table that is set continuously for n sets, and the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register. The interrupt processing is performed by a coincidence interrupt signal from the pulse counter which is generated at the time of the interruption, and the CPU switches to the next frequency data and target value data in the table and sets them.

【0006】請求項3では、外部からのパルス列をカウ
ントするカウントレジスタ、このカウントレジスタと値
が一致した時に一致割込信号を発生する目標値レジスタ
からなるパルスカウンタと、内部クロックをカウントす
るカウントレジスタ、カウントレジスタと値が一致する
と一致信号を出力する比較レジスタ、その一致信号によ
り出力を反転してデューテイ比が50%以外に制御され
たパルスを出力してDCモータドライバへ入力する出力
制御回路とからなるパルス出力部と、予めユーザープロ
グラムにて演算メモリエリアに設定されパルス出力部の
比較レジスタにセットする周波数データとパルスカウン
タの目標値レジスタにセットする目標値データを1セッ
トとし、それをnセット分連続して設定されたテーブル
を参照しながらパルス出力部を制御し、パルス出力部か
らパルスカウンタのカウントレジスタに入力されたパル
ス数と目標値レジスタの値とが一致した時に発生するパ
ルスカウンタからの一致割込信号にて割り込み処理を行
い、テーブルの次の周波数データ,目標値データへ切り
替えてセットするCPUとで構成したものである。
According to a third aspect of the present invention, there is provided a pulse register comprising a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, and a count register for counting an internal clock. A comparison register for outputting a coincidence signal when the value coincides with the count register; an output control circuit for inverting the output by the coincidence signal to output a pulse whose duty ratio is controlled to other than 50% and inputting the pulse to the DC motor driver; And a set of the frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and the target value data set in the target value register of the pulse counter. While referring to the table set continuously for the set, The pulse output unit is controlled, and the interrupt processing is performed by a match interrupt signal from the pulse counter generated when the number of pulses input to the count register of the pulse counter from the pulse output unit matches the value of the target value register. It is configured by a CPU that switches and sets the next frequency data and target value data in the table.

【0007】更に、請求項4では、外部からのパルス列
をカウントするカウントレジスタ、このカウントレジス
タと値が一致した時に一致割込信号を発生する目標値レ
ジスタからなるパルスカウンタと、内部クロックをカウ
ントするカウントレジスタ、カウントレジスタと値が一
致すると一致信号を出力する2つの比較レジスタ、それ
ら2つの比較レジスタによる一致信号により出力を反転
してパルスを出力してパルスモータドライバへ入力する
出力制御回路とからなるパルス出力部と、予めユーザー
プログラムにて演算メモリエリアに設定されパルス出力
部の比較レジスタにセットする周波数データとパルスカ
ウンタの目標値レジスタにセットする目標値データを1
セットとし、それをnセット分連続して設定されたテー
ブルを参照しながらパルス出力部を制御し、パルス出力
部からパルスカウンタのカウントレジスタに入力された
パルス数と目標値レジスタの値とが一致した時に発生す
るパルスカウンタからの一致割込信号にて割り込み処理
を行い、テーブルの次の周波数データ,目標値データへ
切り替えてセットするCPUとで構成したことを特徴と
するプログラマブルコントローラ。
Further, a pulse counter comprising a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, and counting an internal clock. A count register, two comparison registers for outputting a coincidence signal when the value matches the count register, and an output control circuit for inverting the output according to the coincidence signal from the two comparison registers, outputting a pulse, and inputting the pulse to the pulse motor driver. Pulse output unit, frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and target value data set in the target value register of the pulse counter are set to 1
The pulse output unit is controlled while referring to a table that is set continuously for n sets, and the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register. A programmable controller comprising: a CPU that performs interrupt processing with a coincidence interrupt signal from a pulse counter that is generated when switching to the next frequency data and target value data in a table and sets the CPU.

【0008】また、請求項5では、カウントレジスタに
入力される内部クロックを複数種類備え、任意の内部ク
ロックを選択するマルチプレクサーを設けている。
According to a fifth aspect of the present invention, a plurality of types of internal clocks input to the count register are provided, and a multiplexer for selecting an arbitrary internal clock is provided.

【0009】[0009]

【作 用】而して、予めユーザープログラムにて演算メ
モリエリアに設定された周波数データと目標値データを
1セットとし、それをnセット分連続して設定されたテ
ーブルを参照しながらパルス出力部を制御し、パルス出
力部から出力されたパルスをパルスカウンタに入力させ
て、目標値に達すると、パルスカウンタからの一致割込
信号にて割り込み処理を起動し、その中で次のデータを
参照して、出力パルスの周波数を切り替えていくことに
より、パルスモータドライバへの出力パルスモータの周
波数をコントロールし、パルスモータを駆動制御してい
る。
[Operation] Thus, the frequency output and the target value data set in the operation memory area in advance by the user program are set as one set, and the pulse output unit is continuously referred to for n sets by referring to the set table. And the pulse output from the pulse output unit is input to the pulse counter, and when the pulse reaches the target value, the interrupt processing is started by the coincidence interrupt signal from the pulse counter, and the next data is referenced in that. Then, by switching the frequency of the output pulse, the frequency of the output pulse motor to the pulse motor driver is controlled, and the drive of the pulse motor is controlled.

【0010】請求項2では、予めユーザープログラムに
て演算メモリエリアに設定された周波数データと目標値
データを1セットとし、それをnセット分連続して設定
されたテーブルを参照しながらパルス出力部を制御し、
パルス出力部からデューテイ比が50%に制御された出
力されてパルスをパルスカウンタに入力させて、目標値
に達すると、パルスカウンタからの一致割込信号にて割
り込み処理を起動し、その中で次のデータを参照して、
出力パルスの周波数を切り替えていくことにより、パル
スモータドライバへの出力パルスモータの周波数をコン
トロールし、パルスモータを駆動制御している。
According to a second aspect of the present invention, the pulse output unit sets the frequency data and the target value data set in the operation memory area in advance by the user program as one set, and refers to the set table continuously for n sets. Control the
When the duty ratio is controlled to 50% from the pulse output unit, the pulse is input to the pulse counter, and when the pulse reaches the target value, the interrupt processing is started by the coincidence interrupt signal from the pulse counter. Refer to the following data,
By switching the frequency of the output pulse, the frequency of the output pulse motor to the pulse motor driver is controlled, and the drive of the pulse motor is controlled.

【0011】更に、請求項3においては、予めユーザー
プログラムにて演算メモリエリアに設定された周波数デ
ータと目標値データを1セットとし、それをnセット分
連続して設定されたテーブルを参照しながらパルス出力
部を制御し、パルス出力部からデューテイ比が50%以
外に制御されて出力されたパルスをパルスカウンタに入
力させて、目標値に達すると、パルスカウンタからの一
致割込信号にて割り込み処理を起動し、その中で次のデ
ータを参照して、出力パルスの周波数を切り替えていく
ことにより、DCモータドライバへの出力パルスモータ
の周波数をコントロールし、DCモータを駆動制御して
いる。
In the present invention, the frequency data and the target value data previously set in the operation memory area by the user program are set as one set, and the set is sequentially referred to for n sets of the table. The pulse output unit is controlled, and the pulse output from the pulse output unit with the duty ratio controlled to a value other than 50% is input to the pulse counter, and when the pulse reaches the target value, the pulse is interrupted by the coincidence interrupt signal from the pulse counter. By starting the process and switching the output pulse frequency with reference to the next data in the process, the frequency of the output pulse motor to the DC motor driver is controlled, and the drive of the DC motor is controlled.

【0012】また、請求項4では、予めユーザープログ
ラムにて演算メモリエリアに設定された周波数データと
目標値データを1セットとし、それをnセット分連続し
て設定されたテーブルを参照しながらパルス出力部を制
御し、パルス出力部から出力されたパルスをパルスカウ
ンタに入力させて、目標値に達すると、パルスカウンタ
からの一致割込信号にて割り込み処理を起動し、その中
で次のデータを参照して、出力パルスの周波数を切り替
えていくことにより、パルスモータドライバへの出力パ
ルスモータの周波数をコントロールし、パルスモータを
駆動制御している。
According to a fourth aspect of the present invention, the frequency data and the target value data set in the operation memory area in advance by the user program are set as one set, and the set of the frequency data and the target value data are continuously set for n sets with reference to the table set. The output unit is controlled, the pulse output from the pulse output unit is input to the pulse counter, and when the pulse reaches the target value, the interrupt processing is started by the coincidence interrupt signal from the pulse counter, and the next data By switching the frequency of the output pulse with reference to, the frequency of the output pulse motor to the pulse motor driver is controlled, and the drive of the pulse motor is controlled.

【0013】請求項5では、内部クロックの種類を複数
設けて、マルチプレクサーによるソフトウエアにより選
択可能として、パルス出力の周波数範囲を広げることに
より、より応用範囲を広げることを可能としている。
According to a fifth aspect of the present invention, a plurality of types of internal clocks are provided, which can be selected by software using a multiplexer, and the frequency range of pulse output is widened, so that the range of application can be further expanded.

【0014】[0014]

【実施例】以下、本発明の実施例を図面を参照して説明
する。 (実施例1)図2はプログラマブルコントローラAの構
成を示し、CPU1、後述する高速パルスカウンタ(以
下、HSCという)2及びパルス出力部3、ROM4、
RAM5、I/Oインターフェイス6等から構成されて
いる。
Embodiments of the present invention will be described below with reference to the drawings. (Embodiment 1) FIG. 2 shows a configuration of a programmable controller A, which includes a CPU 1, a high-speed pulse counter (hereinafter referred to as HSC) 2 and a pulse output unit 3, a ROM 4,
It comprises a RAM 5, an I / O interface 6, and the like.

【0015】図3はHSC2のブロック図を示し、外部
の単相或いは2相等の高速パルス列をカウントする専用
のカウントレジスタ21と、このカウントレジスタ21
と値が一致した場合にCPU1に対して一致割込信号を
発生する機能を有する目標値レジスタ22とで、HSC
2が構成されている。尚、目標値レジスタ22は、ソフ
トウエアによりデータの読出、書き換えが可能である。
また、目標値レジスタ22に取り入れられる目標値デー
タは、パルスモータの回転角度(回転位置)である。
FIG. 3 is a block diagram of the HSC 2, wherein a dedicated count register 21 for counting a high-speed pulse train of an external single-phase or two-phase or the like, and the count register 21
And a target value register 22 having a function of generating a match interrupt signal to the CPU 1 when the values match.
2 are configured. The target value register 22 can read and rewrite data by software.
The target value data taken into the target value register 22 is the rotation angle (rotational position) of the pulse motor.

【0016】図4はパルス出力部3のブロック図を示
し、内部のクロックをカウントするカウントレジスタ3
1と、カウントレジスタ31と値が一致すると一致信号
を出力する比較レジスタ32と、比較レジスタ32から
の一致信号によって一致毎に出力を反転する出力制御回
路33とで、パルス出力部3が構成されている。比較レ
ジスタ32には周波数データが取り入れられ、周波数デ
ータと内部クロック数とで実際の周波数となるように比
較レジスタ32が設けられており、一致信号が出力制御
回路33にて内部クロックを分周した形の出力パルスが
出力されるようになっている。
FIG. 4 shows a block diagram of the pulse output unit 3, and a count register 3 for counting an internal clock.
The pulse output unit 3 is composed of 1 and a comparison register 32 that outputs a coincidence signal when the value coincides with the count register 31 and an output control circuit 33 that inverts the output for each coincidence by the coincidence signal from the comparison register 32. ing. Frequency data is taken into the comparison register 32, and the comparison register 32 is provided so that the actual frequency is obtained by the frequency data and the number of internal clocks. An output pulse of a shape is output.

【0017】図5(a)は使用するテーブルの構成を示
し、予めユーザープログラムにて、演算メモリエリアに
設定された周波数データとHSC2の目標値データを1
セットとし、それをnセット分連続してテーブルに設定
している。図5(b)は命令の構成を示し、Fは応用命
令の記号を示し、mは応用命令のナンバーを示し、Sで
指定されたメモリエリアをテーブル先頭として制御を行
う。
FIG. 5A shows the configuration of a table to be used. The frequency data and the target value data of the HSC 2 set in the operation memory area in advance by the user program are stored in one table.
A set is set in the table continuously for n sets. FIG. 5B shows the structure of the instruction, F indicates the symbol of the applied instruction, m indicates the number of the applied instruction, and control is performed with the memory area designated by S as the head of the table.

【0018】図1は全体のブロック図を示し、プログラ
マブルコントローラAのパルス出力部3によってパルス
モータドライバ7を介してパルスモータ8を駆動制御す
るものである。また、パルス出力部3からのパルスは、
HSC2のカウントレジスタ21に入力されてカウント
され、目標値レジスタ22と比較される。次に、動作を
説明する。図6は命令動作時のフローチャートを、図7
は割り込み処理時のフローチャートを夫々示している。
また、図8は実際の動作時のHSC2の目標値と、パル
ス出力周波数の関係を示している。
FIG. 1 is an overall block diagram in which a pulse output unit 3 of a programmable controller A controls the driving of a pulse motor 8 via a pulse motor driver 7. The pulse from the pulse output unit 3 is
The data is input to the count register 21 of the HSC 2, counted, and compared with the target value register 22. Next, the operation will be described. FIG. 6 is a flowchart at the time of instruction operation, and FIG.
Respectively shows a flowchart at the time of interrupt processing.
FIG. 8 shows the relationship between the target value of HSC2 and the pulse output frequency during actual operation.

【0019】まず、図6に示すように、実行条件aが1
となって立ち上がると、CPU1によりテーブルSの初
期周波数データが取り込まれ、パルス出力部3の比較レ
ジスタ32に周波数データがセットされる。また、テー
ブルSの目標値1が取り込まれ、HSC2の目標値レジ
スタ22に目標値1のデータがセットされる。そして、
パルス出力部3から信号がパルスモータドライバ7に入
力され、このパルスモータドライバ7にてパルスモータ
8を駆動する。同時にパルス出力部3からのパルスは外
部或いは内部結線にてHSC2のカウントレジスタ21
にも入力されているので、カウントレジスタ21のカウ
ント値が目標値レジスタ22と一致した時に、HSC2
からCPU1に一致割込信号を入力する。
First, as shown in FIG.
Then, the CPU 1 captures the initial frequency data of the table S, and sets the frequency data in the comparison register 32 of the pulse output unit 3. Further, the target value 1 of the table S is fetched, and the data of the target value 1 is set in the target value register 22 of the HSC2. And
A signal is input from the pulse output unit 3 to the pulse motor driver 7, and the pulse motor driver 7 drives the pulse motor 8. At the same time, the pulse from the pulse output unit 3 is externally or internally connected to the count register 21 of the HSC 2.
When the count value of the count register 21 matches the target value register 22, the HSC2
Input a match interrupt signal to the CPU 1.

【0020】一致割込信号が発生した場合にはCPU1
はテーブルの次の周波数データと目標値データを取込
む。図7は目標値Kでの割り込み処理を示している。す
なわち、目標値Kにおいて一致割込信号が発生すると、
CPU1は次の周波数データK+1を取り込み、周波数
データが0であればパルスモータ8は停止するが、0で
なければ、周波数データK+1をパルス出力部3の比較
レジスタ32にセットする。
When a match interrupt signal is generated, the CPU 1
Captures the next frequency data and target value data in the table. FIG. 7 shows an interrupt process at the target value K. That is, when a coincidence interrupt signal is generated at the target value K,
The CPU 1 fetches the next frequency data K + 1, and if the frequency data is 0, the pulse motor 8 stops. If not, the frequency data K + 1 is set in the comparison register 32 of the pulse output unit 3.

【0021】また、CPU1は次の目標値K+1を取り
込み、HSC2のカウントレジスタ21にセットする。
図8に示すように、この制御を連続して停止目標値まで
行う。尚、パルスモータ8の正転、逆転の信号は正逆信
号のオン、オフにより切り替えることで行っている。
The CPU 1 fetches the next target value K + 1 and sets it in the count register 21 of the HSC 2.
As shown in FIG. 8, this control is continuously performed up to the stop target value. The forward and reverse signals of the pulse motor 8 are switched by turning on and off the forward and reverse signals.

【0022】(実施例2)図9は実施例2を示し、先の
実施例では、パルス出力部3が1つであったが、これを
2つにして、命令処理用のテーブルの先頭にパルス出力
部3aの制御か、パルス出力部3bの制御かのフラグを
設けて、命令動作時に、パルス出力部を区別して制御す
るようにしたものである。
(Embodiment 2) FIG. 9 shows an embodiment 2. In the previous embodiment, one pulse output unit 3 was provided. A flag for controlling the pulse output unit 3a or controlling the pulse output unit 3b is provided so that the pulse output unit is controlled separately during the command operation.

【0023】従って、先の実施例では、パルスモータの
正転、逆転の信号は、正逆信号のオン、オフにより切り
替えるようにしていたが、本実施例では、パルス出力部
3を2つ設け、それらを命令により区別して出力するこ
とを可能とし、正転、逆転パルスの2パルス入力型のパ
ルスモータドライバ7も制御することが可能となるもの
である。
Therefore, in the above embodiment, the forward and reverse rotation signals of the pulse motor are switched by turning on and off the forward and reverse signals. However, in this embodiment, two pulse output units 3 are provided. , And can be output by discriminating them according to an instruction, and the pulse motor driver 7 of a two-pulse input type of forward rotation and reverse rotation pulses can also be controlled.

【0024】(実施例3)尚、プログラマブルコントロ
ーラA全体の構成は図2に示す構成と同じであり、ま
た、高速パルスカウンタ2も図3に示す構成と同じであ
る。HSC2における目標値レジスタ22は、実施例1
と同様に、ソフトウエアによりデータの読出、書き換え
が可能である。また、目標値レジスタ22に取り入れら
れる目標値データは、DCモータの回転角度(回転位
置)である。
(Embodiment 3) The overall configuration of the programmable controller A is the same as the configuration shown in FIG. 2, and the high-speed pulse counter 2 is also the same as the configuration shown in FIG. The target value register 22 in the HSC 2 is the same as that in the first embodiment.
Similarly to the above, data can be read and rewritten by software. The target value data taken into the target value register 22 is the rotation angle (rotational position) of the DC motor.

【0025】図11はパルス出力部3のブロック図を示
し、内部のクロックをカウントするカウントレジスタ3
1と、カウントレジスタ31と値が一致すると一致信号
を出力する2つの比較レジスタ32A,32Bと、それ
ら2つの一致信号によって一致毎に出力を反転する出力
制御回路33とで、パルス出力部3が構成されている。
FIG. 11 shows a block diagram of the pulse output unit 3, and a count register 3 for counting an internal clock.
1 and two comparison registers 32A and 32B that output a coincidence signal when the value coincides with the count register 31, and an output control circuit 33 that inverts the output for each coincidence by the two coincidence signals. It is configured.

【0026】比較レジスタ32Aには周波数データが取
り入れられ、周波数データと内部クロック数とで実際の
周波数となるように比較レジスタ32Aが設けられてお
り、一致信号がカウントレジスタ31へリセット信号と
して入力されるようになっている。また、比較レジスタ
32Bには比較レジスタ32Aより小さな値が設定さ
れ、それら2つの一致信号が出力制御回路33にて内部
クロックを分周し、デューテイ制御した形の出力パルス
が出力されるようになっている。
The comparison register 32A receives frequency data, and is provided with a comparison register 32A so that the actual frequency is obtained by the frequency data and the number of internal clocks. A coincidence signal is input to the count register 31 as a reset signal. It has become so. The comparison register 32B is set to a value smaller than that of the comparison register 32A, and the two coincidence signals divide the frequency of the internal clock by the output control circuit 33 to output an output pulse in a duty-controlled form. ing.

【0027】ここで、パルス出力部3の動作を示す図1
2に示すように、比較レジスタ32Bの設定値を、比較
レジスタ32Aの丁度半分の値に設定すると、デューテ
イ比が50%のパルス出力が可能となる。そして、比較
レジスタ32Aの設定値を変えることにより、パルス出
力の周波数を変更することが可能である。また、比較レ
ジスタ32Bの設定値を変えることにより、パルス出力
のデューテイ比を変更することが可能である。
FIG. 1 shows the operation of the pulse output unit 3.
As shown in FIG. 2, when the set value of the comparison register 32B is set to exactly half the value of the comparison register 32A, a pulse output with a duty ratio of 50% becomes possible. The frequency of the pulse output can be changed by changing the set value of the comparison register 32A. The duty ratio of the pulse output can be changed by changing the set value of the comparison register 32B.

【0028】図13(a)は使用するテーブルの構成を
示し、予めユーザープログラムにて、演算メモリエリア
に設定されたデューテイデータとHSC2の目標値デー
タを1セットとし、それをnセット分連続してテーブル
に設定している。図13(b)は命令の構成を示し、F
は応用命令の記号を示し、mは応用命令のナンバーを示
し、Sで指定されたメモリエリアをテーブル先頭として
制御を行う。
FIG. 13A shows the configuration of a table to be used. The duty data set in the operation memory area and the target value data of the HSC2 are set as one set by the user program in advance, and the set is continuously set for n sets. And then set it on the table. FIG. 13B shows the structure of the instruction.
Indicates the symbol of the application instruction, m indicates the number of the application instruction, and control is performed with the memory area designated by S as the head of the table.

【0029】図10は全体のブロック図を示し、プログ
ラマブルコントローラAのパルス出力部3によってDC
モータ9を駆動制御するものである。また、DCモータ
9の回転量はエンコーダ10を介してHSC2のカウン
トレジスタ21に入力されてカウントされ、目標値レジ
スタ22と比較される。次に、動作を説明する。図14
は命令動作時のフローチャートを、図15は割り込み処
理時のフローチャートを夫々示している。また、実際の
動作時のHSC2の目標値と、パルス出力周波数の関係
は実施例1の図8と同じである。
FIG. 10 is an overall block diagram in which a DC output is provided by the pulse output unit 3 of the programmable controller A.
The drive of the motor 9 is controlled. The amount of rotation of the DC motor 9 is input to the count register 21 of the HSC 2 via the encoder 10, counted, and compared with the target value register 22. Next, the operation will be described. FIG.
Shows a flowchart at the time of instruction operation, and FIG. 15 shows a flowchart at the time of interrupt processing. The relationship between the target value of HSC2 and the pulse output frequency during the actual operation is the same as that of FIG. 8 of the first embodiment.

【0030】まず、図14に示すように、実行条件aが
1となって立ち上がると、CPU1によりテーブルSの
周波数データが取り込まれ、パルス出力部3の比較レジ
スタ32Aに周波数データがセットされ、またデューテ
イ指定データが取り込まれ、パルス出力部3の比較レジ
スタ32Bに設定される。また、テーブルSの目標値1
が取り込まれ、HSC2の目標値レジスタ22に目標値
1のデータがセットされる。
First, as shown in FIG. 14, when the execution condition a becomes 1 and rises, the frequency data of the table S is fetched by the CPU 1, the frequency data is set in the comparison register 32A of the pulse output unit 3, and The duty designation data is fetched and set in the comparison register 32B of the pulse output unit 3. Also, the target value 1 of the table S
And the data of the target value 1 is set in the target value register 22 of the HSC2.

【0031】そして、パルス出力部3から信号がDCモ
ータ9に入力され、このDCモータ9の回転量はエンコ
ーダ10を介してHSC2のカウントレジスタ21に入
力されているので、カウントレジスタ21のカウント値
が目標値レジスタ22と一致した時に、HSC2からC
PU1に一致割込信号を入力する。一致割込信号が発生
した場合にはCPU1はテーブルの次のデューテイデー
タと目標値データを取込む。図15は目標値Kでの割り
込み処理を示している。すなわち、目標値Kにおいて一
致割込信号が発生すると、CPU1は次のデューテイデ
ータK+1を取り込み、デューテイデータが0であれば
パルス出力を停止するが、0でなければ、デューテイデ
ータK+1に基づいた数値をパルス出力部3の比較レジ
スタ32Bにセットする。
Then, a signal is input from the pulse output unit 3 to the DC motor 9, and the amount of rotation of the DC motor 9 is input to the count register 21 of the HSC 2 via the encoder 10. When HSC2 matches the target value register 22,
A match interrupt signal is input to PU1. When a coincidence interrupt signal is generated, the CPU 1 fetches the next duty data and target value data in the table. FIG. 15 shows an interrupt process at the target value K. That is, when the coincidence interrupt signal is generated at the target value K, the CPU 1 fetches the next duty data K + 1, and stops the pulse output if the duty data is 0, but stops the pulse output if the duty data is not 0. The numerical value based on this is set in the comparison register 32B of the pulse output unit 3.

【0032】また、CPU1は次の目標値K+1を取り
込み、HSC2のカウントレジスタ21にセットする。
この制御を連続して停止目標値(図8)まで行う。この
ように、予めユーザープログラムにて演算メモリエリア
に設定されたデューテイデータと目標値データを1セッ
トとし、それをnセット分連続して設定されたテーブル
を参照しながらパルス出力部3を制御し、パルス出力部
3から出力されたパルスでDCモータ9を駆動して、そ
れに接続されたエンコーダ10からのパルスをHSC2
に入力させて、目標値に達すると、HSC2からの一致
割込信号にて割り込み処理を起動し、その中で次のデー
タを参照して、出力パルスのデューテイを切り替えてい
くことにより、DCモータ9への出力パルスのデューテ
イをコントロールし、DCモータ9を駆動制御している
ものであり、そのため、HSC2とパルス出力部3とを
同時に制御しながら、出力パルスのデューテイとそのパ
ルス数を制御することが可能となり、別にアナログ出力
用のハードウエアを必要とせず、安価にDCモータ9の
ドライブが行えるものである。
The CPU 1 fetches the next target value K + 1 and sets it in the count register 21 of the HSC 2.
This control is continuously performed up to the target stop value (FIG. 8). As described above, the duty data and the target value data set in the operation memory area in advance by the user program are set as one set, and the pulse output unit 3 is controlled by referring to the set table continuously for n sets. Then, the DC motor 9 is driven by the pulse output from the pulse output unit 3 and the pulse from the encoder 10 connected thereto is transmitted to the HSC2.
When the target value is reached, the interrupt processing is started by the coincidence interrupt signal from the HSC2, and the duty of the output pulse is switched by referring to the next data in the interrupt processing. 9 controls the duty of the output pulse to the DC motor 9 and controls the drive of the DC motor 9. Therefore, the duty of the output pulse and the number of pulses are controlled while simultaneously controlling the HSC 2 and the pulse output unit 3. This makes it possible to drive the DC motor 9 at low cost without requiring separate analog output hardware.

【0033】また、CPU1の命令と割り込み処理によ
って、パルス出力デューテイをユーザーの任意のパルス
数の点で切り替えていくことが可能となるので、どのよ
うな、速度制御、位置制御にも対応可能となるものであ
る。また、本実施例では、実施例1と同じ内容も実現す
ることが可能となる。つまり、常にデューテイ比が50
%となるように設定を行って、パルスの周波数コントロ
ールのみを行い、パルスモータを駆動することで可能と
なる。
Further, the pulse output duty can be switched at an arbitrary number of pulses of the user by the instruction of the CPU 1 and the interrupt processing, so that any speed control and position control can be performed. It becomes. Further, in the present embodiment, the same contents as those in the first embodiment can be realized. In other words, the duty ratio is always 50
%, And only pulse frequency control is performed to drive the pulse motor.

【0034】(実施例4)尚、プログラマブルコントロ
ーラA全体の構成は図1及び図2に示す構成と同じであ
り、また、高速パルスカウンタ2も図3に示す構成と同
じである。従って、HSC2の機能は実施例1と同様で
ある。更に、図16に示すパルス出力部3の構成は実施
例3の図11の場合と同様であるが、比較レジスタ32
Aと32Bとは夫々周波数制御用である。すなわち、図
16に示すように、内部のクロックをカウントするカウ
ントレジスタ31と、カウントレジスタ31と値が一致
すると一致信号を出力する比較レジスタ32A,32B
とそれら2つの一致信号によって一致毎に出力を反転す
る出力制御回路33とで、パルス出力部3が構成されて
いる。
(Embodiment 4) The configuration of the entire programmable controller A is the same as the configuration shown in FIGS. 1 and 2, and the high-speed pulse counter 2 is also the same as the configuration shown in FIG. Therefore, the function of HSC2 is the same as that of the first embodiment. Further, the configuration of the pulse output unit 3 shown in FIG. 16 is the same as that of the third embodiment shown in FIG.
A and 32B are for frequency control, respectively. That is, as shown in FIG. 16, a count register 31 that counts an internal clock and comparison registers 32A and 32B that output a match signal when the value matches the count register 31.
The pulse output unit 3 includes an output control circuit 33 that inverts the output for each match according to the two match signals.

【0035】比較レジスタ32A,32Bには周波数デ
ータが取り入れられ、比較レジスタ32Bには、比較レ
ジスタ32Aの内容の1/2の値が設定される。周波数
データと内部クロック数とで実際の周波数となるように
比較レジスタ32A,32Bが設けられており、一致信
号が出力制御回路33にて内部クロックを分周した形の
出力パルスが出力されるようになっている。
The comparison registers 32A and 32B receive frequency data, and the comparison register 32B is set to a value that is 1 / of the content of the comparison register 32A. Comparison registers 32A and 32B are provided so that the actual frequency is obtained by the frequency data and the number of internal clocks, and the output control circuit 33 outputs an output pulse in which a match signal is obtained by dividing the internal clock. It has become.

【0036】また、使用するテーブルの構成及び命令の
構成は図5の場合と同様であるので説明は省略する。次
に、動作を説明する。図17は命令動作時のフローチャ
ートを、図18は割り込み処理時のフローチャートを夫
々示している。また、実際の動作時のHSC2の目標値
と、パルス出力周波数の関係は実施例1の図8と同じで
ある。
The structure of the table used and the structure of the instruction are the same as those in FIG. Next, the operation will be described. FIG. 17 is a flowchart at the time of instruction operation, and FIG. 18 is a flowchart at the time of interrupt processing. The relationship between the target value of HSC2 and the pulse output frequency during the actual operation is the same as that of FIG. 8 of the first embodiment.

【0037】まず、図17に示すように、実行条件aが
1となって立ち上がると、CPU1によりテーブルSの
初期周波数データが取り込まれ、パルス出力部3の比較
レジスタ32Aに周波数データがセットされ、比較レジ
スタ32Bに比較レジスタ32Aの設定値の1/2の値
がセットされる。また、テーブルSの目標値1が取り込
まれ、HSC2の目標値レジスタ22に目標値1のデー
タがセットされる。
First, as shown in FIG. 17, when the execution condition a becomes 1 and rises, the initial frequency data of the table S is fetched by the CPU 1 and the frequency data is set in the comparison register 32A of the pulse output unit 3. A value that is 1 / of the set value of the comparison register 32A is set in the comparison register 32B. Further, the target value 1 of the table S is fetched, and the data of the target value 1 is set in the target value register 22 of the HSC2.

【0038】そして、パルス出力部3から信号がパルス
モータドライバ7に入力され、このパルスモータドライ
バ7にてパルスモータ8を駆動する。同時にパルス出力
部3からのパルスは外部或いは内部結線にてHSC2の
カウントレジスタ21にも入力されているので、カウン
トレジスタ21のカウント値が目標値レジスタ22と一
致した時に、HSC2からCPU1に一致割込信号を入
力する。
Then, a signal is input from the pulse output unit 3 to the pulse motor driver 7, and the pulse motor driver 7 drives the pulse motor 8. At the same time, since the pulse from the pulse output unit 3 is also input to the count register 21 of the HSC 2 via an external or internal connection, when the count value of the count register 21 matches the target value register 22, the coincidence division from the HSC 2 to the CPU 1 is performed. Input signal.

【0039】一致割込信号が発生した場合にはCPU1
はテーブルの次の周波数データと目標値データを取込
む。図18は目標値Kでの割り込み処理を示している。
すなわち、目標値Kにおいて一致割込信号が発生する
と、CPU1は次の周波数データK+1を取り込み、周
波数データが0であればパルスモータ8は停止するが、
0でなければ、周波数データK+1をパルス出力部3の
比較レジスタ32Aにセットし、比較レジスタ32Bに
比較レジスタ32Aの設定値の1/2の値をセットす
る。
When a coincidence interrupt signal is generated, the CPU 1
Captures the next frequency data and target value data in the table. FIG. 18 shows an interrupt process at the target value K.
That is, when a coincidence interrupt signal is generated at the target value K, the CPU 1 fetches the next frequency data K + 1, and if the frequency data is 0, the pulse motor 8 stops.
If it is not 0, the frequency data K + 1 is set in the comparison register 32A of the pulse output unit 3, and a half of the set value of the comparison register 32A is set in the comparison register 32B.

【0040】また、CPU1は次の目標値K+1を取り
込み、HSC2のカウントレジスタ21にセットする。
図8に示すように、この制御を連続して停止目標値まで
行う。尚、パルスモータ8の正転、逆転の信号は正逆信
号のオン、オフにより切り替えることで行っている。
The CPU 1 fetches the next target value K + 1 and sets it in the count register 21 of the HSC 2.
As shown in FIG. 8, this control is continuously performed up to the stop target value. The forward and reverse signals of the pulse motor 8 are switched by turning on and off the forward and reverse signals.

【0041】更に、本実施例において、パルスモータの
正転、逆転を図9に示したような構成で行うようにして
も良い。このように、本実施例において、予めユーザー
プログラムにて演算メモリエリアに設定された周波数デ
ータと目標値データを1セットとし、それをnセット分
連続して設定されたテーブルを参照しながらパルス出力
部を制御し、パルス出力部から出力されたパルスをパル
スカウンタ2に入力させて、目標値に達すると、パルス
カウンタ2からの一致割込信号にて割り込み処理を起動
し、その中で次のデータを参照して、出力パルスの周波
数を切り替えていくことにより、パルスモータドライバ
7への出力パルスの周波数をコントロールし、パルスモ
ータ8を駆動制御しているものであり、そのため、パル
スカウンタ2とパルス出力部3とを同時に制御しなが
ら、パルス出力周波数とそのパルス数を制御することが
可能となり、別にパルス出力用のハードウエアを必要と
せず、安価にパルスモータドライブが行えるものであ
る。
Further, in this embodiment, the forward rotation and the reverse rotation of the pulse motor may be performed by the structure as shown in FIG. As described above, in the present embodiment, the frequency data and the target value data set in the operation memory area in advance by the user program are set as one set, and the pulse output is performed while referring to the table continuously set for n sets. The pulse output from the pulse output unit is input to the pulse counter 2, and when the pulse reaches the target value, the interrupt processing is started by the coincidence interrupt signal from the pulse counter 2, and the next interrupt is executed. By switching the frequency of the output pulse with reference to the data, the frequency of the output pulse to the pulse motor driver 7 is controlled and the driving of the pulse motor 8 is controlled. It is possible to control the pulse output frequency and the number of pulses while simultaneously controlling the pulse output unit 3 and separately output the pulse. Without the need of hardware, in which can be performed inexpensively pulse motor drive.

【0042】また、CPU1の命令と割り込み処理によ
って、パルス出力周波数をユーザーの任意のパルス数の
点で切り替えていくことが可能となるので、どのよう
な、速度制御にも対応可能となる。また、本実施例の構
成により、実施例3と同様にデューテイ制御を行って、
DCモータの速度、位置制御も可能であり、安価で多機
能なプログラマブルコントローラを提供できるものであ
る。
Further, the pulse output frequency can be switched at an arbitrary number of pulses of the user by the instruction of the CPU 1 and the interrupt processing, so that any speed control can be handled. Further, with the configuration of the present embodiment, the duty control is performed in the same manner as in the third embodiment,
The speed and position of the DC motor can be controlled, and an inexpensive and multifunctional programmable controller can be provided.

【0043】(実施例5)図19は実施例5を示し、実
施例1のパルス出力部3に選択回路11を付加して、出
力周波数の範囲を広げるようにしたものである。すなわ
ち、内部のシステムクロックをfとした場合、f/1
6、f/32、f/64、f/128の分周出力をマル
チプレクサー12にて選択し、その出力をクロックとし
てカウントレジスタ31に入力するようにしたものであ
る。尚、本実施例では、分周出力を4種類としている
が、幾つでも良い。
(Embodiment 5) FIG. 19 shows Embodiment 5 in which a selection circuit 11 is added to the pulse output unit 3 of Embodiment 1 to extend the range of the output frequency. That is, if the internal system clock is f, f / 1
The divided outputs of 6, f / 32, f / 64, and f / 128 are selected by the multiplexer 12, and the output is input to the count register 31 as a clock. In this embodiment, there are four types of frequency division outputs, but any number may be used.

【0044】而して、ソフトウエアにより選択回路11
を選択可能にすることにより、パルス出力の周波数範囲
を広げることができ、より応用範囲を広げることができ
る。図20は実施例1の図5に対応したテーブルの構成
を示し、図5に対して、アドレス0の部分が追加した形
となっている。また、図21は命令動作時のフローチャ
ートを示し、実施例1の図6に対して、分岐の次の処理
部分が追加された形となっている。
The selection circuit 11 is controlled by software.
Can be selected, the frequency range of the pulse output can be expanded, and the application range can be further expanded. FIG. 20 shows the configuration of a table corresponding to FIG. 5 of the first embodiment, and has a form in which an address 0 is added to FIG. FIG. 21 is a flowchart at the time of an instruction operation, which is different from FIG. 6 of the first embodiment in that a processing portion next to the branch is added.

【0045】次に、本実施例における出力パルスの周波
数と比較レジスタ32との関係を図22に示す。図22
に示すように、パルス出力部3の入力クロックの周波数
が一種類だと、図22のうちの1パターンしか出力でき
ないので、使用可能な周波数帯が狭くなり、用途が限定
されてしまう。しかし、本実施例では、パルス出力部3
に入力クロックを選択可能とした選択回路11を設け、
これを命令にて選択可能としたので、使用可能な周波数
が広がり、応用範囲を広げることが可能となるものであ
る。
Next, FIG. 22 shows the relationship between the frequency of the output pulse and the comparison register 32 in this embodiment. FIG.
As shown in (1), if the frequency of the input clock of the pulse output unit 3 is one, only one pattern shown in FIG. 22 can be output, so that the usable frequency band is narrowed and the application is limited. However, in this embodiment, the pulse output unit 3
Is provided with a selection circuit 11 capable of selecting an input clock.
Since this can be selected by an instruction, usable frequencies are widened, and an application range can be widened.

【0046】[0046]

【発明の効果】本発明は上述のように、外部からのパル
ス列をカウントするカウントレジスタ、このカウントレ
ジスタと値が一致した時に一致割込信号を発生する目標
値レジスタからなるパルスカウンタと、内部クロックを
カウントするカウントレジスタ、カウントレジスタと値
が一致すると一致信号を出力する比較レジスタ、その一
致信号により出力を反転してパルスを出力してパルスモ
ータドライバへ入力する出力制御回路とからなるパルス
出力部と、予めユーザープログラムにて演算メモリエリ
アに設定されパルス出力部の比較レジスタにセットする
周波数データとパルスカウンタの目標値レジスタにセッ
トする目標値データを1セットとし、それをnセット分
連続して設定されたテーブルを参照しながらパルス出力
部を制御し、パルス出力部からパルスカウンタのカウン
トレジスタに入力されたパルス数と目標値レジスタの値
とが一致した時に発生するパルスカウンタからの一致割
込信号にて割り込み処理を行い、テーブルの次の周波数
データ,目標値データへ切り替えてセットするCPUと
で構成したものであるから、予めユーザープログラムに
て演算メモリエリアに設定された周波数データと目標値
データを1セットとし、それをnセット分連続して設定
されたテーブルを参照しながらパルス出力部を制御し、
パルス出力部から出力されたパルスをパルスカウンタに
入力させて、目標値に達すると、パルスカウンタからの
一致割込信号にて割り込み処理を起動し、その中で次の
データを参照して、出力パルスの周波数を切り替えてい
くことにより、パルスモータドライバへの出力パルスの
周波数をコントロールし、パルスモータを駆動制御して
いるものであり、そのため、パルスカウンタとパルス出
力部とを同時に制御しながら、パルス出力周波数とその
パルス数を制御することが可能となり、別にパルス出力
用のハードウエアを必要とせず、安価にパルスモータド
ライブが行えるものであり、また、CPUの命令と割り
込み処理によって、パルス出力周波数をユーザーの任意
のパルス数の点で切り替えていくことが可能となるの
で、どのような、速度制御にも対応可能となる効果を奏
するものである。
As described above, the present invention provides a pulse counter comprising a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, and an internal clock. A pulse output unit comprising: a count register for counting the count; a comparison register for outputting a match signal when the value matches the count register; The frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and the target value data set in the target value register of the pulse counter are set as one set, and are continuously set for n sets. The pulse output unit is controlled while referring to the set table, Interrupt processing is performed by a match interrupt signal from the pulse counter that is generated when the number of pulses input to the count register of the pulse counter from the output unit matches the value of the target value register. Since the CPU is configured to switch to and set to value data, the frequency data and target value data previously set in the operation memory area by the user program are set as one set, and the set is continuously set for n sets. Control the pulse output unit while referring to the table
The pulse output from the pulse output unit is input to the pulse counter, and when the pulse reaches the target value, the interrupt processing is started by the coincidence interrupt signal from the pulse counter. By switching the pulse frequency, the frequency of the output pulse to the pulse motor driver is controlled, and the pulse motor is driven and controlled.Thus, while simultaneously controlling the pulse counter and the pulse output unit, The pulse output frequency and the number of pulses can be controlled, and pulse motor drive can be performed at low cost without the need for separate pulse output hardware. Also, pulse output can be performed by CPU instructions and interrupt processing. It is possible to switch the frequency at the point of the user's arbitrary number of pulses. To the control in which exhibits the it is possible to cope effectively.

【0047】また、請求項2では、外部からのパルス列
をカウントするカウントレジスタ、このカウントレジス
タと値が一致した時に一致割込信号を発生する目標値レ
ジスタからなるパルスカウンタと、内部クロックをカウ
ントするカウントレジスタ、カウントレジスタと値が一
致すると一致信号を出力する比較レジスタ、その一致信
号により出力を反転してデューテイ比が50%に制御さ
れたパルスを出力してパルスモータドライバへ入力する
出力制御回路とからなるパルス出力部と、予めユーザー
プログラムにて演算メモリエリアに設定されパルス出力
部の比較レジスタにセットする周波数データとパルスカ
ウンタの目標値レジスタにセットする目標値データを1
セットとし、それをnセット分連続して設定されたテー
ブルを参照しながらパルス出力部を制御し、パルス出力
部からパルスカウンタのカウントレジスタに入力された
パルス数と目標値レジスタの値とが一致した時に発生す
るパルスカウンタからの一致割込信号にて割り込み処理
を行い、テーブルの次の周波数データ,目標値データへ
切り替えてセットするCPUとで構成したものであるか
ら、予めユーザープログラムにて演算メモリエリアに設
定された周波数データと目標値データを1セットとし、
それをnセット分連続して設定されたテーブルを参照し
ながらパルス出力部を制御し、パルス出力部からデュー
テイ比が50%に制御されて出力されたパルスをパルス
カウンタに入力させて、目標値に達すると、パルスカウ
ンタからの一致割込信号にて割り込み処理を起動し、そ
の中で次のデータを参照して、出力パルスの周波数を切
り替えていくことにより、パルスモータドライバへの出
力パルスモータの周波数をコントロールし、パルスモー
タを駆動制御しているものであり、そのため、パルスカ
ウンタとパルス出力部とを同時に制御しながら、パルス
出力周波数とそのパルス数を制御することが可能とな
り、別にパルス出力用のハードウエアを必要とせず、安
価にパルスモータドライブが行えるものであり、また、
CPUの命令と割り込み処理によって、パルス出力周波
数をユーザーの任意のパルス数の点で切り替えていくこ
とが可能となるので、どのような、速度制御、位置制御
にも対応可能となる効果を奏するものである。
According to a second aspect of the present invention, a pulse counter comprising a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, and an internal clock are counted. A count register, a comparison register that outputs a match signal when the value matches the count register, an output control circuit that inverts the output by the match signal, outputs a pulse with a duty ratio controlled to 50%, and inputs the pulse to a pulse motor driver And a frequency data set in a calculation memory area in advance by a user program and set in a comparison register of the pulse output unit and a target value data set in a target value register of the pulse counter.
The pulse output unit is controlled while referring to a table that is set continuously for n sets, and the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register. The interrupt processing is performed by the coincidence interrupt signal from the pulse counter that is generated at the time of the operation, and the CPU switches to the next frequency data and target value data in the table and sets them. The frequency data and target value data set in the memory area are set as one set,
The pulse output unit is controlled while referring to a table set continuously for n sets, and the pulse output from the pulse output unit with the duty ratio controlled to 50% is input to the pulse counter, and the target value is set. , The interrupt process is started by the coincidence interrupt signal from the pulse counter, and the output pulse frequency is switched to the pulse motor driver by switching the frequency of the output pulse by referring to the next data in it. Control the pulse motor and control the pulse motor, so that the pulse output frequency and the number of pulses can be controlled while simultaneously controlling the pulse counter and the pulse output unit. Pulse motor drive can be performed at low cost without the need for output hardware.
The pulse output frequency can be switched at the point of the user's arbitrary number of pulses by the CPU command and interrupt processing, so that any speed control and position control can be supported. It is.

【0048】請求項3では、外部からのパルス列をカウ
ントするカウントレジスタ、このカウントレジスタと値
が一致した時に一致割込信号を発生する目標値レジスタ
からなるパルスカウンタと、内部クロックをカウントす
るカウントレジスタ、カウントレジスタと値が一致する
と一致信号を出力する比較レジスタ、その一致信号によ
り出力を反転してデューテイ比が50%以外に制御され
たパルスを出力してDCモータドライバへ入力する出力
制御回路とからなるパルス出力部と、予めユーザープロ
グラムにて演算メモリエリアに設定されパルス出力部の
比較レジスタにセットする周波数データとパルスカウン
タの目標値レジスタにセットする目標値データを1セッ
トとし、それをnセット分連続して設定されたテーブル
を参照しながらパルス出力部を制御し、パルス出力部か
らパルスカウンタのカウントレジスタに入力されたパル
ス数と目標値レジスタの値とが一致した時に発生するパ
ルスカウンタからの一致割込信号にて割り込み処理を行
い、テーブルの次の周波数データ,目標値データへ切り
替えてセットするCPUとで構成したものであるから、
予めユーザープログラムにて演算メモリエリアに設定さ
れた周波数データと目標値データを1セットとし、それ
をnセット分連続して設定されたテーブルを参照しなが
らパルス出力部を制御し、パルス出力部からデューテイ
比が50%以外に制御されて出力されたパルスをパルス
カウンタに入力させて、目標値に達すると、パルスカウ
ンタからの一致割込信号にて割り込み処理を起動し、そ
の中で次のデータを参照して、出力パルスの周波数を切
り替えていくことにより、DCモータドライバへの出力
パルスモータの周波数をコントロールし、DCモータを
駆動制御していることにより、速度制御、位置制御が任
意に行えるものである。
According to a third aspect of the present invention, there is provided a pulse register comprising a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, and a count register for counting an internal clock. A comparison register for outputting a coincidence signal when the value coincides with the count register; an output control circuit for inverting the output by the coincidence signal to output a pulse whose duty ratio is controlled to other than 50% and inputting the pulse to the DC motor driver; And a set of the frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and the target value data set in the target value register of the pulse counter. While referring to the table set continuously for the set, The pulse output unit is controlled, and the interrupt processing is performed by a match interrupt signal from the pulse counter generated when the number of pulses input to the count register of the pulse counter from the pulse output unit matches the value of the target value register. It is composed of a CPU that switches and sets the next frequency data and target value data in the table.
A set of frequency data and target value data set in the operation memory area in advance by a user program is set, and the pulse output unit is controlled while referring to a table that is continuously set for n sets. When the duty ratio is controlled to a value other than 50%, the output pulse is input to the pulse counter. When the pulse reaches the target value, the interrupt processing is started by the coincidence interrupt signal from the pulse counter, and the next data is output. , By controlling the frequency of the output pulse motor to the DC motor driver by switching the frequency of the output pulse, and by controlling the drive of the DC motor, speed control and position control can be arbitrarily performed. Things.

【0049】更に、請求項4では、外部からのパルス列
をカウントするカウントレジスタ、このカウントレジス
タと値が一致した時に一致割込信号を発生する目標値レ
ジスタからなるパルスカウンタと、内部クロックをカウ
ントするカウントレジスタ、カウントレジスタと値が一
致すると一致信号を出力する2つの比較レジスタ、それ
ら2つの比較レジスタによる一致信号により出力を反転
してパルスを出力してパルスモータドライバへ入力する
出力制御回路とからなるパルス出力部と、予めユーザー
プログラムにて演算メモリエリアに設定されパルス出力
部の比較レジスタにセットする周波数データとパルスカ
ウンタの目標値レジスタにセットする目標値データを1
セットとし、それをnセット分連続して設定されたテー
ブルを参照しながらパルス出力部を制御し、パルス出力
部からパルスカウンタのカウントレジスタに入力された
パルス数と目標値レジスタの値とが一致した時に発生す
るパルスカウンタからの一致割込信号にて割り込み処理
を行い、テーブルの次の周波数データ,目標値データへ
切り替えてセットするCPUとで構成したものであるか
ら、予めユーザープログラムにて演算メモリエリアに設
定された周波数データと目標値データを1セットとし、
それをnセット分連続して設定されたテーブルを参照し
ながらパルス出力部を制御し、パルス出力部から出力さ
れたパルスをパルスカウンタに入力させて、目標値に達
すると、パルスカウンタからの一致割込信号にて割り込
み処理を起動し、その中で次のデータを参照して、出力
パルスの周波数を切り替えていくことにより、パルスモ
ータドライバへの出力パルスモータの周波数をコントロ
ールし、パルスモータを駆動制御していることにより、
速度制御、位置制御が任意に行えるものである。
Further, a pulse counter comprising a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, and an internal clock are counted. A count register, two comparison registers for outputting a coincidence signal when the value matches the count register, and an output control circuit for inverting the output according to the coincidence signal from the two comparison registers, outputting a pulse, and inputting the pulse to the pulse motor driver. Pulse output unit, frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and target value data set in the target value register of the pulse counter are set to 1
The pulse output unit is controlled while referring to a table that is set continuously for n sets, and the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register. The interrupt processing is performed by the coincidence interrupt signal from the pulse counter that is generated at the time of the operation, and the CPU switches to the next frequency data and target value data in the table and sets them. The frequency data and target value data set in the memory area are set as one set,
The pulse output unit is controlled while referring to a table set for n sets continuously, and the pulse output from the pulse output unit is input to the pulse counter. The interrupt process is started by the interrupt signal, and the frequency of the output pulse is switched to the pulse motor driver by switching the frequency of the output pulse by referring to the next data in the interrupt process. By controlling the drive,
Speed control and position control can be arbitrarily performed.

【0050】また、請求項5では、カウントレジスタに
入力される内部クロックを複数種類備え、任意の内部ク
ロックをマルチプレクサーを設けているものであるか
ら、内部クロックの種類を複数設けて、マルチプレクサ
ーによるソフトウエアにより選択可能として、パルス出
力の周波数範囲を広げることにより、より応用範囲を広
げることが可能である。
According to a fifth aspect of the present invention, since a plurality of types of internal clocks input to the count register are provided and a multiplexer is provided for an arbitrary internal clock, a plurality of types of internal clocks are provided. The range of application can be further expanded by expanding the frequency range of the pulse output as selectable by the software according to (1).

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

【図1】本発明の実施例の全体のブロック図である。FIG. 1 is an overall block diagram of an embodiment of the present invention.

【図2】プログラマブルコントローラのブロック図であ
る。
FIG. 2 is a block diagram of a programmable controller.

【図3】パルスカウンタのブロック図である。FIG. 3 is a block diagram of a pulse counter.

【図4】パルス出力部のブロック図である。FIG. 4 is a block diagram of a pulse output unit.

【図5】同上の説明図である。FIG. 5 is an explanatory diagram of the above.

【図6】命令動作時のフローチャートを示す図である。FIG. 6 is a diagram showing a flowchart at the time of an instruction operation.

【図7】割り込み処理時のフローチャートを示す図であ
る。
FIG. 7 is a diagram showing a flowchart at the time of interrupt processing.

【図8】実際の動作時のHSC目標値とパルス出力周波
数の関係を示す図である。
FIG. 8 is a diagram illustrating a relationship between an HSC target value and a pulse output frequency during an actual operation.

【図9】実施例2のブロック図である。FIG. 9 is a block diagram of a second embodiment.

【図10】実施例3の全体のブロック図である。FIG. 10 is an overall block diagram of a third embodiment.

【図11】パルス出力部のブロック図である。FIG. 11 is a block diagram of a pulse output unit.

【図12】パルス出力部の動作波形図である。FIG. 12 is an operation waveform diagram of the pulse output unit.

【図13】同上の説明図である。FIG. 13 is an explanatory diagram of the above.

【図14】命令動作時のフローチャートを示す図であ
る。
FIG. 14 is a diagram showing a flowchart at the time of an instruction operation.

【図15】割り込み処理時のフローチャートを示す図で
ある。
FIG. 15 is a diagram showing a flowchart at the time of interrupt processing.

【図16】実施例4のパルス出力部のブロック図であ
る。
FIG. 16 is a block diagram of a pulse output unit according to a fourth embodiment.

【図17】命令動作時のフローチャートを示す図であ
る。
FIG. 17 is a diagram showing a flowchart at the time of an instruction operation.

【図18】割り込み処理時のフローチャートを示す図で
ある。
FIG. 18 is a diagram showing a flowchart at the time of interrupt processing.

【図19】実施例5のパルス出力部のブロック図であ
る。
FIG. 19 is a block diagram of a pulse output unit according to the fifth embodiment.

【図20】使用するテーブルの構成図である。FIG. 20 is a configuration diagram of a table used.

【図21】命令動作時のフローチャートを示す図であ
る。
FIG. 21 is a diagram showing a flowchart at the time of an instruction operation.

【図22】出力パルスの周波数と比較レジスタの関係を
示す図である。
FIG. 22 is a diagram illustrating a relationship between the frequency of an output pulse and a comparison register.

【符号の説明】[Explanation of symbols]

1 CPU 2 高速パルスカウンタ(HSC) 3 パルス出力部 7 パルスモータドライバ 8 パルスモータ 21 カウントレジスタ 22 目標値レジスタ 31 カウントレジスタ 32 比較レジスタ 33 出力制御回路 1 CPU 2 High-speed pulse counter (HSC) 3 Pulse output unit 7 Pulse motor driver 8 Pulse motor 21 Count register 22 Target value register 31 Count register 32 Comparison register 33 Output control circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05D 3/12 305 H02P 8/14 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G05D 3/12 305 H02P 8/14

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部からのパルス列をカウントするカウ
ントレジスタ、このカウントレジスタと値が一致した時
に一致割込信号を発生する目標値レジスタからなるパル
スカウンタと、内部クロックをカウントするカウントレ
ジスタ、カウントレジスタと値が一致すると一致信号を
出力する比較レジスタ、その一致信号により出力を反転
してパルスを出力してパルスモータドライバへ入力する
出力制御回路とからなるパルス出力部と、予めユーザー
プログラムにて演算メモリエリアに設定されパルス出力
部の比較レジスタにセットする周波数データとパルスカ
ウンタの目標値レジスタにセットする目標値データを1
セットとし、それをnセット分連続して設定されたテー
ブルを参照しながらパルス出力部を制御し、パルス出力
部からパルスカウンタのカウントレジスタに入力された
パルス数と目標値レジスタの値とが一致した時に発生す
るパルスカウンタからの一致割込信号にて割り込み処理
を行い、テーブルの次の周波数データ,目標値データへ
切り替えてセットするCPUとで構成したことを特徴と
するプログラマブルコントローラ。
1. A pulse counter comprising a count register for counting an external pulse train, a target value register for generating a coincidence interrupt signal when a value of the count register coincides with the count register, a count register for counting an internal clock, and a count register A pulse output unit consisting of a comparison register that outputs a coincidence signal when the value matches the value, an output control circuit that inverts the output according to the coincidence signal, outputs a pulse, and inputs the pulse to the pulse motor driver. The frequency data set in the memory area and set in the comparison register of the pulse output unit and the target value data set in the target value register of the pulse counter are 1
The pulse output unit is controlled while referring to a table that is set continuously for n sets, and the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register. A programmable controller comprising: a CPU that performs interrupt processing with a coincidence interrupt signal from a pulse counter that is generated when switching to the next frequency data and target value data in a table and sets the CPU.
【請求項2】 外部からのパルス列をカウントするカウ
ントレジスタ、このカウントレジスタと値が一致した時
に一致割込信号を発生する目標値レジスタからなるパル
スカウンタと、内部クロックをカウントするカウントレ
ジスタ、カウントレジスタと値が一致すると一致信号を
出力する比較レジスタ、その一致信号により出力を反転
してデューテイ比が50%に制御されたパルスを出力し
てパルスモータドライバへ入力する出力制御回路とから
なるパルス出力部と、予めユーザープログラムにて演算
メモリエリアに設定されパルス出力部の比較レジスタに
セットする周波数データとパルスカウンタの目標値レジ
スタにセットする目標値データを1セットとし、それを
nセット分連続して設定されたテーブルを参照しながら
パルス出力部を制御し、パルス出力部からパルスカウン
タのカウントレジスタに入力されたパルス数と目標値レ
ジスタの値とが一致した時に発生するパルスカウンタか
らの一致割込信号にて割り込み処理を行い、テーブルの
次の周波数データ,目標値データへ切り替えてセットす
るCPUとで構成したことを特徴とするプログラマブル
コントローラ。
2. A pulse counter comprising a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, a count register for counting an internal clock, and a count register A pulse output comprising a comparison register for outputting a coincidence signal when the value and the output signal coincide with each other, and an output control circuit for inverting the output by the coincidence signal to output a pulse whose duty ratio is controlled to 50% and inputting the pulse to a pulse motor driver. And the frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and the target value data set in the target value register of the pulse counter are set as one set. Controls the pulse output unit while referring to the table set When the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register, interrupt processing is performed with a match interrupt signal from the pulse counter that is generated. A programmable controller, comprising: a CPU that switches and sets data and target value data.
【請求項3】 外部からのパルス列をカウントするカウ
ントレジスタ、このカウントレジスタと値が一致した時
に一致割込信号を発生する目標値レジスタからなるパル
スカウンタと、内部クロックをカウントするカウントレ
ジスタ、カウントレジスタと値が一致すると一致信号を
出力する比較レジスタ、その一致信号により出力を反転
してデューテイ比が50%以外に制御されたパルスを出
力してDCモータドライバへ入力する出力制御回路とか
らなるパルス出力部と、予めユーザープログラムにて演
算メモリエリアに設定されパルス出力部の比較レジスタ
にセットする周波数データとパルスカウンタの目標値レ
ジスタにセットする目標値データを1セットとし、それ
をnセット分連続して設定されたテーブルを参照しなが
らパルス出力部を制御し、パルス出力部からパルスカウ
ンタのカウントレジスタに入力されたパルス数と目標値
レジスタの値とが一致した時に発生するパルスカウンタ
からの一致割込信号にて割り込み処理を行い、テーブル
の次の周波数データ,目標値データへ切り替えてセット
するCPUとで構成したことを特徴とするプログラマブ
ルコントローラ。
3. A pulse counter comprising a count register for counting an external pulse train, a target value register for generating a coincidence interrupt signal when a value of the count register coincides with the count register, a count register for counting an internal clock, and a count register. A comparison register that outputs a coincidence signal when the values match, and an output control circuit that inverts the output according to the coincidence signal, outputs a pulse whose duty ratio is controlled to a value other than 50%, and inputs the pulse to a DC motor driver. The output unit and the frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and the target value data set in the target value register of the pulse counter are set as one set. The pulse output section is controlled while referring to the table set When the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register, interrupt processing is performed with a match interrupt signal from the pulse counter that is generated. A programmable controller, comprising: a CPU that switches and sets frequency data and target value data.
【請求項4】 外部からのパルス列をカウントするカウ
ントレジスタ、このカウントレジスタと値が一致した時
に一致割込信号を発生する目標値レジスタからなるパル
スカウンタと、内部クロックをカウントするカウントレ
ジスタ、カウントレジスタと値が一致すると一致信号を
出力する2つの比較レジスタ、それら2つの比較レジス
タによる一致信号により出力を反転してパルスを出力し
てパルスモータドライバへ入力する出力制御回路とから
なるパルス出力部と、予めユーザープログラムにて演算
メモリエリアに設定されパルス出力部の比較レジスタに
セットする周波数データとパルスカウンタの目標値レジ
スタにセットする目標値データを1セットとし、それを
nセット分連続して設定されたテーブルを参照しながら
パルス出力部を制御し、パルス出力部からパルスカウン
タのカウントレジスタに入力されたパルス数と目標値レ
ジスタの値とが一致した時に発生するパルスカウンタか
らの一致割込信号にて割り込み処理を行い、テーブルの
次の周波数データ,目標値データへ切り替えてセットす
るCPUとで構成したことを特徴とするプログラマブル
コントローラ。
4. A pulse counter comprising a count register for counting a pulse train from the outside, a target value register for generating a coincidence interrupt signal when a value coincides with the count register, a count register for counting an internal clock, and a count register A pulse output unit comprising: two comparison registers for outputting a coincidence signal when the values coincide with each other; an output control circuit for inverting the output by a coincidence signal from the two comparison registers to output a pulse and inputting the pulse to a pulse motor driver The frequency data set in the operation memory area in advance by the user program and set in the comparison register of the pulse output unit and the target value data set in the target value register of the pulse counter are set as one set, and are continuously set for n sets. The pulse output unit while referring to the table When the number of pulses input from the pulse output unit to the count register of the pulse counter matches the value of the target value register, interrupt processing is performed with a match interrupt signal from the pulse counter that is generated. A programmable controller, comprising: a CPU that switches and sets data and target value data.
【請求項5】 カウントレジスタに入力される内部クロ
ックを複数種類備え、任意の内部クロックを選択するマ
ルチプレクサーを設けたことを特徴とする請求項1記載
のプログラマブルコントローラ。
5. The programmable controller according to claim 1, wherein a plurality of types of internal clocks input to the count register are provided, and a multiplexer for selecting an arbitrary internal clock is provided.
JP17288791A 1990-12-25 1991-07-15 Programmable controller Expired - Lifetime JP3289921B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17288791A JP3289921B2 (en) 1990-12-25 1991-07-15 Programmable controller

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP40550790 1990-12-25
JP2-405507 1990-12-25
JP17288791A JP3289921B2 (en) 1990-12-25 1991-07-15 Programmable controller

Publications (2)

Publication Number Publication Date
JPH0561551A JPH0561551A (en) 1993-03-12
JP3289921B2 true JP3289921B2 (en) 2002-06-10

Family

ID=26495078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17288791A Expired - Lifetime JP3289921B2 (en) 1990-12-25 1991-07-15 Programmable controller

Country Status (1)

Country Link
JP (1) JP3289921B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103872963A (en) * 2012-12-18 2014-06-18 苏州工业园区新宏博通讯科技有限公司 Position control method for servo motor
JP5679077B2 (en) * 2014-01-06 2015-03-04 株式会社リコー Motor control device, motor control system, image forming apparatus
JP2017062530A (en) * 2015-09-24 2017-03-30 株式会社エフ・アイ・ティ Programmable logic controller and program sharing system

Also Published As

Publication number Publication date
JPH0561551A (en) 1993-03-12

Similar Documents

Publication Publication Date Title
US5574351A (en) Method and apparatus for control of stepper motors
JPH0221236B2 (en)
JP3156269B2 (en) Digital three-phase PWM waveform generator
JP3289921B2 (en) Programmable controller
US5323436A (en) Apparatus of and method for counting a number of revolutions of a servo motor
JP2773546B2 (en) Pulse generation circuit
EP0250142A2 (en) Electronic timepiece
JPH04222005A (en) Program controller
JP3266675B2 (en) controller
JPH0759398A (en) Method for driving stepping motor
JPH07163173A (en) Rotation control circuit for rotor
JPH0477559B2 (en)
JPH0296660A (en) Circuit for discriminating direction of polyphase rectangular wave
JPH0442090A (en) Electronic timepiece
JPH05328734A (en) Microcomputer having built-in motor control circuit
JPS62137914A (en) Equipment for driving large capacity control element
KR960016808B1 (en) Apparatus and method of position control for a motor
JPS58157386A (en) Plural servo motor simultaneous control system
SU1387165A1 (en) Device for programmed acceleration of stepping motor
JPH0349582A (en) Drive controller
JPS6313558Y2 (en)
JPH08214597A (en) Control method and controller of motor
JPH0736599U (en) Driving device for two-phase stepping motor
JPH063441Y2 (en) Differential output circuit for actuator drive
JPS61221596A (en) Pulse motor control circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020305

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080322

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100322

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100322

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10