JP2005332336A - Motion controller and method of defining equipment configuration of motion controller - Google Patents

Motion controller and method of defining equipment configuration of motion controller Download PDF

Info

Publication number
JP2005332336A
JP2005332336A JP2004152236A JP2004152236A JP2005332336A JP 2005332336 A JP2005332336 A JP 2005332336A JP 2004152236 A JP2004152236 A JP 2004152236A JP 2004152236 A JP2004152236 A JP 2004152236A JP 2005332336 A JP2005332336 A JP 2005332336A
Authority
JP
Japan
Prior art keywords
module
option
definition data
configuration
motion controller
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
JP2004152236A
Other languages
Japanese (ja)
Other versions
JP2005332336A5 (en
Inventor
Kazuo Fujino
賀須男 藤野
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2004152236A priority Critical patent/JP2005332336A/en
Publication of JP2005332336A publication Critical patent/JP2005332336A/en
Publication of JP2005332336A5 publication Critical patent/JP2005332336A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motion controller capable of automatically creating module configuration definition data of option modules loaded on the motion controller. <P>SOLUTION: In the motion controller 13 in which a CPU module 1 and a plurality of option modules 11a to 11c are loaded in a slot and equipped with module configuration definition data 8, module detail definition data 9, an application file 10, a memory management part 6, a module initialization part 3, an input/output processing part 4 and an application execution part 5, each of the option modules 11a to 11c is equipped with option tags 12a to 12c and the CPU module is equipped with a module configuration processing part 2 which creates the option module configuration definition data 8 and the module detail definition data 9. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、CPUモジュールと複数のオプションモジュールで構成するモーションコントローラおよびモーションコントローラの機器構成定義方法に関する。   The present invention relates to a motion controller composed of a CPU module and a plurality of option modules, and a device configuration definition method for the motion controller.

CPUモジュールと複数のオプションモジュールがスロットに装着されているモーションコントローラでは基本的な機能をCPUモジュールで処理し、オプションモジュールではそのコントローラに必要な応用機能を処理する構成となっている。モーションコントローラを使用して制御する対象により、必要な応用機能は異なるため、オプションモジュールの構成はモーションコントローラ毎に異なる。このため、どういう種類のオプションモジュールがどのスロットに装着されていて、どういう機能があるかというコントローラ毎の機器構成をCPUモジュールに定義し、モジュール機器構成データとして記憶させ、その定義に基づいて動作するようになっている。また、オプションモジュールの中にはさらにスレーブとなる機器をつなぎ動作するものもあり、この場合はスレーブ機器についても定義をする必要がある。従来のモーションコントローラでは、装着されるオプションモジュールやそのオプションモジュールに接続されるスレーブ機器の構成定義をマニュアルで設定していた。すなわち、モーションコントローラに付属のキーボードからCRT等の画面を見ながら各スロットに装着されているオプションモジュールのモジュールIDや共有メモリの番地等の構成定義として必要な情報を1スロット毎にマニュアルにて選択し定義していく作業を行っていた。さらに1スロットのオプションモジュールにはパラメータやスレーブ機器の定義さらにスレーブ機器の入出力サイズ等の詳細なデータをモジュール詳細定義データとして定義していく必要があった。
また、スレーブ機器を自動検出するモーションコントローラもあるが、この場合もスレーブ機器を確認した後、マニュアルによる定義を行うという手順がとられていた。(例えば、特許文献1参照)
特開平11―259105(第6頁―8頁、第1図)
In a motion controller in which a CPU module and a plurality of option modules are mounted in the slot, basic functions are processed by the CPU module, and the option module is configured to process application functions necessary for the controller. Since necessary application functions differ depending on the object to be controlled using the motion controller, the configuration of the option module differs for each motion controller. For this reason, the device configuration for each controller that defines what type of option module is installed in which slot and what functions are defined in the CPU module, stored as module device configuration data, and operates based on the definition It is like that. Some option modules also operate by connecting a slave device. In this case, it is necessary to define the slave device. In the conventional motion controller, the configuration definition of the installed option module and the slave device connected to the option module is manually set. In other words, while viewing the screen of the CRT etc. from the keyboard attached to the motion controller, manually select the information necessary for the configuration definition such as the module ID of the optional module installed in each slot and the address of the shared memory for each slot. I was working to define it. Furthermore, it is necessary to define detailed data such as parameters and definitions of slave devices as well as input / output sizes of slave devices as detailed module definition data in the 1-slot option module.
There is also a motion controller that automatically detects slave devices. In this case as well, after confirming the slave devices, the procedure is to define manually. (For example, see Patent Document 1)
JP-A-11-259105 (pages 6-8, FIG. 1)

従来のモーションコントローラの機器構成定義方法では、各スロットに装着されているオプションモジュールおよびオプションモジュールに接続されるスレーブ機器の構成定義はマニュアルで設定する必要があるため、モーションコントローラに必要なオプションモジュールを装着し、動作可能な状態まで立ち上げるのに非常に時間がかかるという問題があった。また、マニュアルで設定するために実際の構成と異なるモジュールを定義したり、入出力サイズを誤ったりすることによりモーションコンとローラが正常に動作しない場合があるという問題もあった。
本発明はこのような問題点に鑑みてなされたものであり、モーションコントローラに装着されているオプションモジュールのモジュール構成定義データを自動的に作成し、さらにオプションモジュールに接続されるスレーブ機器の設定などのモジュール詳細定義データを自動的に作成することができ、短時間で確実に立ち上げることのできるモーションコントローラおよびモーションコントローラの機器構成定義方法を提供することを目的とする。
In the conventional motion controller device configuration definition method, it is necessary to manually set the configuration definition of the option module installed in each slot and the slave device connected to the option module. There was a problem that it took a very long time to put on and start up to an operable state. In addition, there is a problem that the motion controller and the roller may not operate normally due to the definition of a module different from the actual configuration for manual setting or incorrect input / output size.
The present invention has been made in view of such a problem, and automatically creates module configuration definition data of an option module mounted on a motion controller, and further sets a slave device connected to the option module. It is an object of the present invention to provide a motion controller and a device configuration definition method for a motion controller that can automatically create detailed module definition data and can be reliably started up in a short time.

上記問題を解決するため、本発明は、次のようにしたのである。
請求項1に記載の発明は、モーションコントローラの基本機能を処理するCPUモジュールと、モーションコントローラの応用機能を処理する複数のオプションモジュールがスロットに装着され、前記CPUモジュールに前記複数のオプションモジュールの構成を定義したモジュール構成定義データと、前記各オプションモジュールのパラメータ、入出力サイズ、該オプションモジュールに接続されるスレーブ機器等を定義したモジュール詳細定義データと、ラダープログラム等のアプリケーションを格納するアプリケーションファイルと、前記モジュール構成定義データと前記モジュール詳細定義データと前記アプリケーションファイルを含むメモリと、該メモリへのデータの読み書きを行うメモリ管理部と、前記各オプションモジュールを初期化するモジュール初期化部と、前記各オプションモジュールと入出力データの授受を行う入出力処理部と、前記アプリケーションを実行するアプリケーション実行部を備えたモーションコントローラにおいて、前記各オプションモジュールに該オプションモジュール固有の情報をもつオプションタグを備え、前記CPUモジュールに該オプションタグの内容を基に前記オプションモジュール構成定義データと前記モジュール詳細定義データを作成するモジュール構成処理部を備えることを特徴としている。
また、請求項2に記載の発明は、前記オプションタグに前記オプションモジュールが有する機能を識別する機能モジュールIDを備え、前記モジュール構成処理部に前記オプションモジュールが有する各機能に対し定義すべき前記モジュール詳細定義データの情報であるプロファイルと、該プロファイルを前記機能モジュールIDから検索するリストであるIDリストを備え、前記各オプションモジュールに該オプションモジュールに接続されるスレーブ機器を検索し、パラメータ、入出力サイズ等の情報を前記モジュール構成処理部に送出する詳細構成処理部を備えることを特徴としている。
また、請求項3に記載の発明は、前記プロファイルはモーション制御機能に関するモーションプロファイルと、通信機能に関する通信プロファイルと、IO制御機能に関するIOプロファイルとから成ることを特徴としている。
In order to solve the above problem, the present invention is as follows.
According to the first aspect of the present invention, a CPU module that processes a basic function of a motion controller and a plurality of option modules that process an application function of the motion controller are mounted in a slot, and the configuration of the plurality of option modules is installed in the CPU module. Module configuration definition data defining module parameters, input / output sizes, module detailed definition data defining slave devices connected to the option modules, and application files for storing applications such as ladder programs A memory including the module configuration definition data, the module detailed definition data, and the application file, a memory management unit for reading / writing data from / to the memory, and the option modules. In a motion controller comprising a module initialization unit for initializing, an input / output processing unit for transferring input / output data to / from each option module, and an application execution unit for executing the application, each option module includes the option module. An option tag having unique information is provided, and the module configuration processing unit for creating the option module configuration definition data and the module detailed definition data based on the contents of the option tag is provided in the CPU module.
According to a second aspect of the present invention, the option tag includes a function module ID for identifying a function of the option module, and the module configuration processing unit defines the module to be defined for each function of the option module. A profile that is information of detailed definition data and an ID list that is a list for searching the profile from the functional module ID are provided, and each option module is searched for a slave device connected to the option module, and parameters and input / output A detailed configuration processing unit that sends information such as size to the module configuration processing unit is provided.
According to a third aspect of the present invention, the profile includes a motion profile related to a motion control function, a communication profile related to a communication function, and an IO profile related to an IO control function.

また、請求項4に記載の発明は、モーションコントローラの基本機能を処理するCPUモジュールと、モーションコントローラの応用機能を処理する複数のオプションモジュールがスロットに装着され、前記CPUモジュールに前記複数のオプションモジュールの構成を定義したモジュール構成定義データと、前記各オプションモジュールのパラメータ、入出力サイズ、該オプションモジュールに接続されるスレーブ機器等を定義したモジュール詳細定義データと、ラダープログラム等のアプリケーションを格納するアプリケーションファイルと、前記モジュール構成定義データと前記モジュール詳細定義データと前記アプリケーションファイルを含むメモリと、該メモリへのデータの読み書きを行うメモリ管理部と、前記各オプションモジュールを初期化するモジュール初期化部と、前記各オプションモジュールと入出力データの授受を行う入出力処理部と、前記アプリケーションを実行するアプリケーション実行部を備えたモーションコントローラの機器構成定義方法において、前記各オプションモジュールに該オプションモジュール固有の情報をもつオプションタグを備え、前記CPUモジュールのモジュール構成処理部が前記オプションタグを検索し、該オプションタグの内容を基に前記モジュール構成定義データと前記モジュール詳細定義データを作成することを特徴としている。
また、請求項5に記載の発明は、前記モジュール構成処理部は、前記機能モジュールIDにより選択されるプロファイルを基に、前記各オプションモジュールが備える詳細構成処理部を介して前記オプションモジュールに接続されるスレーブ機器を検索し、パラメータ、入出力サイズ等で構成される前記モジュール詳細定義データを作成することを特徴としている。
また、請求項6に記載の発明は、前記モジュール構成処理部は、電源投入時既にモジュール構成定義が行われていれば前記モジュール詳細定義データを基に前記オプションモジュールの初期化を行ない、次に前記オプションモジュールからのモジュール構成定義を作成する要求があるかをチェックし、要求がある場合該当する前記オプションモジュールの前記モジュール構成定義データ、モジュール詳細定義データを作成し、該オプションモジュールの再初期化を行うことを特徴としている。
また、請求項7に記載の発明は、前記モジュール構成処理部は、モジュール構成定義を作成する要求をスロットごとに持ち、特定スロットのみについてモジュール構成定義データ、モジュール詳細定義データを作成することを特徴としている。
According to a fourth aspect of the present invention, a CPU module for processing a basic function of the motion controller and a plurality of option modules for processing an application function of the motion controller are mounted in a slot, and the plurality of option modules are installed in the CPU module. Module configuration definition data that defines the configuration of each module, module detailed definition data that defines the parameters of each option module, input / output sizes, slave devices connected to the option module, and applications such as ladder programs A file, a memory including the module configuration definition data, the module detailed definition data, and the application file, a memory management unit for reading and writing data to and from the memory, and each option module In a device configuration definition method for a motion controller, comprising: a module initialization unit that initializes a module; an input / output processing unit that exchanges input / output data with each option module; and an application execution unit that executes the application. Each option module includes an option tag having information unique to the option module, and the module configuration processing unit of the CPU module searches for the option tag, and the module configuration definition data and the module are searched based on the contents of the option tag. It is characterized by creating detailed definition data.
In the invention according to claim 5, the module configuration processing unit is connected to the option module via a detailed configuration processing unit included in each option module based on a profile selected by the function module ID. The module detailed definition data including parameters, input / output sizes, and the like is created by searching for slave devices to be searched.
The module configuration processing unit may initialize the option module based on the module detailed definition data if the module configuration definition has already been performed when the power is turned on. It is checked whether there is a request to create a module configuration definition from the option module. If there is a request, the module configuration definition data and module detailed definition data of the corresponding option module are created, and the option module is reinitialized. It is characterized by performing.
The module configuration processing unit has a request for creating a module configuration definition for each slot, and creates module configuration definition data and module detailed definition data for only a specific slot. It is said.

本発明によれば、モーションコントローラに装着されているオプションモジュールのモジュール構成定義を各オプションモジュールに備わるオプションタグから自動的に作成し、さらにオプションモジュールに接続されるスレーブ機器の設定などのモジュール詳細定義データを自動的に作成することができ、短時間で確実にモーションコントローラを立ち上げることができる。   According to the present invention, the module configuration definition of the option module installed in the motion controller is automatically created from the option tag provided in each option module, and the module detailed definition such as setting of the slave device connected to the option module Data can be created automatically, and the motion controller can be started up reliably in a short time.

以下、本発明の方法の具体的実施例について、図に基づいて説明する。   Hereinafter, specific examples of the method of the present invention will be described with reference to the drawings.

図1は、本発明のモーションコントローラの構成を示すブロック図である。図においてモーションコントローラ13はCPUモジュール1と複数のオプションモジュール11a〜11cから構成されている。各オプションモジュール11a〜11cはオプションタグ12a〜12cを有している。CPUモジュール1はモジュール構成処理部2と、メモリ7を管理するメモリ管理部6と、モジュール構成定義データ8およびモジュール詳細定義データ9を使用して各オプションモジュール11a〜11cの初期化を実行するモジュール初期化部3と、各オプションモジュール11a〜11cとの入出力データの授受を実行する入出力処理部4と、アプリケーションファイル10を使用してアプリケーションを実行するアプリケーション実行部5から構成されている。   FIG. 1 is a block diagram showing the configuration of the motion controller of the present invention. In the figure, the motion controller 13 comprises a CPU module 1 and a plurality of option modules 11a to 11c. Each option module 11a-11c has option tags 12a-12c. The CPU module 1 uses the module configuration processing unit 2, the memory management unit 6 that manages the memory 7, the module configuration definition data 8, and the module detailed definition data 9 to execute initialization of the option modules 11a to 11c. The initialization unit 3 includes an input / output processing unit 4 that executes transmission / reception of input / output data between the option modules 11 a to 11 c, and an application execution unit 5 that executes an application using the application file 10.

図2はオプションタグ12a〜12cの構成を示している。オプションタグ12a〜12cの先頭部の6個のデータは各オプションモジュールに共通な共通情報であり、オプションモジュール名称を示すモジュールIDと、共有メモリの有無を示す共有メモリタイプと、共有メモリを参照する先頭アドレスを示す共有メモリオフセットと、オプションモジュールが持つ機能数を示す機能モジュール数と、オプションモジュールのハードウェアバージョンとソフトウェアバージョンで構成される。それに続き各オプションモジュール固有の各機能を示す機能情報が機能1から機能nまで複数個で構成される。機能情報は機能を識別する機能モジュールIDと、共有メモリの有無を示すメモリタイプとその機能が格納されているアドレスを示す共有メモリオフセットで構成される。CPUモジュール1はこのオプションタグ12a〜12cを認識することでオプションモジュールの種類とモジュールが持つ全ての機能を検出することができる。なお、オプションタグ12a〜12cはオプションモジュール製造時にあらかじめ書き込んでおく。   FIG. 2 shows the configuration of the option tags 12a to 12c. The six pieces of data at the head of the option tags 12a to 12c are common information common to each option module, and refer to a module ID indicating an option module name, a shared memory type indicating the presence or absence of a shared memory, and a shared memory. It consists of a shared memory offset indicating the start address, the number of function modules indicating the number of functions of the option module, and the hardware version and software version of the option module. Subsequently, a plurality of function information items indicating functions unique to each option module are configured from function 1 to function n. The function information includes a function module ID for identifying a function, a memory type indicating the presence or absence of a shared memory, and a shared memory offset indicating an address at which the function is stored. By recognizing the option tags 12a to 12c, the CPU module 1 can detect the types of option modules and all the functions of the modules. The option tags 12a to 12c are written in advance when the option module is manufactured.

図3はモジュール構成処理部2がモジュール構成定義データ8およびモジュール詳細定義データ9を作成するときのフローチャートである。モジュール構成定義データ8およびモジュール詳細データ9はモーションコントローラ13の電源投入時に作成される。ステップST31でオプションモジュールをインデックスしていくカウンタiを0にリセットしステップST32でカウンタiを+1する。ステップST33でオプションモジュールiの構成定義を作成する構成定義要求が有りかどうかチェックする。ここで、構成定義要求は作業者がCPUモジュール1に備えられたディップスィッチ(図示せず)により指定するか、CPUモジュール1に接続され、モーションコントローラの管理やプログラミング等を行うプログラミングツール(図示せず)からの指令により行う。構成定義要求が有りのときは、ステップST34でオプションモジュールiのオプションタグ12a〜12cを検索し、その情報からステップST35でオプションモジュールiのモジュール構成定義データ8を作成する。次に、ステップST36でオプションモジュールiのモジュール詳細データ9を作成する。そして、ステップ37で全てのオプションモジュールのチェックが終了したかどうかチェックし、iがオプションモジュール数nになるまでステップST32からの処理を繰り返す。   FIG. 3 is a flowchart when the module configuration processing unit 2 creates the module configuration definition data 8 and the module detailed definition data 9. The module configuration definition data 8 and the module detailed data 9 are created when the motion controller 13 is turned on. In step ST31, the counter i for indexing the option module is reset to 0, and in step ST32, the counter i is incremented by one. In step ST33, it is checked whether there is a configuration definition request for creating a configuration definition for the option module i. Here, a configuration definition request is designated by a worker using a dip switch (not shown) provided in the CPU module 1 or connected to the CPU module 1 to be a programming tool (not shown) for managing a motion controller, programming, and the like. )). When there is a configuration definition request, the option tags 12a to 12c of the option module i are searched in step ST34, and the module configuration definition data 8 of the option module i is created from the information in step ST35. Next, module detail data 9 of the option module i is created in step ST36. In step 37, it is checked whether or not all the option modules have been checked, and the processing from step ST32 is repeated until i reaches the number n of option modules.

