JPS6043521B2 - Programmable feed control device - Google Patents

Programmable feed control device

Info

Publication number
JPS6043521B2
JPS6043521B2 JP50103598A JP10359875A JPS6043521B2 JP S6043521 B2 JPS6043521 B2 JP S6043521B2 JP 50103598 A JP50103598 A JP 50103598A JP 10359875 A JP10359875 A JP 10359875A JP S6043521 B2 JPS6043521 B2 JP S6043521B2
Authority
JP
Japan
Prior art keywords
feed
signal
output
pulse
circuit
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
Application number
JP50103598A
Other languages
Japanese (ja)
Other versions
JPS5227975A (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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP50103598A priority Critical patent/JPS6043521B2/en
Publication of JPS5227975A publication Critical patent/JPS5227975A/en
Publication of JPS6043521B2 publication Critical patent/JPS6043521B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はプログラム記憶部に記憶され送り制御サイク
ルを指令する制御データをプログラムカウンタに従つて
順次読み出しこの読み出された制御データにより加工条
件としての送り量及び送り速度の設定されたデジタルス
イッチを選択して移動体の送りを制御するプログラム式
送り制御装置に関し、その目的は、加工条件としての送
り量及び送り速度はデジタルスイッチの設定替えにより
容易に変更でき、かつプログラム記憶部部に記憶された
制御ゼータの変更により送り動作サイクルも容易に変更
できるようにし、研削盤の制御に適した制御装置を提供
することである。
DETAILED DESCRIPTION OF THE INVENTION The present invention sequentially reads control data that is stored in a program storage unit and instructs a feed control cycle according to a program counter, and uses the read control data to determine the feed amount and feed rate as machining conditions. Regarding a programmable feed control device that controls the feed of a moving object by selecting a set digital switch, its purpose is to easily change the feed rate and feed rate as processing conditions by changing the settings of the digital switch, and to control the feed of a moving object by selecting a set digital switch. To provide a control device suitable for controlling a grinding machine by making it possible to easily change a feed operation cycle by changing a control zeta stored in a storage section.

一般に研削加工における加工条件は過去の経験によつ
ては一概に決定できない場合が多く、形状寸法が少しで
も変わると同じ加工条件てもびひりが生じたりして所要
の面精度を得ることができない。
In general, the processing conditions for grinding cannot be determined unambiguously based on past experience, and if the shape and dimensions change even slightly, the same processing conditions may become unstable, making it impossible to obtain the required surface accuracy. .

このため過去の経験に基づく加工条件をプログラムして
先ず研削してみて、不具合があれは適・宜加工条件を変
えて研削し最も良い加工条件をみつけることが必要であ
る。このように研削加工をプログラム制御する上におい
て、加工条件は容易に変更できなければならず、従来の
紙テープ式数値制御装置では、テープを作りなおさなけ
れば加・工条件の変更はできないので、研削盤のプログ
ラム制御には不向きてある。 これに対し、加工条件と
しての諸データをデジタルスイッチに設定するようにし
たプログラム制御装置もあるが、これにおいては、上記
の不便は解消され、デジタルスイッチの設定替えにより
自由に加工条件を変更することができる。
For this reason, it is necessary to program machining conditions based on past experience and try grinding first, and if any problems are found, change the machining conditions as appropriate and grind to find the best machining conditions. In order to programmatically control grinding in this way, it is necessary to be able to easily change the machining conditions, and with conventional paper tape numerical control devices, it is not possible to change the machining and machining conditions without remaking the tape. It is not suitable for program control of the panel. On the other hand, there are program control devices that set various data as machining conditions on digital switches, but in this case, the above-mentioned inconvenience is resolved and machining conditions can be changed freely by changing the settings of the digital switches. be able to.

しかしながらデジタルスイッチを送り段階に応じて順次
切替える制御回路については固定されており、サイクル
の変更にはほとんど融通性がなく、カム研削盤とかクラ
ンクピン研削盤のように機種が異なることにより変化す
るサイクル変更への対応が困難である。本発明はかかる
点に鑑み、加工条件の変更及びサイクル変更にも容易に
対応できろようにして、研削盤のプログラム制御に適し
た制御装置を提供せんとするものてある。
However, the control circuit that sequentially switches the digital switch according to the feed stage is fixed, and there is almost no flexibility in changing the cycle, and the cycle changes depending on the model, such as a cam grinder or a crank pin grinder. It is difficult to adapt to changes. In view of this, the present invention aims to provide a control device suitable for program control of a grinding machine, which can easily accommodate changes in machining conditions and cycles.

以下、本発明の実施例を図面に基ついて説明する。Embodiments of the present invention will be described below with reference to the drawings.

第1図は研削盤の如き制御対象の送りを制御するプログ
ラム式送り制御装置のブロック線図で、図において1は
移動体送り用パルスモータ、2は後述する前進送りパル
ス+FPを受けてそのパルス数だけパルスモータ1を前
進方向に駆動させるとともに後退送りパルスーFPを受
けてそのパルス数だけパルスモータ1を後退方向に駆動
させるパルスモータ駆動回路である。なお、必要とあら
ば一軸のみに限らず他の送り軸用のパルスモータおよび
パルスモータ駆動回路も備えられるが、この明細書にお
いてはこれらの説明を省略する。3はダイオードマトリ
ックス回路を用いたプログラム記憶部で、各記憶番地M
O〜M47に各々、制御すでき送り軸X,Yl制御すべ
き方向+,−(+は前進、−は後退)、選択すべき送り
量D1〜D7、選択すべき時間T1〜T7、選択すべき
送り速度F1〜F1、選択すべき補助機能M1〜M7,
Sl〜S7(S1は砥石台原位置復帰指令、S4は砥石
摩耗補正指令である)、プログラムエンドEND等の制
御データを記憶させることができるようになつている。
Fig. 1 is a block diagram of a programmable feed control device that controls the feed of a controlled object such as a grinding machine. This is a pulse motor drive circuit that drives the pulse motor 1 in the forward direction by the number of pulses and also drives the pulse motor 1 in the backward direction by the number of pulses received by the backward feed pulse-FP. Note that, if necessary, a pulse motor and a pulse motor drive circuit for not only one axis but also other feed axes may be provided, but a description thereof will be omitted in this specification. 3 is a program storage unit using a diode matrix circuit, and each memory address M
O to M47 respectively indicate the control swivel feed axes Should feed speed F1 to F1, auxiliary functions to select M1 to M7,
It is possible to store control data such as Sl to S7 (S1 is a command to return to the original position of the grindstone, and S4 is a command to correct grindstone wear), program end, etc.

プログラムの一例を表1に示す。この表1においては研
削盤を制御対象とする場合のプログラムであつて記憶番
地MO〜M7には砥石台の通常の送り制御サイクルプロ
グラムが記憶され、M4l〜M42には緊急サイクルで
ある非常戻しサイクルプログラムが記−憶され、M43
〜M44には砥石摩耗補正サイクルプログラムが記憶さ
れている。なお、以下に述べる実施例は便宜上研削盤に
適用した場合について説明する。PBlは通常の送り制
御サイクルを開始させるための運転スタート信号EX.
STARTlを投入する手動の外部指令スイッチ、4は
外部指令スイツ、チPBlにて運転スタート信号EX.
STARTlが投入されると後述するタイミングパルス
CL2が入力するまで送り制御サイクル信号START
l信号を出力し続ける信号レベル変換回路である。PB
2は砥石摩耗補正サイクルを開始させるた゛めの砥石摩
耗補正スタート信号EX.START2を投入する手動
の外部指令スイッチ、5は外部指令スイッチPB2にて
砥石摩耗補正スタート信号EX.START2が投入さ
れるとタイミングパルスCL2が入力するまで砥石摩耗
捕正サイクル信号START2を出力し続ける信号レベ
ル変換回路である。PB3は非常戻しサイクルを開始さ
せるために非常戻しスタート信号EX.EMBを投入す
る手動の外部指令スイッチ、6は外部指令スイッチPB
3にて非常戻しスタート信号EX.EMBが投入される
と非常戻しサイクル信号巳侶を出力する信号レベル変換
回路である。
An example of the program is shown in Table 1. In Table 1, the program is for controlling a grinding machine, and memory addresses MO to M7 store the normal feed control cycle program for the grindstone head, and M4l to M42 store the emergency return cycle which is an emergency cycle. The program is memorized and M43
~M44 stores a grindstone wear correction cycle program. For the sake of convenience, the embodiments described below will be described with reference to a case where the present invention is applied to a grinding machine. PBl is an operation start signal EX. for starting a normal feed control cycle.
4 is a manual external command switch that turns on STARTl, and 4 is an external command switch that turns on operation start signal EX.
When STARTl is input, the feed control cycle signal START is applied until timing pulse CL2, which will be described later, is input.
This is a signal level conversion circuit that continues to output l signals. P.B.
2 is a grindstone wear correction start signal EX.2 for starting the grindstone wear correction cycle. A manual external command switch 5 turns on START2, and external command switch PB2 outputs the grindstone wear correction start signal EX. This is a signal level conversion circuit that continues to output the grindstone wear correction cycle signal START2 when START2 is input until the timing pulse CL2 is input. PB3 sends an emergency return start signal EX. to start the emergency return cycle. Manual external command switch to turn on EMB, 6 is external command switch PB
3, emergency return start signal EX. This is a signal level conversion circuit that outputs an emergency return cycle signal when EMB is turned on.

補助機能動作制御用の信号レベル変換回路は図示省略さ
れているが、後述するインストラクションデコーダ18
から補助機能信号M1〜M7が出力されると、その補助
機能信号M1〜M47に対応した図略の補助機能装置の
作動を開始させる補助機能装置作動開始信号EX.Ml
〜EX.M2を各補助機能装置へ出力し、補助機能信号
M1〜M7にて指定された補助機能装置が作動してその
作動確認信号EX.MF′INが出力されるとM.FI
N信号を出力する。
Although the signal level conversion circuit for controlling the auxiliary function operation is not shown, the instruction decoder 18 described later
When the auxiliary function signals M1 to M7 are outputted from the auxiliary function signals M1 to M47, an auxiliary function device operation start signal EX. Ml
~EX. M2 is output to each auxiliary function device, and the auxiliary function device specified by the auxiliary function signals M1 to M7 operates and its operation confirmation signal EX. When MF'IN is output, M. FI
Outputs N signal.

例えば補助機能信号M1は図略のレストの油圧送り前進
を指令する信号であり、レストが油圧送り前進端に達す
ると油圧送り前進完了信号EX.rvlF′1Nが出力
されるようになつている。
For example, the auxiliary function signal M1 is a signal that commands the hydraulic feed advance of a rest (not shown), and when the rest reaches the hydraulic feed advance end, the hydraulic feed advance completion signal EX. rvlF'1N is output.

また補助機能信号M2はレストの油圧送り後退を指令す
る信号であり、レストが油圧送り後退を開始する油圧送
り後退開始確認信号M.FINが出力されるようになつ
ている。7は制御データ読み出しサイクル時にはタイミ
ングパルスCLl〜CL5を出力し、送り動作実行時に
はタイミングパルスCLl〜CL5の出力を停止するタ
イミングパルス発生回路である。
The auxiliary function signal M2 is a signal that commands the hydraulic feed and retreat of the rest, and the hydraulic feed and retreat start confirmation signal M2 causes the rest to start hydraulic feed and retreat. FIN is now output. Reference numeral 7 denotes a timing pulse generation circuit that outputs timing pulses CLl to CL5 during the control data read cycle and stops outputting the timing pulses CLl to CL5 when performing a feed operation.

8は通常の送り制御サイクルおよび砥石摩耗補正サイク
ル中にRUN信号を出力するランフラグ回路、9は非常
戻しサイクル中にEMB.SDW信号、EMB.CLK
信号、EMB.ST信号ならびにEMB.CYCLE信
号を出力する非常戻しランフラグ回路、10は前記送り
動作実行中にBUSY信号を出力するビジイフラグ回路
である。
8 is a run flag circuit that outputs a RUN signal during a normal feed control cycle and a grindstone wear correction cycle, and 9 is an EMB. SDW signal, EMB. CLK
Signal, EMB. ST signal and EMB. An emergency return run flag circuit outputs a CYCLE signal, and 10 is a busy flag circuit that outputs a BUSY signal during execution of the feed operation.

これらの回路7〜10の具体例を第2図に示す。Specific examples of these circuits 7 to 10 are shown in FIG.

タイミングパルス発生回路7は、常時クロックパルスC
Lを出力するクロックパルス発生器71、シリアル端子
に入力があるとシフト端子に入力されるクロックパルス
CLのシフト作用により1サイクル分のタイミングパル
スCLl〜CL5を出力するシフトレジスタ、シフトレ
ジスタ72の各出力端子が接続されてタイミングパルス
CLl〜CL5の出力中は0P信号を出力するオアゲー
ト73、オアゲート73が接続されたインバータ7牡ラ
ンフラグ回路8のRUN信号出力端子および非常戻しラ
ンフラグ回路9のEMB.CYCLE出力端子が接続さ
れたオアゲート75、ビジイフラグ回路10のBUSY
信号出力端子が接続されたインバータ76、オアゲート
75、インバータ74,76の各出力端子が接続されシ
フトレジスタ72のシリアル端子に接続されたアンドゲ
ート77、クロックパルス発振器71の出力端子が接続
されたインバータ78より構成されている。従つてこの
タイミングパルス発生回路7は、RUN信号もしくはE
MB.CYCLE信号が出力されタイミングパルスCL
l〜CL5が出されていないときにBUSY信号の出力
が停止されると1サイクルのタイミングパルスCLl〜
CL5を出力し始める。非常戻しランフラグ回路9は、
前記信号レベル変換回路6のEMB信号出力端子が接続
されたインバータ91、T端子にインバータ91が接続
されリセット端子Rに後述するオアゲート98の出力端
子が接続されてセットされるとQ端子にEMB.SDW
信号を出力するJ−Kフリップフロップ92(J−Kフ
リップフロップは、T端子入力が高レベル電位から低レ
ベル電位に変化する瞬間に、J端子入力が高レベル電位
でしかもK端子入力が低レベル電位であればセットされ
、逆にJ端子入力が低レベル電位でしかもK端子入力が
高レベル電位であればリセットされ、リセット端子Rの
入力が低レベル電位になると他の入力端子J,T,Kの
入力には無関係にリセットされる。)、J一Kフリップ
フロップ92のQ端子およびタイミングパルス発生回路
7のインバータ74の出力端子が接続されたアンドゲー
ト93、J端子にアンドゲート93が接続されT端子に
前記タイミングパルス発生回路7のインバータ78が接
続されさらにリセット端子Rに後述するインバータ99
が接続されてセットされるとQ端子にEMB.CLK信
号を出力するJ−Kフリツフロツプ94、J−Kフリッ
プフロップ94のQ端子およびタイミングパルス発生回
路7のシフトレジスタ72のCL2パルス出力端子が接
続されたアンドゲート95、後述するインストラクショ
ンデコーダ18のEND信号出力端子およびシフトレジ
スタ72のCL5パルス出力端子が接続されたアンドゲ
ート96、J端子にアンドゲート95が接続されT端子
にタイミングパルス発生回路7のインバータ78が接続
されさらにK端子にアンゲート96が接続されてセット
されるとQ端子にEMB.ST信号を・出力するJ−K
フリップフロップ97、J−Kフリップフロップ94,
97のQ端子が接続されてEMB.CLK信号およびE
MB.CYCLE信号として通過させるオアゲート98
、J−Kフリップフロップ97のQ端子が接続されたイ
ンバータ99より・構成されている。従つてこの非常戻
しランフラグ回路9は、前記EMB信号が出力されると
EMB.SDW信号、EMB.CLK信号、EMB.S
T信号を順次出力し、EMB.CLK信号およびEMB
.ST信号と同時にEMB.ノCYCLE信号を出力す
る。
The timing pulse generation circuit 7 always generates a clock pulse C.
A clock pulse generator 71 that outputs L, a shift register that outputs timing pulses CL1 to CL5 for one cycle by the shifting action of a clock pulse CL that is input to a shift terminal when an input is input to a serial terminal, and a shift register 72. The output terminal is connected to the OR gate 73 which outputs a 0P signal while the timing pulses CL1 to CL5 are being output, the RUN signal output terminal of the inverter 7 run flag circuit 8 to which the OR gate 73 is connected, and the EMB. of the emergency return run flag circuit 9. OR gate 75 to which the CYCLE output terminal is connected, BUSY of the busy flag circuit 10
An inverter 76 to which the signal output terminal is connected, an OR gate 75, an AND gate 77 to which the output terminals of the inverters 74 and 76 are connected and connected to the serial terminal of the shift register 72, and an inverter to which the output terminal of the clock pulse oscillator 71 is connected. It is composed of 78. Therefore, this timing pulse generation circuit 7 receives the RUN signal or the E
M.B. CYCLE signal is output and timing pulse CL
If the output of the BUSY signal is stopped when l~CL5 is not output, one cycle of timing pulse CLl~
Start outputting CL5. The emergency return run flag circuit 9 is
The inverter 91 is connected to the EMB signal output terminal of the signal level conversion circuit 6, and the inverter 91 is connected to the T terminal, and the output terminal of an OR gate 98, which will be described later, is connected to the reset terminal R. When set, EMB. SDW
A J-K flip-flop 92 that outputs a signal (J-K flip-flop is configured such that at the moment the T terminal input changes from a high level potential to a low level potential, the J terminal input is at a high level potential and the K terminal input is at a low level. If the potential is at a low level, it is set; conversely, if the J terminal input is at a low level potential and the K terminal input is at a high level potential, it is reset, and when the input to the reset terminal R becomes a low level potential, the other input terminals J, T, ), the AND gate 93 is connected to the Q terminal of the J-K flip-flop 92 and the output terminal of the inverter 74 of the timing pulse generation circuit 7, and the AND gate 93 is connected to the J terminal. The inverter 78 of the timing pulse generation circuit 7 is connected to the T terminal, and the inverter 99 (described later) is connected to the reset terminal R.
is connected and set, EMB. A J-K flip-flop 94 that outputs the CLK signal, an AND gate 95 to which the Q terminal of the J-K flip-flop 94 and the CL2 pulse output terminal of the shift register 72 of the timing pulse generation circuit 7 are connected, and an END of the instruction decoder 18 to be described later. An AND gate 96 is connected to the signal output terminal and the CL5 pulse output terminal of the shift register 72, an AND gate 95 is connected to the J terminal, an inverter 78 of the timing pulse generation circuit 7 is connected to the T terminal, and an ungate 96 is connected to the K terminal. When connected and set, EMB. J-K that outputs ST signal
Flip-flop 97, J-K flip-flop 94,
The Q terminal of EMB.97 is connected. CLK signal and E
M.B. OR gate 98 to pass as CYCLE signal
, an inverter 99 connected to the Q terminal of a JK flip-flop 97. Therefore, when the EMB signal is output, the emergency return run flag circuit 9 performs an EMB. SDW signal, EMB. CLK signal, EMB. S
T signals are sequentially output, and the EMB. CLK signal and EMB
.. EMB at the same time as ST signal. Outputs the CYCLE signal.

ランフラグ回路8は、前記信号レベル変換回路4および
5の出力端子が接続されたオアゲート81、インストラ
クションデコーダ18のEND信号出力端子およびシフ
トレジスタ72のCL5パルス出力端子が接続されたア
ンドゲート82、J−Kフリップフロップ92のQ端子
が接続されたインバータ83、J端子にオアゲート81
が接続されT端子にタイミングパルス発生回路7のイン
バータ78が接続されK端子にアンドゲート82が接続
されさらにリセット端子Rにインバータ83が接続され
、セットされるとQ端子にRUN信号を出力するJ−K
フリップフロップ84より構成されている。
The run flag circuit 8 includes an OR gate 81 to which the output terminals of the signal level conversion circuits 4 and 5 are connected, an AND gate 82 to which the END signal output terminal of the instruction decoder 18 and the CL5 pulse output terminal of the shift register 72 are connected, and a J- An inverter 83 is connected to the Q terminal of the K flip-flop 92, and an OR gate 81 is connected to the J terminal.
is connected, the inverter 78 of the timing pulse generation circuit 7 is connected to the T terminal, the AND gate 82 is connected to the K terminal, and the inverter 83 is connected to the reset terminal R. When set, the J outputs the RUN signal to the Q terminal. -K
It is composed of a flip-flop 84.

従つてこのランフラグ回路8は、STARTl信号もし
くはSTART2信号が出力されるとEND信号もしく
はEMB.SDW信号が出力されるまてR[−JN信号
を出力する。ビジイフラグ回路10は、インストラクシ
ョンデコーダ18のD.SIG信号出力端子、T.SI
G信号出力端子およびS1信号出力端子ならびにM1〜
M7信号各出力端子が接続されたオアゲートICl、J
−Kフリップフロップ84および97のQ端子が接続さ
れたオアゲート102、オアゲート101および102
が接続されたアンドゲート103、J−Kフリップフロ
ップ92のQ出力端子、後述する送り制御カウンタ54
のDEN信号出力端子および前記信号レベル変換回路の
M.FIN信号出力端子が接続されたオアゲート10牡
オアゲート104が接続されたインバータ105、J端
子にアンドゲート103が接続されT端子にシフトレジ
スタ72のCL5パルス出力端子が接続されさらにリセ
ット端子Rにインバータ105が接続されてセットされ
るとQ端子にBUSY信号を出力するJ−Kフリップフ
ロップ106より構成されている。
Therefore, when the START1 signal or START2 signal is output, the run flag circuit 8 outputs the END signal or EMB. The R[-JN signal is output until the SDW signal is output. The busy flag circuit 10 is connected to the D. SIG signal output terminal, T. S.I.
G signal output terminal and S1 signal output terminal and M1~
OR gate ICl, J to which each M7 signal output terminal is connected
- OR gate 102 to which the Q terminals of K flip-flops 84 and 97 are connected; OR gates 101 and 102;
is connected to the AND gate 103, the Q output terminal of the JK flip-flop 92, and the feed control counter 54, which will be described later.
and the M.DEN signal output terminal of the signal level conversion circuit. An inverter 105 is connected to an OR gate 104 connected to the FIN signal output terminal, an AND gate 103 is connected to the J terminal, a CL5 pulse output terminal of the shift register 72 is connected to the T terminal, and an inverter 105 is connected to the reset terminal R. The JK flip-flop 106 outputs a BUSY signal to the Q terminal when connected and set.

従つてこのビジイフラグ回路10は、EMB.ST信号
もしくはRUN信号が出力されているときにD.SIG
,T.SIG,Slのいずれかが出力されればタイミン
グパルスCL5の出力完了時点よりもBUSY信号を出
力し、END信号もしくはEMB.SDW信号が出力さ
れるとBUSY信号の出力を停止する。
Therefore, this busy flag circuit 10 is used for EMB. When the ST signal or RUN signal is output, the D. S.I.G.
,T. If either SIG or SL is output, the BUSY signal is output from the time when the output of the timing pulse CL5 is completed, and the END signal or EMB. When the SDW signal is output, the output of the BUSY signal is stopped.

第1図において、11はプログラム記憶部4の読み出す
べき記憶番地を指定するプログラムカウンタてある。
In FIG. 1, reference numeral 11 denotes a program counter that designates a memory address in the program storage section 4 to be read.

12は非常戻しサイクルプログラムのスタート番地(M
4l)が設定される非常戻しサイクルスタート番地設定
回路である。
12 is the start address of the emergency return cycle program (M
4l) is the emergency return cycle start address setting circuit.

13は砥石摩耗補正サイクルプログラムのスタート番地
(M43)が設定される砥石摩耗補正サイクルスタート
番地設定回路、14は通常は非常戻しサイクルスタート
番地設定回路12の出力を通過させ、前記信号レベル変
換回路5からSTART2信号が出力されると砥石摩耗
補正サイクルスタート番地設定回路13の出力を通過さ
せるアドレスゲート回路である。
13 is a grindstone wear correction cycle start address setting circuit in which the start address (M43) of the grindstone wear correction cycle program is set; 14 is a circuit through which the output of the emergency return cycle start address setting circuit 12 is normally passed, and the signal level conversion circuit 5 This is an address gate circuit that allows the output of the grindstone wear correction cycle start address setting circuit 13 to pass through when the START2 signal is output from.

15は、前記STARTl信号が入力されるとタイミン
グパルスCLlの入力時にプログラムカウンタ11の内
容をMOにリセットし、また前記START2信号が入
力されるとタイミングパルスCLlの入力時に、アドレ
スゲート回路14を通過してくる前記スタート番地設定
回路12の設定置(M4l)をプログラムカウンタ11
にロードさせ、さらに前記EMB.CLK信号が入力さ
れるとタイミングパルスCLlの入力時に、アドレスゲ
ート回路14を通過してくる前記スタート番地設定回路
13の設定値(M43)をプログラムカウンタ11にロ
ードさせ、そしてSTARTl信号、START2信号
、EMB,.CLK信号のいずれもが入力されないとき
にはタイミングパルスCLlの入力時にプログラムカウ
ンタ11の内容を+1させるプログラム制御回路である
15 resets the contents of the program counter 11 to MO when the timing pulse CLl is inputted when the STARTl signal is inputted, and passes through the address gate circuit 14 when the timing pulse CLl is inputted when the START2 signal is inputted. The setting position (M4l) of the start address setting circuit 12 to be set is set by the program counter 11.
The EMB. When the CLK signal is input, the setting value (M43) of the start address setting circuit 13 passing through the address gate circuit 14 is loaded into the program counter 11 when the timing pulse CLl is input, and the STARTl signal, START2 signal, EMB,. This is a program control circuit that increments the contents of the program counter 11 by 1 when the timing pulse CLl is input when none of the CLK signals are input.

16はプログラムカウンタ11の内容を解読してその内
容が指定しているプログラム記憶部3の記憶番地を有効
にするアドレスデコーダである。
Reference numeral 16 denotes an address decoder which decodes the contents of the program counter 11 and validates the memory address of the program storage section 3 specified by the contents.

17は、プログラム記憶部3の有効にされた記憶番地に
記憶されている制御データをタイミングパルスCL2の
入力により読み出して一時記憶するインストラクション
レジスタ、18はレジスタ17に記憶された制御データ
を解読するインストラクションデコーダである。
17 is an instruction register for reading out and temporarily storing the control data stored in the enabled memory address of the program storage unit 3 in response to input of the timing pulse CL2; 18 is an instruction for decoding the control data stored in the register 17; It is a decoder.

このデコーダ18は、前記制御データX,Y,+,−,
M1〜M7,Sl〜S7,END等を解読する他、制御
データがD1〜D7を指定しているとD.SIG信号を
出力し、T1〜T7を指定しているとT.SIG信号を
出力するようになつている。21〜27はそれぞれ送り
量D1〜D7を設定する送り量設定デジタルスイッチ、
20は前記レジスタ17の内容を解読して制御データが
指定し”ている送り量D1〜D7に対応するデジタルス
イッチ21〜27の出力のみを有効にさせるセレクタで
ある。
This decoder 18 receives the control data X, Y, +, -,
In addition to decoding M1 to M7, Sl to S7, END, etc., if the control data specifies D1 to D7, D. If the SIG signal is output and T1 to T7 are specified, T. It is designed to output a SIG signal. 21 to 27 are feed amount setting digital switches for setting feed amounts D1 to D7, respectively;
A selector 20 decodes the contents of the register 17 and enables only the outputs of the digital switches 21-27 corresponding to the feed amounts D1-D7 specified by the control data.

31〜37はそれぞれ時間T1〜T7を設定する時間設
定デザタルスイツチ、30は前記レジスタ17の内容を
解読して制御データが指定している時間T1〜T7に対
応するデジタルスイッチ31〜37の出力のみを有効に
させるセレクタである。
31 to 37 are time setting digital switches that respectively set times T1 to T7, and 30 is a circuit that decodes the contents of the register 17 and outputs only the outputs of the digital switches 31 to 37 corresponding to the times T1 to T7 specified by the control data. This is a selector to enable.

41〜47はそれぞれ送り速度F1〜F7を設定する送
り速度設定デジタルスイッチ、40は前記レジスタ17
の内容を解読して制.御データが指定している送り速度
F1〜F7に対応するデジタルスイッチ41〜47の出
力のみを有効にさせるセレクタである。
41 to 47 are feed rate setting digital switches for setting feed rates F1 to F7, respectively; 40 is the register 17;
Control by deciphering the contents. This is a selector that enables only the outputs of the digital switches 41 to 47 corresponding to the feed speeds F1 to F7 specified by the control data.

50は前記有効にされた送り速度設定デジタルスイッチ
41〜47の設定値がデータバスBUSを通つて前記タ
イミングパルスCL4の入力によりロードされ、このロ
ードされた設定値に対応する周波数の送りパルスF.O
SCを前記BUSY信号の入力により出力し始め、BU
SY信号が停止されると直ちに送りパルスF.OSCの
出力を停止する送りパルス発生回路、51は前記デコー
ダ18から+信号が出力されている場合、および前記デ
コーダ18からS1信号が出力されておりしかも後述す
る戻し制御カウンタ56からCOUNT一信号が出力さ
れている場合いは送りパルスF.OSCを前−進送りパ
ルス+FPとして通過させ、デコーダ18から一信号が
出力されている場合、および前記デコーダ18からS1
信号が出力されており、しかも後述する戻し制御カウン
タ56からCOUNT+信号が出力されている場合には
送りパルスF.OSCを後退送りパルスーFPとして通
過させるパルス分配ゲート回路である。
Reference numeral 50 indicates that the set values of the enabled feed speed setting digital switches 41 to 47 are loaded by inputting the timing pulse CL4 through the data bus BUS, and a feed pulse F.50 of a frequency corresponding to the loaded set value is loaded. O
SC starts to be output by inputting the BUSY signal, and BU
As soon as the SY signal is stopped, the sending pulse F. A sending pulse generating circuit 51 for stopping the output of the OSC is used when the + signal is output from the decoder 18, when the S1 signal is output from the decoder 18, and when the COUNT- signal is output from the return control counter 56, which will be described later. If it is output, the feed pulse F. When the OSC is passed as a forward feed pulse +FP and one signal is output from the decoder 18, and the decoder 18 outputs S1
If the COUNT+ signal is being output from the return control counter 56, which will be described later, then the feed pulse F. This is a pulse distribution gate circuit that passes the OSC as a backward feed pulse-FP.

52は前記デコーダ18からT.SIG信号が出力され
ていると、予め定められた一定周波数の時間計数パルス
TPを、前記BUSY信号の入力により出力し始め、B
USY信号が停止されると直ちに時間計数パルス肝の出
力を停止する時間計数パルス発生回路である。
52 is the T. When the SIG signal is being output, a time counting pulse TP of a predetermined constant frequency starts to be outputted by inputting the BUSY signal, and B
This is a time counting pulse generation circuit that immediately stops outputting the time counting pulse when the USY signal is stopped.

53は前記デコーダ18からS1信号もしくはD.SI
G信号が出力されていると前記送りパルス発生回路50
から出力される送りパルスF.OSCを通過させる送り
制御カウンタ入力ゲート回路である。
53 receives the S1 signal from the decoder 18 or the D. S.I.
When the G signal is output, the sending pulse generating circuit 50
The feed pulse output from F. This is a feed control counter input gate circuit that passes through the OSC.

54は、前記有効にされた送り量設定デジタルスイッチ
21〜27の設定値D1〜D7もしくは有効にされた時
間設定デジタルスイッチ31〜37の設定値T1〜T7
がデータバスBUSを通つて、前記タイミングパルスC
L4の入力によりプリセットされ、また後述する戻し制
御カウンタ出力ゲート回路が57が開かれるとこのゲー
ト回路57を通過する数値がデータバスBUSを通つて
タイミングパルスCL4の入力によりプリセットされ、
これらのプリセット値が、前記ゲート回路53を通過し
た送りパルスF.OSCもしくは時間計数パルス発生回
路52から出力される時間計数パルスTPによつて減算
され、内容がOになるとDEN信号を出力する送り制御
カウンタである。
Reference numeral 54 indicates setting values D1 to D7 of the enabled feed amount setting digital switches 21 to 27 or setting values T1 to T7 of the enabled time setting digital switches 31 to 37.
passes through the data bus BUS, and the timing pulse C
It is preset by the input of L4, and when the return control counter output gate circuit 57, which will be described later, is opened, the numerical value passing through this gate circuit 57 is preset by the input of the timing pulse CL4 through the data bus BUS.
These preset values are applied to the sending pulse F. which passed through the gate circuit 53. This is a feed control counter that is subtracted by the time count pulse TP output from the OSC or the time count pulse generation circuit 52, and outputs a DEN signal when the content becomes O.

55は通常は開かれており前記パルス分配ゲート回路5
1を通過した送りパルス+FPおよび−FPを通過させ
、前記デコーダ18からS4信号が出力されていると閉
じられて送りパルス+FP,−FPの通過を阻止する戻
し制御カウンタ入力ゲート回露である。
55 is normally open and the pulse distribution gate circuit 5
This is a return control counter input gate recirculation gate that allows the sending pulses +FP and -FP that have passed through 1 to pass through, and is closed when the S4 signal is output from the decoder 18 to prevent the passing of the sending pulses +FP and -FP.

56はゲート回路55を通過した前進送りパルス+FP
が加算され、ゲート回路55を通過した後退送りパルス
ーFPが減算され、累積値が正のときにはCOUNT+
信号を出力し、累積値が負のときにはCOUNT一信号
を出力する戻し制御カウンタ、57は前記デコーダから
S1信号が出力されているときにのみ開かれて戻し制御
カウンタ56の計数値を通過させる戻し制御カウンタゲ
ートである。
56 is the forward feed pulse +FP that has passed through the gate circuit 55
is added, and the backward feed pulse-FP that has passed through the gate circuit 55 is subtracted, and when the cumulative value is positive, COUNT+
A return control counter 57 outputs a COUNT signal when the accumulated value is negative, and a return control counter 57 is opened only when the S1 signal is output from the decoder and allows the counted value of the return control counter 56 to pass through. Control counter gate.

第3図は前出の制御信号のタイムチャートを示している
FIG. 3 shows a time chart of the aforementioned control signals.

次に、前記表1のプログラムおよび第3図のタイミング
チャートに従つて上記実施例装置の作用を説明する。
Next, the operation of the apparatus of the above embodiment will be explained according to the program shown in Table 1 and the timing chart shown in FIG.

通常の送り制御サイクルの場合は、作業者が外ノ部指令
スイッチPBlを入れる。
In the case of a normal feed control cycle, the operator turns on the outer knob command switch PBl.

これにより信号レベル変換回路4からは STARTl信号が出力される。As a result, from the signal level conversion circuit 4, A STARTl signal is output.

このSTARTl信号によりランフラグ回路8のJ−K
フリップフロップ84がセットされRUN信号が出力さ
れる。)初期状態ではビジイフラグ回路10のJ−Kフ
リップフロップ106はリセットされてBUSY信号は
出力されていないためRUN信号が出力されると直ちに
タイミングパルス発生回路7のシフトレジスタ72から
1サイクル分のタイミングパルス7CL1〜CL5が出
力される。このタイミングパルスCLl〜CL5の出力
中に一制御データの読み出しが行われる。すなわち、S
TARTl信号が出力されているためタイミングパルス
CLlによりプログラムカウンタ11はMOにリセット
され、タイミングパルスCL2によりSTARTl信号
の出力が停止されるとともにプログラム記憶部3の記憶
番地MOの記憶内容X+D3F7がレジスタ17に読み
出される。
This STARTl signal causes the run flag circuit 8 to
Flip-flop 84 is set and a RUN signal is output. ) In the initial state, the J-K flip-flop 106 of the busy flag circuit 10 is reset and the BUSY signal is not output, so as soon as the RUN signal is output, a timing pulse for one cycle is generated from the shift register 72 of the timing pulse generation circuit 7. 7CL1 to CL5 are output. One control data is read out while the timing pulses CL1 to CL5 are being output. That is, S
Since the TARTl signal is being output, the program counter 11 is reset to MO by the timing pulse CLl, and the output of the STARTl signal is stopped by the timing pulse CL2, and the storage content X+D3F7 of the storage address MO of the program storage unit 3 is stored in the register 17. Read out.

これにより送り量設定デジタルスイッチ23の出力およ
び送り速度設定デジタルスイッチ47の出力が有効にさ
れるとともにデコーダ18からはX信号、十信号、D.
STG信号が出力される。タイミングパルスCL4によ
り送り量デジタルスイッチ23の設定値D3が送り制御
カウンタ54にプリセットされるとともに送り速度設定
デジタルスイッチ47の設定値F7(急速送り速度)が
送りパルス発生回路50にロードされる。タイミングパ
ルスCLl〜CL5の出力が停止されると次は送り動作
が実行される。すなわち、前述の如くRUN信号が出力
されしかもD.STG信号が出力されているためタイミ
ングパルスCL5の出力完了時にビジイフラグ回路10
のフリップフロップ106ががセットされBUSY信号
が出力され、これにより送りパルス発生回路50からロ
ード値F7に対応した周波数の送りパルスF.OSCが
出力される。十信号が出力されているため送りパルスF
.OSCは前進送りパルス+FPとしてパルス分配ゲー
ト回路51を通過する。この前進送りパルス+FPはパ
ルスモータ駆動回路2に入力されてパルスモータ1を前
進駆動させ、砥石台を急速送り速度F7で前進させる。
S4信号は出力されていないため戻し制御カウンタ入力
ゲート回路55は開かれており、前記前進送りパルス+
FPは戻し制御カウンタ56へも入力されて加算され.
る。またD.STG信号が出力されているため送り制御
カウンタ入力ゲート回路53は開かれており、前記送り
パルスF.OSCは送り制御カウンタ54に入力されて
カウンタ54のプリセット値D3を!減算していく。
As a result, the output of the feed amount setting digital switch 23 and the output of the feed rate setting digital switch 47 are enabled, and the decoder 18 outputs an X signal, a ten signal, a D.
An STG signal is output. The set value D3 of the feed amount digital switch 23 is preset in the feed control counter 54 by the timing pulse CL4, and the set value F7 (rapid feed rate) of the feed rate setting digital switch 47 is loaded into the feed pulse generation circuit 50. When the output of the timing pulses CL1 to CL5 is stopped, a feeding operation is performed next. That is, the RUN signal is output as described above, and the D. Since the STG signal is being output, the busy flag circuit 10 is activated when the output of the timing pulse CL5 is completed.
Flip-flop 106 is set and a BUSY signal is output, whereby the feed pulse generation circuit 50 generates a feed pulse F. of the frequency corresponding to the load value F7. OSC is output. Since the 10 signal is output, the feed pulse F
.. The OSC passes through the pulse distribution gate circuit 51 as a forward feed pulse +FP. This forward feed pulse +FP is input to the pulse motor drive circuit 2 to drive the pulse motor 1 forward, thereby moving the grindstone head forward at a rapid feed speed F7.
Since the S4 signal is not output, the return control counter input gate circuit 55 is open, and the forward feed pulse +
FP is also input to the return control counter 56 and added.
Ru. Also D. Since the STG signal is being output, the feed control counter input gate circuit 53 is open, and the feed pulse F. The OSC is input to the feed control counter 54 and the preset value D3 of the counter 54 is input! Subtract.

このカウンタ54の内容がOになると換言すれば送りパ
ルス発生回路50から出力された送りパルスF.OSC
の数がD3になると、このカウンタ54からDEN信号
が出力され、このDEN信号によつて直ちにビジイフラ
グ回路10のフリップフロップ10がリセットされBU
SY信号の出力が停止される。これにより直ちに送りパ
ルス発生回路50は送りパルスF.OSCの出力を停止
する。こうして砥石台は急速送り速度F7で距離D3だ
け前進せしめられる。BUSY信号が出力されなくなる
と、前記RUN信号は出力されているのでタイミングパ
ルス発生回路7のシフトレジスタ72からは再び1サイ
クル分のタイミングパルスCLl〜CL5が出力され、
記憶番地m1の制御データが読み出されて実行され、砥
石台は粗研削送り速度F1で距離D2だけ前進せしめら
れる。
In other words, when the content of this counter 54 becomes O, the feed pulse F output from the feed pulse generation circuit 50. O.S.C.
When the number of D3 reaches D3, a DEN signal is output from the counter 54, and this DEN signal immediately resets the flip-flop 10 of the busy flag circuit 10.
Output of the SY signal is stopped. As a result, the sending pulse generation circuit 50 immediately generates the sending pulse F. Stops OSC output. The grindstone head is thus advanced by a distance D3 at a rapid feed rate F7. When the BUSY signal is no longer output, since the RUN signal has been output, the shift register 72 of the timing pulse generation circuit 7 outputs one cycle of timing pulses CL1 to CL5 again.
The control data at memory address m1 is read out and executed, and the grindstone head is advanced by distance D2 at rough grinding feed rate F1.

同様にして記憶番地M2の制)御データM1が読み出さ
れるとレストは油圧送り前進され、油圧送り前進が完了
すると、信号レベル変換回路からM.FIN信号が出力
されてBUSY信号の出力が停止される。なおこの間の
砥石台の送りは行われない。記憶番地M3の制御データ
が読出されると砥石台は精研削送り速度F2で距離D5
だけ前進せしめられる。記憶番地M4の制御データT1
が読み出されると、時間設定回路31の設定値T1が送
り制御カウンタ54にプリセットされ、時間計数パルス
発・生回路52から時間計数パルス肝が出力されて送り
制御カウンタ54のプリセット値T1がこの時間計数パ
ルスTPにより減算される。
Similarly, when the control data M1 at memory address M2 is read out, the rest is hydraulically fed forward, and when the hydraulic forwarding is completed, the M. The FIN signal is output and the output of the BUSY signal is stopped. Note that the grindstone head is not fed during this time. When the control data at memory address M3 is read, the grindstone head moves to distance D5 at fine grinding feed speed F2.
I am forced to move forward. Control data T1 at memory address M4
When is read out, the set value T1 of the time setting circuit 31 is preset to the feed control counter 54, and the time count pulse is output from the time count pulse generation/generation circuit 52, and the preset value T1 of the feed control counter 54 is set to this time. Subtracted by counting pulse TP.

