JPH03225506A - Automatic setting method for interface function and numerical controller for performing automatic setting - Google Patents

Automatic setting method for interface function and numerical controller for performing automatic setting

Info

Publication number
JPH03225506A
JPH03225506A JP2124090A JP2124090A JPH03225506A JP H03225506 A JPH03225506 A JP H03225506A JP 2124090 A JP2124090 A JP 2124090A JP 2124090 A JP2124090 A JP 2124090A JP H03225506 A JPH03225506 A JP H03225506A
Authority
JP
Japan
Prior art keywords
interface
function setting
setting
function
interfaces
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
JP2124090A
Other languages
Japanese (ja)
Inventor
Morio Fukushima
盛雄 福島
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works 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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP2124090A priority Critical patent/JPH03225506A/en
Publication of JPH03225506A publication Critical patent/JPH03225506A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To set the functions of interfaces automatically by reading identification codes out of interfaces in order, and sending and setting information corresponding to the identification codes to the corresponding interfaces. CONSTITUTION:After the power source is turned on, a main processor 1 turns on a function setting mode signal FM. Consequently, the address space of the processor 1 is switched to a function setting mode address space S. At this time, when a function setting strobe signal FS for reading an ID register and setting a function for the function setting mode address space S is turned on, the processor operates on the function setting space of an interface 21 first. Then the ID number of the interface 21 is read in and the kind of the interface 2 is decided according to the contents of the ID to set a necessary function. After the setting is completed, a function setting end signal is turned on and a function setting strobe signal FS is relayed so as to operate on the interface 22 connected as a trailing stage.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、外部機器を制御するための1つまたは複数の
インタフェイスに対する機能設定を自動的に行なうイン
タフェイス機能自動設定方法及び当該設定を自動的に行
なう数値制御装置に関する。
Detailed Description of the Invention (Industrial Application Field) The present invention relates to an interface function automatic setting method for automatically setting functions for one or more interfaces for controlling external equipment, and a method for automatically setting functions for one or more interfaces for controlling external devices. This invention relates to an automatic numerical control device.

(従来の技術) 数値制御装置を構成する各種インタフェイスには、アド
レス設定、!IIり込みレベル設定、制御周期の設定等
の諸機能を設定する要素が多い。従来においては、これ
らの諸機能の設定はインタフェイス上のスイッチ等で行
なっていたので、機能の増加に伴ないスイッチ設定が増
加し、設定間違いを起こすおそれがあるという問題点が
あった。
(Prior art) Various interfaces that make up a numerical control device have address settings, ! There are many elements for setting various functions such as II penetration level setting and control cycle setting. Conventionally, settings for these functions have been performed using switches on the interface, and as the number of functions increases, the number of switch settings increases, leading to the risk of setting errors.

この問題点を解決するために、一部の機能について、設
定内容をスイッチではなくデータ・バス上の情報として
載せ、これを機能設定用のラッチに保持するという方法
が提案されている。
In order to solve this problem, a method has been proposed in which, for some functions, setting contents are placed as information on a data bus instead of on a switch, and this is held in a latch for setting the function.

第5図は、その従来における機能設定を説明するための
図である。また第6図は、第5図におけるインタフェイ
ス12の詳細回路図である。第5図ス12 + 、 1
22 、123はすべてアドレス・バス3及びデータ・
バス4に接続されている。そこで、上述した各種機能の
設定は、第5図に示すようにインタフェイス12上に取
り付けられているアドレス設定スイッチ31に設定する
ことにより行ない、そのアドレス設定スイッチ31によ
り指定された機能設定ラッチ33にデータ・バス4から
のデータがラッチされる。
FIG. 5 is a diagram for explaining the conventional function settings. Further, FIG. 6 is a detailed circuit diagram of the interface 12 in FIG. 5. Figure 5 S12 +, 1
22 and 123 are all address bus 3 and data bus 3.
Connected to bus 4. Therefore, the various functions described above are set by setting the address setting switch 31 installed on the interface 12 as shown in FIG. 5, and the function setting latch 33 specified by the address setting switch 31 Data from data bus 4 is latched at.