図4は図3において作成されたモジュール構成定義データ8の構成を示している。図4(a)に示されているように、スロット1からスロットnまでスロットに対応して装着されているオプションモジュールの構成定義をする。この1つ1つの定義は図4(b)に示されるようにオプションモジュールの名称、機能、モジュール全体の入出力データサイズ等から構成されている。   FIG. 4 shows the configuration of the module configuration definition data 8 created in FIG. As shown in FIG. 4A, the configuration definition of option modules installed corresponding to the slots from slot 1 to slot n is defined. Each definition includes an option module name, function, input / output data size of the entire module, and the like, as shown in FIG. 4B.

図5は図3のステップ36でモジュール構成処理部2がモジュール詳細定義データ9を作成するときの概念図とフローチャートである。図5(a)に示すようにモジュール構成処理部2には、各機能に対し定義すべきモジュール詳細定義データの情報であるプロファイルとそれを機能モジュールID15から検索するリストであるIDリスト16が準備されている。ここでは、プロファイルの例としてモーション制御機能に関するモーションプロファイル17と、通信機能に関する通信プロファイル18とIO制御機能に関するIOプロファイル19を挙げてある。モジュール構成処理部2は、オプションタグ12a〜12cの機能モジュールID15からIDリスト16により各機能用のプロファイルを選択し、そのデータからモジュール詳細定義データ9を作成する。図5(b)は作成処理をフローチャートで表したものである。ステップST51で機能モジュールID15から機能を判別し、たとえば機能がモーション制御であればステップST52でモーションプロファイル17によりモーション機能のモジュール詳細定義データ9を作成する。この場合モジュール詳細定義データ9のうちモーション制御に関する定義を行うのでこの部分をモーションモジュール詳細定義データ23と名付ける。なお、モーション制御機能がメインのオプションモジュールは、モーションモジュール11dと呼ぶ。同様に、機能が通信であれば、ステップST53により通信プロファイル18により通信モジュール詳細定義データ26を作成する。また、機能がIO制御の場合はステップST54により、IOプロファイル19によりIOモジュール詳細定義データ28を作成する。通信機能がメインのオプションモジュールは通信モジュール、IO制御機能がメインのオプションモジュールはIOモジュールと呼ぶ。なお、ここでは簡単化のため、1つのオプションモジュールに機能が1つの場合の説明をしたが、同様の手順で1つのオプションモジュールに複数の機能がある場合についても対応できる。1つのオプションモジュールに複数の機能がある例としては、通信モジュールにシリアル通信とイーサネット(登録商標)通信の機能を持つものや、IOモジュールにIO制御機能とカウンタ機能を持つもの等がある。   FIG. 5 is a conceptual diagram and flowchart when the module configuration processing unit 2 creates the detailed module definition data 9 in step 36 of FIG. As shown in FIG. 5A, the module configuration processing unit 2 is provided with a profile, which is information of module detailed definition data to be defined for each function, and an ID list 16 which is a list for retrieving it from the function module ID 15. Has been. Here, as an example of the profile, a motion profile 17 related to the motion control function, a communication profile 18 related to the communication function, and an IO profile 19 related to the IO control function are listed. The module configuration processing unit 2 selects a profile for each function from the function module ID 15 of the option tags 12a to 12c using the ID list 16, and creates detailed module definition data 9 from the data. FIG. 5B is a flowchart showing the creation process. In step ST51, the function is determined from the function module ID 15. For example, if the function is motion control, the module detailed definition data 9 of the motion function is created by the motion profile 17 in step ST52. In this case, since the definition related to motion control is performed in the detailed module definition data 9, this part is named the detailed motion module definition data 23. The option module having the main motion control function is called a motion module 11d. Similarly, if the function is communication, the communication module detailed definition data 26 is created by the communication profile 18 in step ST53. If the function is IO control, the IO module detailed definition data 28 is created by the IO profile 19 in step ST54. An option module having a main communication function is called a communication module, and an option module having a main IO control function is called an IO module. Here, for simplification, the case where one option module has one function has been described, but the case where one option module has a plurality of functions can be dealt with by the same procedure. Examples where one option module has a plurality of functions include a communication module having serial communication and Ethernet (registered trademark) communication functions, and an IO module having an IO control function and a counter function.

