JPH01124003A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPH01124003A
JPH01124003A JP28261687A JP28261687A JPH01124003A JP H01124003 A JPH01124003 A JP H01124003A JP 28261687 A JP28261687 A JP 28261687A JP 28261687 A JP28261687 A JP 28261687A JP H01124003 A JPH01124003 A JP H01124003A
Authority
JP
Japan
Prior art keywords
sequence
control unit
control part
motion signal
main memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28261687A
Other languages
Japanese (ja)
Inventor
Makoto Nishimura
眞 西村
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP28261687A priority Critical patent/JPH01124003A/en
Publication of JPH01124003A publication Critical patent/JPH01124003A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To omit the mechanical setting of simultaneous operation starting point by supplying a rap motion signal from a system control part to a sequence control part when an axis set up by a user program reaches an optional position during the execution of one block. CONSTITUTION:The system control part 3 transmits/receives information to/from a main memory 2 during the execution of one block, and when an optional axis set up by the user program reaches an optional position, supplies a rap motion signal RM to the sequence control part 12. Then, the control part 12 starts rap motion by the rap motion signal RM. Consequently, the mechanical setting of a starting point of simultaneous operation in which the fitting of constitution parts, the adjustment of a fitting position, etc., are difficult can be completely omitted.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は数値制御装置に関するものである。[Detailed description of the invention] [Industrial application field] This invention relates to a numerical control device.

[従来の技術] 第4図は従来の数値制御装置を示すブロック構成図であ
り、図において、(1)は数値制御装置(以下、NCと
称す)、(2)は予めプログラミングされたプログラム
及び加工情報等の情報を一時的に記憶するメインメモリ
、(3)はシステム制御部、(4)はキーボードから構
成された設定部と表示部を備えた設定表示ボード、(5
)は加工情報を記憶している紙テープを読む紙テープリ
ーダ、(6)はサーボモータ(8)を制御するサーボ制
御部、(7)はサーボモータ(8)の移動量及び回転速
度を検出する速度検出器、(9)は      ・主軸
モータ(10)の回転速度を検出する速度検出器、(1
1)は主軸モータ(10)を制御する主軸制御部、(1
2)は工作機械(13)をシーケンス制御するシーケン
ス制御部、(14)は工作機械(13)の制御用シーケ
ンスプログラムを記憶しているシーケンスメモリ、(1
5)は同時動作開始点を検出する同時動作開始点リミッ
トスイッチである。
[Prior Art] FIG. 4 is a block diagram showing a conventional numerical control device. In the figure, (1) is a numerical control device (hereinafter referred to as NC), (2) is a preprogrammed program and A main memory that temporarily stores information such as processing information, (3) a system control section, (4) a setting display board that includes a setting section consisting of a keyboard and a display section, (5)
) is a paper tape reader that reads the paper tape that stores processing information, (6) is a servo control unit that controls the servo motor (8), and (7) is a speed that detects the movement amount and rotation speed of the servo motor (8). The detector (9) is a speed detector (1) that detects the rotation speed of the spindle motor (10).
1) is a spindle control unit that controls the spindle motor (10);
2) is a sequence control unit that sequentially controls the machine tool (13); (14) is a sequence memory that stores a sequence program for controlling the machine tool (13);
5) is a simultaneous operation start point limit switch that detects the simultaneous operation start point.

自動加工ライン等では製品のコスト低減のため加工時間
の短縮が盛んに行われている。この加工時間を短縮する
ためには、無駄な動作は省き、同時動作(ラップモーシ
ョン)ができる所はすべて同時動作にしている。
Automated processing lines and the like are actively working to shorten processing time in order to reduce product costs. In order to shorten this machining time, unnecessary motions are eliminated, and all parts where simultaneous motion (lap motion) is possible are made to operate simultaneously.

ラップモーションとは、複数の動作を同時に実行するこ
とをいい、ラップモーションをすることにより、タクト
タイムの短縮ができる。たとえば第5図(a)、(b)
に示すように、Aという動作とBという動作のタクトが
10秒と20秒とする。A、Bの動作をラップさせずに
連続して実行する、つまり、第5図(C)に示すように
、A動作が終了してからB動作を開始させると、タクト
は10秒+20秒=30秒となる。これを、第5図(d
)に示すように、A動作の途中たとえばA動作開始5秒
後にB動作を開始させると、タクトは10秒+(20−
5)秒=25秒となり、連続動作により5秒短縮される
ことになる。
Wrap motion refers to executing multiple operations at the same time, and by performing wrap motion, takt time can be shortened. For example, Figures 5(a) and (b)
As shown in Figure 2, assume that the takt times of action A and action B are 10 seconds and 20 seconds. If actions A and B are executed consecutively without wrapping, that is, if action B is started after action A ends, as shown in Figure 5 (C), the takt time will be 10 seconds + 20 seconds = It will be 30 seconds. This is shown in Figure 5 (d
), if you start operation B during operation A, for example 5 seconds after the start of operation A, the takt time will be 10 seconds + (20 -
5) Seconds = 25 seconds, which will be shortened by 5 seconds by continuous operation.