(発明が解決しようとする課題) ところが、上述した方法においても、機能設定ラッチ3
3にデータを保持するためには各インタフェイス121
,122.123のアドレスが設定されていることが前
提となるため、そのアドレス設定についてはスイッチ設
定による方法しかないという問題点があった。また、機
能設定のための制御用にアドレス空間を別途確保する必
要があり、各インクフェイス12+、lh、lhの機能
拡張に伴ないアドレス空間が更に必要となった場合には
、通常動作のためのアドレス空間を一部変更して通常動
作ブ更に伴なう機能設定用アドレス空間の変更により機
能設定用プログラムの修正を必要とするケースがあり、
インタフェイスの互換性を保つことか困り1tであると
いう問題点があった。
(Problem to be solved by the invention) However, even in the above method, the function setting latch 3
In order to hold data in 3, each interface 121
, 122, 123 have been set, there is a problem in that the only way to set the address is by setting a switch. In addition, it is necessary to secure a separate address space for controlling the function settings, and if more address space is required due to the expansion of the functions of each ink face 12+, lh, lh, There are cases where it is necessary to modify the function setting program due to a change in the function setting address space that accompanies normal operation booting by partially changing the address space of the
There was a problem in that it was difficult to maintain interface compatibility.

したがって、総して従来においては、スイッチ設定にお
ける煩雑さとその誤設定及びプログラム修正における機
能設定と通常動作に関わ灸アドレス空間の相互干渉とい
う問題点があった。
Therefore, in general, there have been problems in the past in that the moxibustion address space interferes with the complexity and erroneous settings in switch settings, and the function settings in program modification and normal operation.

本発明は上述のような事情から成されたものであり、本
発明の目的は、インタフェイスの機能設定におりる煩雑
さを解消することができるインタフェイスの機能設定を
自動的に行なう数値制御装置を提供することにある。
The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a numerical control that automatically performs interface function settings, which can eliminate the complexity involved in interface function settings. The goal is to provide equipment.

(課題を解決するための手段) 本発明は、外部機器を制御するだめのインタフェイスの
機能設定を自動的に行なうインタフェイス機能自動設定
方法及び当該設定を自動的に行なう数値制御装置nに関
するものであり、本発明の上記目的は、1つまたは複数
のインタフェイスのそれぞれは固有の識別符号を有し、
前記インクフェイスのそれぞれにアドレス・バス及びデ
ータ・バスて接続される制御手段が、機能設定を有効に
して前記インタフェイスの通常動作を禁止するとともに
、前記インタフェイスのそれぞれから順番に前記識別符
号を読み込み、当該識別符号に応した設定情報を前記ア
ドレス・バス及び前記データ・バスを介して対応するイ
ンタフェイスに送信して設定することによって達成され
る。また、アドレス・バス及びデータ・バスに接続され
、外部機器の制御を行なう1つまたは複数のインタフェ
イスと、前記アドレス・バス及び前のインタフェイスと
、前記インタフェイスに対して制御指令を与える制御手
段とを有すインタフェイスに対して制御指令を起点とし
て前記インタフェイスのそれぞれをディジ・チエイン接
続し、前記機能設定の情報が前記アドレス・バス及び前
記データ・バスにおいて有効であることを示す機識別さ
せるための識別符号ラインとを備え、前記インタフェイ
スのそれぞれは、当該インタフェイスを前記制御手段に
識別させるための識別符号を扱うことが可能な機能設定
手段を有し、前記制御手段は、前記機識別させるための
識別符号を有効にして前記識別符号を読み込み、当該識
別符号に応した設定情報を前記アドレス・ハス及び前記
データ・バスを介して前記機能設定手段に送ることによ
り、順次前記インタフェイスのそれぞれに、>、I し
て機能設定を行なうことによって達成される。
(Means for Solving the Problems) The present invention relates to an interface function automatic setting method for automatically setting functions of an interface for controlling external equipment, and a numerical control device n for automatically setting the functions. and the above object of the present invention is that each of the one or more interfaces has a unique identification code;
A control means connected to each of the ink faces via an address bus and a data bus enables function settings to inhibit normal operation of the interface, and sequentially reads the identification code from each of the interfaces. This is achieved by reading the identification code and sending setting information corresponding to the identification code to the corresponding interface via the address bus and the data bus to set it. It also includes one or more interfaces that are connected to the address bus and the data bus and that control external devices, the address bus and the previous interface, and a controller that issues control commands to the interfaces. a means for digitally chaining each of the interfaces using a control command as a starting point, and indicating that the information of the function setting is valid on the address bus and the data bus; and an identification code line for identification, each of the interfaces having a function setting means capable of handling an identification code for causing the control means to identify the interface, and the control means: The identification code for identifying the machine is enabled, the identification code is read, and setting information corresponding to the identification code is sent to the function setting means via the address bus and the data bus. This is achieved by setting the functions for each interface.