図6はモーションモジュール11dがモーションプロファイル17を使用しモーションモジュール詳細定義データ23を作成する例である。モジュール構成処理部2はモーションプロファイル17に示された定義内容に従って、モーションモジュール11dに各定義内容を要求する。モーションモジュール11dに備えられた詳細構成処理部21aは、要求に従い、伝送パラメータ定義の場合、デフォルト伝送パラメータ14aをモジュール構成処理部2に返送し、局割り付け定義の場合、通信で接続された局1〜局nのサーボアンプのID20a〜20cを検索、返送し、モーションパラメータ定義の場合、IDと一致したデフォルトパラメータを返送する。例えば、局1のサーボアンプはIDがAであるのでA用デフォルトパラメータ22aを返送する。モジュール構成処理部2は返送された内容を使用しモーションモジュール詳細定義データ23を作成する。
図7はモーションモジュール詳細定義データ23のファイルの構成例であり、伝送パラメータ定義、局割り付け定義、モーションパラメータ定義から構成される。
FIG. 6 shows an example in which the motion module 11 d uses the motion profile 17 to create the motion module detailed definition data 23. The module configuration processing unit 2 requests each definition content from the motion module 11d according to the definition content shown in the motion profile 17. The detailed configuration processing unit 21a provided in the motion module 11d returns the default transmission parameter 14a to the module configuration processing unit 2 in the case of transmission parameter definition according to the request, and the station 1 connected by communication in the case of station assignment definition. Searches and returns IDs 20a to 20c of the servo amplifier of station n, and returns a default parameter that matches the ID in the case of motion parameter definition. For example, since the ID of the servo amplifier of the station 1 is A, the A default parameter 22a is returned. The module configuration processing unit 2 creates the motion module detailed definition data 23 using the returned contents.
FIG. 7 shows an example of a file structure of the motion module detailed definition data 23, which includes a transmission parameter definition, a station assignment definition, and a motion parameter definition.