しかし、従来のNCではプログラムの1ブロツクの先頭
か終了時には複数の指令を出力できるが、プログラムの
1ブロツク内の動作途中では複数の指令を出力すること
か不可能である。たとえば100ml11の切削送りで
送り速度100mm/分で実行すると、切削時間は1分
かかることになる。その間に中間点50mmの所で同時
動作の可能な動きがあるとしても、それはNCではどう
することもできず、機械的なリミットスイッチを使って
しかできない。
However, although conventional NCs can output multiple commands at the beginning or end of one block of a program, it is impossible to output multiple commands during the operation within one block of a program. For example, if the cutting is performed at a feed rate of 100 mm/min with a cutting feed of 100 ml11, the cutting time will take 1 minute. Even if there is a movement that can be performed simultaneously at an intermediate point of 50 mm between them, there is nothing that can be done with NC, and it can only be done using a mechanical limit switch.

第6図は同時動作開始用リミットスイッチ(15)と工
作機械(13)の関係を示す図であり、第6図において
、(16)はサーボモータ(8)によって駆動される移
動部、(17)はワーク(19)を加工するために移動
部(16)の先端に取付けられたツール、(18)は同
時動作開始用リミットスイッチ(15)のバーを押し下
げるドグであり、このドグ(18)は移動部(16)に
固定されている。
FIG. 6 is a diagram showing the relationship between the limit switch for simultaneous operation start (15) and the machine tool (13). In FIG. 6, (16) is a moving part driven by a servo motor (8), (17 ) is a tool attached to the tip of the moving part (16) to process the workpiece (19), and (18) is a dog that pushes down the bar of the limit switch (15) for starting simultaneous operation; is fixed to the moving part (16).

第7図は同時動作を行うブロックのプログラムrGOI
Z100FOOM△△」を実行中でのシステム制御部の
動作フロー、第8図はシーケンス制御部の動作フローで
ある。
Figure 7 shows the program rGOI of blocks that perform simultaneous operations.
FIG. 8 shows the operation flow of the system control unit during execution of “Z100FOOM△△”.

次に動作について説明する。Next, the operation will be explained.

まず、システム制御部(3)が」二記ブロックのプログ
ラムrGOIZ100FOOM△△」を解読し、サーボ
制御部(6)にZ軸の速度100mmZ分移動指令を出
力すると同時に、シーケンス制御部(12)にM△△コ
ードを出力する(ステップ5T−9,5T−10)。
First, the system control unit (3) decodes the “program rGOIZ100FOOM△△” in block 2 and outputs a Z-axis movement command of 100 mm Z to the servo control unit (6), and at the same time outputs a movement command to the sequence control unit (12). The MΔΔ code is output (steps 5T-9, 5T-10).

上記システム制御部(3)がさらにサーボ制御部(6)
に移動指令を出力しつづけると、Z軸が位置(80)を
通過して(ステップ5T−11)、位置(100)に到
達しくステップ5T−12)、そのブロックの実行を終
了して次のブロックに移る。
The system control section (3) further includes a servo control section (6).
If you continue to output movement commands to , the Z-axis will pass through position (80) (step 5T-11) and reach position (100) (step 5T-12), and the execution of that block will end and the next Move to block.

一方、シーケンス制御部(12)はZ軸の上記動作時に
M△△コードの有無を判断しくステップ5T−13) 
、M△△コードが有のときは、同時動作開始点リミット
スイッチ(15)のバーがドグ(18)によって押し下
げられて該同時動作開始点リミットスイッチがONか否
かを判断しくステップ5T−14)、この同時動作開始
点リミットスイッチがONになると同時動作を開始する
(ステップ5T−15)。
On the other hand, the sequence control unit (12) determines the presence or absence of the M△△ code during the above operation of the Z axis (step 5T-13).
, when the M△△ code is present, the bar of the simultaneous operation start point limit switch (15) is pushed down by the dog (18), and it is determined whether the simultaneous operation start point limit switch is ON or not. Step 5T-14 ), when this simultaneous operation start point limit switch is turned ON, simultaneous operations are started (step 5T-15).

