JP3355853B2 - Control device in processing system - Google Patents

Control device in processing system

Info

Publication number
JP3355853B2
JP3355853B2 JP5795095A JP5795095A JP3355853B2 JP 3355853 B2 JP3355853 B2 JP 3355853B2 JP 5795095 A JP5795095 A JP 5795095A JP 5795095 A JP5795095 A JP 5795095A JP 3355853 B2 JP3355853 B2 JP 3355853B2
Authority
JP
Japan
Prior art keywords
slave station
programmable controller
program
ladder
data table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5795095A
Other languages
Japanese (ja)
Other versions
JPH08227304A (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.)
Howa Machinery Ltd
Original Assignee
Howa Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Howa Machinery Ltd filed Critical Howa Machinery Ltd
Priority to JP5795095A priority Critical patent/JP3355853B2/en
Publication of JPH08227304A publication Critical patent/JPH08227304A/en
Application granted granted Critical
Publication of JP3355853B2 publication Critical patent/JP3355853B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Programmable Controllers (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本願は、複数の自動加工機に対応
して設けられるプログラマブルコントローラ(以下PC
と記すこともある)をリンクして成る加工システムにお
ける制御装置に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a programmable controller (hereinafter referred to as PC) provided for a plurality of automatic processing machines.
(Which may be referred to as) in the machining system.

【0002】[0002]

【従来の技術】一般に加工システムにおける制御装置
は、図1に示すように、複数のマシニングセンタMC1
〜MCN(自動加工機)の夫々に、対応するマシニング
センタMC1〜MCNの作動制御及びモニタ制御を行う
子局PCを備え、各子局PCをシリアル通信ケーブル3
を介して互いにリンクすると共に、加工システム全体の
制御を行うメインPCともリンクして構成されていた。
2. Description of the Related Art Generally, a control device in a machining system includes a plurality of machining centers MC1 as shown in FIG.
To the MCNs (automatic processing machines) are provided with slave stations PC for controlling the operation and monitoring of the corresponding machining centers MC1 to MCN.
And a main PC that controls the entire machining system.

【0003】[0003]

【発明が解決しようとする課題】ところで、上記加工シ
ステムにおいて、各子局PCのラダープログラムは、対
応するマシニングセンタの動作制御を行う動作プログラ
ムと、対応するマシニングセンタの稼動状態を検知する
モニタプログラムとを含んでいる。各子局PCは共通な
リンクレジスタ31(図7に示す)を夫々備えており、
このリンクレジスタ31の自局領域を割り付けるように
なっているが、このレジスタ領域は各子局PCで異なっ
ている。そのため、このリンクレジスタ31の領域に対
応して作成されている動作プログラム部分は、各子局P
Cで異なるものとなり、各PC毎に異なる動作プログラ
ムを作成せねばならず、プログラム作成作業に手間がか
かるうえに、リンクレジスタの割付変更に伴って、各子
局PCの動作プログラムそのものの変更を伴う問題があ
った。
In the above-mentioned processing system, the ladder program of each slave station PC includes an operation program for controlling the operation of the corresponding machining center and a monitor program for detecting the operating state of the corresponding machining center. Contains. Each slave station PC has a common link register 31 (shown in FIG. 7).
Although the own station area of the link register 31 is allocated, the register area differs for each slave station PC. Therefore, the operation program portion created corresponding to the area of the link register 31 includes the slave station P
C, it is necessary to create a different operation program for each PC, and it takes time and effort to create the program. In addition, the change of the operation program itself of each slave station PC due to the change of the link register allocation. There was an accompanying problem.

【0004】また、モニタプログラムでは、例えば、マ
シニングセンタMC1〜MCNの加工工程を複数に分割
して、ある工程から次工程までのサイクルタイム(標準
時間)を計測してモニタ表示するようになっている。モ
ニタのために、各子局PCでは、工程のサイクルタイム
をカウントする条件と、その条件が整った時にサイクル
タイムをカウントして、その結果を工程毎に区別したメ
モリ領域にメモリするように記述されたサイクルタイム
モニタプログラムをラダープログラムとして備えてい
る。図8に示すように、例えば、子局PC1では、ラダ
ープログラムR1では、条件A(例えばリレーR1がO
N)となったとき、A工程のサイクルタイムをカウント
してメモリ領域A1へ格納し、また、ラダープログラム
R2では、条件B(例えばリレーR2がON)となった
とき、B工程のサイクルタイムを計測してメモリ領域B
1へ格納するようにプログラムしてあり、また、子局P
C2のラダープログラムR3では、条件C(例えばリレ
ーR3がON)となったとき、C工程のサイクルタイム
をカウントしてこれをメモリ領域C1に格納するように
プログラムされている。このようにサイクルタイムを計
測する条件や、その計測結果を格納するメモリ領域は各
子局PCで異なっているため、各子局PC毎で異なるモ
ニタプログラムを作成する必要があり、また、条件の変
更等があると、子局PCのラダープログラムを直接変更
する必要があり、煩雑な作業となっていた。さらに、こ
の加工システムを構成する複数のマシニングセンタMC
1〜MCNを同一機種とした場合、子局PCのラダープ
ログラムは、大部分が共通のものとなるが、上述したよ
うな、リンクレジスタ31の割付に基づく動作プログラ
ム等の微々たる部分が異なるため、全体として子局PC
のラダープログラムは各子局PC間で全く同一のものと
ならず、子局PCのラダープログラムの動作チェックで
は、全ての子局PCのラダープログラムをチェックする
必要があり、チェックに要する時間が長くなる問題があ
った。
In the monitor program, for example, the machining process of the machining centers MC1 to MCN is divided into a plurality of processes, and the cycle time (standard time) from one process to the next process is measured and displayed on the monitor. . For monitoring, each slave station PC describes a condition for counting the cycle time of the process, and counts the cycle time when the condition is satisfied, and stores the result in a memory area distinguished for each process. Cycle time monitor program is provided as a ladder program. As shown in FIG. 8, for example, in the slave station PC1, in the ladder program R1, the condition A (for example, when the relay R1 is O
N), the cycle time of the step A is counted and stored in the memory area A1, and according to the ladder program R2, when the condition B (for example, the relay R2 is ON), the cycle time of the step B is calculated. Measure and memory area B
1 and stored in the slave station P
In the ladder program R3 of C2, when the condition C (for example, the relay R3 is turned on) is set, the cycle time of the process C is counted and stored in the memory area C1. As described above, since the conditions for measuring the cycle time and the memory area for storing the measurement results are different for each slave station PC, it is necessary to create a different monitor program for each slave station PC. If there is a change or the like, it is necessary to directly change the ladder program of the slave station PC, which is a complicated operation. Further, a plurality of machining centers MC constituting the machining system
When 1 to MCN are of the same model, most of the ladder programs of the slave station PCs are common, but the slightest part such as the operation program based on the allocation of the link register 31 is different as described above. , The slave station PC as a whole
The ladder program of each slave station PC is not exactly the same between the slave station PCs. In the operation check of the ladder program of the slave station PC, it is necessary to check the ladder programs of all slave station PCs, and the time required for the check is long. There was a problem.

【0005】[0005]

【課題を解決するための手段】上記問題点を解決するた
め、請求項1では、複数の自動加工機の夫々に制御用の
子局プログラマブルコントローラを備え、各子局プログ
ラマブルコントローラが互いにリンクされていると共
に、メインプログラマブルコントローラともリンクして
ある加工システムにおける制御装置において、各子局プ
ログラマブルコントローラは、対応する自動加工機の動
作を制御する動作プログラムと、対応する自動加工機の
稼動状態を検知するモニタプログラムとを含んだラダー
プログラムを備え これらの動作プログラム、モニタプ
ログラムは、各子局プログラマブルコントローラ固有の
データをパラメータとして記述した共通ラダーを夫々含
、メインプログラマブルコントローラは、各子局プロ
グラマブルコントローラに対応して、前記共通ラダーに
用いたパラメータに適用する各子局プログラマブルコン
トローラ用の固有データを格納したデータテーブルを備
えると共に、制御装置の起動時に、前記データテーブル
を対応する子局プログラマブルコントローラへ転送する
データテーブル転送手段を備えていることを特徴とす
る。請求項2ではメインプログラマブルコントローラに
は、データテーブル設定手段としてコンピュータが接続
されることを特徴とし、請求項3では、同一機種の複数
の自動加工機の夫々に制御用の子局プログラマブルコン
トローラを備え、各子局プログラマブルコントローラが
互いにリンクされていると共に、メインプログラマブル
コントローラともリンクしてある加工システムにおける
制御装置において、各子局プログラマブルコントローラ
のラダープログラムは、対応する自動加工機の動作を制
御する動作プログラムと、対応する自動加工機の稼動状
態を検知するモニタプログラムとを含み、そのラダープ
ログラムを、各子局プログラマブルコントローラ固有の
データをパラメータとして記述した共通ラダーを含んだ
同一のプログラムとして構成し、メインプログラマブル
コントローラは、各子局プログラマブルコントローラに
対応して、前記共通ラダーに用いたパラメータに適用す
る各子局プログラマブルコントローラ用の固有データを
格納したデータテーブルを備えると共に、制御装置の起
動時に、前記データテーブルを対応する子局プログラマ
ブルコントローラへ転送するデータテーブル転送手段を
備えていることを特徴とする。
In order to solve the above problems, in claim 1, each of a plurality of automatic processing machines is provided with a slave station programmable controller for control, and each slave station programmable controller is linked to each other. Of each slave station in the control device of the machining system linked to the main programmable controller.
The programmable controller operates the corresponding automatic processing machine.
Operation program to control the operation and the
A ladder including a monitor program that detects the operating state
Program, and these operation programs and monitor programs
Program, respectively including the common ladder describing the slave station programmable controller-specific data as a parameter
In addition , the main programmable controller has a data table that stores unique data for each slave station programmable controller corresponding to each slave station programmable controller and is applied to the parameters used for the common ladder, and that the control device is activated when the control device is started. And a data table transfer means for transferring the data table to a corresponding slave station programmable controller .
You. A second aspect of the present invention is characterized in that a computer is connected to the main programmable controller as data table setting means. A third aspect of the present invention includes a slave station programmable controller for controlling a plurality of automatic processing machines of the same model. In a control device in a machining system in which each slave station programmable controller is linked to each other and also linked to the main programmable controller, the ladder program of each slave station programmable controller controls the operation of the corresponding automatic processing machine.
Operating program to control and the operation status of the corresponding automatic processing machine
A ladder program comprising a common ladder in which data specific to each slave station programmable controller is described as a parameter. Corresponding to the above, a data table storing unique data for each slave station programmable controller to be applied to the parameters used for the common ladder is provided, and when the control device is started, the data table is transferred to the corresponding slave station programmable controller. It is characterized by comprising a data table transfer means for transferring.

【0006】[0006]

【作用】請求項1では、制御装置の起動時に、データテ
ーブル転送手段が、メインプログラマブルコントローラ
に備えられたデータテーブルを各子局プログラマブルコ
ントローラに夫々転送し、各子局プログラマブルコント
ローラは、転送されたデータテーブルの固有データをそ
の共通ラダーのパラメータに適用して、対応する自動加
工機の動作制御及び稼動状態を検知するモニタ制御を行
う。また、請求項2では、コンピュータによりメインプ
ログラマブルコントローラにデータテーブルを設定した
り、また、設定されたデータテーブルの固有データの変
更,追加が行われる。さらに、請求項3では、加工シス
テムを構成する複数の自動加工機を同一機種とした場
合、子局プログラマブルコントローラのラダープログラ
ムが各子局プログラマブルコントローラで全て同一のラ
ダーとなるため、ラダープログラムの動作チェックは、
1つの子局プログラマブルコントローラのラダープログ
ラムをチェックするだけで良い。
According to the first aspect, when the control device is started, the data table transfer means transfers the data table provided in the main programmable controller to each of the slave station programmable controllers, and each of the slave station programmable controllers transfers the data table. By applying the unique data of the data table to the parameters of the common ladder, operation control and monitor control for detecting the operation state of the corresponding automatic processing machine are performed. According to the second aspect , a data table is set in the main programmable controller by a computer, and unique data of the set data table is changed or added. According to the third aspect, when a plurality of automatic processing machines constituting the machining system are of the same model, the ladder programs of the slave station programmable controllers are all the same ladder in each slave station programmable controller. Check is
It is only necessary to check the ladder program of one slave station programmable controller.

【0007】[0007]

【実施例】次に、図面において、本願の加工システムに
おける制御装置1の実施例について説明する。図1に示
すように、同一機種のマシニングセンタMC1〜MCN
(自動加工機として示す)が複数並設されトランスファ
マシンが構成されている。これらのマシニングセンタM
C1〜MCNの前方には、ワークWが載置されたトラン
スファコンベヤ2が設けられ、このコンベヤ2によって
ワークWを各マシニングセンタMC1〜MCN前方に搬
送して加工を行うようになっている。各マシニングセン
タMC1〜MCNは、夫々機台制御用の子局PC1〜P
CNを具備している。これらの子局PC1〜PCNは、
シリアル通信ケーブル3を介して互いにリンクされると
共に、加工システム全体の制御を行うメインPCともリ
ンクしてある。また、メインPCは、後述のデータテー
ブル11,12を設定登録するためのコンピュータ5
(データテーブル設定手段)及びモニタ情報等を表示す
る表示モニタ6が接続されている。尚、各マシニングセ
ンタMC1〜MCNは、主軸回転用モータや主軸ヘッド
移動用油圧ユニットの作動制御を行うNC制御装置(図
示しない)を備えている。
Next, an embodiment of the control device 1 in the processing system of the present invention will be described with reference to the drawings. As shown in FIG. 1, machining centers MC1 to MCN of the same model
A plurality of transfer machines (shown as automatic processing machines) are arranged side by side. These machining centers M
A transfer conveyor 2 on which the workpiece W is placed is provided in front of C1 to MCN, and the conveyor 2 transports the workpiece W to the front of each of the machining centers MC1 to MCN for processing. Each of the machining centers MC1 to MCN is a slave station PC1 to P
It has CN. These slave stations PC1 to PCN are:
They are linked to each other via a serial communication cable 3 and also to a main PC that controls the entire processing system. The main PC is a computer 5 for setting and registering data tables 11 and 12, which will be described later.
(Data table setting means) and a display monitor 6 for displaying monitor information and the like are connected. Each of the machining centers MC1 to MCN includes an NC control device (not shown) for controlling the operation of a spindle rotating motor and a spindle head moving hydraulic unit.

【0008】図2に示すように、子局PC1〜PCNの
ラダープログラム(ここでは子局PC1のみ示す)は、
対応するマシニングセンタMC1〜MCNの作動制御を
行う動作プログラム8と、対応するマシニングセンタM
C1〜MCNの稼動状態を検知するモニタプログラム9
とを含んでいる。このような動作及びモニタプログラム
としての各子局PC1〜PCNのラダープログラムは、
各子局PC1〜PCN固有のデータをパラメータとして
記述した共通ラダーを含んで構成されており、本実施例
では、パラメータを用いて記述したラダープログラムを
含んだ動作、モニタプログラムは、制御対象となる機械
が全く同一のマシニングセンタであることから、各PC
で全く同じものとなる。パラメータを含んだ共通ラダー
プログラムについて、例えば、モニタプログラム9のサ
イクルタイムカウントラダーで説明すると、図6に示す
ように、各子局PC1〜PCNで各1つの共通ラダーR
が用いられ、この共通ラダーRのパラメータとして、サ
イクルタイムのカウントを実行する条件X(例えばPC
の内部リレー番号)、及び、カウントしたサイクルタイ
ムを格納するメモリ領域Yが用いられ、これらの条件X
やメモリ領域Yには、後述するように、モニタデータテ
ーブル121〜12Nに設定される固有データを適用し
て、各子局PC固有のプログラムとしてこれを実行する
ようになっている。また、図7に示すように、リンクレ
ジスタ31との間でのデータのやり取りを対応づけられ
ている作動プログラム中の共通ラダーRa、Rb…(こ
れらは、各PCにおいて、対応する自動加工機を全く同
じに制御する機能を持つ)は、各ラダーRa、Rb…
が、割り付けられたリンクレジスタ31の領域のどのア
ドレスと対応しているかを、リンクレジスタ31の先頭
アドレスをパラメータZとして記述されている。即ち、
各子局PC1〜PCNでは、リンクレジスタ31の割付
開始アドレスZa(Zb…)を各共通ラダーRa、Rb
…のパラメータZに与えると、各子局PC1〜PCNに
おいて、ラダーRaは、リンクレジスタ31の割付開始
アドレスZa(Zb…)と対応し、ラダーRbは割付開
始アドレスの次のアドレスZa+1(Zb+1、…)と
対応し、ラダーRcはさらにその次のアドレスと対応す
る、というようにしてある。
As shown in FIG. 2, the ladder program of the slave stations PC1 to PCN (here, only the slave station PC1 is shown)
An operation program 8 for controlling the operation of the corresponding machining centers MC1 to MCN;
Monitor program 9 for detecting the operating state of C1 to MCN
And The ladder program of each of the slave stations PC1 to PCN as such an operation and monitor program is as follows.
Each of the slave stations PC1 to PCN is configured to include a common ladder in which data unique to the station is described as a parameter. In the present embodiment, the operation including the ladder program described using the parameter and the monitor program are controlled. Since the machines are exactly the same machining center, each PC
Is exactly the same. The common ladder program including the parameters will be described with reference to the cycle time count ladder of the monitor program 9, for example, as shown in FIG.
Is used as a parameter of the common ladder R, a condition X (for example, PC
Memory area Y for storing the counted cycle time, and these conditions X
As will be described later, unique data set in the monitor data tables 121 to 12N is applied to the memory area Y and the memory area Y is executed as a program unique to each slave station PC. As shown in FIG. 7, common ladders Ra, Rb... In the operation program associated with the exchange of data with the link register 31 Have the same control function), each ladder Ra, Rb ...
Is described as a parameter Z using the head address of the link register 31 as to which address of the allocated area of the link register 31 corresponds. That is,
In each of the slave stations PC1 to PCN, the allocation start address Za (Zb...) Of the link register 31 is assigned to each of the common ladders Ra and Rb.
, The ladder Ra in each of the slave stations PC1 to PCN corresponds to the allocation start address Za (Zb...) Of the link register 31, and the ladder Rb is the address Za + 1 (Zb + 1, Zb + 1, ...), the ladder Rc further corresponds to the next address, and so on.

【0009】次に、図3において、先ず、メインPCの
作用について説明する。ステップ1で、データテーブル
11,12がコンピュータ5によりメインPCのレジス
タ領域20(図2に示す)に設定登録され、このように
設定されたデータテーブル11,12はメインPCの電
源をOFFしても記憶されるものとする。そして、ステ
ップ2で、メインPC及び各子局PC1〜PCNの電源
をONしたとき、メインPCはレジスタ領域20に設定
されたデータテーブル11,12を各子局PC1〜PC
Nに対応して転送し、このステップ2がデータテーブル
転送手段を構成している。その後、ステップ3で、メイ
ンPCは加工システム全体の制御を行うようになってい
る。次に、子局PCの作用について説明すると、ステッ
プS1で、各子局PC1〜PCNは、そのレジスタ領域
30にメインPCより転送された自局と対応する各固有
データテーブル111〜11N,121〜12Nを取り
込んで記憶し、このように記憶されたデータテーブル1
11〜11N,121〜12Nの固有データをラダープ
ログラム内のパラメータに適用し、ステップS2で、対
応するマシニングセンタMC1〜MCNの作動制御及び
モニタ制御を行う。
Next, the operation of the main PC will be described with reference to FIG. In step 1, the data tables 11 and 12 are set and registered in the register area 20 (shown in FIG. 2) of the main PC by the computer 5, and the data tables 11 and 12 thus set are turned off by turning off the power of the main PC. Is also stored. When the power of the main PC and each of the slave stations PC1 to PCN is turned on in step 2, the main PC stores the data tables 11 and 12 set in the register area 20 in the respective slave stations PC1 to PCN.
N, and this step 2 constitutes a data table transfer means. Thereafter, in step 3, the main PC controls the entire processing system. Next, the operation of the slave station PC will be described. In step S1, each of the slave stations PC1 to PCN stores its own unique data table 111 to 11N, 121 to 121 corresponding to its own station transferred to its register area 30 from the main PC. 12N is fetched and stored, and the data table 1 thus stored is stored.
The unique data of 11-11N and 121-12N are applied to the parameters in the ladder program, and in step S2, the operation control and the monitor control of the corresponding machining centers MC1-MCN are performed.

【0010】次に、メインPCの作動データテーブル1
1について図4を用いて説明すると、アドレス0に子局
PCの登録個数が設定され、アドレス1〜10に子局P
C1用のデータテーブル111が割り当てられ、アドレ
ス11〜20に子局PC2用のデータテーブル112が
割り当てられ、以下の子局PC3〜Nについても同様に
各子局PC用のデータテーブル113〜11Nの領域が
割り当てられ、各子局PC用のデータテーブル111〜
11Nのメモリのサイズは同じである。また、各子局P
C1〜PCN用のデータテーブル111〜11Nの中身
について説明すると、データテーブル111〜11Nに
おいて、夫々の先頭アドレス(PC1用では、アドレス
1、PC2用ではアドレス11)には、各子局PCの識
別コードが格納され、次のアドレスには、各子局PCの
リンクレジスタの割付開始アドレスが格納され、さらに
その次のアドレスには、そのアドレス個数が格納される
というように格納内容が格納順を決めて格納してある。
そして、この各子局用のデータテーブル111〜11N
は、各子局PCへ転送され、転送先において、夫々同じ
メモリ領域に格納されるようになっている(図4の右側
図参照)。これにより、各子局PCでは、自己宛の動作
に関する固有データを知りたいときには、各PCにおい
て、全く同じメモリアドレスの内容を読めば良いことに
なり、固有データの読出部分も共通ラダーとなってい
る。
Next, the operation data table 1 of the main PC
4 will be described with reference to FIG. 4. The registered number of slave stations PC is set at address 0, and slave stations P are set at addresses 1 to 10.
A data table 111 for C1 is assigned, a data table 112 for slave station PC2 is assigned to addresses 11 to 20, and data tables 113 to 11N for slave stations PC are similarly set for the following slave stations PC3 to N. Areas are allocated, and data tables 111 to 111 for each slave station PC are allocated.
The size of the 11N memory is the same. In addition, each slave station P
The contents of the data tables 111 to 11N for C1 to PCN will be described. In the data tables 111 to 11N, each head address (address 1 for PC1 and address 11 for PC2) includes the identification of each slave station PC. The code is stored, the next address stores the allocation start address of the link register of each slave station PC, and the next address stores the number of the addresses. Decided and stored.
Then, the data tables 111 to 11N for each slave station are used.
Is transferred to each slave station PC, and stored in the same memory area at the transfer destination (see the right diagram in FIG. 4). Thereby, when each slave station PC wants to know the unique data relating to the operation addressed to itself, it is sufficient for each PC to read the contents of the exactly same memory address, and the reading part of the unique data becomes a common ladder. I have.

【0011】次に、図5において、モニタデータテーブ
ル12について説明する。上記作動データテーブル11
と同様にして、各子局PC1〜PCN用のモニタデータ
テーブル121〜12Nが集合して1つのモニタデータ
テーブル12が構成されている。これらのメインPCの
各子局用のモニタデータテーブル121〜12Nは、お
なじメモリサイズであり、各モニタデータテーブル12
1〜12Nには、各子局PCでモニタするサイクルタイ
ムの計測数(サイクルタイムを計測すべき工程の数)P
と、サイクルタイムを計測する条件と、その計測したサ
イクルタイムを格納するアドレスが各子局PCと対応し
て格納されている。例えば、子局PC1用のモニタデー
タテーブル121には、子局PC1で計測するサイクル
タイムの計測数Pとして”2”を格納し、PC1のA、
B2つの工程をモニタするための条件を内部リレーの番
号a、bとして格納し、また、そのモニタしたサイクル
タイムを記憶するアドレスを子局PC1のレジスタ領域
30内のアドレスTa、Tbとして格納し、また、子局
PC2用のモニタデータテーブル122には、計測数P
として”1”を格納し、C工程をモニタするための条件
を内部リレーの番号cとして格納し、そのモニタしたサ
イクルタイムを記憶するアドレスを、PC2のレジスタ
領域30のアドレスTcとして格納されている。このモ
ニタデータテーブル121〜12Nは、転送先(子局P
C)内では、その先頭アドレスが夫々同じアドレスとな
るようにメモリ領域に記憶されるようになっていて、各
子局PCは、固有のモニタデータを読出すラダーが共通
となってる。
Next, the monitor data table 12 will be described with reference to FIG. Operation data table 11
Similarly, the monitor data tables 121 to 12N for the slave stations PC1 to PCN are assembled to form one monitor data table 12. The monitor data tables 121 to 12N for the slave stations of the main PC have the same memory size.
In 1 to 12N, the number of measurement of the cycle time monitored by each slave station PC (the number of processes for which the cycle time is to be measured) P
And the condition for measuring the cycle time and the address for storing the measured cycle time are stored in correspondence with each slave station PC. For example, in the monitor data table 121 for the slave station PC1, “2” is stored as the number P of cycle times measured by the slave station PC1, and A,
B: The conditions for monitoring the two processes are stored as internal relay numbers a and b, and the address for storing the monitored cycle time is stored in the register area of the slave station PC1.
30 are stored as addresses Ta and Tb, and the monitor data table 122 for the slave station PC2 stores the measured number P
Is stored as an internal relay number c, and an address for storing the monitored cycle time is stored as an address Tc of the register area 30 of the PC 2. . The monitor data tables 121 to 12N are stored in the transfer destination (slave station P
In C), the head addresses are stored in the memory area so as to be the same address, and each slave station PC has a common ladder for reading unique monitor data.

【0012】次に、以上のように構成された加工システ
ムにおける制御装置1の作用について説明する。先ず、
メインPCのレジスタ領域20には、コンピュータ5に
より前述のように各子局PC1〜PCNと対応する固有
データテーブル111〜11Nから成る作動データテー
ブル11及び固有データテーブル121〜12Nから成
るモニタデータテーブル12が設定登録される(ステッ
プ1)。次いで、メインPCは、そのレジスタ領域20
に登録されたデータテーブル111〜11N,及び12
1〜12Nを対応する各子局PC1〜PCNに夫々転送
する(ステップ2)。各子局PC1〜PCNは、転送さ
れた自局と対応するデータテーブル111〜11N,1
21〜12Nをそのレジスタ領域30に取り込んで記憶
し(S1)、このデータテーブル111〜11N,12
1〜12Nに格納された固有データを共通ラダーのパラ
メータに適用して、対応するマシニングセンタMC1〜
MCNの作動制御及びモニタ制御を行い(S2)、ま
た、メインPCは加工システム全体の制御を行う(ステ
ップ3)。
Next, the operation of the control device 1 in the processing system configured as described above will be described. First,
In the register area 20 of the main PC, the operation data table 11 composed of the unique data tables 111 to 11N corresponding to the slave stations PC1 to PCN and the monitor data table 12 composed of the unique data tables 121 to 12N are stored by the computer 5 as described above. Are registered (step 1). Next, the main PC reads the register area 20.
Data tables 111 to 11N and 12 registered in
1 to 12N are transferred to the corresponding slave stations PC1 to PCN, respectively (step 2). Each of the slave stations PC1 to PCN stores data tables 111 to 11N, 1 corresponding to the transferred own station.
21 to 12N are fetched and stored in the register area 30 (S1), and the data tables 111 to 11N, 12
By applying the unique data stored in 1 to 12N to the parameters of the common ladder, the corresponding machining centers MC1 to MC1
The operation control and monitor control of the MCN are performed (S2), and the main PC controls the entire processing system (step 3).

【0013】子局PC1〜PCNによる作動制御では、
例えば、固有の作動データテーブル111〜11Nのリ
ンクレジスタ31の割付開始アドレスZa(Zb…)を
読出し、これを,動作プログラム内の、リンクレジスタ
31と対応づけられて、割付開始アドレスをパラメータ
Zとして記述してある共通ラダーRa、Rbなどに適用
して実行する。また、子局PC1〜PCNのモニタ制御
では、自局のメモリ内に取り込んだ自己固有のモニタデ
ータテーブル121〜12Nより、先ずサイクルタイム
の計測回数Pを読みだし、その計測回数Pをパラメータ
として記述してある、サイクルタイムカウントラダー繰
り返し実行ラダーに適用し、例えば子局PC1では、時
系列的に先になる工程Aのサイクルタイムの計測条件
a、サイクルタイムの格納アドレスTaを読出して、サ
イクルタイム計測用の共通ラダーRのパラメータX、Y
に適用して命令を実行し、次に工程Bのサイクルタイム
の計測条件b、サイクルタイムの格納アドレスTbを読
出して、サイクルタイム計測用の共通ラダーRのパラメ
ータX、Yに適用して命令を実行する。サイクルタイム
をモニタする場合、従来は、各子局PCにおいて、サイ
クルタイムの計測回数だけラダーが必要だっだのが、1
つの、しかも各子局PCで全く同一のラダーとなり、ラ
ダープログラムが短くできる。
In the operation control by the slave stations PC1 to PCN,
For example, the allocation start address Za (Zb...) Of the link register 31 of the unique operation data tables 111 to 11N is read, and this is associated with the link register 31 in the operation program, and the allocation start address is set as the parameter Z. It is applied to the described common ladders Ra and Rb and executed. In the monitor control of the slave stations PC1 to PCN, the number of times P of cycle time measurement is first read out from the monitor data tables 121 to 12N unique to the own station taken in the memory of the own station, and the number of times P is described as a parameter. This is applied to the cycle time count ladder repetition execution ladder described above. For example, the slave station PC1 reads out the cycle time measurement condition a and the cycle time storage address Ta of the preceding process A in time series, and reads the cycle time. Parameters X and Y of common ladder R for measurement
Then, the instruction is executed by applying to the parameters X and Y of the common ladder R for cycle time measurement by reading the cycle time measurement condition b and the cycle time storage address Tb in the process B. Execute. Conventionally, when monitoring the cycle time, a ladder is required for each slave station PC as many times as the cycle time measurement.
In addition, the same ladder is used for each slave station PC, and the ladder program can be shortened.

【0014】本実施例では、同一制御が行われる同一機
種のマシニングセンタMC1〜MCNの制御用の子局P
C1〜PCNのラダープログラムを各子局PC1〜PC
N間で同一ラダーとしたので、ラダープログラムの動作
チェックにおいて、任意の1つの子局PCのラダープロ
グラムをチェックすれば、全ての子局PC1〜PCNの
ラダープログラムは同様にチェックされたことになり、
プログラムチェックに要する時間を短縮することができ
る。また、各PCのリンクレジスタの領域の変更や、サ
イクルタイムを計測する加工工程の追加があったときに
は、従来のように、全ての子局PC1〜PCNのラダー
プログラムを変更する必要が無く、コンピュータ5を介
してメインPCのレジスタ領域20に設定された作動デ
ータテーブル11やモニタデータテーブル12の固有デ
ータの変更,追加を行い、電源投入時に、これらのデー
タテーブルを対応する子局PCへ転送すれば、各子局P
Cでその固有データを、パラメータを含んで記述した共
通ラダーに適用して、変更後の制御を行うことができ
る。また、上記実施例では、コンピュータ5を介してメ
インPCのレジスタ領域20に各種のデータテーブル1
1,12を設定するようにしたので、管理が容易とな
る。尚、上記実施例では、モニタデータテーブル12と
して、サイクルタイムをカウントのためのテーブルを例
示したが、これに加えて、例えば、工具情報や異常情報
のためのテーブルを備えて構成しても良い。
In the present embodiment, the slave stations P for controlling the machining centers MC1 to MCN of the same model in which the same control is performed.
The ladder program of C1 to PCN is stored in each slave station PC1 to PC
Since the same ladder is used among the N stations, if the ladder program of any one of the slave stations PC is checked in the operation check of the ladder program, the ladder programs of all the slave stations PC1 to PCN are similarly checked. ,
The time required for the program check can be reduced. Further, when the area of the link register of each PC is changed or a processing step for measuring the cycle time is added, it is not necessary to change the ladder programs of all the slave stations PC1 to PCN as in the related art. 5, the operation data table 11 and the monitor data table 12, which are set in the register area 20 of the main PC, are changed and added. When the power is turned on, these data tables are transferred to the corresponding slave station PC. If each station P
In C, the changed data can be controlled by applying the unique data to a common ladder including parameters. In the above embodiment, various data tables 1 are stored in the register area 20 of the main PC via the computer 5.
Since 1 and 12 are set, management becomes easy. In the above embodiment, a table for counting cycle time is exemplified as the monitor data table 12, but in addition to this, for example, a table for tool information and abnormality information may be provided. .

【0015】以下、本願実施例から把握される実施態様
をまとめて記載する。 (1)モニタプログラムが加工工程のサイクルタイムを
計測するサイクルタイム計測プログラムを含み、このサ
イクルタイム計測プログラムが、計測の条件と、計測し
たサイクルタイムを記憶するメモリ領域をパラメータと
して記述した共通のサイクルタイムカウントラダーと、
サイクルタイムの計測回数をパラメータとして記述し、
前記サイクルタイムカウントラダーを繰り返し実行させ
る実行手段とを含み、かつ、各子局PCに与えられるデ
ータテーブルの内容が、サイクルタイムを計測すべき加
工工程の数と、計測の条件と、メモリ領域であることを
特徴とする請求項2記載の加工システムにおける制御装
置。(効果)従来、サイクルタイムを計測すべき複数の
加工工程毎に有していた複数のサイクルタイムカウント
ラダーが、複数の計測すべき加工工程があっても、各P
Cにおいて1つとなり、プログラムが短くなる。 (2)リンクレジスタのメモリ領域と対応づけられてい
る動作プログラム部分が、リンクレジスタの割付開始ア
ドレスをパラメータとして記述した共通ラダーであり、
各子局PCに与えられるデータテーブルの内容が、割付
開始アドレスを含むことを特徴とする請求項2記載の加
工システムにおける制御装置。 (効果)リンクレジスタのメモリ領域と対応している共
通ラダーが多数あっても、パラメータに割付開始アドレ
スを与えるだけで、多数の共通ラダーとリンクレジスタ
との対応関係が定まり、多数の共通ラダーの数に対応す
る多数のパラメータデータを準備しなくてよく、データ
変更が容易である。
Hereinafter, embodiments understood from the embodiments of the present application will be described together. (1) The monitor program includes a cycle time measurement program for measuring a cycle time of a machining process, and the cycle time measurement program includes a common cycle in which measurement conditions and a memory area for storing the measured cycle time are described as parameters. Time count ladder,
Describe the number of cycle time measurements as a parameter,
And an execution means for repeatedly executing the cycle time count ladder, and the contents of the data table provided to each slave station PC include the number of machining steps for which cycle time is to be measured, measurement conditions, and memory area. The control device according to claim 2, wherein the control device is provided. (Effect) Conventionally, a plurality of cycle time count ladders provided for each of a plurality of processing steps for which cycle time is to be measured, have been improved even if there are a plurality of processing steps to be measured.
In C, the number becomes one and the program becomes shorter. (2) The operation program portion associated with the memory area of the link register is a common ladder describing the allocation start address of the link register as a parameter,
3. The control device according to claim 2, wherein the content of the data table provided to each slave station PC includes an allocation start address. (Effect) Even if there is a large number of common ladders corresponding to the memory area of the link register, the correspondence between the large number of common ladders and the link register is determined only by giving the assignment start address to the parameter, and It is not necessary to prepare a large number of parameter data corresponding to the number, and the data can be easily changed.

【0016】[0016]

【発明の効果】以上のように本願発明では、例えばリン
クレジスタの割付変更、及びこれに伴う動作プログラム
のリンクレジスタのアドレスとの対応関係の変更や、モ
ニタプログラムにおける、サイクルタイム計測工程の増
加などがあったときには、メインPCのデータテーブル
に固有データの変更,追加を行い、これを、対応する各
子局PCへ転送することで、変更追加に対応した制御
が、各子局PCで行い得て、従来のように、ラダープロ
グラムそのものの変更、追加を必要とせず、また、メイ
ンPCでの一括管理であるので、データ管理が容易なも
のとなる。また、メインPCへのデータテーブルをコン
ピュータを用いて設定するようにしたものでは、データ
の設定,管理を容易に行うことができる。さらに、同一
機種の複数の自動加工機を制御する子局PCのラダープ
ログラムをすべて同一としたものでは、子局プログラマ
ブルコントローラのラダープログラムの動作チェックを
1つの子局プログラマブルコントローラに対して行うだ
けで良く、プログラムチェックに要する時間を短縮する
ことができる。
As described above, according to the present invention, for example, a change in the assignment of the link registers, a change in the correspondence between the link program and the address of the link register in the operation program, and an increase in the cycle time measurement step in the monitor program. When there is a change, the unique data is changed and added to the data table of the main PC, and is transferred to the corresponding slave station PC, whereby control corresponding to the change can be performed by each slave station PC. Therefore, unlike the related art, it is not necessary to change or add the ladder program itself, and since the ladder program is collectively managed by the main PC, the data management becomes easy. In the case where the data table for the main PC is set using a computer, data setting and management can be easily performed. Further, in the case where the ladder programs of the slave station PCs that control a plurality of automatic processing machines of the same model are all the same, it is only necessary to check the operation of the ladder program of the slave station programmable controller for one slave station programmable controller. It is possible to shorten the time required for the program check.

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

【図1】加工システムにおける制御装置の全体図であ
る。
FIG. 1 is an overall view of a control device in a processing system.

【図2】メインPC及び子局PCの構成図である。FIG. 2 is a configuration diagram of a main PC and a slave station PC.

【図3】メインPC及び子局PCの作用のフローチャー
ト図である。
FIG. 3 is a flowchart of the operation of a main PC and a slave station PC.

【図4】作動データテーブルの説明図である。FIG. 4 is an explanatory diagram of an operation data table.

【図5】モニタデータテーブルの説明図である。FIG. 5 is an explanatory diagram of a monitor data table.

【図6】共通ラダーの説明図である。FIG. 6 is an explanatory diagram of a common ladder.

【図7】リンクレジスタと、動作プログラム(動作ラダ
ー)の関係を示す説明図である。
FIG. 7 is an explanatory diagram showing a relationship between a link register and an operation program (operation ladder).

【図8】従来の子局PCにおけるサイクルタイム計測ラ
ダーの説明図である。
FIG. 8 is an explanatory diagram of a cycle time measurement ladder in a conventional slave station PC.

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

1 加工システムにおける制御装置、 5 コンピュー
タ、6 表示モニタ、 8 制御プログラム、 9 モ
ニタプログラム、11 作動データテーブル、 12
モニタデータテーブル、MC1〜MCN マシニングセ
ンタ
1 control device in processing system, 5 computer, 6 display monitor, 8 control program, 9 monitor program, 11 operation data table, 12
Monitor data table, MC1-MCN machining center

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の自動加工機の夫々に制御用の子局
プログラマブルコントローラを備え、各子局プログラマ
ブルコントローラが互いにリンクされていると共に、メ
インプログラマブルコントローラともリンクしてある加
工システムにおける制御装置において、各子局プログラ
マブルコントローラは、対応する自動加工機の動作を制
御する動作プログラムと、対応する自動加工機の稼動状
態を検知するモニタプログラムとを含んだラダープログ
ラムを備え これらの動作プログラム、モニタプログラ
ムは、各子局プログラマブルコントローラ固有のデータ
をパラメータとして記述した共通ラダーを夫々含み、メ
インプログラマブルコントローラは、各子局プログラマ
ブルコントローラに対応して、前記共通ラダーに用いた
パラメータに適用する各子局プログラマブルコントロー
ラ用の固有データを格納したデータテーブルを備えると
共に、制御装置の起動時に、前記データテーブルを対応
する子局プログラマブルコントローラへ転送するデータ
テーブル転送手段を備えていることを特徴とする加工シ
ステムにおける制御装置。
1. A control device in a machining system in which each of a plurality of automatic processing machines has a slave station programmable controller for control, wherein each slave station programmable controller is linked to each other and also linked to a main programmable controller. , Each slave station program
The mable controller controls the operation of the corresponding automatic processing machine.
Operating program to control and the operation status of the corresponding automatic processing machine
Ladder program including a monitor program for detecting the condition
Comprising a ram, these operating program, monitor program
Arm is a common ladder describing the slave station programmable controller-specific data as parameters include respective main programmable controller, in response to each slave station programmable controller, each slave station to be applied to the parameters used in the common ladder A processing system comprising: a data table storing unique data for a programmable controller; and a data table transfer unit for transferring the data table to a corresponding slave station programmable controller when the control device is started. Control device.
【請求項2】 メインプログラマブルコントローラに
は、データテーブル設定手段としてコンピュータが接続
されることを特徴とする請求項1記載の加工システムに
おける制御装置。
2. The main programmable controller
Is a computer connected as a data table setting means
Control device in the processing system according to claim 1, characterized in that it is.
【請求項3】 同一機種の複数の自動加工機の夫々に制
御用の子局プログラマブルコントローラを備え、各子局
プログラマブルコントローラが互いにリンクされている
と共に、メインプログラマブルコントローラともリンク
してある加工システムにおける制御装置において、各子
局プログラマブルコントローラのラダープログラムは、
対応する自動加工機の動作を制御する動作プログラム
と、対応する自動加工機の稼動状態を検知するモニタプ
ログラムとを含み、そのラダープログラムを、各子局プ
ログラマブルコントローラ固有のデータをパラメータと
して記述した共通ラダーを含んだ同一のプログラムとし
て構成し、メインプログラマブルコントローラは、各子
局プログラマブルコントローラに対応して、前記共通ラ
ダーに用いたパラメータに適用する各子局プログラマブ
ルコントローラ用の固有データを格納したデータテーブ
ルを備えると共に、制御装置の起動時に、前記データテ
ーブルを対応する子局プログラマブルコントローラへ転
送するデータ テーブル転送手段を備えていることを特徴
とする加工システムにおける制御装置。
3. A control system for each of a plurality of automatic processing machines of the same model.
Each slave station has a programmable controller for the slave station.
Programmable controllers are linked to each other
With the main programmable controller
In the control device of the machining system
The ladder program of the station programmable controller is
Operation program for controlling the operation of the corresponding automatic processing machine
And a monitor that detects the operating status of the corresponding automatic processing machine
And the ladder program for each slave station program.
The data specific to the programmable controller is used as a parameter.
The same program containing the common ladder described
The main programmable controller is configured
The above common line corresponds to the station programmable controller.
Slave station programmer that applies to the parameters used in the
Data table that stores the unique data for the controller
When the control device is started, the data
Cable to the corresponding slave station programmable controller.
A control device in a processing system, comprising: a data table transfer unit for sending .
JP5795095A 1995-02-21 1995-02-21 Control device in processing system Expired - Lifetime JP3355853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5795095A JP3355853B2 (en) 1995-02-21 1995-02-21 Control device in processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5795095A JP3355853B2 (en) 1995-02-21 1995-02-21 Control device in processing system

Publications (2)

Publication Number Publication Date
JPH08227304A JPH08227304A (en) 1996-09-03
JP3355853B2 true JP3355853B2 (en) 2002-12-09

Family

ID=13070322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5795095A Expired - Lifetime JP3355853B2 (en) 1995-02-21 1995-02-21 Control device in processing system

Country Status (1)

Country Link
JP (1) JP3355853B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4452422B2 (en) * 2001-07-24 2010-04-21 本田技研工業株式会社 Work transfer control method and work transfer system

Also Published As

Publication number Publication date
JPH08227304A (en) 1996-09-03

Similar Documents

Publication Publication Date Title
CN105706009B (en) Control the control system and the rear end for the system and front-end control device of numerical tool operation
US5032975A (en) Controller for automatic assembling apparatus
CN100432872C (en) Device and method for industrial control based on distributable technology target
EP1308806B1 (en) Monitoring device for production equipment controlled by programmable logic controller
US5713036A (en) Programmable logic controller having program for designating addresses of memory to which data indicating operating statuses of machine arc to be stored
JPS60167738A (en) Tool indication system of automatic tool changing device
US20040193396A1 (en) Systems, devices, and methods for acceptance testing a fieldbus component configuration program
JP3355853B2 (en) Control device in processing system
US7080175B2 (en) Network system
US5867383A (en) Programmable logic controller
US6618635B1 (en) Programming apparatus
JP6954191B2 (en) Control systems, development support equipment, and development support programs
JP2003131709A (en) Control display system, control program and recording medium storing the program
US20140336961A1 (en) Machine, Computer Program Product for a Data-Display Device, and Method for Monitoring the Energy Use of a Machine
GB2104685A (en) Programmable controller
JP3355854B2 (en) Monitor device in processing system
US7302302B2 (en) Method for controlling a production machine, in particular a machine tool, with the controller associated with a production machine
JP2577600B2 (en) Flexible production system
JP2663540B2 (en) Programmable controller
JPH1097313A (en) Factory automation system
KR20010106407A (en) Peripheral device of programmable controller
JP2003015705A (en) Network system
JP3213958B2 (en) Cycle time measuring device
JP2733926B2 (en) Production ratio control device
JPH03150602A (en) Numerical controller with tool data centralized control function

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101004

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101004

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111004

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121004

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131004

Year of fee payment: 11

EXPY Cancellation because of completion of term