この間送り制御パルスF.OSCは出力されないから砥
石台は停止している。こうして時間T1の間は砥石台は
停止してスパークアウト研削を行う。記憶番地M5の制
御データが読み出されるとレストは油圧送り後退せしめ
られ、記憶番地M6の制御データが読み出されると砥石
台は急速送り速度F7て距離D4だけ後退せしめられて
原位置に復帰する。
During this time, the feed control pulse F. Since the OSC is not output, the grindstone head is stopped. Thus, during the time T1, the grindstone head is stopped and spark-out grinding is performed. When the control data at the memory address M5 is read out, the rest is hydraulically moved back, and when the control data at the memory address M6 is read out, the grindstone head is moved back by a distance D4 at a rapid feed rate F7 and returns to its original position.

記憶番地M7の制御データENDが読み出されるとラン
フラグ回路8のフリップフロップ84がリセットされる
。こうして通常の送り制御サイクルプログラムの実行が
完了する。
When the control data END at memory address M7 is read out, the flip-flop 84 of the run flag circuit 8 is reset. In this way, the execution of the normal feed control cycle program is completed.

砥石研摩耗補正サイクルの場合には、通常の送り制御サ
イクルが実行されていない時で例えば砥石をドレッシン
グした後に、作業者が外部指令スイッチPB2を入れる
In the case of the grindstone wear correction cycle, the operator turns on the external command switch PB2, for example, after dressing the grindstone when the normal feed control cycle is not being executed.

これにより信号レベル変換回路5からは START2信号が出力される。As a result, from the signal level conversion circuit 5, A START2 signal is output.

このSTART2信号によりランフラグ回路8のフリッ
プフロップ84がセットされRUN信号が出力される。
これによりタイミングパルス発生回路7のシフトレジス
タ72から1サイクル分のタイミングパルスCL1〜C
L5が出力される。またSTART2信号によりアドレ
スゲート回路14は砥石摩耗補正サイクルスタート番地
設定回路13の出力値M43を通過させる。そしてタイ
ミングパルスCLlによりプログラムカウンタ11にア
ドレスゲート回路14を通過しているM43がロードさ
れる。これにより通常の送り制御サイクルの場合と同様
にして、送り量設定デジタルスイッチ21の設定値D1
(D1はドレッシングにより生じる砥石の減少量に予め
設定されている)が送り制御カウンタ54にプリセット
され、送り速度設定デジタルスイッチ42の設定値F2
が送りパルス発生回路50にロードされ、砥石台は速度
F2で距離D1だけ前進せしめられる。
The START2 signal sets the flip-flop 84 of the run flag circuit 8 and outputs the RUN signal.
As a result, one cycle of timing pulses CL1 to C are output from the shift register 72 of the timing pulse generation circuit 7.
L5 is output. Further, the START2 signal causes the address gate circuit 14 to pass the output value M43 of the grindstone wear correction cycle start address setting circuit 13. Then, M43 passing through the address gate circuit 14 is loaded into the program counter 11 by the timing pulse CLl. As a result, the set value D1 of the feed amount setting digital switch 21 is set in the same manner as in the normal feed control cycle.
(D1 is preset to the amount of reduction in the grindstone caused by dressing) is preset in the feed control counter 54, and the set value F2 of the feed speed setting digital switch 42
is loaded into the feed pulse generating circuit 50, and the grindstone head is advanced by a distance D1 at a speed F2.

なお、この場合にはデコーダ18からS4信号が出力さ
れているためゲート回路55は閉ざされ、送りパルス+
FPは戻し制御カウンタ56には入力されない。従つて
戻し制御カウンタ56には常に砥石の摩耗分が補正され
た砥石台の現位置が記憶されていることになる。非常戻
しサイクルは、他のいかなるサイクルの実行中のサイク
ルを停止させて実行される。
Note that in this case, since the S4 signal is output from the decoder 18, the gate circuit 55 is closed and the sending pulse +
FP is not input to the return control counter 56. Therefore, the return control counter 56 always stores the current position of the grindstone head, which has been corrected for wear of the grindstone. The emergency return cycle is executed by stopping any other cycles in progress.

例えは通常の送り制御サイクルの実行中に何か異常を発
生したときに作業者が外部指令スイッチPB3を入れる
。これにより信号レベル変換回路6からErvlB信号
が出力される。
For example, when an abnormality occurs during execution of a normal feed control cycle, an operator turns on the external command switch PB3. As a result, the signal level conversion circuit 6 outputs the ErvlB signal.

EMB信号が出力されると非常戻しランフラグ回路9の
フリップフロップ92がセットされてEMB.SDW信
号が出力される。EMB.SDW信号によりランフラグ
回路8のフリツ.プフロツプ84がリセットされてRU
M信号の出力が停止され、また外部動作実行中であつて
フラグ回路10のフリップフロップ106がセットされ
ている場合にはこのEMB.SDW信号により直ちにリ
セットされてBUSY信号の出力が停止され、外部動作
の実行が停止されるこうしてEMB.SDW信号により
それまで実行されていた通常の送り制御サイクルは中止
される。一方EMB.SDW信号が出力されるとタイミ
ングパルス発生回路7のシフトレジスタ72からタイミ
ングパルスCLl〜CL5が出力されていないときには
直ちに、またタイミングパルスCLl〜CL5が出力さ
れている場合にはその出力が完了したときに非常戻しラ
ンフラグ回路9のフリップフロップ94がセットされて
EMB.CLKが出力される。
When the EMB signal is output, the flip-flop 92 of the emergency return run flag circuit 9 is set and the EMB. An SDW signal is output. EMB. The run flag circuit 8 is activated by the SDW signal. The flop 84 is reset and the RU
If the output of the M signal is stopped and an external operation is being executed and the flip-flop 106 of the flag circuit 10 is set, this EMB. The EMB.SDW signal immediately resets the output of the BUSY signal and stops the execution of external operations. The SDW signal causes the normal feed control cycle that was being executed up to that point to be aborted. On the other hand, EMB. When the SDW signal is output, the shift register 72 of the timing pulse generation circuit 7 outputs the timing pulses CLl to CL5 immediately when the timing pulses CLl to CL5 are not outputted, or when the output of the timing pulses CLl to CL5 is completed when the timing pulses CLl to CL5 are outputted. The flip-flop 94 of the emergency return run flag circuit 9 is set to EMB. CLK is output.