図8は通信モジュール11eが通信プロファイル18を使用して通信モジュール詳細データ26を作成する例である。モジュール構成処理部2は通信プロファイル18に示された定義内容に従って、通信モジュール11eに各定義内容を要求する。通信モジュール11eに備えられた詳細構成処理部21bは、要求に従い、伝送パラメータ定義の場合、デフォルト伝送パラメータ14bをモジュール構成処理部2に返送し、局割り付け定義の場合、通信で接続された局1〜局nのスレーブ機器のID24a〜24cを検索、返送し、IDに応じた入出力サイズを返送する。例えば、局1のスレーブ機器はIDがAであるのでA用入出力サイズ25aを返送する。モジュール構成処理部2は返送された内容を使用し通信モジュール詳細定義ファイル26を作成する。
図9は通信モジュール詳細定義データのファイルの構成例であり、伝送パラメータ定義、局割り付け定義から構成される。
FIG. 8 shows an example in which the communication module 11 e creates the communication module detailed data 26 using the communication profile 18. The module configuration processing unit 2 requests each definition content from the communication module 11e according to the definition content shown in the communication profile 18. The detailed configuration processing unit 21b provided in the communication module 11e returns the default transmission parameter 14b to the module configuration processing unit 2 in the case of transmission parameter definition according to the request, and the station 1 connected by communication in the case of station assignment definition. Searches and returns IDs 24a to 24c of slave devices at station n, and returns the input / output size according to the ID. For example, since the slave device of the station 1 has an ID of A, the A input / output size 25a is returned. The module configuration processing unit 2 creates the communication module detailed definition file 26 using the returned contents.
FIG. 9 shows a configuration example of a communication module detailed definition data file, which includes a transmission parameter definition and a station assignment definition.

