JP6624908B2 - Motor controller control system - Google Patents

Motor controller control system Download PDF

Info

Publication number
JP6624908B2
JP6624908B2 JP2015234773A JP2015234773A JP6624908B2 JP 6624908 B2 JP6624908 B2 JP 6624908B2 JP 2015234773 A JP2015234773 A JP 2015234773A JP 2015234773 A JP2015234773 A JP 2015234773A JP 6624908 B2 JP6624908 B2 JP 6624908B2
Authority
JP
Japan
Prior art keywords
motor controller
controller
motor
hub
command
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.)
Active
Application number
JP2015234773A
Other languages
Japanese (ja)
Other versions
JP2017103584A (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.)
IAI Corp
Original Assignee
IAI 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 IAI Corp filed Critical IAI Corp
Priority to JP2015234773A priority Critical patent/JP6624908B2/en
Publication of JP2017103584A publication Critical patent/JP2017103584A/en
Application granted granted Critical
Publication of JP6624908B2 publication Critical patent/JP6624908B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Control Of Electric Motors In General (AREA)
  • Selective Calling Equipment (AREA)

Description

この発明はモータコントローラの制御システム,特に複数台のモータコントローラの制御に好適な制御システムに関する。ここでモータコントローラとは,モータによって動作するアクチュエータの該モータを直接的に制御する装置を指す。また,モータによって動作するアクチュエータとは,モータの回転軸に連結されたネジ軸(ボールネジを含む)等の伝達構成によって可動体を移動させるもの,モータの回転によって操作部を回転または旋回させるもの,リニアモータによって可動体を移動させるもの,その他のアクチュエータを含む。   The present invention relates to a control system for a motor controller, and more particularly to a control system suitable for controlling a plurality of motor controllers. Here, the motor controller refers to a device for directly controlling the motor of an actuator operated by the motor. An actuator operated by a motor includes an actuator that moves a movable body by a transmission configuration such as a screw shaft (including a ball screw) connected to a rotation shaft of the motor, an actuator that rotates or pivots an operation unit by rotation of a motor, Including moving the movable body by a linear motor and other actuators.

複数台のモータコントローラを制御する従来のシステムでは,複数台のモータコントローラを上位の制御装置に1本の通信線により接続している(バス型接続)。このシステム構成では,モドバス(Modbus)プロトコルを使用した場合,上位の制御装置とモータコントローラは1対1で通信を行うことになるため,上位の制御装置は複数台のモータコントローラと順番に通信しなければならない。モータコントローラの台数が増加すると,すべてのモータコントローラと通信を完了するまでに必要な時間が増大する。上位の制御装置からそれぞれのモータコントローラに別個に通信線を引くとすると(スター型接続),通信ライン数が増大する。他方,1本の通信線に複数台のモータコントローラを接続した場合には(バス型接続),複数台のモータコントローラを識別するために,各モータコントローラに個別にアドレス設定器が必要となる。   In a conventional system for controlling a plurality of motor controllers, a plurality of motor controllers are connected to a higher-level control device by one communication line (bus-type connection). In this system configuration, when the Modbus protocol is used, the host controller communicates with the motor controller on a one-to-one basis. Therefore, the host controller communicates with multiple motor controllers in order. There must be. As the number of motor controllers increases, the time required to complete communication with all motor controllers increases. If a communication line is separately drawn from a higher-level control device to each motor controller (star-type connection), the number of communication lines increases. On the other hand, when a plurality of motor controllers are connected to one communication line (bus type connection), each motor controller requires an address setting device individually in order to identify the plurality of motor controllers.

特許文献1には,ロボット装置内にシリアル伝送送受信手段を設け,ロボット装置内にある複数個のロータリーエンコーダの検出データを上位制御装置にシリアル伝送するシステムが記載されているが,これは複数のロータリーエンコーダからの検出データを単にまとめてシリアルに並べて伝送しているにすぎない。   Patent Literature 1 discloses a system in which serial transmission / reception means is provided in a robot device and detection data of a plurality of rotary encoders in the robot device is serially transmitted to a host controller. It is merely that the detection data from the rotary encoder is simply grouped and serially transmitted.

複数台のモータコントローラによるモータの駆動と制御であれ,ロボット装置内の複数台のモータの駆動と制御であれ,駆動と制御の技術は,単なる検出データの収集とは異なる技術である。複数台のモータコントローラのそれぞれに別個の指令を迅速にかつ繰返し与えなければならず,また駆動電源の供給も必要である。   Whether driving and controlling motors by a plurality of motor controllers or driving and controlling a plurality of motors in a robot device, the driving and control techniques are different from mere detection data collection. Separate commands must be quickly and repeatedly given to each of the plurality of motor controllers, and supply of drive power is also required.

特開2002−44758号公報JP-A-2002-44758

この発明は,多数台のモータコントローラの制御に適した制御システムを提供することを目的とする。   An object of the present invention is to provide a control system suitable for controlling a large number of motor controllers.

この発明は,複数台または多数台のモータコントローラの制御と駆動のためのライン数を少なくすることができる制御システムを提供することを目的とする。   An object of the present invention is to provide a control system capable of reducing the number of lines for controlling and driving a plurality or a plurality of motor controllers.

この発明はまた,上位の制御装置と複数台または多数台のモータコントローラとの間の通信時間(上位の制御装置から各モータコントローラへの指令の送受信と各モータコントローラから上位の制御装置へのレスポンス(応答)の送受信)を短縮化できる制御システムを提供することを目的とする。   The present invention also provides a communication time between a higher-level control device and a plurality or a plurality of motor controllers (transmission and reception of commands from the higher-level control device to each motor controller and response from each motor controller to the higher-level control device). It is an object of the present invention to provide a control system capable of shortening (transmission / reception of (response)).

この発明はさらに,各モータコントローラにアドレス設定器を設ける必要のない制御システムを提供することを目的とする。   Another object of the present invention is to provide a control system that does not require an address setting device for each motor controller.

この発明によるモータコントローラの制御システムは,ユーザプログラムに基づく複数台のモータコントローラへのコントローラ指令を一括して含む電文を送出する上位の制御装置,ならびに前記上位の制御装置から送信された電文中の一定順序で並べられたコントローラ指令を各モータコントローラごとの指令に分け,かつ各モータコントローラ向けの電文を作成して接続された各モータコントローラに送出するとともに,各モータコントローラからのレスポンスを含む電文を受信し,接続されたすべてのモータコントローラからのレスポンスを一括して1つの電文として前記上位の制御装置に送出する制御手段を備えるハブ装置を備えるものである。   A control system for a motor controller according to the present invention comprises: a higher-level control device for transmitting a message collectively including controller commands to a plurality of motor controllers based on a user program; The controller commands arranged in a certain order are divided into commands for each motor controller, a message for each motor controller is created and sent to each connected motor controller, and a message including the response from each motor controller is sent. The hub device includes a control unit that receives and sends responses from all of the connected motor controllers as one message to the higher-level control device.

この発明によると,複数台のモータコントローラをハブ装置に接続することが可能である。モータコントローラの台数よりもハブ装置の台数はかなり少ない。したがって,上位の制御装置からハブ装置まで配設する,モータコントローラの駆動と制御のためのライン(ケーブル)の数を大幅に減らすことができる。ハブ装置をモータコントローラ(アクチュエータ)に近接した場所に配置することにより上位の制御装置からハブ装置まで長い距離にわたってラインを配設してもライン数が少ないから配設作業が容易であり,かつラインを節約することができる。   According to the present invention, it is possible to connect a plurality of motor controllers to the hub device. The number of hub devices is considerably smaller than the number of motor controllers. Therefore, the number of lines (cables) for driving and controlling the motor controller, which is provided from the host control device to the hub device, can be greatly reduced. By arranging the hub device close to the motor controller (actuator), even if the lines are arranged over a long distance from the higher-level control device to the hub device, the number of lines is small, so the arranging work is easy, and the line operation is easy. Can be saved.

また,複数台または多数台のモータコントローラがあっても,ハブ装置とこれに接続されたモータコントローラのそれぞれとの間の通信は常に1対1であるから,各コントローラとの間の通信に要する時間はほぼ1台相当分(モータコントローラの数に応じて電文が長くなることによって少し通信時間が長くなったり,編集処理等に要する時間が多少余分にかかることはあるが)にとどまり,通信時間の短縮化を図ることができる。   Even if there are a plurality of motor controllers or a plurality of motor controllers, the communication between the hub device and each of the motor controllers connected to the hub device is always one-to-one. The time is almost equivalent to one unit (although the communication time may be slightly longer due to the longer message depending on the number of motor controllers, or the time required for editing processing may be somewhat longer), and the communication time Can be shortened.

さらに,複数台のモータコントローラが接続されるハブのコネクタは決っているから,コネクタの番号等で複数台のモータコントローラを識別することが可能であり,モータコントローラにアドレス設定器を設ける必要はない。   Further, since the connector of the hub to which a plurality of motor controllers are connected is fixed, it is possible to identify the plurality of motor controllers by the connector number or the like, and it is not necessary to provide an address setting device in the motor controller. .

上位の制御装置にはさまざまな実施態様があり得る。たとえば上位の制御装置をプログラマブル・ロジック・コントローラ(PLC)で構成することもできるし,通常のコンピュータシステム(PCなど)により実現することもできる。   There may be various embodiments for the higher-level control device. For example, the higher-level control device can be configured by a programmable logic controller (PLC), or can be realized by an ordinary computer system (such as a PC).