これによりフリップフロップ92はリセットされてEM
B.SDW信号の出力が停止され、またEMB.CYC
LE信号が出力される。ビジイフラグ回路10からのB
USY信号の出力はすぐに停止されているためEMB.
CYCLE信号によりタイミングパルス発生回路7のシ
フトレジスタ72から1サイクル分のタイミングパルス
CLl〜CL5が出力される。タイミングパルスCLl
により、アドレスゲート14を通過している非常戻しサ
イクルスタート番地設定回路12の出力値M4lがプロ
グラムカウンタ11にロードされ、タイミングパルスC
L2により記憶番地M4lの制御データX7Slが読み
出される。
As a result, the flip-flop 92 is reset and the EM
B. The output of the SDW signal is stopped, and the EMB. CYC
LE signal is output. B from busy flag circuit 10
Since the output of the USY signal is stopped immediately, the EMB.
In response to the CYCLE signal, one cycle of timing pulses CL1 to CL5 is output from the shift register 72 of the timing pulse generation circuit 7. Timing pulse CLl
As a result, the output value M4l of the emergency return cycle start address setting circuit 12, which has passed through the address gate 14, is loaded into the program counter 11, and the timing pulse C
Control data X7Sl at memory address M4l is read by L2.

またタイミングパルスC2により非常戻しランフラグ回
路9のフリップフロップ97がセットされEMB.ST
信号が出力されてフリップフロップ94はリセットされ
てEMB.CLK信号の出力は停止される。デコーダ1
8からはS1信号が出力されるため戻し制御カウンタ出
力ゲート回路57が開かれ、タイミングパルスCL4に
より戻し制御カウンタ56の計数値すなわち砥石台の現
在位置が送り制御カウンタ54にプリセットされる。
Furthermore, the flip-flop 97 of the emergency return run flag circuit 9 is set by the timing pulse C2, and the EMB. ST
The flip-flop 94 is reset by outputting the EMB. Output of the CLK signal is stopped. Decoder 1
Since the S1 signal is output from 8, the return control counter output gate circuit 57 is opened, and the count value of the return control counter 56, that is, the current position of the grindstone head, is preset in the feed control counter 54 by the timing pulse CL4.