図10はIOモジュール11fがIOプロファイル19を使用してIOモジュール詳細定義データ28を作成する例である。モジュール構成処理部2はIOプロファイル19に示された定義内容に従って、IOモジュール11fに各定義内容を要求する。モジュール構成処理部2はCPUモジュール1のデフォルト入出力定義27を基にIOモジュール詳細定義データ28を作成する。なお、この例では11fのIOモジュールは共有メモリが無いタイプであり、IOモジュール11fにCPUが搭載されていないため、CPUモジュール1側にデフォルト入出力定義27を持たせているが、IOモジュールにCPUが搭載されているものもあり、その場合はIOモジュール側にデフォルト入出力定義を持たせることもできる。   FIG. 10 shows an example in which the IO module 11 f creates the IO module detailed definition data 28 using the IO profile 19. The module configuration processing unit 2 requests each definition content from the IO module 11 f according to the definition content shown in the IO profile 19. The module configuration processing unit 2 creates IO module detailed definition data 28 based on the default input / output definition 27 of the CPU module 1. In this example, the IO module 11f is a type that does not have a shared memory, and since the CPU is not mounted on the IO module 11f, the default input / output definition 27 is provided on the CPU module 1 side. Some are equipped with a CPU, in which case the IO module side can have a default input / output definition.