好ましい実施態様では,前記上位の制御装置は,ユーザプログラムに基づく複数台のモータコントローラへの動作指令を出力するプログラム制御装置(PLCやPC),および前記プログラム制御装置から出力される動作指令を,前記ハブ装置に適したコントローラ指令に変換し,かつ前記ハブ装置に接続されたモータコントローラの台数分のコントローラ指令を一定順序に並べて一括して該当するハブ装置に出力するゲートウェイ装置を備える。ゲートウェイ装置はプログラム制御装置からの電文のプロトコル変換を行う。また,ゲートウェイ装置に複数台のハブ装置が接続された場合には,ゲートウェイ装置は,前記プログラム制御装置から送出されるコントロール指令を,複数台のハブ装置のそれぞれに応じて分配する。   In a preferred embodiment, the higher-level control device includes a program control device (PLC or PC) that outputs operation commands to a plurality of motor controllers based on a user program, and an operation command output from the program control device. A gateway device that converts the commands into controller commands suitable for the hub device and arranges the controller commands for the number of motor controllers connected to the hub device in a fixed order and collectively outputs the commands to the corresponding hub device. The gateway device converts the protocol of the message from the program control device. When a plurality of hub devices are connected to the gateway device, the gateway device distributes a control command sent from the program control device according to each of the plurality of hub devices.

前記ゲートウェイ装置から前記ハブ装置に送信される電文中のコントローラ指令が固定長のものである場合には,前記ハブ装置は固定長ごとに切断して各モータコントローラへの指令電文を作成する。これにより,ハブ装置の処理が簡単となる。   If the controller command in the message transmitted from the gateway device to the hub device is of a fixed length, the hub device disconnects the fixed length and creates a command message to each motor controller. This simplifies the processing of the hub device.

好ましい一実施態様では,前記ゲートウェイ装置から一台または複数台のモータコントローラまでハブ装置を経て電源ラインが通っている。   In a preferred embodiment, a power line runs from the gateway device to one or more motor controllers via a hub device.

他の実施態様では,前記ゲートウェイ装置から一台または複数台のモータコントローラまでハブ装置を経て停止信号ライン(非常停止信号ラインを含む)が通っている。   In another embodiment, a stop signal line (including an emergency stop signal line) passes from the gateway device to one or more motor controllers via a hub device.

さらに好ましい他の実施態様ではコントローラ指令およびレスポンスを伝送する信号ラインならびに電源ラインが1本の複合ケーブルに含まれている。   In another preferred embodiment, a signal line for transmitting controller commands and responses and a power supply line are included in one composite cable.

さらに望ましくは,コントローラ指令およびレスポンスを伝送する信号ライン,電源ライン,および停止信号ラインが1本の複合ケーブルに含まれている。   More preferably, a signal line for transmitting a controller command and a response, a power supply line, and a stop signal line are included in one composite cable.

このようにして,ゲートウェイ装置からハブまでの各種ラインまたはケーブルの敷設が容易となる。   In this way, it is easy to lay various lines or cables from the gateway device to the hub.

好ましい実施態様では,モータコントローラに設定可能な複数の動作モードがある場合には,上位の制御装置はモータコントローラの動作モードに応じたコントローラ指令を作成する。モータコントローラのバラエティに富んだ制御が可能となる。   In a preferred embodiment, when the motor controller has a plurality of operation modes that can be set, the higher-level control device creates a controller command according to the operation mode of the motor controller. A variety of controls of the motor controller can be performed.

モータコントローラの制御システムの全体構成を示すブロック図である。FIG. 2 is a block diagram illustrating an overall configuration of a control system of the motor controller. モータコントローラ(アクチュエータ)の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a motor controller (actuator). ハブの構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a hub. ゲートウェイの構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a gateway. 接続情報を示す。Indicates connection information. 台形加減速パターンを示す。3 shows a trapezoidal acceleration / deceleration pattern. 各軸の動作モードを示す。The operation mode of each axis is shown. PLCから発行される指令を示し,(A) は直接数値指定モード,(B) は簡易直値モード,(C) はポジション番号モードの場合を示している。A command issued from the PLC is shown, (A) shows the case of the direct numerical designation mode, (B) shows the simple direct mode, and (C) shows the case of the position number mode. ポジションNO.テーブルの例を示す。4 shows an example of a position number table. ゲートウェイから発行されるコントロール指令のフォーマットを示す。This section shows the format of the control command issued from the gateway. モータコントローラから発行されるレスポンスのフォーマットを示す。3 shows a format of a response issued from the motor controller. ゲートウェイの動作(処理手順)を示すフローチャートである。It is a flowchart which shows the operation | movement (processing procedure) of a gateway. ハブの動作(処理手順)を示すフローチャートである。It is a flowchart which shows operation | movement (processing procedure) of a hub. ハブの動作を電文の形態で示す。The operation of the hub is shown in the form of a telegram. ハブの動作を電文の形態で示す。The operation of the hub is shown in the form of a telegram. モータコントローラにおける制御ルーチンを示す。3 shows a control routine in a motor controller.

図1はモータコントローラの制御システムの全体的構成例を示している。   FIG. 1 shows an overall configuration example of a control system of a motor controller.

この実施例では16台のコントローラ一体型アクチュエータ1が配置(接続)可能である。コントローラ一体型アクチュエータとは,アクチュエータのケース(ハウジング)内にモータコントローラが内蔵されているタイプのものである。アクチュエータとは別体になっているモータコントローラも接続可能である。アクチュエータはモータによって駆動され,直線運動,回転運動,旋回運動等を行う可動体を有する。アクチュエータ1に内蔵されているモータコントローラを符号10(図2参照)で示す。   In this embodiment, 16 controller-integrated actuators 1 can be arranged (connected). The controller-integrated actuator is a type in which a motor controller is built in a case (housing) of the actuator. A motor controller that is separate from the actuator can also be connected. The actuator is driven by a motor and has a movable body that performs a linear motion, a rotary motion, a turning motion, and the like. The motor controller built in the actuator 1 is indicated by reference numeral 10 (see FIG. 2).

モータコントローラ10には軸番号0〜15がユーザによって割り当てられている。軸番号1のモータコントローラ10(アクチュエータ1)は図示されていない。各モータコントローラ10は複合ケーブルのためのコネクタ11を有している。   Axis numbers 0 to 15 are assigned to the motor controller 10 by a user. The motor controller 10 (actuator 1) of axis number 1 is not shown. Each motor controller 10 has a connector 11 for a composite cable.

4台のハブ装置(ハブユニット)30が設けられている。ハブ装置は一般的には複数のネットワーク機器をプロトコル変換することなく接続する集線装置と理解されているが,この実施例のハブ装置30は以下に述べるようにモータコントローラの制御システム特有のそれ以上の機能を持っている。ハブ装置を,以下,単にハブといい,場合によっては,または図面上はHUBと表現する。4台のハブ30を相互に区別するために,便宜的に,0〜3の番号を付し,HUB0,HUB1,HUB2,HUB3と記載する。各ハブ30は4台のモータコントローラ10を接続するための4つの複合ケーブル用コネクタ31を有している。これらの(下流側)コネクタ31にも相互に区別するために便宜的に0〜3の番号を付しておく。   Four hub devices (hub units) 30 are provided. Although the hub device is generally understood as a concentrator that connects a plurality of network devices without protocol conversion, the hub device 30 in this embodiment is further described below with respect to a motor controller control system. Has the function of The hub device is hereinafter simply referred to as a hub, and in some cases, or as a HUB in the drawings. In order to distinguish the four hubs 30 from each other, numbers 0 to 3 are given for convenience and described as HUB0, HUB1, HUB2, and HUB3. Each hub 30 has four composite cable connectors 31 for connecting the four motor controllers 10. These (downstream) connectors 31 are also given numbers 0 to 3 for the sake of simplicity.

ハブHUB0の3つのコネクタ31(番号0,2,3)と3台のモータコントローラ10(軸番号0,2,3)のコネクタ11とは複合ケーブル90によりそれぞれ電気的に接続されている。ハブ30の番号1のコネクタ31にももちろんモータコントローラが接続可能であるが,この実施例では接続されていない。ハブHUB1の4つのコネクタ31(番号0,1,2,3)と4台のモータコントローラ10(軸番号4,5,6,7)のコネクタ11とは複合ケーブル90によりそれぞれ電気的に接続されている。ハブHUB2の4つのコネクタ(番号0,1,2,3)と4台のモータコントローラ10(軸番号8,9,10,11)のコネクタ11とは複合ケーブル90によりそれぞれ電気的に接続されている。ハブHUB3の4つのコネクタ(番号0,1,2,3)と4台のモータコントローラ10(軸番号12,13,14,15)のコネクタ11とは複合ケーブル90によりそれぞれ電気的に接続されている。   The three connectors 31 (numbers 0, 2, 3) of the hub HUB0 and the connectors 11 of the three motor controllers 10 (axis numbers 0, 2, 3) are electrically connected by composite cables 90, respectively. Although the motor controller can be connected to the connector 31 of the hub 30 as well, it is not connected in this embodiment. The four connectors 31 (numbers 0, 1, 2, 3) of the hub HUB1 and the connectors 11 of the four motor controllers 10 (axis numbers 4, 5, 6, 7) are electrically connected by a composite cable 90, respectively. ing. The four connectors (numbers 0, 1, 2, 3) of the hub HUB2 and the connectors 11 of the four motor controllers 10 (axis numbers 8, 9, 10, 11) are electrically connected by a composite cable 90, respectively. I have. The four connectors (numbers 0, 1, 2, 3) of the hub HUB3 and the connectors 11 of the four motor controllers 10 (axis numbers 12, 13, 14, 15) are electrically connected by a composite cable 90, respectively. I have.

配電盤70内には,PLC(プログラマブル・ロジック・コントローラ)71と,電源ユニット72と,ゲートウェイ装置(ゲートウェイユニット)50とが設けられている。PLC71はロボット言語で書かれたユーザプログラムを保持し,内蔵のシステムプログラムにしたがってユーザプログラムを解釈し,各モータコントローラ(すべての,または必要なモータコントローラ)に対応する指令(コントローラ指令)を作成して出力する。コントローラ指令については後述する。   In the switchboard 70, a PLC (programmable logic controller) 71, a power supply unit 72, and a gateway device (gateway unit) 50 are provided. The PLC 71 holds a user program written in a robot language, interprets the user program according to a built-in system program, and creates a command (controller command) corresponding to each motor controller (all or necessary motor controllers). Output. The controller command will be described later.

電源ユニット72は各アクチュエータ1に設けられたモータ(図2に符号8で示す)の駆動電源と,ゲートウェイ装置50,ハブ30,モータコントローラ10の電気,電子回路を動作させるための動作電源を発生し,それぞれ電源ライン73,74に出力する。   The power supply unit 72 generates a drive power supply for the motors (indicated by reference numeral 8 in FIG. 2) provided in each actuator 1 and an operation power supply for operating the electric and electronic circuits of the gateway device 50, the hub 30, and the motor controller 10. Then, they are output to the power supply lines 73 and 74, respectively.

ゲートウェイ装置(ゲートウェイユニット)50を以下,単にゲートウェイまたはGWと略記する。一般にゲートウェイはプロトコルの異なるコンピュータネットワークをプロトコル変換を行って接続するためのネットワークノードと理解されているが,このモータコントローラの制御システムでは,後述するように,さらに特有の機能をもっている。   Hereinafter, the gateway device (gateway unit) 50 is simply abbreviated as gateway or GW. Generally, a gateway is understood as a network node for connecting a computer network having a different protocol by performing protocol conversion, but the control system of the motor controller has a more specific function as described later.

ゲートウェイ50はインターフェイス56を有し,フィールドバス(Fieldbus)プロトコルの通信ライン75によりPLC71と接続されている。電源ニット72からの電源ライン73,74はゲートウェイ50のコネクタ53,54に接続されている。ゲートウェイ50はさらに4つの(下流側)コネクタ51を有している。これらのコネクタ51に便宜的に0,1,2,3の番号を付しておく。   The gateway 50 has an interface 56, and is connected to the PLC 71 by a communication line 75 of a fieldbus protocol. Power supply lines 73 and 74 from the power supply unit 72 are connected to connectors 53 and 54 of the gateway 50. The gateway 50 further has four (downstream) connectors 51. These connectors 51 are numbered 0, 1, 2, 3 for convenience.

このモータコントローラの制御システムにおいて,配電盤70内のPLC71とゲートウェイ50を上位の制御装置と位置付けることができる。この場合はハブ30が中継装置と位置付けられる。またはPLC71のみを上位の制御装置と位置付けてもよい。この場合にはゲートウェイ50も一種の中継装置となる。PLC71に代えて他のコンピュータシステム(パーソナルコンピュータなど)を用い,これを上位の制御装置としてもよい。PLC71とゲートウェイ50を他のコンピュータシステムで置き換えることもできる。   In the control system of the motor controller, the PLC 71 and the gateway 50 in the switchboard 70 can be positioned as higher-level control devices. In this case, the hub 30 is positioned as a relay device. Alternatively, only the PLC 71 may be positioned as a higher-level control device. In this case, the gateway 50 is also a kind of relay device. Another computer system (such as a personal computer) may be used instead of the PLC 71, and this may be used as a higher-level control device. PLC 71 and gateway 50 may be replaced by other computer systems.

4つのハブ30は上流側コネクタ32を有している。そしてゲートウェイ50の4つのコネクタ51(番号0,1,2,3)と4つのハブ(HUB0〜HUB3)のコネクタ32とが複合ケーブル80により接続されている。複合ケーブル80内には,通信ライン81,非常停止信号ライン82,モータ駆動電源ライン83および動作電源ライン84が含まれ,その両端には,コネクタ51,32にそれぞれ接続されるコネクタが設けられている。通信ライン81はこの実施例ではモドバス(Modbus)プロトコルのものが使用されている。複合ケーブルとは,最も典型的には,これらの4種類のラインが束になり,保護被覆で覆われ,両端にそれぞれコネクタが設けられているものをいう。もっとも,保護被覆で必ずしも覆われてなくてもよい。1つのコネクタに4種類のラインが接続されずに,2つ以上の物理的に分離したコネクタが用いられていてもよい。要するに,配線上1本のケーブルとして取扱い可能であればよい。   The four hubs 30 have upstream connectors 32. The four connectors 51 (numbers 0, 1, 2, 3) of the gateway 50 and the connectors 32 of the four hubs (HUB0 to HUB3) are connected by a composite cable 80. The composite cable 80 includes a communication line 81, an emergency stop signal line 82, a motor drive power supply line 83, and an operation power supply line 84. At both ends, connectors connected to the connectors 51 and 32 are provided. I have. In this embodiment, the communication line 81 uses the Modbus protocol. A composite cable is most typically one in which these four types of lines are bundled, covered with a protective coating, and provided with connectors at both ends. However, it is not always necessary to cover with a protective coating. Instead of connecting four types of lines to one connector, two or more physically separated connectors may be used. In short, any cable can be used as long as it can be handled as a single cable.

最も典型的には,配電盤70が1箇所に設けられ,各アクチュエータ1が作業現場に配置される。ハブ30はそれに接続されたアクチュエータ1の近くに置かれる。そして配電盤70とハブ30との間を複合ケーブル80で接続する。したがって,長い複合ケーブル80が用いられることがある。しかしながら,最大4台分のアクチュエータを駆動,制御するためのケーブル80(少なくとも通信ライン81)は1本ですむので,配線の作業が容易となる。ハブ30の存在により多数台のアクチュエータへの長い通信等のラインの数が少なくてすむ。複合ケーブル80のように,通信ラインと電源ラインとをまとめれば,配線作業は一層容易になる。   Most typically, a switchboard 70 is provided at one location and each actuator 1 is located at the work site. The hub 30 is located near the actuator 1 connected to it. Then, the composite cable 80 connects the switchboard 70 and the hub 30. Therefore, a long composite cable 80 may be used. However, since only one cable 80 (at least the communication line 81) for driving and controlling four actuators is required, wiring work becomes easy. Due to the presence of the hub 30, the number of lines for long communication to a large number of actuators can be reduced. If the communication line and the power supply line are put together like the composite cable 80, the wiring work becomes easier.

ハブ30とモータコントローラ10とを接続する複合ケーブル90も複合ケーブル80と同じ構成で,モドバスプロトコルの通信ライン91,非常停止信号ライン92,モータ駆動電源ライン93および動作電源ライン94を含み(図2,図3参照),その両端に,コネクタ31,11にそれぞれ接続されるコネクタが設けられている。   The composite cable 90 for connecting the hub 30 and the motor controller 10 has the same configuration as the composite cable 80 and includes a Modbus protocol communication line 91, an emergency stop signal line 92, a motor drive power supply line 93, and an operation power supply line 94 (see FIG. 2, see FIG. 3), and a connector connected to each of the connectors 31 and 11 is provided at both ends.

図1に示す配線構成において,特徴的なことは,電源ユニット72から出たモータ駆動電源ライン73がコネクタ53からゲートウェイ50内に入り,モータ駆動電源内部ライン63につながって4つに分岐し(図4参照),コネクタ51を経て複合ケーブル80内の電源ライン83に接続され,さらにコネクタ32からハブ30内に入り,モータ駆動電源内部ライン43に接続されて4つに分岐し(図3参照),コネクタ31から複合ケーブル90の電源ライン93につながり,コネクタ11を経て,モータコントローラ10内のモータ電源回路15(図2参照)まで伸びていることである。すなわち,モータ駆動電源ラインは,電源ユニット72からゲートウェイ50,ハブ30を経てモータコントローラ10まで連続的につながっているのである。   The characteristic of the wiring configuration shown in FIG. 1 is that a motor drive power supply line 73 exiting from the power supply unit 72 enters the gateway 50 from the connector 53 and is connected to the motor drive power supply internal line 63 to be branched into four ( 4), is connected to the power supply line 83 in the composite cable 80 via the connector 51, further enters the hub 30 from the connector 32, is connected to the motor drive power supply internal line 43, and branches into four (see FIG. 3). ), The connector 31 is connected to the power supply line 93 of the composite cable 90, and extends through the connector 11 to the motor power supply circuit 15 in the motor controller 10 (see FIG. 2). That is, the motor drive power supply line is continuously connected from the power supply unit 72 to the motor controller 10 via the gateway 50 and the hub 30.

同様に,電源ユニット72から出た動作電源ライン74がコネクタ53からゲートウェイ50内に入り,内部ライン64につながって4つに分岐し(図4参照),コネクタ51を経て複合ケーブル80内の動作電源ライン84に接続され,さらにコネクタ32からハブ30内に入り,動作電源内部ライン44に接続されて4つに分岐し(図3参照),コネクタ31から複合ケーブル90の電源ライン94につながり,コネクタ11を経て,モータコントローラ10内の動作電源回路16(図2参照)まで伸びていることである。すなわち,電気,電子回路の動作電源ラインは,電源ユニット72からゲートウェイ50,ハブ30を経てモータコントローラ10まで連続的につながっているのである。   Similarly, an operating power supply line 74 from the power supply unit 72 enters the gateway 50 from the connector 53, is connected to the internal line 64, branches into four (see FIG. 4), and operates within the composite cable 80 via the connector 51. It is connected to the power supply line 84, further enters the hub 30 from the connector 32, is connected to the operating power supply internal line 44, and branches into four (see FIG. 3). The connector 31 is connected to the power supply line 94 of the composite cable 90. It extends to the operation power supply circuit 16 (see FIG. 2) in the motor controller 10 via the connector 11. That is, the operation power supply lines of the electric and electronic circuits are continuously connected from the power supply unit 72 to the motor controller 10 via the gateway 50 and the hub 30.