(作用) 本発明にあっては、制御手段と各インタフェイス間を機
能設定モード信号ライン及び機能設定ストローブ信−号
ラインで接続し、各インタフェイスから9売み出される
識別符号に基づいて、制御手段かア]−レス・バス及び
データ・バスを介して各インタフェイスに対して設定情
報を送るという方法をとることにより、例えは電源役人
時に自動的に機能膜′定が行なえる。
(Function) In the present invention, the control means and each interface are connected by a function setting mode signal line and a function setting strobe signal line, and based on the identification code issued from each interface, By adopting a method of sending setting information to each interface via the control means control bus and data bus, function membrane settings can be automatically performed, for example, when a power supply official is in charge.

(実施例) 以下、図面に基づいて本発明の実施例について詳細に説
明する。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は、本発明に係る装置の構成図である。FIG. 1 is a block diagram of an apparatus according to the present invention.

同図において、メイン・プロセッサ1は、各インタフェ
イス2.,22.23に指令を与えて外部機器(モータ
、操作パネル等、ただし図示せず)を制御する機能(通
常動作モート)を各インタフェイス2+、22.23に
対して機能設定を行なう機能(機能設定モード)とを有
する。各インタフェイス2□、22.23は、メイン・
プロセッサ1からの指令に基づいて外部機器を制御し、
また各インタフェイス2とメイン・プロセッサ1間は以
下で説明する信号ラインで接続されている。まず、アド
レス・バス3は、機能設定動作中は各インタフェイス2
1.22.23に対する設定項目を指定するためのアド
レス情報が伝達され、通常動作中は制御指令情報の転送
先を指定するアドレス情報が伝達される。
In the same figure, a main processor 1 connects each interface 2. , 22.23 to control external equipment (motors, operation panels, etc., not shown) (normal operation mode), and function to set functions for each interface 2+, 22.23 (normal operation mode). function setting mode). Each interface 2□, 22.23 is the main
Controls external equipment based on instructions from processor 1,
Further, each interface 2 and the main processor 1 are connected by a signal line which will be explained below. First, address bus 3 is connected to each interface 2 during function setting operation.
Address information for specifying setting items for 1.22.23 is transmitted, and during normal operation, address information for specifying the transfer destination of control command information is transmitted.

また、データ・バス4は、機能設定動作中は各インタフ
ェイス2□22.23に対する設定内容に関する情報が
伝達され、通常動作中は制御指令のための情報が伝達さ
れる。更に、機能設定モード信号FMは、機能設定動作
中を示す信号で、この信号がオンのときは通常動作によ
る制御が禁止される。また、機識別させるための識別符
号FSは、機能設定のための情報がアドレス・バス3及
びデータ・バス4上に載せられていることを示す信号で
あり、この信号は他の信号ラインと異なりメイン・プロ
セッサ1を起点として各インタフェイス2をディジ・チ
エインの形態で接続している。
Further, the data bus 4 transmits information regarding setting contents for each interface 2□22.23 during a function setting operation, and transmits information for control commands during a normal operation. Furthermore, the function setting mode signal FM is a signal indicating that the function setting operation is in progress, and when this signal is on, normal operation control is prohibited. Also, the identification code FS for machine identification is a signal indicating that information for function setting is carried on the address bus 3 and data bus 4, and this signal is different from other signal lines. The main processor 1 is the starting point and each interface 2 is connected in the form of a digital chain.

第2図は、第1図におけるインタフェイス2の詳細回路
図である。このインタフェイス2は、機能設定専用回路
と通常動作回路の2つに大別される。そこで、先ず機能
設定専用回路は、機識別させるための識別符号受信/中
継回路21.mo’e設定モードデコーダ(DI)22
、機能設定完了信号発生回路(FFl)23 、 ID
レジスタ(旧)24及び機能設定用ラッチ(Ll)25
で構成されている。機識別させるための識別符号受信/
中継回路21は、メイン・プロセッサ1または前段イン
タフェイス2からの機識別させるための識別符号FSを
受信して、自インタフェイス2が機能設定を完了してい
ない場合には、その機識別させるための識別符号FSを
機能設定モード・デコーダ22に送り、次段インタフェ
イス2には中継しない。その後、機能設定が完了して機
能設定完了信号FCがオンになると、機能設定ストロー
ブイエ!+FSを次段インタフェイス2に中継し、機能
設定モード・デコーダ22には送出しないように動作す
る。
FIG. 2 is a detailed circuit diagram of the interface 2 in FIG. This interface 2 is roughly divided into two types: a function setting dedicated circuit and a normal operation circuit. Therefore, first, the function setting dedicated circuit is the identification code receiving/relay circuit 21 for machine identification. mo'e setting mode decoder (DI) 22
, Function setting completion signal generation circuit (FFl) 23 , ID
Register (old) 24 and function setting latch (Ll) 25
It consists of Reception of identification code for machine identification/
The relay circuit 21 receives the identification code FS for machine identification from the main processor 1 or the front-stage interface 2, and if the interface 2 has not completed the function setting, it identifies the machine. The identification code FS is sent to the function setting mode decoder 22 and is not relayed to the next stage interface 2. After that, when the function setting is completed and the function setting completion signal FC turns on, the function setting strobe is activated! +FS is relayed to the next stage interface 2 and operates so as not to be sent to the function setting mode decoder 22.

尚、論J!l!素子211.212.213で構成され
る。機能設定モード・デコーダ22は、機能設定モード
化j+Fuかオンの間に機能ストロ−ブイ3号受侶受信
継回路21から機識別させるための識別符号FSを受け
たときにアドレス・バス3に載せられたアドレスデータ
をデコードする。機能設定モード信号FSがオフのとき
、すなわち運転動作モードでは動作しない。機能設定完
了信号発生回路23は、自インタフェイス2の機能設定
が完了した後に、メイン・プロセッサ1があるアドレス
をアクセスすると機能設定完了信号トCを発生する。尚
、′雀源没入時にはリセットされて機能設定完了信号F
Cは常にオフになる。
Furthermore, theory J! l! It is composed of elements 211, 212, and 213. When the function setting mode decoder 22 receives the identification code FS for machine identification from the function strobe 3 recipient reception relay circuit 21 while the function setting mode j+Fu is on, it is loaded onto the address bus 3. decode the received address data. It does not operate when the function setting mode signal FS is off, that is, in the driving operation mode. The function setting completion signal generation circuit 23 generates a function setting completion signal C when the main processor 1 accesses a certain address after the function setting of its own interface 2 is completed. In addition, when 'Jakugen is immersed, it is reset and the function setting completion signal F
C is always off.