[発明が解決しようとする問題点] 従来の数値制御装置は以上のように構成されているので
、同時動作を実現するためには、リミットスイッチとド
グ等を使って機械的に同時動作開始点を設定することが
必要であり、複雑な機械であると、リミットスイッチの
取付けが困難であるとか、取付は位置の調整が困難であ
°るとかの問題点があった。また、対象物(ワーク)が
数種類あったり変更されると、リミットスイッチを数個
取付けたり、その取付は位置を変更するという作業が必
要であるという問題点があった。
[Problems to be solved by the invention] Conventional numerical control devices are configured as described above, so in order to realize simultaneous operations, it is necessary to mechanically set the starting point of simultaneous operations using limit switches, dogs, etc. It is necessary to set the limit switch, and if the machine is complex, there are problems in that it is difficult to install the limit switch, and it is difficult to adjust the position of the limit switch. Furthermore, when there are several types of objects (workpieces) or when the workpieces are changed, there is a problem in that it is necessary to install several limit switches and to change the positions of the limit switches.

この発明は上記のような問題点を解消するためになされ
たもので、同時動作開始点の機械的な設定が不要で、同
時動作開始点の追加・変更もユーザプログラムの変更だ
けで行える簡素化された数値制御装置を得ることを目的
とする。
This invention was made to solve the above-mentioned problems, and it simplifies the process by eliminating the need for mechanical setting of simultaneous operation start points and allowing simultaneous operation start points to be added or changed simply by changing the user program. The purpose is to obtain a numerical control device with

[問題点を解決するための手段] この発明に係る数値制御装置は、1ブロック実行中、メ
インメモリとの間で情報の送受を行い該メインメモリに
ユーザプログラムによって設定された任意の軸か任意の
位置に到達すると、ラップモーション信号をシーケンス
制御部に供給するようにしたものである。
[Means for Solving the Problems] The numerical control device according to the present invention transmits and receives information to and from a main memory during execution of one block, and inputs and receives information from an arbitrary axis set by a user program to the main memory. When the position is reached, a lap motion signal is supplied to the sequence control section.

[作用] この発明におけるラップモーション信号は、ユーザがプ
ログラムした任意の軸が任意の位置に到達した時点にシ
ーケンス制御部に出力されることにより、このシーケン
ス制御部はそのラップモーション信号によってラップモ
ーションを開始する。
[Operation] The wrap motion signal in the present invention is output to the sequence control section when an arbitrary axis programmed by the user reaches an arbitrary position, so that the sequence control section can perform the wrap motion using the wrap motion signal. Start.

[発明の実施例] 以下、この発明の一実施例を図について説明する。第1
図において、(1)はNC,(2)は予め同時動作を行
うブロックがプログラミングされたプログラム及び加工
情報等を一時的に記憶するメインメモリ、(3)はシス
テム制御部、(4)はキーボードから構成されている設
定部と表示部を有する設定表示ボード、(5)は加工情
報が記録されている紙テープを読む紙テープリーダ、(
6)はサーボモータ(8)を駆動制御するサーボ制御部
、(7)はサーボモータ(8)の移動量及び回転速度を
検出する速度検出器、(9)は主軸モータ(10)の回
転速度を検出する速度検出器、(11)は主軸モータ(
10)を駆動制御する主軸制御部、(12)は工作機械
(13)をシーケンス制御するシーケンス制御部、(1
4)は工作機械(13)の制御用シーケンスプログラム
を記憶しているシーケンスメモリ、(RM)はシステム
制御部(3)からシーケンス制御部(12)に同時動作
開始点を知らせるためのラップモーション信号である。
[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. 1st
In the figure, (1) is the NC, (2) is the main memory that temporarily stores programs programmed with blocks that perform simultaneous operations and machining information, etc., (3) is the system control unit, and (4) is the keyboard. (5) a setting display board having a setting section and a display section; (5) a paper tape reader that reads the paper tape on which processing information is recorded;
6) is a servo control unit that drives and controls the servo motor (8), (7) is a speed detector that detects the travel amount and rotation speed of the servo motor (8), and (9) is the rotation speed of the main shaft motor (10). The speed detector (11) detects the spindle motor (
(12) is a sequence control unit that sequentially controls the machine tool (13);
4) is a sequence memory that stores a sequence program for controlling the machine tool (13), and (RM) is a lap motion signal for notifying the simultaneous operation start point from the system control unit (3) to the sequence control unit (12). It is.