さらに同じように,ゲートウェイ50の非常停止接点(停止接点)(ボタン,スイッチ)68にコネクタ55により接続されたゲートウェイ50内の非常停止信号ライン(停止信号ライン)62はコネクタ51を経て複合ケーブル80内の非常停止信号ライン(停止信号ライン)82に接続され,さらにコネクタ32からハブ30内に入り,内部ライン42に接続されて4つに分岐し(図3参照),コネクタ31から複合ケーブル90の非常停止信号ライン(停止信号ライン)92につながり,コネクタ11を経て,モータコントローラ10内の送受信部25(図2参照)までつながっていることである。すなわち,非常停止信号ライン(停止信号ライン)は,ゲートウェイ50からハブ30を経てモータコントローラ10まで連続的につながっているのである。   Similarly, the emergency stop signal line (stop signal line) 62 in the gateway 50 connected to the emergency stop contact (stop contact) (button, switch) 68 of the gateway 50 by the connector 55 is connected to the composite cable 80 via the connector 51. The emergency stop signal line (stop signal line) 82 is connected to the inside of the hub 30 from the connector 32, and is connected to the internal line 42 to be branched into four (see FIG. 3). The emergency stop signal line (stop signal line) 92 is connected to the transmission / reception unit 25 (see FIG. 2) in the motor controller 10 via the connector 11. That is, the emergency stop signal line (stop signal line) is continuously connected from the gateway 50 to the motor controller 10 via the hub 30.

次に図2を参照してモータコントローラ10の概略構成について説明する。   Next, a schematic configuration of the motor controller 10 will be described with reference to FIG.

モータコントローラ10は制御部20とメモリ21を備えている。制御部20はたとえばCPUにより構成され,CPUの動作プログラムはメモリ21にストアされている。メモリ21には,後述するポジションNO. (番号)テーブル等のモータ制御に必要なデータも格納されている。   The motor controller 10 includes a control unit 20 and a memory 21. The control unit 20 is constituted by, for example, a CPU, and an operation program of the CPU is stored in a memory 21. The memory 21 also stores data necessary for motor control, such as a position number (number) table described later.

後述するようにコントローラ指令はPLC71から出され,ゲートウェイ50,ハブ30を経て通信ライン91,コネクタ11から送受信部25に受信される。制御部20はコントローラ指令に基づいて,後述する動作モードに応じて,位置指令を生成しモータドライバ18に与える。モータドライバ18は位置制御部,速度制御部,弱め界磁補償部(ステッピングモータの場合),電流制御部等を含み,制御部20から与えられる位置指令に応じてモータ8を駆動し,可動体を所定位置(角度)まで移動させる。モータ8の回転量はエンコーダ9により検出され,位置,速度検出部19に入力する。位置,速度検出部19の検出位置,速度はモータドライバ18に与えられてモータ8のフィードバック制御に用いられるとともに,制御部20に与えられる。制御部20は位置,速度検出信号に基づいてモータ8(可動体)の現在位置,モータの正常,異常等を判断し,後述するステータス情報を生成する。制御部20は,コントローラ指令に対する応答として,ステータス情報を含むレスポンスを生成して,送受信部25から通信ライン91を経てハブ30に送出する。   As will be described later, the controller command is output from the PLC 71 and is received by the transmission / reception unit 25 from the communication line 91 and the connector 11 via the gateway 50 and the hub 30. The control unit 20 generates a position command based on the controller command according to an operation mode to be described later and gives the position command to the motor driver 18. The motor driver 18 includes a position control unit, a speed control unit, a field-weakening compensation unit (in the case of a stepping motor), a current control unit, and the like, and drives the motor 8 in accordance with a position command given from the control unit 20. Is moved to a predetermined position (angle). The rotation amount of the motor 8 is detected by the encoder 9 and is input to the position / speed detection unit 19. The position and speed detected by the position and speed detection unit 19 are given to the motor driver 18 and used for feedback control of the motor 8, and are also given to the control unit 20. The control unit 20 determines the current position of the motor 8 (movable body), whether the motor is normal or abnormal based on the position and speed detection signals, and generates status information to be described later. The control unit 20 generates a response including status information as a response to the controller command, and sends the response to the hub 30 from the transmission / reception unit 25 via the communication line 91.

モータコントローラ10には,制御部20が生成するステータス情報(ビット)に基づいて点灯制御されるモータコントローラ状態表示器26が備えられている。この表示器26は,たとえば2個の緑と赤のLED(発光ダイオード)を含み,たとえば緑点灯でサーボON状態を,赤点灯で非常停止,エラー発生を,非点灯で電源未投入,サーボOFF を表示する。   The motor controller 10 is provided with a motor controller status indicator 26 whose lighting is controlled based on status information (bits) generated by the control unit 20. The display 26 includes, for example, two green and red LEDs (light emitting diodes). For example, the green LED lights up to indicate a servo ON state, the red LED indicates an emergency stop, the occurrence of an error, the non-lighted LED indicates that power is not turned on, and the servo OFF Is displayed.

モータ駆動電源ライン93を経て伝送されるモータ駆動電源はモータ電源回路15で所定電圧の安定化電源に変換され,モータドライバ18に供給される。動作電源ライン94を経て伝送される動作電源は動作電源回路16で所定電圧に安定化されて,送受信部25,制御部20,メモリ21,位置,速度検出部19,モータドライバ18に動作電源として供給される。動作電源が供給されていればLED17が点灯する。   The motor drive power transmitted through the motor drive power line 93 is converted to a stabilized power of a predetermined voltage by the motor power circuit 15 and supplied to the motor driver 18. The operating power transmitted through the operating power line 94 is stabilized to a predetermined voltage by the operating power circuit 16 and is used as an operating power by the transmitting / receiving unit 25, the control unit 20, the memory 21, the position / speed detecting unit 19, and the motor driver 18. Supplied. When the operation power is supplied, the LED 17 is turned on.

図3を参照してハブ30の構成について説明する。ハブ30はハブ制御部40を備えている。ハブ制御部40はCPU,メモリ等を含むコンピュータにより実現される。上位のゲートウェイ50からのシリアル通信の電文(メッセージ)は通信ライン81,コネクタ32を経て送受信部35で受信され制御部40に与えられる。制御部40はこのシリアル電文中に含まれる複数(最大4つのモータコントローラ分)のコントローラ指令を,ハブ30に接続された各モータコントローラ向けのものに分離し,送受信部45をそれぞれ経てコネクタ31から通信ライン91に送出する。また,ハブ30に接続された各モータコントローラ10から送信されてくるステータスビットを含むレスポンスは通信ライン91,コネクタ31を経て送受信部45で受信され,制御部40に与えられる。制御部40は接続されているすべてのモータコントローラ10からのこれらのレスポンスを一括して送受信部35からゲートウェイ50に送信する。これらの受信したコントローラ指令の分割と送信,受信したレスポンスの一括送信は一定周期(たとえば10ms〜20ms程度)で繰返し行なわれる。   The configuration of the hub 30 will be described with reference to FIG. The hub 30 includes a hub control unit 40. The hub control unit 40 is realized by a computer including a CPU, a memory, and the like. A serial communication message (message) from the upper gateway 50 is received by the transmission / reception unit 35 via the communication line 81 and the connector 32, and is given to the control unit 40. The control unit 40 separates a plurality of controller commands (for a maximum of four motor controllers) included in the serial message into commands for each motor controller connected to the hub 30, and transmits and receives the commands from the connector 31 via the transmission / reception unit 45. The data is transmitted to the communication line 91. Further, a response including a status bit transmitted from each motor controller 10 connected to the hub 30 is received by the transmission / reception unit 45 via the communication line 91 and the connector 31, and is given to the control unit 40. The control unit 40 transmits these responses from all the connected motor controllers 10 collectively from the transmission / reception unit 35 to the gateway 50. The division and transmission of the received controller command and the batch transmission of the received response are repeatedly performed at a fixed period (for example, about 10 ms to 20 ms).

ハブ30には,それに接続可能な複数の(4つの)モータコントローラ10にそれぞれ対応して4つのモータコントローラ状態表示器46が設けられている。これらの表示器46は先に述べたモータコントローラ10に備えられている表示器26と全く同じ構成であり,全く同じように点灯(非点灯)する。すなわち,制御部40はモータコントローラ10から受信したステータスビットに基づいて表示器46を制御する。このように,モータコントローラ10(アクチュエータ1)と全く同じ構成で全く同じに点灯(非点灯)する表示器46が,各モータコントローラ10に備えられているので,ユーザはモータコントローラ10の表示器26を個別に監視しなくても,ハブ30の表示器46を監視しておけば足りる。   The hub 30 is provided with four motor controller status indicators 46 corresponding to a plurality of (four) motor controllers 10 that can be connected thereto. These displays 46 have exactly the same configuration as the display 26 provided in the motor controller 10 described above, and light (non-light) in exactly the same manner. That is, the control unit 40 controls the display 46 based on the status bits received from the motor controller 10. As described above, since each of the motor controllers 10 is provided with the display 46 which has exactly the same configuration as the motor controller 10 (actuator 1) and which is illuminated (non-illuminated), the user can display the display 26 of the motor controller 10. It is only necessary to monitor the indicator 46 of the hub 30 without individually monitoring.

ハブ30にはさらに,ハブ30とゲートウェイ50との間の通信状態の良否,エラー発生等を表示する表示器47(LEDなど)が設けられている。   The hub 30 is further provided with an indicator 47 (such as an LED) for displaying whether the communication state between the hub 30 and the gateway 50 is good or not, an error occurrence, and the like.

ゲートウェイ50からの非常停止信号ライン(または,停止信号ライン)82,モータ駆動電源ライン83,動作電源ライン84はコネクタ32の非常停止信号端子(停止信号端子),モータ駆動電源端子,動作電源端子をそれぞれ経て非常停止信号内部ライン(停止信号内部ライン)42,モータ駆動電源内部ライン43,動作電源内部ライン44につながり,ハブ30内をスルーしてハブ30に接続可能なモータコントローラの数に分岐し,各コネクタ31の各対応する非常停止信号端子(停止信号端子),モータ駆動電源端子,動作電源端子をそれぞれ経て対応するモータコントローラ10につながっている。動作電源ライン44を経て伝送される動作電源は動作電源回路36で所定電圧に安定化されて,送受信部35,45,制御部40に動作電源として供給される。動作電源が供給されていればLED37が点灯する。   The emergency stop signal line (or stop signal line) 82, the motor drive power line 83, and the operation power line 84 from the gateway 50 connect the emergency stop signal terminal (stop signal terminal), the motor drive power terminal, and the operation power terminal of the connector 32. Each of them is connected to the emergency stop signal internal line (stop signal internal line) 42, the motor drive power supply internal line 43, and the operation power supply internal line 44, and is branched into the number of motor controllers that can be connected to the hub 30 through the hub 30. The corresponding emergency stop signal terminal (stop signal terminal), motor drive power supply terminal, and operation power supply terminal of each connector 31 are connected to the corresponding motor controller 10 respectively. The operation power transmitted through the operation power line 44 is stabilized at a predetermined voltage by the operation power circuit 36 and supplied to the transmission / reception units 35 and 45 and the control unit 40 as operation power. When the operation power is supplied, the LED 37 is turned on.

図4を参照してゲートウェイ50の構成について説明する。ゲートウェイ50はゲートウェイ制御部60を備えている。ゲートウェイ制御部60はCPU,メモリ等を含むコンピュータにより実現される。上位のPLC71からのシリアル通信の電文(メッセージ)はインターフェイス56を経て制御部60に与えられる。制御部60はこのシリアル電文中に含まれる複数(最大16のモータコントローラ分)のコントローラ指令を,後述するようにハブ30に適したコントロール指令に変換し,かつゲートウェイ50に接続されたハブ向けのものに分離し,通信ラインのプロトコル変換を行い,送受信部65をそれぞれ経てコネクタ51から通信ライン81に送出する。また,ゲートウェイ50に接続された各ハブ30から送信されてくるステータスビットを含むレスポンスは通信ライン81,コネクタ51を経て送受信部51で受信され,制御部60に与えられる。制御部60は接続されているすべてのハブ30からのこれらのレスポンスをPLC71の受入可能なフォーマットに変換し,かつこれらを一括してインターフェイス56からPLC71に送信する。これらの受信したコントローラ指令の分割と送信,受信したレスポンスの一括送信は一定周期(たとえば20ms〜40ms程度)で繰返し行なわれる。   The configuration of the gateway 50 will be described with reference to FIG. The gateway 50 includes a gateway control unit 60. The gateway control unit 60 is realized by a computer including a CPU, a memory, and the like. A serial communication message (message) from the host PLC 71 is provided to the control unit 60 via the interface 56. The control unit 60 converts a plurality of controller commands (for a maximum of 16 motor controllers) contained in the serial message into control commands suitable for the hub 30 as described later, and Then, the communication line protocol is converted and transmitted to the communication line 81 from the connector 51 via the transmission / reception unit 65. A response including a status bit transmitted from each hub 30 connected to the gateway 50 is received by the transmission / reception unit 51 via the communication line 81 and the connector 51, and is provided to the control unit 60. The control unit 60 converts these responses from all the connected hubs 30 into a format that can be accepted by the PLC 71, and transmits them collectively from the interface 56 to the PLC 71. The division and transmission of the received controller command and the batch transmission of the received response are repeatedly performed at a constant cycle (for example, about 20 ms to 40 ms).

ゲートウェイ50にはコネクタ55を介して非常停止入力接点(ボタン,スイッチ)68が設けられている。この接点68からの非常停止入力信号は内部ライン62で分岐し,コネクタ51を経て各ハブ30に送られる。非常停止入力接点は非常停止に限らず,使い方によっては単なる停止入力接点であってもよい。   The gateway 50 is provided with an emergency stop input contact (button, switch) 68 via a connector 55. The emergency stop input signal from the contact 68 branches at the internal line 62 and is sent to each hub 30 via the connector 51. The emergency stop input contact is not limited to the emergency stop, but may be a simple stop input contact depending on the usage.

またゲートウェイ50にはモータ駆動電源遮断用の接点(ボタン,スイッチ)69がコネクタ52を介して設けられている。モータ駆動電源ライン73からコネクタ53により接続されるモータ駆動電源内部ライン63は4つ(接続されるハブの数)に分岐され,これらの接点69を経てコネクタ51からライン83に接続される。したがって,ゲートウェイ50において,モータ駆動電源をハブ30ごとに遮断することが可能である。動作電源ラインにはこのような遮断手段は設けられていない。   The gateway 50 is provided with a contact (button, switch) 69 for shutting off the motor drive power supply via the connector 52. The motor drive power supply internal line 63 connected from the motor drive power supply line 73 by the connector 53 is branched into four (the number of connected hubs), and is connected to the line 51 from the connector 51 via these contacts 69. Therefore, in the gateway 50, it is possible to shut off the motor drive power supply for each hub 30. Such an interruption means is not provided in the operating power supply line.

動作電源ライン74を経て入力する動作電源は内部ライン64により複数に分岐して各コネクタ51から動作電源ライン84に送出される。この動作電源は動作電源回路56で所定電圧に安定化されて,インターフェイス56,送受信部65,制御部60に動作電源として供給される。動作電源が供給されていればLED57が点灯する。   The operating power input through the operating power supply line 74 is branched into a plurality of parts by the internal line 64 and sent out from each connector 51 to the operating power supply line 84. This operation power is stabilized at a predetermined voltage by the operation power circuit 56 and supplied to the interface 56, the transmission / reception unit 65, and the control unit 60 as operation power. If the operation power is supplied, the LED 57 is turned on.

図1を参照して説明したように,ゲートウェイ50の4つのコネクタ51(コネクタ番号0,1,2,3)には複合ケーブル80により4台のハブ(HUB0,1,2,3)が接続されている。ハブHUB0のコネクタ31(コネクタ番号0,2,3)には軸番号0,2,3のモータコントローラ10が,ハブHUB1のコネクタ31(コネクタ番号0,1,2,3)には軸番号4,5,6,7のモータコントローラ10が,ハブHUB2のコネクタ31(コネクタ番号0,1,2,3)には軸番号8,9,10,11のモータコントローラ10が,ハブHUB3のコネクタ31(コネクタ番号0,1,2,3)には軸番号12,13,14,15のモータコントローラ10がそれぞれ接続されている。このようなゲートウェイ50の各コネクタ51と各ハブ30(ハブ番号)との接続関係,ハブ30の各コネクタ31とモータコントローラ10(軸番号)との接続関係がゲートウェイ50および各ハブ30のメモリにあらかじめ記憶されている。このような接続関係を初期通信時に互いに通知してもよい。また,初期通信時にモータコントローラが実際に接続されていることが確認される。すなわち,各ハブ30はそのコネクタ31にモータコントローラ10が実際に接続されているかどうか(およびその軸番号)をモータコントローラ10に問合せて確認する。この問合せ結果は各ハブ30からゲートウェイ50に通知される。ゲートウェイ50の制御部60のメモリには,図5に示すようなモータコントローラ10の軸番号に対応してその接続情報が記憶される。接続情報中1は実際に接続されていることを,0は接続されていないことを示す。図5では,軸番号1のモータコントローラのみが接続されていないことが明確になる。   As described with reference to FIG. 1, four hubs (HUBs 0, 1, 2, and 3) are connected to the four connectors 51 (connector numbers 0, 1, 2, and 3) of the gateway 50 by the composite cable 80. Have been. The motor controller 10 having the axis numbers 0, 2, and 3 is connected to the connector 31 (connector numbers 0, 2, 3) of the hub HUB0, and the axis number 4 is connected to the connector 31 (connector numbers 0, 1, 2, 3) of the hub HUB1. , 5, 6, 7 and the motor controller 10 of the axis number 8, 9, 10, 11 is connected to the connector 31 (connector number 0, 1, 2, 3) of the hub HUB2, and the connector 31 of the hub HUB3. (Connector numbers 0, 1, 2, 3) are connected to motor controllers 10 of axis numbers 12, 13, 14, and 15, respectively. The connection relationship between each connector 51 of the gateway 50 and each hub 30 (hub number) and the connection relationship between each connector 31 of the hub 30 and the motor controller 10 (axis number) are stored in the memory of the gateway 50 and each hub 30. It is stored in advance. Such a connection relationship may be notified to each other at the time of initial communication. Also, it is confirmed that the motor controller is actually connected at the time of the initial communication. That is, each hub 30 inquires of the motor controller 10 whether or not the motor controller 10 is actually connected to the connector 31 (and its axis number) and confirms it. This inquiry result is notified from each hub 30 to the gateway 50. In the memory of the control unit 60 of the gateway 50, the connection information corresponding to the axis number of the motor controller 10 as shown in FIG. 5 is stored. In the connection information, 1 indicates that the connection is actually made, and 0 indicates that the connection is not made. In FIG. 5, it is clear that only the motor controller of axis number 1 is not connected.

図6はモータコントローラ10における種々の制御パターンのうちの最も典型的な台形加減速パターンを示している。アクチュエータ1の可動体がスタート位置から目標位置まで移動するときに,まず加速し,次に一定速度の定常状態になり,最後に減速して停止する。   FIG. 6 shows the most typical trapezoidal acceleration / deceleration pattern among various control patterns in the motor controller 10. When the movable body of the actuator 1 moves from the start position to the target position, it accelerates first, then enters a steady state at a constant speed, and finally decelerates and stops.

モータコントローラ10にはさまざまな動作モードがある。この実施例では代表的な3つの動作モードを取り上げる。それは直接数値指定モード,簡易直値(簡易的な直接数値指定)モードおよびポジション番号(NO. )モードである。図7は各モータコントローラに設定されている(モータコントローラ10のメモリ21に記憶されている)動作モードを軸番号に対応して示すものである。このような軸番号と動作モードの対応関係はPLC71およびゲートウェイ50のメモリにあらかじめ設定されている。   The motor controller 10 has various operation modes. In this embodiment, three typical operation modes will be described. They are a direct numerical specification mode, a simple direct (simple direct numerical specification) mode, and a position number (NO.) Mode. FIG. 7 shows the operation mode (stored in the memory 21 of the motor controller 10) set in each motor controller, corresponding to the axis number. Such correspondence between the axis number and the operation mode is set in the memories of the PLC 71 and the gateway 50 in advance.

上述したようにPLC71はユーザプログラムを解釈して各モータコントローラ10に対する動作指令を発行する。図8は,モータコントローラの動作モードに応じてPLC71から発行される動作指令のフォーマットを示している。このフォーマットは動作モードにより異なり,そのワード数(バイト数)も動作モードに応じて異なる。   As described above, the PLC 71 interprets the user program and issues an operation command to each motor controller 10. FIG. 8 shows a format of an operation command issued from the PLC 71 according to the operation mode of the motor controller. This format differs depending on the operation mode, and the number of words (the number of bytes) also differs depending on the operation mode.

図8(A) は直接数値指定モードのモータコントローラに対する動作指令を示している。この指令には,目標位置,位置決め幅(位置決めの許容値),図6に示すような加減速パターンの速度,加減速度(加速度,減速度),その他の情報,ならびに軸制御ビットが含まれる。軸制御ビットの代表的なものには,スタートビット(ST),動作モードビット(MO)(複数ビットでもよい),サーボ電源オンビット(SON)がある。図示されていないが,その他の代表的なものにはブレーキ解除ビット,リセットビット,一時停止ビット,原点復帰指令ビット等がある。   FIG. 8A shows an operation command to the motor controller in the direct numerical designation mode. This command includes the target position, positioning width (positioning tolerance), acceleration / deceleration pattern speed as shown in FIG. 6, acceleration / deceleration (acceleration, deceleration), other information, and axis control bits. Representative examples of the axis control bits include a start bit (ST), an operation mode bit (MO) (a plurality of bits may be used), and a servo power-on bit (SON). Although not shown, other typical ones include a brake release bit, a reset bit, a temporary stop bit, an origin return command bit, and the like.

図8(B) は簡易直値モードにおける動作指令のフォーマットを示し,これには目標位置,ポジション番号(NO.),軸制御ビット等が含まれる。図(C) はポジション番号(NO.)モードにおける動作指令のフォーマットを示し,これにはポジションNO. と軸制御ビット等が含まれる。これらの動作モードでは必要なデータはポジションNO. テーブル(図9)から取得される。軸制御ビットの内容は動作モードごとに異なっていてもよい。   FIG. 8B shows a format of an operation command in the simple direct mode, which includes a target position, a position number (NO.), An axis control bit, and the like. Figure (C) shows the format of the operation command in the position number (NO.) Mode, which includes the position number and axis control bits. In these operation modes, necessary data is obtained from the position number table (FIG. 9). The contents of the axis control bits may be different for each operation mode.

図9はモータコントローラ10のメモリ21にあらかじめ記憶されているポジションNO. テーブルの一例を示している。このテーブルには,ポジションNO. ごとに,目標位置,速度,加速度,減速度,位置決め幅,その他のモータ制御に必要なデータが格納されている。モータコントローラの制御部20は簡易直値モード,ポジションNO. モードのときに,動作指令に含まれるポジションNO.にしたがってこのポジションNO.テーブルから必要なデータを取得する。   FIG. 9 shows an example of a position number table stored in the memory 21 of the motor controller 10 in advance. This table stores target position, speed, acceleration, deceleration, positioning band, and other data necessary for motor control for each position number. In the simple direct mode and the position number mode, the control unit 20 of the motor controller acquires necessary data from the position number table according to the position number included in the operation command.

上述したようにPLC71からはモータコントローラの動作モードに応じた異なる長さの動作指令(図8(A),(B),(C) 参照)が,接続されているモータコントローラの台数分(最大16台分),その軸番号の順番にしたがった配列でシリアルにゲートウェイ50に送信される。ゲートウェイ50はこれらの動作指令を,すべてのモータコントローラについて一定長(固定長)のコントローラ指令に組立て(編集し),かつプロトコル変換した上で,最大4台のモータコントローラ分ずつに分け,対応するハブ30にシリアル通信により送出する。図10にゲートウェイが編集するコントローラ指令(1コントローラ分)のフォーマットが示されている。このフォーマットには,すべての動作モードについての必要なデータ,制御ビットが含まれるようになっている。すなわち,直接数値指定モードについては,目標位置,位置決め幅,速度,加減速度,軸制御ビット,その他のデータが含まれうる。簡易直値モードでは目標位置,ポジションNO. ,軸制御ビット,その他のデータが含まれ,ポジションNO.モードではポジションNO.軸制御ビット,その他のデータが含まれうる。   As described above, from the PLC 71, operation commands of different lengths (see FIGS. 8A, 8B, and 8C) according to the operation mode of the motor controller are transmitted for the number of connected motor controllers (maximum). 16 units), and are serially transmitted to the gateway 50 in an array according to the order of the axis numbers. The gateway 50 assembles (edits) these operation commands into fixed-length (fixed-length) controller commands for all the motor controllers, converts the protocol, and divides the commands into a maximum of four motor controllers. The data is transmitted to the hub 30 by serial communication. FIG. 10 shows a format of a controller command (for one controller) edited by the gateway. This format includes necessary data and control bits for all operation modes. That is, in the direct numerical specification mode, the target position, positioning band, speed, acceleration / deceleration, axis control bits, and other data can be included. The simple direct mode includes a target position, a position number, an axis control bit, and other data, and the position number mode includes a position number, axis control bit and other data.

図11は,モータコントローラ10において生成され,ハブ30に送信されるレスポンスデータのフォーマットを示している。このレスポンスにはハブ,ゲートウェイ,PLCに通知すべきモータコントーラの状態を表わすデータが含まれる。一例を挙げれば,現在位置,速度(これらは位置,速度検出部19から得られる),電流値(モータドライバ18から得られる),発生したアラームの内容を示すコード,およびステータスビットがある。ステータスビットの代表的なものを挙げれば,位置決め完了ビット(PEND),アラーム1(ALM1)(重大な故障),アラーム2(ALM2)(軽故障),サーボオン(SV),非常停止(EM)等がある。図示を省略したが,その他にも移動完了,原点復帰完了,一時停止中等を示すビットが含まれる。これらのステータスビットの内容も上述した動作モードに応じて異なっていてもよい。モータコントローラ10におけるモータコントローラ状態表示器26やハブ30におけるモータコントローラ状態表示器46の点灯(非点灯)制御は,上述したALM1,ALM2,SV,EM等のステータスビットの内容にしたがって行なわれる。   FIG. 11 shows a format of response data generated in the motor controller 10 and transmitted to the hub 30. This response includes data indicating the state of the motor controller to be notified to the hub, gateway, and PLC. For example, there are a current position, a speed (these are obtained from the position and speed detector 19), a current value (a result from the motor driver 18), a code indicating the content of the generated alarm, and a status bit. Typical status bits are: positioning complete bit (PEND), alarm 1 (ALM1) (major failure), alarm 2 (ALM2) (light failure), servo-on (SV), emergency stop (EM), etc. There is. Although not shown in the drawing, other bits indicating movement completion, origin return completion, temporary suspension, and the like are included. The contents of these status bits may also differ depending on the operation mode described above. Lighting (non-lighting) control of the motor controller status indicator 26 in the motor controller 10 and the motor controller status indicator 46 in the hub 30 is performed according to the contents of the status bits such as ALM1, ALM2, SV, and EM described above.

図12はゲートウェイ50の制御部60の動作(処理手順)を示している。まず,接続されているアクチュエータ1(モータコントローラ10)の数の,その軸番号順に並べられた動作指令(図8のフォーマット)をPLC75から受取り(S11),各モータコントローラ10の動作モード(図7参照)にしたがって,固定長のコントローラ指令(図10)を作成する(S12)。作成したコントローラ指令をハブHUB0に接続されたモータコントローラ10に対しては軸番号0,2,3の順に並べ,ハブの受信可能なプロトコルに変換して,一括してシリアル通信電文として,送受信部65から番号0のコネクタ51を通して送出する。同じように,ハブHUB1に接続されたモータコントローラ10に対するコントローラ指令を軸番号4,5,6,7の順に並べ,プロトコル変換し,一括してシリアル通信電文として番号1のコネクタ51から送出する。他のモータコントローラ10(軸番号8,9,10,11),(軸番号12,13,14,15)に対するコントローラ指令についても,それぞれ一括して番号3,4のコネクタ51にそれぞれ送出する(S13)。   FIG. 12 shows the operation (processing procedure) of the control unit 60 of the gateway 50. First, an operation command (format in FIG. 8) arranged in the order of the number of the connected actuators 1 (motor controller 10) is received from the PLC 75 (S11), and the operation mode of each motor controller 10 (FIG. ), A fixed-length controller command (FIG. 10) is created (S12). The generated controller commands are arranged in the order of axis numbers 0, 2, and 3 for the motor controller 10 connected to the hub HUB0, converted into a protocol receivable by the hub, and collectively converted into a serial communication message as a transmission / reception unit. It is transmitted from the connector 65 through the connector 51 of the number 0. Similarly, the controller commands to the motor controller 10 connected to the hub HUB1 are arranged in the order of the axis numbers 4, 5, 6, and 7, protocol-converted, and transmitted collectively from the connector 1 of the number 1 as a serial communication message. Controller commands for the other motor controllers 10 (axis numbers 8, 9, 10, 11) and (axis numbers 12, 13, 14, 15) are also sent to connectors 51 of numbers 3 and 4 collectively, respectively ( S13).

また,各モータコントローラ10からのレスポンス(図11)を4台のハブ30から送受信部65で受信すると(S14),モータコントローラの動作モードに応じてPLC75に報告すべきデータ,ステータスビットをレスポンスから取出し,これをモータコントローラの軸番号の順に並べて一括してPLC71にシリアル通信により送信する(S15)。以上の動作は一定周期で繰返し行なわれる。   When the response (FIG. 11) from each motor controller 10 is received by the transmitting / receiving unit 65 from the four hubs 30 (S14), data and status bits to be reported to the PLC 75 according to the operation mode of the motor controller are transmitted from the response. These are taken out, arranged in the order of the axis numbers of the motor controller, and collectively transmitted to the PLC 71 by serial communication (S15). The above operation is repeatedly performed at a constant cycle.

図13はハブ30の制御部40の処理手順(動作)を示している。図14,図15はこの動作を電文の形態で示すものである。   FIG. 13 shows a processing procedure (operation) of the control unit 40 of the hub 30. 14 and 15 show this operation in the form of a telegram.

各ハブ30にはゲートウェイ50から最大4軸分のコントローラ指令(コントローラ指令i,i+1,i+2,i+3)(iはHUB0の場合は0,HUB1の場合は1,等である)が送信されてくるので,送受信部35はこれを受信して制御部40に渡す(S11)。ゲートウェイ50から送信される各モータコントローラに対するコントローラ指令は固定長である。ハブはゲートウェイ50からの電文からヘッダ,共通指令,フッタを除き,最大4つのコントローラ指令を各コントローラごとに分ける(図14参照)。そして各コントローラごとのコントローラ指令にヘッダとフッタを付加して,そのコントローラが接続された番号のコネクタ31に送受信部45から送出する(S22)。なお,ゲートウェイ50から送信される共通指令は時刻データである。これは各モータコントローラでエラーが発生した場合などにおいて,その発生時刻を管理することなどに用いられる。   Controller commands (controller commands i, i + 1, i + 2, i + 3) for up to four axes (i is 0 for HUB0, 1 for HUB1, etc.) are transmitted from the gateway 50 to each hub 30. Therefore, the transmission / reception unit 35 receives this and passes it to the control unit 40 (S11). The controller command transmitted from the gateway 50 to each motor controller has a fixed length. The hub divides up to four controller commands for each controller except for the header, common command, and footer from the message from the gateway 50 (see FIG. 14). Then, a header and a footer are added to the controller command for each controller, and the controller command is transmitted from the transmitting / receiving unit 45 to the connector 31 of the number to which the controller is connected (S22). Note that the common command transmitted from the gateway 50 is time data. This is used to manage the time when an error occurs in each motor controller, for example.

コントローラ指令に応答して対応するモータコントローラ10からレスポンス(ヘッダ,フッタを有する)が送られてくると(S23),ハブ30の制御部40はこれらをモータコントローラの軸番号の順に並べて,ヘッダ,共通ステータス,フッタを付加してシリアル電文を作成し(図15参照),最大4軸分を一括して送受信部35からゲートウェイ50に送信する(S25)。各レスポンス中のステータスビットの内容により,対応するモータコントローラの状態表示器46を制御する(S24)。共通ステータスはモータコントローラがコネクタ31に現実に接続されているかどうかを示すビットを含む。モータコントローラの接続状態は常時監視されている。軸番号1に相当するモータコントローラのようにハブ30に現実に接続されていないものがある場合には,それに対するコントローラ指令はゲートウェイ50からの電文には含まれていないから,ハブ30が対応するコネクタ31にコントローラ指令を含む電文を出力することはない。図13に示す動作は一定時間周期で繰返し実行される。   When a response (having a header and a footer) is sent from the corresponding motor controller 10 in response to the controller command (S23), the control unit 40 of the hub 30 arranges these in the order of the motor controller axis numbers, and A serial message is created by adding a common status and footer (see FIG. 15), and a maximum of four axes are transmitted from the transmission / reception unit 35 to the gateway 50 (S25). The status indicator 46 of the corresponding motor controller is controlled according to the contents of the status bits in each response (S24). The common status includes a bit indicating whether the motor controller is actually connected to the connector 31. The connection state of the motor controller is constantly monitored. If there is a motor controller that is not actually connected to the hub 30 such as the motor controller corresponding to the axis number 1, the controller command for the motor controller is not included in the message from the gateway 50, and the hub 30 responds. A message including a controller command is not output to the connector 31. The operation shown in FIG. 13 is repeatedly executed in a fixed time cycle.

図1に示すように,最大16台のモータコントローラが存在する場合に,従来のように,ゲートウェイがこれらのモータコントローラと順次通信したとすると,1台のモータコントローラとの通信時間が仮に10m秒であったとしても,最大 160m秒の時間がかかる。すべてのモータコントローラと通信を完了するために要する時間はモータコントローラの台数に比例する。この実施例では,ゲートウェイ50の4つのコネクタ51にそれぞれハブ30が接続され,各ハブ30の4つのコネクタ31に最大4台のモータコントーラ10が接続されている。ゲートウェイ50と各ハブ30との通信は常に1対1であり,ハブ30と各モータコントローラ10との通信も1対1である。4台分のコントローラ指令を送信するので電文が長くなること,そのための編集処理等の処理時間が必要であることを考慮しても,そして上記に例示の具体的時間(モータコントローラ1台当り10m秒)を基礎としても,ゲートウェイ50と各ハブ30との間の通信時間とハブ30と各モータコントローラ10との間の通信時間との和はせいぜい40m秒程度である。コントローラ指令を送るときにはゲートウェイ50はハブ30の送受信部35の受信バッファに電文を書込み,ハブ30の制御部40はそれを読出せばよく,同じようにハブ30はモータコントローラ10の送受信部25の受信バッファに電文を書込み,制御部20はそれを読出すだけである。レスポンスの送受信も同じように各送受信部の受信バッファに電文を置き,それを制御部が読出す。   As shown in Fig. 1, if there is a maximum of 16 motor controllers and the gateway sequentially communicates with these motor controllers as in the past, the communication time with one motor controller is assumed to be 10 ms. However, it takes up to 160 ms. The time required to complete communication with all motor controllers is proportional to the number of motor controllers. In this embodiment, hubs 30 are connected to four connectors 51 of the gateway 50, respectively, and up to four motor controllers 10 are connected to four connectors 31 of each hub 30. Communication between the gateway 50 and each hub 30 is always one-to-one, and communication between the hub 30 and each motor controller 10 is also one-to-one. Taking into account the fact that the message is long because four controller commands are transmitted and that the processing time for editing and the like is required, the specific time shown above (10 m per motor controller) Seconds), the sum of the communication time between the gateway 50 and each hub 30 and the communication time between the hub 30 and each motor controller 10 is at most about 40 ms. When sending a controller command, the gateway 50 writes a message in the reception buffer of the transmission / reception unit 35 of the hub 30, and the control unit 40 of the hub 30 only needs to read the message. Similarly, the hub 30 is connected to the transmission / reception unit 25 of the motor controller 10. The telegram is simply written into the reception buffer, and the control unit 20 simply reads it. Similarly, for transmission and reception of a response, a message is placed in the reception buffer of each transmission / reception unit, and the control unit reads the message.

このようにハブを設けることにより,ハブの台数やモータコントローラの台数が増加しても通信時間は増大しない。通信時間の短縮化を図ることができる。ハブ30は上述のようにゲートウェイ71からの電文をモータコントローラごとに(一定長で)切り離して順番に送出するだけであるから,モータコントローラに従来のようにアドレス設定器を設ける必要はない。   By providing the hub in this manner, the communication time does not increase even if the number of hubs or the number of motor controllers increases. Communication time can be reduced. As described above, since the hub 30 merely separates the messages from the gateway 71 for each motor controller (at a fixed length) and sends out the messages in order, there is no need to provide an address setting device in the motor controller as in the related art.

最後にモータコントローラ10の制御部20の処理手順について図16を参照して説明する。通信ライン51を通してハブ30から送信されてくるコントローラ指令(図10)を送受信部25が受信してこれを制御部20に渡すと(S31),制御部20は制御ビット中の動作モードビットをみてスタートビットSTが1であれば動作を開始するとともに,動作モードビットMOにより動作モードを判定し(S32),動作モードに応じたデータをコントローラ指令から取出す。直接数値指定の場合にはコントローラ指令中の目標位置,位置決め幅,速度,加減速度等を用いて位置指令を作成してモータドライバ18に与える(S34)。簡易直値の場合には,ポジションNO. テーブル(図9)を参照してポジションNO. に対応する位置決め幅,速度,加減速度を読出し(S33),かつモータコントローラ指令中の目標位置を用いて位置指令を作成する(S34)。ポジションNO.モードの場合にはポジションNO.テーブルからモータコントローラ指令中のポジションNO. に対応する目標位置,位置決め幅,速度,加速度等を読出して位置指令を作成し(S33,S34),モータドライバ18に与える。   Finally, a processing procedure of the control unit 20 of the motor controller 10 will be described with reference to FIG. When the transmission / reception unit 25 receives the controller command (FIG. 10) transmitted from the hub 30 through the communication line 51 and passes it to the control unit 20 (S31), the control unit 20 checks the operation mode bit in the control bit. If the start bit ST is 1, the operation is started, the operation mode is determined by the operation mode bit MO (S32), and data corresponding to the operation mode is extracted from the controller command. In the case of direct numerical designation, a position command is created using the target position, positioning band, speed, acceleration / deceleration, etc. in the controller command, and is given to the motor driver 18 (S34). In the case of the simple direct value, the positioning width, speed and acceleration / deceleration corresponding to the position number are read out with reference to the position number table (FIG. 9) (S33), and the target position in the motor controller command is used. A position command is created (S34). In the position number mode, the target position, positioning width, speed, acceleration, etc. corresponding to the position number in the motor controller command are read from the position number table to create a position command (S33, S34), and the motor driver Give to 18.