IDレジスタ24は、メイン・プロセッサ1に送出され
るインタフェイス2の種類を識別するrDを格納してお
くレジスタである。この10には基板の種類によって一
義に決まる固定部分と外部に接続された機器によっC決
まる可変部分かあり、後者は外部と接続するためのコネ
クタの人力部の状態により可変になっている。機能設定
用ラッチ25は、メイン・プロセッサ1によりデータ・
バス4上に載せられた機能設定のための情報を保持し、
データ・セレクタ等の信号切り替え回路(図示せず)に
出力したり、通常動作モード・デコーダ26に対するア
ドレス・デコード条件として出力したりしてアドレス設
定や割り込みレベル設定等を行なう。一方、通常動作回
路1よ、通常動作モード・デコーダ(D2)25及び通
常動作に必要な回路(図示せず)から成り、機能設定モ
ード信号FMがオンのときにはアドレス・デコード動作
が禁止されるようになっている。
The ID register 24 is a register that stores rD that identifies the type of interface 2 sent to the main processor 1. This 10 has a fixed part that is uniquely determined by the type of board, and a variable part that is determined by the equipment connected to the outside, and the latter is variable depending on the state of the manual part of the connector for connecting to the outside. The function setting latch 25 is used by the main processor 1 to store data.
Holds information for function settings carried on the bus 4,
The signal is outputted to a signal switching circuit (not shown) such as a data selector, or as an address decoding condition for the normal operation mode decoder 26 to set an address, an interrupt level, etc. On the other hand, the normal operation circuit 1 consists of a normal operation mode decoder (D2) 25 and a circuit (not shown) necessary for normal operation, and when the function setting mode signal FM is on, the address decoding operation is prohibited. It has become.

第3図は、本発明における動作手順を表わすフローチャ
ートである。また、第4図は、本発明におけるアドレス
空間を説明するための図である。
FIG. 3 is a flowchart showing the operating procedure in the present invention. Further, FIG. 4 is a diagram for explaining the address space in the present invention.

そこで、先ず電源1!人後、メイン・プロセッサ1Sl
)、、これにより、第4図に示すメイン・プロセッサ1
のアドレス空間は、機能設定モードアドレス空間Sに切
り換えられる。このとき、機能設定モードアドレス空間
Sに対し10レジスタの読み込み及び機能設定を行なう
ために機能設定ストローブ侶4.FSをオンにすると、
最初はインタフェイス2.の機能設定空間11に作用す
る。次に、IDレジスタ24に格納されているID番号
を読み込む(ステップ52)。この読み出された番号が
例えばFC1+(任意に指定可能)であるか否かを判断
しくステップS3) 、 FF)Iでなければ、TDの
内容に基づいてインタフェイス2の種類を判定し必要な
機能設定を行なう(ステップS0゜設定完了後は、機能
設定完了信号発生回路23に指令を与えて機能設定完了
信号FCをオンにする(ステップS5)。これにより、
機識別させるための識別符号FSは次段に接続されてい
るインタフェイス2に作用するように中継される。以下
、ステップS2からの動作を繰り返すが、すべてのイン
タフェイス2の機能設定が完了タ・バス4の信号ライン
かすへて論理1になるように抵抗5でプルアップされて
いるので、IOのイ+αは[F)1どなる。したがって
、メイン・プロセッサlはステップS3において現在実
装されているインタフェイス2かすへて設定完了したと
判定し、機IF=設定モート侶号信号Mをオフにする(
ステップ58)。その後、メイン・プロセッサ1のアド
レス空間は通常動作モードアl−レス空間Tに切り)^
えられ、以後所望の機能に設定されたそれぞれのインタ
フェイス2を介して機械を制御することができる。
So, first of all, power supply 1! Main processor 1Sl
),, As a result, the main processor 1 shown in FIG.
The address space is switched to the function setting mode address space S. At this time, a function setting strobe is used to read 10 registers to the function setting mode address space S and perform function settings. When you turn on FS,
The first is interface 2. It acts on the function setting space 11 of . Next, the ID number stored in the ID register 24 is read (step 52). In step S3), it is determined whether the read number is FC1+ (which can be specified arbitrarily), and if it is not FF)I, the type of interface 2 is determined based on the contents of TD and the necessary Perform function setting (step S0°) After the setting is completed, a command is given to the function setting completion signal generation circuit 23 to turn on the function setting completion signal FC (step S5).As a result,
The identification code FS for machine identification is relayed so as to act on the interface 2 connected to the next stage. Below, the operation from step S2 is repeated, but all interface 2 function settings have been completed. Since the signal line of the bus 4 is pulled up by the resistor 5 so that it becomes logic 1, the IO input +α is [F)1. Therefore, in step S3, the main processor I determines that the settings for the currently installed interface 2 have been completed, and turns off the machine IF=setting mode signal M (
Step 58). After that, the address space of main processor 1 is switched to normal operation mode address space T)
The machine can then be controlled via the respective interface 2 set to the desired function.