図11はモーションコントローラ13のモジュール構成定義データ8およびモジュール詳細定義データ9作成に関する電源投入時の処理手順を示すフローチャートである。
ステップST111にて既にモジュール構成定義が少なくとも1度実施されているかどうかをチェックする。1度実施されていればステップST112で各オプションモジュールの初期化が行われる。これにより各オプションモジュールはモジュール詳細定義データ9にあるパラメータや入出力サイズなどを使用して初期化される。次にステップST113で、各オプションモジュールのいずれかにモジュール構成定義を作成する構成定義要求が有るかどうかをチェックし、要求がある場合、ステップST114で要求のあるオプションモジュールについてモジュール構成定義データ8、モジュール詳細定義データ9を作成し、ステップST115でオプションモジュールの再初期化を行う。モジュール構成定義を既に実施したかどうかの情報は、モジュール構成定義データ8が存在するかどうかで判別する。(初期状態ではモジュール構成定義データ8は存在しない)これらはオプションモジュール毎の情報を持つが、全体としての情報を持つようにしても良い。オプションモジュールは一度初期化されたデータに基づき定義内容を返送するため、新たに検出されたスレーブ機器のみが追加されたモジュール構成定義データ8やモジュール詳細定義データ9を作成することが可能である。この後、新たに作成されたモジュール構成定義データ8やモジュール詳細定義データ9に従い、各オプションモジュールは再初期化される。
また、モジュール構成定義を作成する要求をスロット毎に持ち、特定スロットのみについてモジュール構成定義データ、モジュール詳細定義データの作成処理を実行することもできる。
このように、モーションコントローラに装着されているオプションモジュールのモジュール構成定義を各オプションモジュールに備わるオプションタグから自動的に作成し、さらにオプションモジュールに接続されるスレーブ機器の設定などのモジュール詳細定義データを自動的に作成することができ、短時間で確実にモーションコントローラを立ち上げることができる。
FIG. 11 is a flowchart showing a processing procedure at the time of power-on regarding the creation of the module configuration definition data 8 and the module detailed definition data 9 of the motion controller 13.
In step ST111, it is checked whether the module configuration definition has already been performed at least once. If implemented once, each option module is initialized in step ST112. As a result, each option module is initialized using parameters, input / output sizes, etc. in the module detailed definition data 9. Next, in step ST113, it is checked whether or not there is a configuration definition request for creating a module configuration definition in any of the option modules. If there is a request, module configuration definition data 8 for the requested option module in step ST114, Module detailed definition data 9 is created, and the option module is reinitialized in step ST115. Information on whether or not the module configuration definition has already been performed is determined by whether or not the module configuration definition data 8 exists. (The module configuration definition data 8 does not exist in the initial state). These have information for each option module, but may have information as a whole. Since the option module returns the definition contents based on the once initialized data, it is possible to create the module configuration definition data 8 and the module detailed definition data 9 to which only the newly detected slave device is added. Thereafter, each option module is reinitialized according to the newly created module configuration definition data 8 and module detailed definition data 9.
It is also possible to have a request for creating a module configuration definition for each slot, and to execute creation processing of module configuration definition data and module detailed definition data for only a specific slot.
In this way, the module configuration definition of the option module installed in the motion controller is automatically created from the option tag provided in each option module, and the module detailed definition data such as setting of the slave device connected to the option module is also provided. It can be created automatically and the motion controller can be started up reliably in a short time.

本発明のモーションコントローラの構成を示すブロック図The block diagram which shows the structure of the motion controller of this invention 本発明のオプションタグの構成を示す図The figure which shows the structure of the option tag of this invention 本発明のモジュール構成処理部がモジュール構成定義データおよびモジュール詳細定義データを作成するときのフローチャートFlowchart when the module configuration processing unit of the present invention creates module configuration definition data and module detailed definition data 本発明のモジュール構成定義データの構成を示す図The figure which shows the structure of the module structure definition data of this invention 本発明のモジュール構成処理部がモジュール詳細定義データを作成するときの概念図とフローチャートConceptual diagram and flowchart when the module configuration processing unit of the present invention creates detailed module definition data 本発明のモーションモジュールがモーションプロファイルを使用しモーションモジュール詳細定義データを作成する例を示す図The figure which shows the example which the motion module of this invention produces motion module detailed definition data using a motion profile 本発明のモーションモジュール詳細定義データのファイルの構成例を示す図The figure which shows the structural example of the file of the motion module detailed definition data of this invention 本発明の通信モジュールが通信プロファイルを使用して通信モジュール詳細データを作成する例を示す図The figure which shows the example which the communication module of this invention produces communication module detailed data using a communication profile 本発明の通信モジュール詳細定義データのファイルの構成例を示す図The figure which shows the structural example of the file of the communication module detailed definition data of this invention 本発明のIOモジュールがIOプロファイルを使用してIOモジュール詳細定義データを作成する例An example in which the IO module of the present invention creates IO module detailed definition data using an IO profile 本発明のモーションコントローラのモジュール構成定義データおよびモジュール詳細定義データ作成に関する電源投入時の処理手順を示すフローチャートThe flowchart which shows the process sequence at the time of power-on regarding module structure definition data and module detailed definition data preparation of the motion controller of this invention

符号の説明Explanation of symbols

1 CPUモジュール
2 モジュール構成定義処理部
3 モジュール初期化部
4 入出力処理部
5 アプリケーション実行部
6 メモリ管理部
7 メモリ
8 モジュール構成定義データ
9 モジュール詳細定義データ
10 アプリケーションファイル
11a、11b、11c オプションモジュール
11d モーションモジュール
11e 通信モジュール
11f IOモジュール
12a、12b、12c オプションタグ
13 モーションコントローラ
14a、14b デフォルト伝送パラメータ
15 機能モジュールID
16 IDリスト
17 モーションプロファイル
18 通信プロファイル
19 IOプロファイル
20a、20b、20c ID(サーボアンプ)
21a、21b 詳細構成処理部
22a、22b デフォルトパラメータ
23 モーションモジュール詳細定義データ
24a、24b、24c ID(スレーブ機器)
25a、25b 入出力サイズ
26 通信モジュール詳細定義データ
27 デフォルト入出力定義
28 IOモジュール詳細定義データ
DESCRIPTION OF SYMBOLS 1 CPU module 2 Module structure definition process part 3 Module initialization part 4 Input / output process part 5 Application execution part 6 Memory management part 7 Memory 8 Module structure definition data 9 Module detailed definition data 10 Application file 11a, 11b, 11c Option module 11d Motion module 11e Communication module 11f IO module 12a, 12b, 12c Option tag 13 Motion controller 14a, 14b Default transmission parameter 15 Function module ID
16 ID list 17 Motion profile 18 Communication profile 19 IO profiles 20a, 20b, 20c ID (servo amplifier)
21a, 21b Detailed configuration processing units 22a, 22b Default parameter 23 Motion module detailed definition data 24a, 24b, 24c ID (slave device)
25a, 25b Input / output size 26 Communication module detailed definition data 27 Default input / output definition 28 IO module detailed definition data