さらに制御部20は各駆動部や各種検出部等から動作状態の値やステータス情報を集めてレスポンスを生成し(図11)(S35),ハブ30に送信する(S36)。レスポンスの生成と送信はモータコントロール指令の応答として行なわれる。そしてステータスビットに応じて表示器26を制御する(S37)。   Further, the control unit 20 generates a response by collecting values of the operating state and status information from each of the driving units and various detection units (FIG. 11) (S35), and transmits the response to the hub 30 (S36). The generation and transmission of the response are performed as a response to the motor control command. Then, the display 26 is controlled according to the status bit (S37).

1 アクチュエータ
8 モータ
9 エンコーダ
10 モータコントローラ
11,31,32,51,53 コネクタ
18 モータドライバ
20,40,60 制御部
26,46 モータコントローラ動作状態表示灯
30 ハブ装置
42,62 非常停止信号内部ライン(停止信号内部ライン)
43,63 モータ駆動電源内部ライン
44,64 動作電源内部ライン
50 ゲートウェイ装置
71 PLC
73,83,93 モータ駆動電源ライン
74,84,94 動作電源ライン
80,90 複合ケーブル
81,91 通信ライン
82,92 非常停止信号ライン(停止信号ライン)
1 Actuator 8 Motor 9 Encoder
10 Motor controller
11,31,32,51,53 Connector
18 Motor driver
20, 40, 60 control unit
26, 46 Motor controller operation status indicator
30 hub device
42, 62 Emergency stop signal internal line (Stop signal internal line)
43, 63 Motor drive power supply internal line
44, 64 Operating power supply internal line
50 Gateway device
71 PLC
73, 83, 93 Motor drive power line
74, 84, 94 Operating power supply line
80, 90 composite cable
81, 91 Communication line
82, 92 Emergency stop signal line (stop signal line)

Claims (9)

ユーザプログラムに基づく複数台のモータコントローラへのコントローラ指令と共通指令を含む電文を送出する上位の制御装置,ならびに
前記上位の制御装置から送信された電文から共通指令を除き,かつ該電文中の一定順序で並べられたコントローラ指令を各モータコントローラごとの指令に分け,さらに各モータコントローラ向けの電文を作成して接続された各モータコントローラに送出するとともに,各モータコントローラからのレスポンスを含む電文を受信し,接続されたすべてのモータコントローラからのレスポンスを順番に並べて,かつモータコントローラが接続されているかどうかを示すビットを含む共通ステータスを付加して1つの電文として前記上位の制御装置に送出する制御手段を備えるハブ装置,
を備えるモータコントローラの制御システム。
A host controller for delivering including message common command controller command to more than one motor controller based on a user program, and except for the common command from message transmitted from the control unit of the host, and in electrical sentence divided ordered controller command at regular order command for each motor controller sends out to each motor controller is further connected to create a message for each motor for the controller, a message including a response from the motor controller Receives and arranges the responses from all the connected motor controllers in order, and adds a common status including a bit indicating whether or not the motor controller is connected, and sends it as one message to the higher-level control device. Hub device with control means,
A control system for a motor controller comprising:
前記上位の制御装置が,
ユーザプログラムに基づく複数台のモータコントローラへの動作指令を出力するプログラム制御装置,および
前記プログラム制御装置から出力される動作指令を,前記ハブ装置に適したコントローラ指令に変換し,かつ前記ハブ装置に接続されたモータコントローラの台数分のコントローラ指令を一定順序に並べて一括して該当するハブ装置に出力するゲートウェイ装置を備える,
請求項1に記載のモータコントローラの制御システム。
The higher-level control device is
A program control device for outputting operation commands to a plurality of motor controllers based on a user program, and an operation command output from the program control device being converted into a controller command suitable for the hub device. A gateway device for arranging controller commands for the number of connected motor controllers in a fixed order and collectively outputting the commands to a corresponding hub device;
A control system for a motor controller according to claim 1.
前記ゲートウェイ装置に複数台のハブ装置が接続され,前記ゲートウェイ装置は,前記プログラム制御装置から送出されるコントロール指令を,複数台のハブ装置のそれぞれに応じて分配するものである,請求項2に記載のモータコントローラの制御システム。   3. The gateway device according to claim 2, wherein a plurality of hub devices are connected to the gateway device, and the gateway device distributes a control command sent from the program control device according to each of the plurality of hub devices. The control system of the motor controller as described. 前記ゲートウェイ装置から前記ハブ装置に送信される電文中のコントローラ指令は固定長のものであり,前記ハブ装置は固定長ごとに切断して各モータコントローラへの指令電文を作成する,請求項3に記載のモータコントローラの制御システム。   4. The controller command in a message transmitted from the gateway device to the hub device is of a fixed length, and the hub device cuts off the fixed length and creates a command message to each motor controller. The control system of the motor controller as described. 前記ゲートウェイ装置からモータコントローラまでハブ装置を経て電源ラインが通っている,請求項2または3に記載のモータコントローラの制御システム。   4. The motor controller control system according to claim 2, wherein a power line runs from the gateway device to the motor controller via a hub device. 前記ゲートウェイ装置からモータコントローラまでハブ装置を経て停止信号ラインが通っている,請求項3に記載のモータコントローラの制御システム。   The motor controller control system according to claim 3, wherein a stop signal line runs from the gateway device to the motor controller via a hub device. コントローラ指令およびレスポンスを伝送する信号ラインならびに電源ラインが1本の複合ケーブルに含まれている,請求項1から4のいずれか一項に記載のモータコントローラの制御システム。   The control system for a motor controller according to any one of claims 1 to 4, wherein a signal line for transmitting a controller command and a response and a power supply line are included in one composite cable. コントローラ指令およびレスポンスを伝送する信号ライン,電源ライン,および停止信号ラインが1本の複合ケーブルに含まれている,請求項1から4のいずれか一項に記載のモータコントローラの制御システム。   The control system for a motor controller according to any one of claims 1 to 4, wherein a signal line for transmitting a controller command and a response, a power supply line, and a stop signal line are included in one composite cable. モータコントローラに設定可能な複数の動作モードがあり,上位の制御装置はモータコントローラの動作モードに応じたコントローラ指令を作成する,請求項1に記載のモータコントローラの制御システム。   2. The motor controller control system according to claim 1, wherein the motor controller has a plurality of operation modes that can be set, and a higher-level control device creates a controller command according to the operation mode of the motor controller.
JP2015234773A 2015-12-01 2015-12-01 Motor controller control system Active JP6624908B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015234773A JP6624908B2 (en) 2015-12-01 2015-12-01 Motor controller control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015234773A JP6624908B2 (en) 2015-12-01 2015-12-01 Motor controller control system

Publications (2)

Publication Number Publication Date
JP2017103584A JP2017103584A (en) 2017-06-08
JP6624908B2 true JP6624908B2 (en) 2019-12-25

Family

ID=59016913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015234773A Active JP6624908B2 (en) 2015-12-01 2015-12-01 Motor controller control system

Country Status (1)

Country Link
JP (1) JP6624908B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002044758A (en) * 2000-07-31 2002-02-08 Yaskawa Electric Corp System and method of control
JP2002366210A (en) * 2001-06-08 2002-12-20 Prime Motion:Kk System for controlling multishaft motion
JP4816039B2 (en) * 2005-12-05 2011-11-16 東芝ライテック株式会社 Lighting control system
US8155788B2 (en) * 2006-04-10 2012-04-10 Kabushiki Kaisha Yaskawa Denki Automatic machine system
JP2010136538A (en) * 2008-12-05 2010-06-17 Fuji Xerox Co Ltd Electronic equipment
JP5822621B2 (en) * 2011-09-27 2015-11-24 富士機械製造株式会社 Servo drive system

Also Published As

Publication number Publication date
JP2017103584A (en) 2017-06-08

Similar Documents

Publication Publication Date Title
JP4893931B2 (en) Safety controller
US5452201A (en) Industrial controller with highly distributed processing
US10127163B2 (en) Control device for controlling a safety device, and use of an IO link for transmission of a safety protocol to a safety device
US10019303B2 (en) Method for error monitoring, control and data transmission installation and control device
US5530643A (en) Method of programming industrial controllers with highly distributed processing
CN1244033C (en) Process control network with redundant field devices and busses
WO2018155426A1 (en) Servo system
US11233674B2 (en) Processing of process data
CN103268095B (en) Fault handling method and Multiple-converter master-slave control system
CN101013316A (en) Bus-type numerical control system and control method thereof
JP4691490B2 (en) Method and apparatus for controlling safety-critical processes
US10191458B2 (en) Apparatus and method for interfacing a plurality of remote devices to a programmable logic controller (PLC)
CN104796055A (en) Touch screen control and drive integrated four-axis steeping motor closed-loop control system
JP6477554B2 (en) RELAY DEVICE, RELAY DEVICE CONTROL METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM
JP2009208158A (en) Power supply circuit for multi-actuated robot and cutoff method of power supply circuit
EP2677376A2 (en) Machine control program generation device, machine control program generation method, program, and information storage medium
US20220263717A1 (en) Display device in process automation
JP6624908B2 (en) Motor controller control system
EP3952223B1 (en) Network management device, management method, management program, and recording medium
JP6690926B2 (en) Hub device for motor controller
JP4613681B2 (en) Remote input / output device, distributed independent remote system and wireless transmission system
JP2023004194A (en) Robot system and erroneous wiring detection method thereof
CN113545013B (en) Network management device, management method, and recording medium
US20220188260A1 (en) Bus arrangement and method for operating a bus arrangement
KR20010065578A (en) Opened motor controller based on communication network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181022

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190820

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191017

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191112

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191126

R150 Certificate of patent or registration of utility model

Ref document number: 6624908

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250