(発明の効果) 以上のように本発明のインタフ−’r−(スの機能設定
を自動的に行なうインタフェイス機能自動設定方法及び
当該設定を自動的に行なう数値制御装置によれは、スイ
ッチ設定かすへ゛C不要となるのでその誤設定によるト
ラブルか完全に排除され、また機能設定モートと通常動
作モートでアドレス空間を完全に分前したので、;m電
動作モートにおけるイ」様変更の影響が機能設定モート
における仕様変更に与える影響を少なくすることできる
(Effects of the Invention) As described above, the interface function automatic setting method of the present invention automatically performs the interface function setting and the numerical control device that automatically performs the setting, the switch setting Since there is no need for Kashen C, troubles caused by incorrect settings are completely eliminated, and since the address space is completely divided between the function setting mode and the normal operation mode, the influence of the change in the electric operation mode is eliminated. The influence of specification changes in the function setting mode can be reduced.

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

第1図は本発明に係る装置の構成図、第2図はインクフ
ェイス2の詳細回路図、′fJ3図は本発明における動
作手順を表すフローチャート、第4図は本発明における
アドレス空間を説明するための図、第5図は従来におけ
るインタフェイスの機能設定を説明するための図、第6
図は第5図におけるインクフェイス12の詳細回路図で
ある。 1・・・メイン・プロセッサ、2.12・・・インタフ
ェイス、3・・・アドレス・バス、4・・・データ・バ
ス、5・・・抵抗、21・・・機識別させるための識別
符号受信/中継回路、22・・・機能設定モー1−・デ
コーダ、23・・・機能設定完了信号発生回路、24・
・・IQレジスタ、25・・・機能設定圧ラッf−52
6・・・通常動作モート・デコーダ。
Fig. 1 is a configuration diagram of the device according to the present invention, Fig. 2 is a detailed circuit diagram of the ink face 2, Fig. 'fJ3 is a flowchart showing the operating procedure in the present invention, and Fig. 4 explains the address space in the present invention. Figure 5 is a diagram for explaining the conventional interface function settings, and Figure 6 is a diagram for explaining the conventional interface function settings.
The figure is a detailed circuit diagram of the ink face 12 in FIG. 1... Main processor, 2. 12... Interface, 3... Address bus, 4... Data bus, 5... Resistor, 21... Identification code for machine identification. Reception/relay circuit, 22...Function setting mode 1-decoder, 23...Function setting completion signal generation circuit, 24.
...IQ register, 25...Function setting pressure latch f-52
6... Normal operation mote decoder.

Claims (1)

【特許請求の範囲】 1、1つまたは複数のインタフェイスのそれぞれは固有
の識別符号を有し、前記インタフェイスのそれぞれにア
ドレス・バス及びデータ・バスで接続される制御手段が
、機能設定を有効にして前記インタフェイスの通常動作
を禁止するとともに、前記インタフェイスのそれぞれか
ら順番に前記識別符号を読み込み、当該識別符号に応じ
た設定情報を前記アドレス・バス及び前記データ・バス
を介して対応するインタフェイスに送信して設定するよ
うにしたインタフェイス機能自動設定方法。 2、アドレス・バス及びデータ・バスに接続され、外部
機器の制御を行なう1つまたは複数のインタフェイスと
、前記アドレス・バス及び前記データ・バスに接続され
、前記インタフェイスに対して制御指令を与える制御手
段とを有する数値制御装置において、前記制御手段を起
点として前記インタフェイスのそれぞれをデイジ・チェ
イン接続し、前記機能設定の情報が前記アドレス・バス
及び前記データ・バスにおいて有効であることを示す機
能設定ストローブ信号ラインとを備え、前記インタフェ
イスのそれぞれは、当該インタフェイスを前記制御手段
に識別させるための識別符号を扱うことが可能な機能設
定手段を有し、前記制御手段は、前記機能設定ストロー
ブ信号を有効にして、前記識別符号を読み込み、当該識
別符号に応じた設定情報を前記アドレス・バス及び前記
データ・バスを介して前記機能設定手段に送ることによ
り、順次前記インタフェイスのそれぞれに対して機能設
定を行なうことを特徴とするインタフェイスの機能設定
を自動的に行なう数値制御装置。3、前記制御手段及び
前記インタフェイスのそれぞれを相互に接続し、当該イ
ンタフェイスに対して機能設定中の旨を伝達する機能設
定モード信号ラインを備え、前記制御手段は、当該機能
設定モード信号ラインを有効にして前記インタフェイス
の通常動作を禁止した状態で前記機能設定を行なうこと
を特徴とする請求項2に記載のインタフェイスの機能設
定を自動的に行なう数値制御装置。 4、前記機能設定手段は、前記識別符号を格納する識別
符号格納手段と、機能設定ストローブ信号を受信すると
ともに機能設定完了後に当該機能設定ストローブ信号を
次段インタフェイスに中継する機能設定ストローブ信号
受信・中継手段と、前記機能設定モード信号が有効の間
、前記アドレス・バスに載せられたアドレス情報をデコ
ードするデコード手段と、前記機能設定ストローブ信号
が有効の間、前記データ・バスに載せられた情報を保持
する保持手段と、機能設定完了後に設定が変更されない
ように保護する保護手段とを有することを特徴とする請
求項2に記載のインタフェイスの機能設定を自動的に行
なう数値制御装置。 5、前記識別符号は、前記インタフェイスの種類で決定
されてプリント配線で固定化された符号部分と、接続さ
れる外部機器に応じて変更されて当該接続を行なうため
のコネクタの信号入力状態により決定される符号部分と
を有することを特徴とする請求項2に記載のインタフェ
イスの機能設定を自動的に行なう数値制御装置。 6、前記制御手段は、特定の値の識別符号を読み出した
ときに、実装されているすべてのインタフェイスの設定
が完了したと判定することを特徴とする請求項2に記載
のインタフェイスの機能設定を自動的に行なう数値制御
装置。
[Claims] Each of the one or more interfaces has a unique identification code, and control means connected to each of the interfaces by an address bus and a data bus configures the functions. Enable to prohibit normal operation of the interface, read the identification code from each of the interfaces in order, and correspond setting information according to the identification code via the address bus and the data bus. An interface function automatic configuration method that sends and configures the interface to be configured. 2. One or more interfaces that are connected to the address bus and data bus and control external devices; and one or more interfaces that are connected to the address bus and the data bus and issue control commands to the interfaces. In the numerical control device, each of the interfaces is connected in a daisy chain starting from the control means, and the function setting information is valid on the address bus and the data bus. each of the interfaces has a function setting means capable of handling an identification code for causing the control means to identify the interface; The function setting strobe signal is enabled, the identification code is read, and setting information corresponding to the identification code is sent to the function setting means via the address bus and the data bus, thereby sequentially setting the interface. A numerical control device for automatically setting functions of an interface, characterized in that functions are set for each interface. 3. A function setting mode signal line is provided which connects each of the control means and the interface to each other and transmits to the interface a function setting mode signal line, and the control means is connected to the function setting mode signal line. 3. The numerical control device for automatically setting functions of an interface according to claim 2, wherein the function setting is performed in a state where the interface is enabled and normal operation of the interface is prohibited. 4. The function setting means includes an identification code storage means for storing the identification code, and a function setting strobe signal receiver that receives the function setting strobe signal and relays the function setting strobe signal to the next interface after the function setting is completed. relay means; decoding means for decoding address information carried on the address bus while the function setting mode signal is valid; and decoding means for decoding address information carried on the data bus while the function setting strobe signal is valid; 3. The numerical control device for automatically setting functions of an interface according to claim 2, further comprising a holding means for holding information and a protection means for protecting the settings from being changed after the function setting is completed. 5. The identification code is determined by the type of the interface and fixed by printed wiring, and the code part is changed depending on the external device to be connected and is determined by the signal input state of the connector for making the connection. 3. The numerical control device for automatically setting functions of an interface according to claim 2, wherein the numerical control device has a code portion that is determined. 6. The function of the interface according to claim 2, wherein the control means determines that the settings of all the implemented interfaces are completed when reading an identification code of a specific value. A numerical control device that automatically performs settings.
JP2124090A 1990-01-31 1990-01-31 Automatic setting method for interface function and numerical controller for performing automatic setting Pending JPH03225506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2124090A JPH03225506A (en) 1990-01-31 1990-01-31 Automatic setting method for interface function and numerical controller for performing automatic setting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2124090A JPH03225506A (en) 1990-01-31 1990-01-31 Automatic setting method for interface function and numerical controller for performing automatic setting

Publications (1)

Publication Number Publication Date
JPH03225506A true JPH03225506A (en) 1991-10-04

Family

ID=12049530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2124090A Pending JPH03225506A (en) 1990-01-31 1990-01-31 Automatic setting method for interface function and numerical controller for performing automatic setting

Country Status (1)

Country Link
JP (1) JPH03225506A (en)

Similar Documents

Publication Publication Date Title
US4809217A (en) Remote I/O port for transfer of I/O data in a programmable controller
EP0784818B1 (en) Microprocessor programming using a state machine
JPH0939212A (en) Controller for printing machine
JPH03225506A (en) Automatic setting method for interface function and numerical controller for performing automatic setting
JP3437321B2 (en) Control method for facsimile machine
JP2964836B2 (en) Temperature controller and temperature instrumentation system
JP3216020B2 (en) Link device for programmable controller
JP2776443B2 (en) Programmable controller
JP2500792B2 (en) Serial communication control method
JP2593279Y2 (en) Centralized monitoring device
JP2792491B2 (en) Emulation device
JP2561366B2 (en) Data transfer device having function confirmation function
KR19980050246U (en) Flash ROM Fusing Unit
JPH05282232A (en) Device control mechanism
JPS63209967A (en) Printer
JPH08185202A (en) Water heater, data processor, and data processing method
JPH0671350B2 (en) Central control system
JPH08221334A (en) Device address setting device and setting method
JP2001103667A (en) Monitoring and control equipment
JPH0954692A (en) Microprogram control system
JPH06282312A (en) Operation program transfer device for sequence controller
JPS6242233A (en) Module configuration method
JPH05127779A (en) Microcomputer system and its initialization control method
JPH0510698B2 (en)
JPH05241815A (en) Signal processor for microprocessor control