Claims (7)

モーションコントローラの基本機能を処理するCPUモジュールと、
モーションコントローラの応用機能を処理する複数のオプションモジュールがスロットに装着され、
前記CPUモジュールに前記複数のオプションモジュールの構成を定義したモジュール構成定義データと、
前記各オプションモジュールのパラメータ、入出力サイズ、該オプションモジュールに接続されるスレーブ機器等を定義したモジュール詳細定義データと、
ラダープログラム等のアプリケーションを格納するアプリケーションファイルと、
前記モジュール構成定義データと前記モジュール詳細定義データと前記アプリケーションファイルを含むメモリと、
該メモリへのデータの読み書きを行うメモリ管理部と、
前記各オプションモジュールを初期化するモジュール初期化部と、
前記各オプションモジュールと入出力データの授受を行う入出力処理部と、
前記アプリケーションを実行するアプリケーション実行部を備えたモーションコントローラにおいて、
前記各オプションモジュールに該オプションモジュール固有の情報をもつオプションタグを備え、
前記CPUモジュールに該オプションタグの内容を基に前記オプションモジュール構成定義データと前記モジュール詳細定義データを作成するモジュール構成処理部を備えることを特徴とするモーションコントローラ。
A CPU module that processes the basic functions of the motion controller;
Multiple optional modules that handle the motion controller application functions are installed in the slots.
Module configuration definition data that defines the configuration of the plurality of option modules in the CPU module;
Module detailed definition data that defines parameters, input / output sizes, slave devices connected to the option module, etc.
An application file for storing an application such as a ladder program;
A memory including the module configuration definition data, the module detailed definition data, and the application file;
A memory management unit for reading and writing data to and from the memory;
A module initialization unit that initializes each of the option modules;
An input / output processing unit for transferring input / output data to / from each option module;
In a motion controller including an application execution unit that executes the application,
Each option module includes an option tag having information unique to the option module;
A motion controller comprising: a module configuration processing unit that creates the option module configuration definition data and the module detailed definition data based on the contents of the option tag in the CPU module.
前記オプションタグに前記オプションモジュールが有する機能を識別する機能モジュールIDを備え、
前記モジュール構成処理部に前記オプションモジュールが有する各機能に対し定義すべき前記モジュール詳細定義データの情報であるプロファイルと、
該プロファイルを前記機能モジュールIDから検索するリストであるIDリストを備え、
前記各オプションモジュールに該オプションモジュールに接続されるスレーブ機器を検索し、パラメータ、入出力サイズ等の情報を前記モジュール構成処理部に送出する詳細構成処理部を備えることを特徴とする請求項1に記載のモーションコントローラ。
The option tag includes a function module ID for identifying a function of the option module,
A profile which is information of the module detailed definition data to be defined for each function of the option module in the module configuration processing unit;
An ID list that is a list for searching the profile from the functional module ID;
2. The detailed configuration processing unit that searches each option module for a slave device connected to the option module and sends information such as parameters and input / output sizes to the module configuration processing unit. The motion controller described.
前記プロファイルはモーション制御機能に関するモーションプロファイルと、
通信機能に関する通信プロファイルと、
IO制御機能に関するIOプロファイルとから成ることを特徴とする請求項1に記載のモーションコントローラ。
The profile is a motion profile related to a motion control function,
A communication profile for communication functions;
The motion controller according to claim 1, comprising an IO profile related to an IO control function.
モーションコントローラの基本機能を処理するCPUモジュールと、
モーションコントローラの応用機能を処理する複数のオプションモジュールがスロットに装着され、
前記CPUモジュールに前記複数のオプションモジュールの構成を定義したモジュール構成定義データと、
前記各オプションモジュールのパラメータ、入出力サイズ、該オプションモジュールに接続されるスレーブ機器等を定義したモジュール詳細定義データと、
ラダープログラム等のアプリケーションを格納するアプリケーションファイルと、
前記モジュール構成定義データと前記モジュール詳細定義データと前記アプリケーションファイルを含むメモリと、
該メモリへのデータの読み書きを行うメモリ管理部と、
前記各オプションモジュールを初期化するモジュール初期化部と、
前記各オプションモジュールと入出力データの授受を行う入出力処理部と、
前記アプリケーションを実行するアプリケーション実行部を備えたモーションコントローラの機器構成定義方法において、
前記各オプションモジュールに該オプションモジュール固有の情報をもつオプションタグを備え、
前記CPUモジュールのモジュール構成処理部が前記オプションタグを検索し、
該オプションタグの内容を基に前記モジュール構成定義データと前記モジュール詳細定義データを作成することを特徴とするモーションコントローラの機器構成定義方法。
A CPU module that processes the basic functions of the motion controller;
Multiple optional modules that handle the motion controller application functions are installed in the slots.
Module configuration definition data that defines the configuration of the plurality of option modules in the CPU module;
Module detailed definition data that defines parameters, input / output sizes, slave devices connected to the option module, etc.
An application file for storing an application such as a ladder program;
A memory including the module configuration definition data, the module detailed definition data, and the application file;
A memory management unit for reading and writing data to and from the memory;
A module initialization unit that initializes each of the option modules;
An input / output processing unit for transferring input / output data to / from each option module;
In a device configuration definition method for a motion controller including an application execution unit that executes the application,
Each option module includes an option tag having information unique to the option module;
The module configuration processing unit of the CPU module searches for the option tag,
A device configuration definition method for a motion controller, wherein the module configuration definition data and the module detailed definition data are created based on the contents of the option tag.
前記モジュール構成処理部は、前記機能モジュールIDにより選択されるプロファイルを基に、前記各オプションモジュールが備える詳細構成処理部を介して前記オプションモジュールに接続されるスレーブ機器を検索し、パラメータ、入出力サイズ等で構成される前記モジュール詳細定義データを作成することを特徴とする請求項4記載のモーションコントローラの機器構成定義方法。   The module configuration processing unit searches for a slave device connected to the option module via a detailed configuration processing unit included in each option module, based on a profile selected by the function module ID, parameters, input / output 5. The motion controller device configuration definition method according to claim 4, wherein the module detailed definition data configured by size or the like is created. 前記モジュール構成処理部は、電源投入時既にモジュール構成定義が行われていれば前記モジュール詳細定義データを基に前記オプションモジュールの初期化を行ない、次に前記オプションモジュールからのモジュール構成定義を作成する要求があるかをチェックし、要求がある場合該当する前記オプションモジュールの前記モジュール構成定義データ、モジュール詳細定義データを作成し、該オプションモジュールの再初期化を行うことを特徴とする請求項4記載のモーションコントローラの機器構成定義方法。   The module configuration processing unit initializes the option module based on the module detailed definition data if the module configuration definition has already been performed when power is turned on, and then creates a module configuration definition from the option module 5. The module configuration definition data and module detailed definition data of the corresponding option module are created by checking whether there is a request, and the option module is reinitialized. To define the device configuration of a motion controller. 前記モジュール構成処理部は、モジュール構成定義を作成する要求をスロットごとに持ち、特定スロットのみについてモジュール構成定義データ、モジュール詳細定義データを作成することを特徴とする請求項4に記載のモーションコントローラの機器構成定義方法。   5. The motion controller according to claim 4, wherein the module configuration processing unit has a request for creating a module configuration definition for each slot, and creates module configuration definition data and module detailed definition data only for a specific slot. Device configuration definition method.
JP2004152236A 2004-05-21 2004-05-21 Motion controller and method of defining equipment configuration of motion controller Pending JP2005332336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004152236A JP2005332336A (en) 2004-05-21 2004-05-21 Motion controller and method of defining equipment configuration of motion controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004152236A JP2005332336A (en) 2004-05-21 2004-05-21 Motion controller and method of defining equipment configuration of motion controller