またタイミングパルスCL4により送り速度設定デジタ
ルスイッチ41の設定値F7(急速送り速度)がロード
される。EMB.ST信号が出力されまたデコーダ18
からはS1信号が出力されているのでタイミングパルス
CL5の出力完了によりビジイフラグ回路10のフリッ
プフロップ106がセットされる。
Further, the setting value F7 (rapid feed rate) of the feed rate setting digital switch 41 is loaded by the timing pulse CL4. EMB. The ST signal is output and the decoder 18
Since the S1 signal is being output from CL5, the flip-flop 106 of the busy flag circuit 10 is set upon completion of outputting the timing pulse CL5.

これにより送りパルス発生回路50からはF7に対応し
た周波数の送りパルスF.OSCが出力される。デコー
ダ18からS1信号が出力されているため、戻しカウン
タ56の内容が正(砥石台が原点に対して前進した位置
にあることを示している)のときにはパルス分配ゲート
回路51は送りパルスF.OSCを後退パルスーFPと
して出力し、逆に戻しカウンタ56の内容が負(砥石台
が原点に対して後退位置にあることを示している)のと
きにはパルス分配ゲート回路51は送りパルスF.OS
Cを前進パルス+FPとして出力する。この送りパルス
+FPもしくは−FPによりパルスモータ1は駆動され
、またデコーダ18からはS1信号が出力されているた
めにゲート回路53が開かれて送り制御カウンタ54の
プリセット値は送りパルスF.OSCにより減算される
。送り制御カウンタ54の内容がOになるととDEN信
号が出力され、ビジイフラグ回路10のフリップフロッ
プ106がリセットされてBUSY信号の出力が停止さ
れ、送り制御パルス発生回路50からの送りパルスF.
OSCの出力は停止される。このようにして砥石台は急
速送り速度F7で原点に復帰する。BUSY信号の出力
が停止されると再びタイミングパルスCLl〜CL5が
出力される。
As a result, the feed pulse generation circuit 50 outputs a feed pulse F. of the frequency corresponding to F7. OSC is output. Since the S1 signal is output from the decoder 18, when the content of the return counter 56 is positive (indicating that the grindstone head is in a position advanced relative to the origin), the pulse distribution gate circuit 51 outputs the feed pulse F. The pulse distribution gate circuit 51 outputs the forward pulse F. OS
Output C as forward pulse +FP. The pulse motor 1 is driven by the feed pulse +FP or -FP, and since the S1 signal is output from the decoder 18, the gate circuit 53 is opened and the preset value of the feed control counter 54 is set to the feed pulse F. Subtracted by OSC. When the content of the feed control counter 54 becomes O, the DEN signal is output, the flip-flop 106 of the busy flag circuit 10 is reset, the output of the BUSY signal is stopped, and the feed pulse F.
The output of the OSC is stopped. In this way, the grindstone head returns to its origin at the rapid feed rate F7. When the output of the BUSY signal is stopped, the timing pulses CL1 to CL5 are output again.