第2図は同時動作を行うブロックのプログラムrGOI
Z100F100G100280Jを実行中でのシステ
ム制御部の動作フロー、第3図はシーケンス制御部の動
作のフローである。
Figure 2 shows the program rGOI of blocks that perform simultaneous operations.
FIG. 3 shows the operation flow of the system control section during execution of Z100F100G100280J.

まず、システム制御部(3)が上記ブロックのプログ−
fyムrGOIZ100F100G100280」を解
読し、サーボ制御部(6)にZ軸の速度100++un
/分移動指令を出力すると同時に“G100”によりラ
ップモーション処理かあることを判断する(ステップ5
T−1,5T−2)。
First, the system control unit (3) performs the program of the above block.
decode "fymrGOIZ100F100G100280" and set the Z-axis speed 100++un to the servo control unit (6).
/minute movement command is output, and at the same time it is determined by "G100" that there is lap motion processing (step 5
T-1, 5T-2).

また、G100Z80”とプログラムされているため、
ラップモーション処理では定期的にZ軸の位置を読出し
くステップ5T−3) 、設定された位置(80)を越
えたかどうかを判断する(ステップ5T−4)。そして
、越えていると、シーケンス制御部(12)にラップモ
ーション信号を出力する(ステップ5T−5) システム制御部(3)はさらに位置(100)まで移動
指令を出力しつづけ、Z軸が位置(100)に到達する
と(ステップ5T−6) 、そのブロックの実行を終了
し次のブロックに移る。
Also, since it is programmed as “G100Z80”,
In the lap motion processing, the Z-axis position is periodically read out (step 5T-3), and it is determined whether it has exceeded the set position (80) (step 5T-4). If it exceeds the position, a wrap motion signal is output to the sequence control unit (12) (step 5T-5).The system control unit (3) continues to output movement commands to the position (100), and the Z-axis When (100) is reached (step 5T-6), execution of that block is ended and the process moves to the next block.

一方、シーケンス制御部(12)はラップモーション信
号(RM)の到来を判断すると(ステップ5T−7)、
同時動作を開始する(ステップ5T−8)。
On the other hand, when the sequence control unit (12) determines that the wrap motion signal (RM) has arrived (step 5T-7),
Simultaneous operations are started (step 5T-8).

なお、」二記実施例ではラップモーション信号を1点に
しているが、ラップモーション信号を数点設定できるよ
うにすれば、1ブロツクで同時動作開始点を数点とする
ことができる。
In the second embodiment, the lap motion signal is set at one point, but if the lap motion signal can be set at several points, it is possible to set the number of simultaneous operation start points at several points in one block.

[発明の効果] 以上のように、この発明によれば、1ブロック実行中に
ユーザプログラムによって設定された軸が任意の位置に
到達した時に、システム制御部からシーケンス制御部に
ラップモーション信号を供給するように構成したので、
構成部品の取付け、取付は位置の調整などの困難な機械
的な設定を一切必要とせずラップモーションが可能で、
このラップモーション開始点の追加・変更をユーザプロ
グラムの変更だけで行える簡単化された数値制御装置が
得られるという効果がある。
[Effects of the Invention] As described above, according to the present invention, when an axis set by a user program reaches an arbitrary position during execution of one block, a lap motion signal is supplied from the system control unit to the sequence control unit. I configured it so that
Lap motion is possible for attaching and installing component parts without requiring any difficult mechanical settings such as position adjustment.
This has the effect of providing a simplified numerical control device that can add or change the start point of the lap motion simply by changing the user program.

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

