JP2548690B2 - Numerical control unit - Google Patents
Numerical control unitInfo
- Publication number
- JP2548690B2 JP2548690B2 JP59029806A JP2980684A JP2548690B2 JP 2548690 B2 JP2548690 B2 JP 2548690B2 JP 59029806 A JP59029806 A JP 59029806A JP 2980684 A JP2980684 A JP 2980684A JP 2548690 B2 JP2548690 B2 JP 2548690B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- host computer
- message
- alarm
- dnc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/406—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by monitoring or safety
- G05B19/4063—Monitoring general control system
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33324—What to diagnose, whole system, test, simulate
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Description
【発明の詳細な説明】 〔発明の技術分野〕 この発明は、ホストコンピユータの処理能力を向上さ
せた数値制御装置の群制御方式に関するものである。Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a group control system for a numerical control device in which the processing capacity of a host computer is improved.
〔従来技術〕 従来の数値制御装置(以下NC装置という)には複数台
がホストコンピユータにより群制御(以下DNCという)
されるものがある。このようなDNC機能を持つNC装置の
一例として、第1図に示すような機能ブロツクを持つも
のがある。[Prior Art] A plurality of conventional numerical control devices (hereinafter referred to as NC devices) are group-controlled by a host computer (hereinafter referred to as DNC).
There is something to be done. An example of an NC device having such a DNC function is one having a function block as shown in FIG.
第1図において、1はスーパーバイザ、2はDNC処理
部で、NC装置を制御管理するホストコンピユータからの
指令を実行する機能を持ち、ホストコンピユータとの間
でNC装置の持つ各種信号の送受信および加工プログラム
等の各種加工データの送受信を行う。3はNCプログラム
実行部で、NC装置内に持つている加工プログラム等の各
種加工データから実際にモータを動かすための移動情報
や機械に付いている各種スイツチ類を制御するための信
号を作り出すための機能を持つ。4はマン−マシンイン
ターフエース処理部で、NC装置の持つ各種情報を内蔵す
る表示装置に表示したり、また、操作用および各種デー
タの入力装置からの入力データおよび入力信号の処理を
行う。5はモータ,マシンコントロール処理部で、モー
タの制御や機械上の各種スイツチのオン・オフを行う。
そして、これら2〜5の各部を統轄しNC装置としての機
能を得るための全体の管理をスーパーバイザ1が行つて
いる。NC装置はこれら5つの機能の組み合せによつて実
現されるが、このうちのDNC処理部2をさらに詳しく述
べる。In FIG. 1, reference numeral 1 is a supervisor, 2 is a DNC processing unit, which has a function of executing a command from a host computer that controls and manages an NC device, and transmits / receives and processes various signals that the NC device has with the host computer. Sends and receives various processing data such as programs. Reference numeral 3 is an NC program execution unit for producing movement information for actually moving the motor and signals for controlling various switches attached to the machine from various machining data such as machining programs in the NC device. With the function of. Reference numeral 4 denotes a man-machine interface processing unit which displays various information possessed by the NC device on a built-in display device and also processes input data and input signals from the input device for operation and various data. A motor / machine control processing unit 5 controls the motor and turns on / off various switches on the machine.
Then, the supervisor 1 supervises the respective units 2 to 5 and manages the whole for obtaining the function as the NC device. The NC device is realized by a combination of these five functions, of which the DNC processing unit 2 will be described in more detail.
DNCでは、NC装置の加工開始,停止等の指令,およびN
C装置の動作状態を表す信号や加工データ等の情報の受
渡しはすべてメツセージと呼ばれる数バイトから数百バ
イトの文字列を用いて行われる。一例として、ホストコ
ンピユータから加工開始の指令を受け、NC装置が加工を
始め、ホストコンピユータがNC装置の加工終了を検出す
るまでの過程を第2図の機能ブロツク図および第3図の
フローチヤートを参照して以下に述べる。なお、第3図
で〜は各ステツプを示す。In DNC, commands such as machining start and stop of NC device and N
Information such as signals and processing data indicating the operating state of the C device are all passed using a character string of several bytes to several hundred bytes called a message. As an example, the process from the NC computer starting machining when the host computer receives a machining start command and the host computer detecting the machining end of the NC device is shown in the functional block diagram of FIG. 2 and the flow chart of FIG. It is described below with reference. Incidentally, in FIG.
ホストコンピユータから加工開始を指令するメツセー
ジが出され、これをDNC処理部2のメツセージ送受信
部21が受ける。このメツセージをメツセージ解釈部22で
解釈し、実行部24へ渡す。実行部24ではこの開始指令を
受け、スーパーバイザ1に対し加工開始の要求をする。
スーパーバイザ1はNCプログラム実行部3を動作させ加
工に入る。同時に、DNC処理部2に対し加工が始まつ
たことを伝える。第2図のDNC処理部2の中のメツセー
ジ作成部23で加工開始されたことを伝えるメツセージを
作成し、メツセージ送受信部21に対し、そのメツセージ
を送るよう要請する。メツセージ送受信部21はこのメツ
セージをホストコンピユータへ送る。A message for instructing the start of processing is issued from the host computer, and the message transmitting / receiving unit 21 of the DNC processing unit 2 receives this message. The message interpretation unit 22 interprets this message and passes it to the execution unit 24. The execution unit 24 receives this start command and requests the supervisor 1 to start processing.
The supervisor 1 operates the NC program execution unit 3 to start processing. At the same time, it informs the DNC processing unit 2 that processing has started. The message creation unit 23 in the DNC processing unit 2 in FIG. 2 creates a message to inform that the processing has started, and requests the message transmission / reception unit 21 to send the message. The message transceiver 21 sends this message to the host computer.
その後、ホストコンピユータは指令により開始された
加工が終了したか否か、また、アラーム等の異常が発生
していないか否かを知るために、NC装置の動作状態メツ
セージを要求するためのメツセージをNC装置に対して送
る。NC装置はこのメツセージも同様にメツセージ送受
信部21で受け、メツセージ解釈部22で解釈し、実行部24
で必要とすNC装置内のアラーム情報,加工中等の信号を
集め、メツセージ作成部23でホストコンピユータへ返す
ためのメツセージを作り、メツセージ送受信部21でNC装
置の動作状態メツセージとしてホストコンピユータへ送
り返す。ホストコンピユータはこのメツセージを受
け、NC装置がまだ加工中であるか否か、また、アラーム
等の異常が発生していないか否かの判別を行う。加工
が終了していなければステツプへとぶ。After that, the host computer sends a message to request the operating status message of the NC device in order to know whether the processing started by the command has ended and whether there is an abnormality such as an alarm. Send to NC device. The NC device also receives this message in the message transmission / reception unit 21, interprets it in the message interpretation unit 22, and executes it in the execution unit 24.
The alarm information in the NC device and signals required for processing, etc. are collected in step 1, and a message is created in the message creating part 23 to be returned to the host computer. The message sending / receiving part 21 sends the message back to the host computer as an operating condition message of the NC device. The host computer receives this message and determines whether the NC device is still processing, and whether an abnormality such as an alarm has occurred. If processing is not completed, jump to step.
以上述べたような方式でホストコンピユータはNC装置
のDNCを行つている。The host computer performs the DNC of the NC device by the method described above.
DNCにおいてはホストコンピユータは、個々のNC装置
の動作状態(指令した加工が完了したか、アラームが発
生していないか等)を把握することが重要である。前述
のような従来方式では、第3図の各ステツプ〜の動
作を繰り返すことによりその目的を果すが、通常1台の
ホストコンピユータに対し数台もしくは数十台のNC装置
が接続され、個々のNC装置に対しては時分割で対処する
ため、NC装置の台数が増えれば増える程、1台のNC装置
に対するサービスの周期が長くなり、NC装置の動作状態
の変化に対し素早い対応ができにくくなる。また、これ
らNC装置群の状態監視のためにホストコンピユータの処
理時間の多くが奪われ、ホストコンピユータのその他の
処理が制限されるという欠点がある。In DNC, it is important for the host computer to understand the operating status of each NC unit (whether the instructed machining is complete, whether an alarm has occurred, etc.). In the conventional system as described above, the purpose is achieved by repeating the operations of steps 1 to 3 in FIG. 3, but usually several or several dozen NC devices are connected to one host computer, and Since NC devices are dealt with in a time-sharing manner, as the number of NC devices increases, the service cycle for one NC device becomes longer, making it difficult to quickly respond to changes in the operating status of NC devices. Become. Further, there is a drawback that much of the processing time of the host computer is deprived of the state monitoring of these NC device groups and the other processing of the host computer is limited.
この発明は、上記の点にかんがみなされたもので、ホ
ストコンピユータのNC装置の動作状態を監視する処理を
取り除くことによりホストコンピユータの負荷の軽減を
行い、その分の処理時間を他のサービスに回すことによ
り全体としてのホストコンピユータの処理能力を向上さ
せたものである。以下、この発明について説明する。The present invention has been made in view of the above points. The load of the host computer is reduced by removing the process of monitoring the operating state of the NC device of the host computer, and the processing time corresponding to that is sent to other services. This improves the processing capacity of the host computer as a whole. The present invention will be described below.
次に、この発明の一実施例を説明する。この発明では
管理されるNC装置に、以下に述べる機能を持たせる。Next, an embodiment of the present invention will be described. In the present invention, the NC device to be managed is provided with the functions described below.
すなわち、加工完了時とアラーム発生時には、NC装置
の方からホストコンピユータに対し、その旨情報を通報
する手段を持たせる。NC装置がこの機能を持つことによ
り第3図に示した処理は、第4図のようになる。That is, when the processing is completed and an alarm is generated, the NC device is provided with means for notifying the host computer of the information. Since the NC device has this function, the processing shown in FIG. 3 becomes as shown in FIG.
第4図のステツプでNC装置側から加工開始を告げる
メツセージが出力された後は、加工が完了するまで両者
の間にメツセージの交換がない。もしこの間にNC装置側
にアラームが発生すれば、その時点でNC装置からアラー
ムが発生したことを示すメツセージが出力される。した
がつて、第4図のステツプのメツセージを受けた後
は、NC装置から次のメツセージを受けるまで、NC装置の
監視から解放されることになる。After the NC device side outputs a message informing that the machining is started in the step of FIG. 4, there is no message exchange between the two until the machining is completed. If an alarm occurs on the NC device side during this time, a message indicating that the alarm has occurred is output from the NC device at that time. Therefore, after receiving the step message of FIG. 4, the NC device is released from monitoring until receiving the next message from the NC device.
次に、加工終了の情報とアラーム発生の情報を、ホス
トコンピユータへ通報する手段について述べる。Next, a means for notifying the host computer of the processing completion information and the alarm occurrence information will be described.
第1図,第2図において、ホストコンピユータからの
加工開始指令を受けたDNC処理部2は、スーパーバイザ
1にそれを告げ、スーパーバイザ1にNCプログラム実行
部3の作業開始を要請する。NCプログラム実行部3が動
作し加工が開始されると、スーパーバイザ1は、NCプロ
グラム実行部3,マン−マシンインターフエース処理部4,
およびモータ,マシンコントロール処理部5を適時動作
させながら加工を続ける。この間に、これら3〜5の各
部からアラームが発生した場合やDNC処理部2から加工
プログラム終了の知らせを受けたら、スーパーバイザ1
はDNC処理部2に対し、その旨のメツセージを発するよ
う指令を出す。In FIGS. 1 and 2, the DNC processing unit 2 which has received a machining start command from the host computer notifies the supervisor 1 of this and requests the supervisor 1 to start the work of the NC program execution unit 3. When the NC program execution unit 3 operates and the machining is started, the supervisor 1 operates the NC program execution unit 3, the man-machine interface processing unit 4,
And the machining is continued while operating the motor and machine control processing section 5 at appropriate times. In the meantime, when an alarm is generated from each of these units 3 to 5 or when the DNC processing unit 2 notifies the end of the machining program, the supervisor 1
Issues a command to the DNC processing unit 2 to issue a message to that effect.
以上のように、割込み処理的にメツセージを発生させ
るためのフローチヤートを第5図(a),(b)に示
す。この図で、第5図(a)はアラーム発生時のフロー
チヤートであり、第5図(b)は加工終了時のフローチ
ヤートである。通常NC装置においてはアラームが発生し
たときの処理、また、加工プログラムが終了したときの
処理はスーパーバイザ1の中で行われている。したがつ
て、この部分にDNC処理に対しメツセージ送信の要求を
出す処理を加えることにより目的が達せられる。As described above, the flow chart for generating a message in interrupt processing is shown in FIGS. 5 (a) and 5 (b). In this figure, FIG. 5 (a) is a flow chart at the time of alarm occurrence, and FIG. 5 (b) is a flow chart at the end of processing. Normally, in the NC device, processing when an alarm occurs and processing when the machining program ends is performed in the supervisor 1. Therefore, the purpose can be achieved by adding a process of issuing a message transmission request to the DNC process in this part.
以上詳細に説明したように、この発明は、加工開始及
び加工終了を告げる情報を前記ホストコンピュータへ出
力する加工情報通報手段と、加工中にアラームが発生し
た場合にアラームの発生情報を前記ホストコンピュータ
へ出力するアラーム情報通報手段とを具備し、前記ホス
トコンピュータに加工終了またはアラーム発生のメッセ
ージを割り込み処理により伝えるようにしたので、簡単
な構成で実現でき、ホストコンピユータによるDNC制御
時にNC装置にアラームが発生したり、加工が完了した場
合、割込み処理的にその旨をホストコンピユータに伝え
るメツセージを発生させることができ、この機能を利用
してホストコンピユータの負荷軽減分を他に流用するこ
とにより、より高度のサービスが行えるDNCシステムを
構築することができる利点がある。As described in detail above, according to the present invention, processing information notifying means for outputting information notifying processing start and processing to the host computer, and alarm generation information when an alarm occurs during processing, the host computer It is equipped with an alarm information reporting means for outputting to the host computer, and since the processing completion or alarm occurrence message is transmitted to the host computer by interrupt processing, it can be realized with a simple configuration, and an alarm is given to the NC device during DNC control by the host computer. When an error occurs or processing is completed, a message that informs the host computer in an interrupt process can be generated, and by utilizing this function, the load reduction of the host computer can be diverted to another. It is possible to construct a DNC system that can perform more advanced services. There is.
第1図はDNC機能を持つ従来のNC装置の一例を示す機能
ブロツク図、第2図はそのDNC機能の部分をさらに個々
の機能に分割した場合の機能ブロツク図、第3図は従来
方式におけるホストコンピユータがNC装置に対し1つの
加工を行う場合のメツセージ交換の様子を示すフローチ
ヤート、第4図はこの発明を適用した場合に第3図に示
したフローチヤートがどのように変わるかを示したフロ
ーチヤート、第5図(a),(b)はスーパーバイザ処
理中のアラーム発生時の処理および加工完了時の処理の
概略を示すフローチヤートである。 図中、1はスーパーバイザ、2はDNC処理部、3はNCプ
ログラム実行部、4はマン−マシンインターフエース処
理部、5はモータ,マシンコントロール処理部、21はメ
ツセージ送受信部、22はメツセージ解釈部、23はメツセ
ージ作成部、24は実行部である。FIG. 1 is a functional block diagram showing an example of a conventional NC device having a DNC function, FIG. 2 is a functional block diagram when the DNC function part is further divided into individual functions, and FIG. 3 is a conventional block diagram. A flow chart showing how messages are exchanged when the host computer performs one machining on the NC device, and FIG. 4 shows how the flow chart shown in FIG. 3 changes when the present invention is applied. 5 (a) and 5 (b) are flow charts showing the outline of the processing when an alarm is generated during the supervisor processing and the processing when the processing is completed. In the figure, 1 is a supervisor, 2 is a DNC processing section, 3 is an NC program execution section, 4 is a man-machine interface processing section, 5 is a motor and machine control processing section, 21 is a message transmission / reception section, and 22 is a message interpretation section. , 23 is a message creation unit, and 24 is an execution unit.
Claims (1)
トコンピュータにより群制御されるDNC機能を有する数
値制御装置において、加工開始及び加工終了を告げる情
報を前記ホストコンピュータへ出力する加工情報通報手
段と、加工中にアラームが発生した場合にアラームの発
生情報を前記ホストコンピュータへ出力するアラーム情
報通報手段とを具備し、前記ホストコンピュータに加工
終了またはアラーム発生のメッセージを割り込み処理に
より伝えることを特徴とする数値制御装置。1. A numerical control device having a DNC function, which is connected to a host computer and is group-controlled by the host computer, and processing information reporting means for outputting, to the host computer, information reporting processing start and processing end, and processing. A numerical value characterized by comprising alarm information reporting means for outputting alarm generation information to the host computer when an alarm occurs during the processing, and transmitting a processing completion or alarm generation message to the host computer by interrupt processing. Control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59029806A JP2548690B2 (en) | 1984-02-20 | 1984-02-20 | Numerical control unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59029806A JP2548690B2 (en) | 1984-02-20 | 1984-02-20 | Numerical control unit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60175107A JPS60175107A (en) | 1985-09-09 |
JP2548690B2 true JP2548690B2 (en) | 1996-10-30 |
Family
ID=12286261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59029806A Expired - Lifetime JP2548690B2 (en) | 1984-02-20 | 1984-02-20 | Numerical control unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2548690B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5413888A (en) * | 1977-07-05 | 1979-02-01 | Nissan Motor Co Ltd | Group controller |
JPS54106780A (en) * | 1978-02-08 | 1979-08-22 | Toshiba Mach Co Ltd | Controlling of plural machine tools |
JPS5790714A (en) * | 1980-11-28 | 1982-06-05 | Fanuc Ltd | Monitor system of numerical control machine tool |
-
1984
- 1984-02-20 JP JP59029806A patent/JP2548690B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS60175107A (en) | 1985-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5301308A (en) | Method for synchronizing redundant operation of coupled data processing systems following an interrupt event or in response to an internal command | |
JP2548690B2 (en) | Numerical control unit | |
CN109483748B (en) | High-precision wafer cutting machine centralized control system, method and device | |
JP6787951B2 (en) | Numerical control device | |
JPH05143488A (en) | Transfer method for plural commands | |
CN112327692A (en) | SoC chip, servo driver, and control method and device of servo driver | |
JPS6019540B2 (en) | Configuration switching control method | |
JP2969762B2 (en) | Monitoring method | |
JP2852664B2 (en) | Peripheral device automatic recognition method | |
JPS6052717A (en) | Process display device | |
JPS63227149A (en) | Communication control method in loop communication system | |
JP2692078B2 (en) | Information processing device | |
JP3110958B2 (en) | Plant maintenance equipment | |
JPH04131914A (en) | Fa controller | |
JP2606898B2 (en) | File channel controller | |
JPH0830481A (en) | Race operation test system | |
JPH0229819A (en) | Parallel seeking operation control system for hard disk | |
JPS62152004A (en) | Programmable controller | |
JPH0385606A (en) | Transfer control system for numerical control program | |
JPH0662080A (en) | Control system for information transmission equipment | |
JPS63289605A (en) | Sequence control monitor system | |
JPH0115081B2 (en) | ||
JPH02242446A (en) | Diagnostic information collecting system | |
JPH0324838A (en) | Remote supervisory and controlling equipment | |
JPH01204170A (en) | Decentralized process control system |