このときにはEMB.CLK信号の出力はすでに停止さ
れ、EMB.ST信号が出力されているのでタイミング
パルスCLlによりプログラムカウンタ11は+1され
てM42となる。従つてタイミングパルスCL2により
記憶番地M42の制御データENDが読み出されて、非
常戻しランフラグ回路9のフリップフロップ97がリセ
ットされる。こうして非常戻しサイクルプログラムの実
行が完了する。
At this time, EMB. The output of the CLK signal has already been stopped, and the EMB. Since the ST signal is being output, the program counter 11 is incremented by 1 by the timing pulse CLl and becomes M42. Therefore, the control data END at the memory address M42 is read out by the timing pulse CL2, and the flip-flop 97 of the emergency return run flag circuit 9 is reset. In this way, the execution of the emergency return cycle program is completed.

以上の説明から明らかなように、本発明は、加工条件と
しての送り量及び送り速度はデジタルスイッチの設定替
えにより自由に変更もダイオードマトリックスとしての
プログラム記憶部に記憶する制御データを変更すれば容
易にサイクルを変えることができる。
As is clear from the above explanation, in the present invention, the feed rate and feed rate as machining conditions can be freely changed by changing the settings of the digital switch, and can be easily changed by changing the control data stored in the program storage unit as a diode matrix. You can change the cycle to

よつて研削加工のプログラム制御において極めて実用性
に富み、またサイクルの異なる異機種の研削盤にも容易
に適用できるものであるから汎用性もあり、極めて融通
性に富む利点がある。
Therefore, it is extremely practical in program control of grinding processing, and it is also easily applicable to different types of grinding machines with different cycles, so it is versatile and has the advantage of being extremely flexible.

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

第1図は本発明の実施例のブロック線図、第2図は第1
図におけるブロック7〜10の具体例を示す電気回路図
、第3図は制御信号のタイムチャートである。 1・・・パルスモータ、2・・・パルスモータ駆動回路
、3・・・プログラム記憶部、4〜6・・・信号レベル
変換回路、7・・・タイミングパルス発生回路、8・・
・ランフラグ回路、9・・・非戻しランフラグ回路、1
0・・・ビジイフラグ回路、11・・・プログラムカウ
ンタ、12・・・非常戻しサイクルスタート番地設定回
路、21〜27・・・送り量設定デジタルスイッチ、4
1〜47・・・送り速度設定デジタルスイッチ、50・
・・送りパルス発生回路、51・・・パルス分配ゲート
回路、54・・・送り制御カウンタ、56・・・戻し制
御カウンタ、PBl〜PB3・・・外部指令スイッチ。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
An electric circuit diagram showing specific examples of blocks 7 to 10 in the figure, and FIG. 3 is a time chart of control signals. DESCRIPTION OF SYMBOLS 1... Pulse motor, 2... Pulse motor drive circuit, 3... Program storage section, 4-6... Signal level conversion circuit, 7... Timing pulse generation circuit, 8...
・Run flag circuit, 9...Non-return run flag circuit, 1
0...Busy flag circuit, 11...Program counter, 12...Emergency return cycle start address setting circuit, 21-27...Feed amount setting digital switch, 4
1 to 47...Feed rate setting digital switch, 50.
... Feed pulse generation circuit, 51... Pulse distribution gate circuit, 54... Feed control counter, 56... Return control counter, PBl to PB3... External command switch.

Claims (1)

【特許請求の範囲】[Claims] 1 移動体の各送り段階毎の増分送り量が設定される複
数の送り量設定デジタルスイッチと、移動体の移動速度
が設定される複数の送り速度設定デジタルスイッチと、
これら送り量設定デジタルスイッチ及び送り速度設定デ
ジタルスイッチの各1つを選択し有効ならしめるセレク
タ回路と、このセレクタ回路に与える制御データを各送
り段階毎に切替えられる各記憶番地にプログラム可能に
記憶せしめたダイオードマトリックス回路よりなるプロ
グラム記憶部と、このプログラム記憶部に記憶された制
御データの記憶番地を指定して各送り段階に応じた制御
データを順次読み出すプログラムカウンタと、前記制御
データにて選択された送り速度設定デジタルスイッチの
設定値が入力されこの入力された設定値に対応する周波
数の送りパルスを出力する送りパルス発生回路と、この
送りパルスによつて移動体制御用のパルスモータを駆動
させるパルスモータ駆動回路と、前記制御データにて選
択された送り量設定デジタルスイッチの設定値がプリセ
ットされこのプリセット値が送りパルス発生回路から出
力される送りパルスで減算され内容が0になると送り停
止信号を出力する送り制御カウンタと、この送り停止信
号により前記送りパルス発生回路から出力される送りパ
ルスを止め、かつ前記プログラムカウンタを歩進させる
制御回路とを備えたことを特徴とするプログラム式送り
制御装置。
1. A plurality of feed rate setting digital switches for setting the incremental feed amount for each feed stage of the moving body, and a plurality of feed rate setting digital switches for setting the moving speed of the moving body;
A selector circuit for selecting and activating one of the feed amount setting digital switch and the feed rate setting digital switch, and control data to be applied to this selector circuit are programmably stored in each memory address that can be switched for each feed stage. a program storage section consisting of a diode matrix circuit; a program counter that specifies the storage address of the control data stored in the program storage section and sequentially reads out the control data corresponding to each feeding stage; A feed pulse generation circuit that receives the setting value of the feed speed setting digital switch and outputs a feed pulse with a frequency corresponding to the input setting value, and a pulse that drives a pulse motor for controlling a moving object using this feed pulse. The setting value of the motor drive circuit and the feed rate setting digital switch selected by the control data is preset, and this preset value is subtracted by the feed pulse output from the feed pulse generation circuit, and when the content becomes 0, a feed stop signal is issued. A programmable feed control device comprising: a feed control counter that outputs an output; and a control circuit that stops the feed pulse output from the feed pulse generation circuit in response to the feed stop signal and increments the program counter. .
JP50103598A 1975-08-26 1975-08-26 Programmable feed control device Expired JPS6043521B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP50103598A JPS6043521B2 (en) 1975-08-26 1975-08-26 Programmable feed control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP50103598A JPS6043521B2 (en) 1975-08-26 1975-08-26 Programmable feed control device

Publications (2)

Publication Number Publication Date
JPS5227975A JPS5227975A (en) 1977-03-02
JPS6043521B2 true JPS6043521B2 (en) 1985-09-28

Family

ID=14358190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP50103598A Expired JPS6043521B2 (en) 1975-08-26 1975-08-26 Programmable feed control device

Country Status (1)

Country Link
JP (1) JPS6043521B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5471933A (en) * 1977-11-18 1979-06-08 Matsushita Electric Ind Co Ltd Ghost elimination unit
JPS57123772A (en) * 1981-12-18 1982-08-02 Hitachi Ltd Ghost elimination device
JP3352986B2 (en) 1999-12-17 2002-12-03 スター精密株式会社 Machine tool drive control device

Also Published As

Publication number Publication date
JPS5227975A (en) 1977-03-02

Similar Documents

Publication Publication Date Title
US4195582A (en) Sewing machine stitching control system
KR960016026B1 (en) Method for automatically adjusting die thickness in toggle type lock
JPS5922548B2 (en) Sewing machine positioning drive device
US11658593B2 (en) Automated speed ramp control of stepper motors
US7003373B2 (en) Method and device for numerical control
US3802622A (en) Repositioning apparatus for a numerically controlled machine tool
US4504772A (en) Method of sensing current position in position control system
JPS6043521B2 (en) Programmable feed control device
US3828238A (en) Numerically controlled machine tool including backlash elimination
US3840792A (en) Numerical control device for machine tools
JPS6043522B2 (en) Programmable feed control device
GB1316071A (en) Method and apparatus for producing digital contour movement using stepping motors
US3746956A (en) Tape-reading control system for repeat-processing cycles of traverse cutting
US4399760A (en) Sewing machine for fancy seams
JPS5823119B2 (en) numerical control sewing machine
GB2044502A (en) Programmable frequency divider
US4110674A (en) Programmable feed control apparatus for a machine tool
JPS5821722B2 (en) Programmable feed control device
JPH10301614A (en) Numeric controller
SU723514A1 (en) Grinding machine control device
Koren et al. Numerical control of a lathe
JPS59329B2 (en) Renzoku Nejikiris Uchigiyosouchi
GB1372291A (en) Numerical control contouring systems
SU554528A1 (en) Device for controlling the feeding of the grinding machine
SU717722A1 (en) Device for control of electric drive of grinding-polishing machines