第1図はこの発明の一実施例による数値制御装置を示す
ブロック構成図、第2図はこの装置における同時動作実
行時のシステム制御部の動作フロー図、第3図はシーケ
ンス制御部の動作フロー図、第4図は従来の数値制御装
置を示すブロック構成図、第5図はラップモーションの
説明図、第6図は同時動作開始点用リミットスイッチと
機械の関係を示す図、第7図は同峙動作時のシステム制
御部の動作フロー図、第8図はシーケンス制御部の動作
フロー図である。 図において、(2)はメインメモリ、(3)はシステム
制御部、(6)はサーボ制御部、(8)はサーボモータ
、(12)はシーケンス制御部、(13)は工作機械、
(14)はシーケンスメモリ、(RM)はラップモーシ
ョン信号である。 なお、図中、同一符号は同一、又は相当部分を示す。 代理人 弁理士 大 岩 増 雄 (他 2名) 第7図 第8図
FIG. 1 is a block configuration diagram showing a numerical control device according to an embodiment of the present invention, FIG. 2 is an operation flow diagram of the system control section when simultaneous operations are executed in this device, and FIG. 3 is an operation flow diagram of the sequence control section. 4 is a block configuration diagram showing a conventional numerical control device, FIG. 5 is an explanatory diagram of lap motion, FIG. 6 is a diagram showing the relationship between the limit switch for simultaneous operation start point and the machine, and FIG. FIG. 8 is an operation flow diagram of the system control section during the simultaneous operation. FIG. 8 is an operation flow diagram of the sequence control section. In the figure, (2) is the main memory, (3) is the system control unit, (6) is the servo control unit, (8) is the servo motor, (12) is the sequence control unit, (13) is the machine tool,
(14) is a sequence memory, and (RM) is a wrap motion signal. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Agent: Patent attorney Masuo Oiwa (and 2 others) Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims]  工作機械の制御用シーケンスプログラムを記憶してい
るシーケンスメモリと、前記シーケンスメモリからの制
御用シーケンスプログラムに基づいて前記工作機械をシ
ーケンス制御するシーケンス制御部と、予めプログラミ
ングされた情報を記憶するメインメモリと、サーボモー
タを制御するサーボ制御部と、少なくとも前記メインメ
モリと前記サーボ制御部及び前記シーケンス制御部との
間で情報の送受を行い該メインメモリにプログラムされ
た任意の軸が任意の位置に到達するとラップモーション
信号を該シーケンス制御部に供給するシステム制御部を
備えた数値制御装置。
A sequence memory that stores a sequence program for controlling a machine tool, a sequence control unit that sequentially controls the machine tool based on the sequence program for control from the sequence memory, and a main memory that stores preprogrammed information. and a servo control section that controls a servo motor, and at least the main memory, the servo control section, and the sequence control section, and transmitting and receiving information between the main memory and the servo control section to move any axis programmed in the main memory to any position. A numerical control device comprising a system control unit that supplies a lap motion signal to the sequence control unit when reached.
JP28261687A 1987-11-09 1987-11-09 Numerical controller Pending JPH01124003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28261687A JPH01124003A (en) 1987-11-09 1987-11-09 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28261687A JPH01124003A (en) 1987-11-09 1987-11-09 Numerical controller

Publications (1)

Publication Number Publication Date
JPH01124003A true JPH01124003A (en) 1989-05-16

Family

ID=17654840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28261687A Pending JPH01124003A (en) 1987-11-09 1987-11-09 Numerical controller

Country Status (1)

Country Link
JP (1) JPH01124003A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5134767A (en) * 1990-03-15 1992-08-04 Brother Kogyo Kabushiki Kaisha Automatic tool changing device in machine tool

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5837704A (en) * 1981-08-31 1983-03-05 Hitachi Ltd Simultaneous four-axis controlling method
JPS58154379A (en) * 1982-03-05 1983-09-13 Bunka Shutter Kk Limit regulator for shutter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5837704A (en) * 1981-08-31 1983-03-05 Hitachi Ltd Simultaneous four-axis controlling method
JPS58154379A (en) * 1982-03-05 1983-09-13 Bunka Shutter Kk Limit regulator for shutter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5134767A (en) * 1990-03-15 1992-08-04 Brother Kogyo Kabushiki Kaisha Automatic tool changing device in machine tool

Similar Documents

Publication Publication Date Title
JPH01252340A (en) Machining control device employing force sensor
WO1997015874A1 (en) Method of axis movement numeric control machine tool and apparatus therefor
CN109304717A (en) Robot controller and production system
JP2000347713A (en) Numerical controller
JP2007245247A (en) Machine having program validation function
JP3413954B2 (en) Motion controller
EP0343257A1 (en) Numerical controller
JPH01124003A (en) Numerical controller
CN111791088A (en) Numerical controller
JP4116640B2 (en) Numerical control device with multi-system control function
JP2004202594A (en) Numerical control device
CN109960221A (en) Numerical control device
JPH08263115A (en) Interference evading method for nc machine tool
JP3587046B2 (en) Numerical control device that simultaneously controls two movable bodies on a common path
JPH11114681A (en) Synchronous z-axis control method for laser beam machine and device therefor
EP0383947A1 (en) Numerical controller
JPS6381509A (en) Numerical controller provided with parallel operation function
JPH07334223A (en) Tool spindle attitude control system
JPH07287613A (en) Axial speed deciding system
JP3641285B2 (en) Interactive raw nail molding machine
JPH03172903A (en) Feed speed control system for numerical controller
JPS61178153A (en) Machining unit
JPH074646Y2 (en) Numerical control device
JPH0641799Y2 (en) Numerical control grinder
JP3425969B2 (en) Positioning method in NC device