Publications (2)

Publication Number Publication Date
JP2005332336A true JP2005332336A (en) 2005-12-02
JP2005332336A5 JP2005332336A5 (en) 2007-04-12

Family

ID=35486941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004152236A Pending JP2005332336A (en) 2004-05-21 2004-05-21 Motion controller and method of defining equipment configuration of motion controller

Country Status (1)

Country Link
JP (1) JP2005332336A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008113102A (en) * 2006-10-30 2008-05-15 Teac Corp Motional feedback type speaker system
JP2010003041A (en) * 2008-06-19 2010-01-07 Koyo Electronics Ind Co Ltd Programmable controller system
US9577882B2 (en) 2014-04-24 2017-02-21 Mitsubishi Electric Corporation Control system, master station, and remote station

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008113102A (en) * 2006-10-30 2008-05-15 Teac Corp Motional feedback type speaker system
JP4743080B2 (en) * 2006-10-30 2011-08-10 ティアック株式会社 Motional feedback speaker system
JP2010003041A (en) * 2008-06-19 2010-01-07 Koyo Electronics Ind Co Ltd Programmable controller system
US9577882B2 (en) 2014-04-24 2017-02-21 Mitsubishi Electric Corporation Control system, master station, and remote station

Similar Documents

Publication Publication Date Title
US20080091929A1 (en) Method and system for automatic generation of operating system boot images
EP2530589A2 (en) System and method for updating virtual machine template
US7702891B1 (en) Starting-up software modules for computing systems
CN1996246A (en) Storage medium to manage a master boot record and a method of booting a computer system using a storage medium
US7921230B2 (en) USB devices pre-configuration for KVM switch
EP3979148A1 (en) Method and system for displaying machine learning automatic modeling procedure
CN107329802B (en) Virtual machine creating method and electronic equipment
US20220237090A1 (en) Autonomous organization and role selection of homogenous workers
US20120317404A1 (en) Firmware Flashing Method and Related Computer System
US11403113B2 (en) Server with system setting data synchronization function
JP2005332336A (en) Motion controller and method of defining equipment configuration of motion controller
US7487342B2 (en) Method and apparatus for starting up and maintaining of multiple networked computing systems
CN116700809A (en) Self-adaptive support method and device for server pre-starting function
US20190146804A1 (en) Method for synchronization of system management data
TWI465072B (en) Method for updating system firmware and server system using the same
US10305740B2 (en) System and method for performing mass renaming of list of items at run-time with variable differentiation factor
CN110837412A (en) Method, device, equipment and storage medium for judging operation ready state
US9256857B2 (en) Scheduling start-up and shut-down of mainframe applications using topographical relationships
JP5066946B2 (en) OS type automatic specifying device, OS automatic starting device, processor system, OS type automatic specifying method, OS automatic starting method, program, and storage medium
EP2605127A1 (en) Processing Framework For Generating Pre-Configuration Packages
CN102156685A (en) Method and device for automatically configuring distributed network system script
CN111324384A (en) Device and method for selecting starting image file according to device message in pre-execution environment
JP2015095035A (en) Parameter setting support system, parameter setting support method, and parameter setting support program
JP2009054035A (en) Server system, partition start-up controller, partition start-up control method
EP4089526A1 (en) System and method for managing software services

Legal Events

Date Code Title Description
A521 Written amendment

Effective date: 20070228

Free format text: JAPANESE INTERMEDIATE CODE: A523

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090807

A131 Notification of reasons for refusal

Effective date: 20090817

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091014

A02 Decision of refusal

Effective date: 20091109

Free format text: JAPANESE INTERMEDIATE CODE: A02