[go: up one dir, main page]

JP3503004B2 - IC with pre-buffer control function - Google Patents

IC with pre-buffer control function

Info

Publication number
JP3503004B2
JP3503004B2 JP9810795A JP9810795A JP3503004B2 JP 3503004 B2 JP3503004 B2 JP 3503004B2 JP 9810795 A JP9810795 A JP 9810795A JP 9810795 A JP9810795 A JP 9810795A JP 3503004 B2 JP3503004 B2 JP 3503004B2
Authority
JP
Japan
Prior art keywords
data
control
data latch
operation data
latch
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 - Fee Related
Application number
JP9810795A
Other languages
Japanese (ja)
Other versions
JPH08320719A (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.)
Nippon Pulse Motor Co Ltd
Original Assignee
Nippon Pulse Motor Co 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 Nippon Pulse Motor Co Ltd filed Critical Nippon Pulse Motor Co Ltd
Priority to JP9810795A priority Critical patent/JP3503004B2/en
Publication of JPH08320719A publication Critical patent/JPH08320719A/en
Application granted granted Critical
Publication of JP3503004B2 publication Critical patent/JP3503004B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Control Of Stepping Motors (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はプリバッファ制御される
パルス発生用ICに関し、特に制御態様を変更した動作
を迅速に行なうプリバッファ制御機能を有するICに関
する。
BACKGROUND OF THE INVENTION The present invention is pre-buffer control
More specifically, the present invention relates to an IC for pulse generation , and more particularly to an IC having a pre-buffer control function for rapidly performing an operation with a changed control mode.

【0002】[0002]

【従来の技術】例えば、NC加工装置等においては、ワ
ークや切削工具等のX軸、Y軸、Z軸またはθ軸方向へ
の移動制御は、駆動源としてのステッピングモータに供
給するパルスの周波数、パルス数等のパラメータを変更
することにより行なわれる。従来、かかる装置では、C
PUから上記パルス発生回路に対して制御信号を送出す
ることにより、移動制御態様(加減速、移動量等)を設
定している。
2. Description of the Related Art For example, in an NC machining apparatus or the like, movement control of a work or a cutting tool in the X-axis, Y-axis, Z-axis or θ-axis direction is controlled by the frequency of a pulse supplied to a stepping motor as a drive source. , By changing parameters such as the number of pulses. Conventionally, in such a device, C
The movement control mode (acceleration / deceleration, movement amount, etc.) is set by sending a control signal from the PU to the pulse generation circuit.

【0003】ところで、上記制御態様は加工態様に応じ
て時々刻々と変化させる必要があり、変更の都度、CP
Uからは、変更された周波数データ、加減速データ、移
動量データ、制御データ等のデータをパルス発生回路
(通常、ICで構成される)に供給して当該ICに設け
られたレジスタに書き込み、CPUからのスタートコマ
ンドの受信に応答してレジスタに書き込まれたデータ内
容に従った制御を行なわせしめる。
By the way, the above control mode needs to be changed every moment in accordance with the machining mode, and the CP mode is changed every time it is changed.
From U, the changed frequency data, acceleration / deceleration data, movement amount data, control data, and other data are supplied to a pulse generation circuit (usually composed of an IC) and written in a register provided in the IC, In response to the reception of the start command from the CPU, control is performed according to the data content written in the register.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、レジス
タへのこれらデータの書き込みを、動作中に行うと、書
き込み内容が変化する場合、例えば、動作中に周波数デ
ータを書き換えると動作周波数も変化してしまう。従っ
て、レジスタへのデータの書き込みは、動作停止中にし
か書き込めず、異なるデータで連続して動作させたい場
合等には、停止してから次の動作までの間に、CPUに
よるレジスタへのデータ書き込みの時間が必要になって
しまう。
However, if these data are written to the register during operation, the content of the write changes. For example, if the frequency data is rewritten during operation, the operating frequency also changes. . Therefore, the data can be written to the register only while the operation is stopped. If you want to operate continuously with different data, etc., the data written to the register by the CPU must be between the stop and the next operation. It takes time to write.

【0005】図3には、かかる動作のタイミングチャー
トが示されている。図3(D)に示すパルス発生回路の
動作停止の期間中、図3(A)に示すように、当該回路
のレジスタに書き込まれる動作用データとしての周波数
データが先ず入力され、続いて、図3(B)に示すよう
に、移動量データ等が入力された後、図3(C)に示す
ように、動作用データとしてのスタートコマンドの入力
に応答して動作がスタートする。
FIG. 3 shows a timing chart of such an operation. During the period of operation stop of the pulse generation circuit shown in FIG. 3D, as shown in FIG. 3A, the frequency data as the operation data written in the register of the circuit is first input, and then, After the movement amount data and the like are input as shown in FIG. 3 (B), the operation starts in response to the input of the start command as the operation data, as shown in FIG. 3 (C).

【0006】一般に、パルス発生用ICの停止時は、動
作時に比較してCPUは他の制御を行なうことが多く、
速度の遅いCPUを使用している場合等には、この時間
も大きくなり、作業効率が低下してしまうという問題が
ある。
Generally, when the pulse generating IC is stopped, the CPU often performs other control as compared with the operation.
When a CPU with a slow speed is used, this time also becomes long, and there is a problem that work efficiency is reduced.

【0007】そこで、本発明の目的は、被制御装置とし
パルス発生用ICにおいて、制御データの書き込み
を当該パルス発生回路の動作中でも可能とし、高速動作
を可能とするプリバッファ制御機能を有するICを提供
することにある。
An object of the present invention is directed to the controlled device
In the pulse generating IC of Te, the writing of control data to allow even during operation of the pulse generating circuit is to provide an IC having a pre-buffer control function to enable high-speed operation.

【0008】[0008]

【課題を解決するための手段】前述の課題を解決するた
めに本発明によるプリバッファ制御機能を有するIC
は、動作制御用の制御部とパルス発生回路とを備え、C
PUから送出される動作用データを前記制御部に設けら
れたバッファとしての動作用データラッチに書き込
、該動作用データラッチから読み出したデータに従っ
パルス発生回路を制御するよう構成されたパルス発生
用ICであって、前記制御部は、さらにプリバッファと
してのプリデータラッチと状態判断回路とを備え、該状
態判断回路は、パルス発生回路が動作中か停止中かを判
断して、動作中に前記動作用データを前記プリデータ
ラッチに書き込みし、停止中には前記動作用データラッ
チに書き込みすると共に、プリデータラッチに動作用デ
ータが有るか否かを判断して、該動作用データが有る場
合には、これを動作停止時に前記プリデータラッチから
読み出して前記動作用データラッチに書き込みし、引き
続く次動作スタート信号に応答して前記動作用データに
従った制御を行なわせるべく構成される。
[Means for Solving the Problems]
Prebuffer control according to the present inventionIC with functions
IsA control unit for operation control and a pulse generation circuit are provided, and C
PUOperation data sent fromProvided in the control unit
WasbufferData latch for operation asWrite toOnly
Shi, TheData latch for operationAccording to the data read from
handPulse generatorTo controlPulse generation configured as
IC forAnd saidThe control unit also has a pre-buffer
Equipped with a pre-data latch and a state determination circuit
The state determination circuit determines whether the pulse generation circuit is operating or stopped.
RefuseDuring operationIsThe operation data isPre-data
latchWrite toWhile operating, the data
The pre-data latch as well as
If there is data for the operation by judging whether or not there is data
In case ofWhen the operation is stoppedPre-data latchFrom
readingWrite to the operation data latch,pull
Then, in response to the next operation start signal,
To follow the controlIn orderComposed.

【0009】ここで、所定態様のパルスを発生するパル
ス発生用ICの回路は、制御対象としてのステッピング
モータの加減速制御及び移動量制御を行なうための動作
データとしてのパルスを発生する回路とすることができ
る。
Here, the circuit of the pulse generating IC for generating a pulse of a predetermined mode is a circuit for generating a pulse as operation data for performing acceleration / deceleration control and movement amount control of a stepping motor to be controlled. be able to.

【0010】[0010]

【作用】本発明では、ICのパルス発生回路の動作中に
動作用データをプリデータラッチに書き込んだ後、次の
動作停止時にプリデータラッチから読み出した動作用デ
ータを読み出し、引き続く次動作スタート信号に応答し
て動作用データに従った制御を行なわせている。
According to the present invention, after the operation data is written in the pre-data latch during the operation of the pulse generation circuit of the IC , the operation data read from the pre-data latch when the next operation is stopped is read, and the subsequent next operation start signal is read. In response to, the control is performed according to the operation data.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
ながら説明する。図1は本発明によるプリバッファ制御
機能を有するICの一実施例における動作タイミングチ
ャートである。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 shows the prebuffer control according to the present invention.
7 is an operation timing chart in one embodiment of an IC having a function .

【0012】本実施例では、被制御装置としてのICの
パルス発生用回路に次動作用データ領域をプリバッファ
としてプリデータラッチ3を用意し、このデータ領域に
CPUの負担の軽い、パルス発生用回路の動作時にも次
の動作用のデータを事前に書き込むようにしている。図
1(A)、(B)、(D)に示すように、パルス発生用
回路の動作中に、周波数データと移動量等のプリデータ
を上記プリデータラッチ3に書き込み、プリデータスタ
ートコマンド(図1(C))が入力された後、パルス発
生用回路の停止期間に至ると(図1(D))、つまり、
図1(E)に示すように、動作終了タイミング後に、図
1(F)と(G)に示すように、プリデータラッチ3
ら読み出された周波数データと移動量データが制御デー
タとして入力され、プリデータラッチ3から読み出され
た動作用データとしてのスタートコマンド(図1
(H))に応答して、図1(D)に示すように、次動作
がスタートする。
In the present embodiment, a pre-data latch 3 is prepared as a pre -buffer for the next operation data area in the pulse generation circuit of the IC as the controlled device, and the CPU area is lightly loaded in this data area. The data for the next operation is written in advance even when the circuit for pulse generation is operating. As shown in FIGS. 1A, 1B and 1D, during the operation of the pulse generating circuit, frequency data and pre-data such as a moving amount are written in the pre -data latch 3 , and a pre-data start command ( After the input of FIG. 1C, when the pulse generation circuit is stopped (FIG. 1D), that is,
As shown in FIG. 1 (E), after the operation end timing, as shown in FIGS. 1 (F) and (G), the frequency data and the movement amount data read from the pre-data latch 3 are input as control data. , A start command as operation data read from the pre-data latch 3 (see FIG.
In response to (H)), the next operation starts as shown in FIG.

【0013】図2には、本実施例におけるパルス発生用
回路の制御部の構成ブロック図が示されている。制御部
は、動作用データラッチ5、プリデータラッチ3、状態
判断回路1、セレクタ4、ORゲート2を備える。な
お、図2の説明における設定データは、動作用データラ
ッチ5から送出される動作用データと区別するために用
いたものである。
FIG. 2 is a block diagram showing the configuration of the control unit of the pulse generating circuit according to this embodiment. Control unit
Is the operation data latch 5, pre-data latch 3, state
The judgment circuit 1, the selector 4, and the OR gate 2 are provided. Na
Note that the setting data in the explanation of FIG.
For distinguishing from the operation data sent from the switch 5.
It was what I had.

【0014】本実施例では、状態判断回路1によって、
パルス発生回路が動作中か停止中かの動作状 態を判断す
ることにより、プリバッファを用いない動作停止時に
は、動作データラッチに設定データが書き込まれ、
内容がパルス発生用回路に取り込まれ、動作が制御され
る。そして、プリバッファを用いる動作時には、プリデ
ータラッチ3にデータが書き込まれ、且つ動作終了時に
は、プリデータラッチ3に設定データが記憶されている
場合、プリデータラッチ3に記憶されている設定データ
が動作データラッチに送出されてパルス発生用回路
に取り込まれることにより、次動作が制御される
In this embodiment, the state judgment circuit 1
Be determined pulse generating circuit operation state of either running or stopped
The Rukoto, in operation stops using no pre-buffer, setting data is written to the operation data latch 5,
The contents are taken into the pulse generation circuit and the operation is controlled. Then, in operation using the pre-buffer, addressing mode with pre-decrement
Taratchi 3 Data is written to, and the operation ends, if the setting data in the pre-data latch 3 is stored, and setting data stored in the pre-data latch 3 is sent to the operation data latch 5 pulse generator The next operation is controlled by being taken into the circuit for use.

【0015】CPUから送出される設定データは、プリ
データラッチ3の入力端子Dとセレクタ4の入力端子A
に供給される。状態判断回路1は、上記の如き、動作中
且つデータ入力(プリデータ入力)の状態A、スタート
プリデータがあり、且つ動作終了の状態B、及び停止
中、且つデータ入力の状態Cの3つの状態を判断して出
力する。状態Aであると判断されると、パルス発生用回
路の動作中においてその出力がプリデータラッチ3のゲ
ートGに供給され、設定データを入力端子Dよりプリデ
ータラッチ3に取り込む。セレクタ4の入力端子Aには
CPUからの設定データが、入力端子Bにはプリデータ
ラッチ3から設定データが供給され、それぞれ出力端
子Qから出力されるようになっており、状態判断回路1
からの状態Bまたは状態Cの判断信号により、プリデー
タラッチ3にデータが無い場合、パルス発生用回路が停
止中の場合には入力端子Aより、データが有る場合には
動作終了後に入力端子より、いずれかのデータが出力
端子Qから出力されて動作用データラッチ5に書き込み
される。
The setting data sent from the CPU is input terminal D of the pre-data latch 3 and input terminal A of the selector 4.
Is supplied to. As described above, the state determination circuit 1 has three states, that is, the state A of operating and data input (pre-data input), the state B of start pre-data and ending of operation, and the state C of stopping and data input. Determine the status and output. When it is determined that the state is A, the pulse generation circuit
During the operation of the path, its output is supplied to the gate G of the pre-data latch 3 and the setting data is input from the input terminal D to the pre-de- latch.
Captured in the data latch 3 . The input terminal A of the selector 4
Setting data from the CPU, the input terminal B is supplied with configuration data from the pre-data latch 3, has become so that the output from the output terminals Q, state determination circuit 1
Depending on the judgment signal of status B or status C from
If there is no data in the data latch 3, the pulse generation circuit stops.
If there is data from input terminal A when stopped, if there is data
After the operation is completed , any data is output from the output terminal Q from the input terminal B and written in the operation data latch 5.
Ru is.

【0016】ORゲート2の入力には、状態Bと状態C
の判断信号が入力され、その出力が動作用データラッチ
5のゲートGに供給されている。動作用データラッチ5
の入力端子Dにはセレクタ4の出力端子Qからのデータ
が入力されており、動作終了後またはパルス発生用回路
の停止中にゲートGへのORゲート2からの出力に応答
して、セレクタ4の出力端子Qからのデータを取り込
み、ラッチする。動作用データラッチ5の出力端子Qか
らは読み出された動作用データが出力されて、パルス発
生用回路の動作を制御する。
The state B and the state C are input to the input of the OR gate 2.
Is inputted to the gate G of the operation data latch 5. Data latch for operation 5
Input terminal is input data from the output terminal Q of the selector 4 is the D, and after the correction or pulse generating circuit
In response to the output from the OR gate 2 to the gate G during the stop of, the data from the output terminal Q of the selector 4 is fetched and latched. The read operation data is output from the output terminal Q of the operation data latch 5 to control the operation of the pulse generation circuit.

【0017】[0017]

【発明の効果】以上説明したように、本発明のプリバッ
ファ制御機能を有するICによれば、パルス発生回路
制御データのプリデータラッチ3に対する書き込みを当
パルス発生回路の動作中でも可能とし、しかも、その
動作中書き込みは、データ入力の状態を判断しながら行
わしめることができ、さらに、動作用データラッチ5へ
のデータ書き込みに対しても、パルス発生回路の停止中
か動作終了後かの状態に応じた書き込みが行える次動作
制御とすることができ、トータルとして高速動作を可能
とする。
As described in the foregoing, according to the IC with a pre-buffer control function of the present invention, to allow the writing to the pre-data latch 3 of the control data for pulse generation circuit even during operation of the pulse generating circuit, moreover ,That
Writing during operation is performed while judging the state of data input.
Can be squeezed, and further to the operation data latch 5
Even when writing data, the pulse generation circuit is stopped
The next operation that can be written according to the state of whether or not
It can be controlled, and high-speed operation is possible as a whole .

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

【図1】本発明によるプリバッファ制御機能を有するI
の一実施例における動作タイミングチャートである。
FIG. 1 shows an I having a pre-buffer control function according to the present invention.
9 is an operation timing chart in an example of C.

【図2】図1に示す実施例におけるパルス発生用回路の
制御部の構成ブロック図である。
2 is a configuration block diagram of a control unit of a pulse generation circuit in the embodiment shown in FIG.

【図3】従来ICの制御方式の動作タイミングチャート
である。
FIG. 3 is an operation timing chart of a control method of a conventional IC .

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

1 状態判断回路 2 ORゲート 3 プリデータラッチ 4 セレクタ 5 動作用データラッチ 1 State judgment circuit 2 OR gate 3 Pre-data latch 4 selector 5 Data latch for operation

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/18 - 19/46 H02P 8/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G05B 19/18-19/46 H02P 8/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 動作制御用の制御部とパルス発生回路と
を備え、CPUから送出される動作用データを前記制御
部に設けられたバッファとしての動作用データラッチ
書き込みし、該動作用データラッチから読み出したデー
タに従ってパルス発生回路を制御するよう構成されたパ
ルス発生用ICであって、前記制御部は、さらにプリバ
ッファとしてのプリデータラッチと状態判断回路とを備
え、該状態判断回路は、パルス発生回路が動作中か停止
中かを判断して、動作中に前記動作用データを前記
リデータラッチに書き込みし、停止中には前記動作用デ
ータラッチに書き込みすると共に、プリデータラッチに
動作用データが有るか否かを判断して、該動作用データ
が有る場合には、これを動作停止時に前記プリデータラ
ッチから読み出して前記動作用データラッチに書き込み
し、引き続く次動作スタート信号に応答して前記動作用
データに従った制御を行なわせるべく構成されている
とを特徴とするプリバッファ制御機能を有するIC
1. A control unit for controlling operation and a pulse generation circuit
And control the operation data sent from the CPU.
The operation data latch as a buffer provided in part sewing <br/> writing write, configured to control the pulse generating circuit according to the read data from the operation data latch Pas
And a control circuit , wherein the control unit further includes a driver.
Equipped with a pre-data latch as a buffer and a status judgment circuit
Yes, the status judgment circuit stops the pulse generation circuit
And determining whether in the said operation data during operation flop
Mississauga write to Li data latch, de for the operation is stopped
Data into the data latch and the pre-data latch
By determining whether or not there is operation data, the operation data
If there is, the pre-data
Write the operation data latch read from pitch
An IC having a pre-buffer control function, which is configured to perform control in accordance with the operation data in response to a subsequent next operation start signal.
【請求項2】 前記パルス発生回路は、制御対象として
のステッピングモータの加減速制御及び移動量制御を行
なうための動作データとしてのパルスを発生すべく構成
されていことを特徴とする請求項に記載のプリバッ
ファ制御機能を有するIC
2. The pulse generation circuit is configured to generate a pulse as operation data for performing acceleration / deceleration control and movement amount control of a stepping motor as a control target.
IC having a pre-buffer control function according to claim 1, characterized in that that have been.
JP9810795A 1995-03-30 1995-03-30 IC with pre-buffer control function Expired - Fee Related JP3503004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9810795A JP3503004B2 (en) 1995-03-30 1995-03-30 IC with pre-buffer control function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9810795A JP3503004B2 (en) 1995-03-30 1995-03-30 IC with pre-buffer control function

Publications (2)

Publication Number Publication Date
JPH08320719A JPH08320719A (en) 1996-12-03
JP3503004B2 true JP3503004B2 (en) 2004-03-02

Family

ID=14211111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9810795A Expired - Fee Related JP3503004B2 (en) 1995-03-30 1995-03-30 IC with pre-buffer control function

Country Status (1)

Country Link
JP (1) JP3503004B2 (en)

Also Published As

Publication number Publication date
JPH08320719A (en) 1996-12-03

Similar Documents

Publication Publication Date Title
CA1201535A (en) Variable rate control logic for component insertion machine
JP2596639Y2 (en) Laser marking device
JP3503004B2 (en) IC with pre-buffer control function
JPH0332306B2 (en)
JP4318120B2 (en) Pulse output IC for motor drive and electronic cam control system
JP4221652B2 (en) Multiple motor simultaneous control method, multiple motor control system, multiple motor control pulse generation circuit, and multiple motor control pulse generation IC
JPH10240330A (en) Numerical control unit
JPS626245B2 (en)
JP3365421B2 (en) Robot controller
JPH1133825A (en) Machine tool with tapping machining function
JP3237891B2 (en) Switch signal processing device
JP2823415B2 (en) Stepping motor control device
KR100438987B1 (en) Parallel input/output apparatus for distributed control system
JPH1051196A (en) Electronic component inserting apparatus
JP3584342B2 (en) Synchronous operation start / stop control system for multiple ICs
JP2850568B2 (en) Positioning operation method
JPS60120080A (en) Carriage drive controller
KR0165451B1 (en) Position controlling signal generating circuit
JPH0144154B2 (en)
KR950014012B1 (en) Positioning operation method using shared memory
JPS58136469A (en) Print magnet driving system
JPH06110768A (en) Memory initialization system
JPH0326556A (en) Heat controller for thermal head
JPS6144555A (en) Origin detection method for numerical control equipment
JPS58201596A (en) Control system for step motor

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031126

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20071219

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091219

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101219

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101219

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111219

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111219

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121219

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131219

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees