JP2014228900A - Motor drive device and method for checking operation thereof - Google Patents

Motor drive device and method for checking operation thereof Download PDF

Info

Publication number
JP2014228900A
JP2014228900A JP2013105618A JP2013105618A JP2014228900A JP 2014228900 A JP2014228900 A JP 2014228900A JP 2013105618 A JP2013105618 A JP 2013105618A JP 2013105618 A JP2013105618 A JP 2013105618A JP 2014228900 A JP2014228900 A JP 2014228900A
Authority
JP
Japan
Prior art keywords
mode
motor
unit
user
display
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
JP2013105618A
Other languages
Japanese (ja)
Inventor
衛 飯田
Mamoru Iida
衛 飯田
和晃 杉村
Kazuaki Sugimura
和晃 杉村
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP2013105618A priority Critical patent/JP2014228900A/en
Publication of JP2014228900A publication Critical patent/JP2014228900A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce a burden of an expert of an electric system when constructing an entire system including a motor drive device.SOLUTION: A motor drive device has a first mode that receives a motor drive signal from a PLC 4 to perform drive control of a motor, and a second mode that ignores the motor drive signal from the PLC 4. A mode changeover can be performed with a mode changeover switch 128. The device further has a mode selection section with which at least a JOG mode can be selected for actuating the motor according to operation of a user when being the second mode, and the device has a display section 102 for displaying that the device is in the JOG mode when the JOG mode is selected with the mode selection section, and an operation section 106 for actuating the motor according to the operation of the user when the JOG mode is selected with the mode selection section.

Description

本発明は、一般的にはPLCに接続されて、該PLCと協働してモータの駆動を制御するためのモータ駆動装置及びその動作確認方法に関する。   The present invention generally relates to a motor drive device that is connected to a PLC and controls driving of the motor in cooperation with the PLC, and an operation confirmation method thereof.

特許文献1は典型的なモータ駆動装置(サーボアンプ)を開示している。この種のモータ駆動装置は、業界ではモータドライバ、サーボドライバ、モータアンプ、サーボアンプなどの用語で呼ばれている。特許文献1に開示のモータ駆動装置を説明すると、モータ駆動装置は、外部機器と接続するための端子台やポートが外部とアクセス可能に配置された筐体を有している。そして、モータ駆動装置に記憶されているパラメータの設定や変更は、表示部を備えた外部機器であるパーソナルコンピュータ及びパラメータ簡易変更装置によって行う方式が採用されている。   Patent Document 1 discloses a typical motor driving device (servo amplifier). This type of motor driving apparatus is called in the industry by terms such as a motor driver, a servo driver, a motor amplifier, and a servo amplifier. The motor driving device disclosed in Patent Document 1 will be described. The motor driving device has a housing in which a terminal block and a port for connecting to an external device are arranged so as to be accessible to the outside. And the method of performing the setting and the change of the parameter memorize | stored in the motor drive apparatus with the personal computer which is an external apparatus provided with the display part, and the parameter simple change apparatus is employ | adopted.

パラメータ簡易変更装置は、7セグメントディスプレイ又はドットマトリックスディスプレイと、アップダウンキー、登録キーなどを含む操作部とを備えている。   The parameter simple change device includes a 7-segment display or a dot matrix display, and an operation unit including an up / down key, a registration key, and the like.

特許文献1の発明は、サーボアンプ(モータアンプ)が高性能化、高機能化するにつれてパラメータの数が増加し、この数多くのパラメータの設定値が出荷時の値から変更されたか否かを管理するのが難しくなっている現状を鑑みて、パラメータ簡易変更装置での表示方法を提案している。   The invention of Patent Document 1 manages whether the number of parameters increases as servo amplifiers (motor amplifiers) become more sophisticated and functional, and the setting values of these many parameters have been changed from the values at the time of shipment. In view of the current situation that is difficult to do, a display method using a simple parameter changing device has been proposed.

モータ駆動装置はモータを制御対象とする。このモータを含む全体システムは、当該モータを組み込んだ機械、モータ駆動装置の上位装置であるPLCを含む。このようなシステムを構築する際には、電気系の専門家と機械系の専門家とが一体となって作業する必要がある。例えばモータ駆動装置の各種パラメータの設定には電気系の専門知識が必要であり、また、設定したパラメータの適否を判断するのに機械を実際に動作させる必要があり、機械の動作の適否の確認に機械系の専門知識が必要となる。   The motor drive device controls the motor. The entire system including the motor includes a machine incorporating the motor and a PLC which is a host device of the motor driving device. When constructing such a system, it is necessary for electrical experts and mechanical experts to work together. For example, setting various parameters of the motor drive device requires specialized knowledge of the electrical system, and it is necessary to actually operate the machine to determine the suitability of the set parameters. Check the suitability of the machine operation. In addition, expertise in mechanical systems is required.

これまでのモータ駆動装置は、特許文献1からも良く分かるように、電気系の専門知識を有する技術者を対象にその利便性を高めることを基本的な立ち位置にして、高性能化や高機能化の開発が行われてきた。   As can be seen from Patent Document 1, the conventional motor drive device is based on the basic standpoint of enhancing its convenience for engineers who have expertise in electrical systems. Functional development has been underway.

特開2008−197898号公報JP 2008-197898 A

モータ駆動装置が設置される制御盤は省スペースの観点から小型化する傾向にあることから、今後のモータ駆動装置の開発は小型化の方向に向かうと予想される。すなわち一層の高性能化、高機能化に加えて小型化が求められる。   Since the control panel on which the motor driving device is installed tends to be downsized from the viewpoint of space saving, the development of the motor driving device in the future is expected to be directed toward downsizing. In other words, downsizing is required in addition to higher performance and higher functionality.

このような時代背景のなかで、本願発明者らは、このモータ駆動装置が現場でどのような作業を伴っているかを観察した結果、本願発明を案出するに至ったものである。前述したように、モータ駆動装置を含む全体システムを構築する際、電気系の専門知識と機械系の専門知識とが一体となって作業する必要がある。勿論、一人の人間が電気及び機械の双方の専門知識を持っていれば従来のモータ駆動装置の開発の立ち位置で問題はないが、広くこのことを求めるのは非現実的である。   Under such circumstances, the inventors of the present application have come up with the present invention as a result of observing what work the motor driving device is accompanied on site. As described above, when constructing the entire system including the motor drive device, it is necessary to work together with specialized expertise of the electrical system and specialized knowledge of the mechanical system. Of course, if one person has both electrical and mechanical expertise, there is no problem in the development position of the conventional motor drive device, but it is unrealistic to demand this widely.

モータ駆動装置は特許文献1にも書いてある通り、数多くのパラメータの設定が必要である。また、その上位装置であるPLCとの接続設定やモータ駆動装置の動作に関連した設定など、モータ駆動装置を中心に見れば電気系の専門知識が求められる。しかし、全体システムを構築する際に特に問題になる事柄であるが、制御対象のモータの動作に関連したパラメータの幾つかの設定の際には、このモータが組み込まれた機械の調整を伴うことが多い。典型的な例を挙げれば、モータの停止位置で機械が適正の位置で停止しているか、モータの動作速度が機械に負担を掛け過ぎていないか、などである。このような場合、電気系の専門家と機械系の専門家が一致団結した共同作業が必要となる。   As described in Patent Document 1, the motor driving device needs to be set with many parameters. Further, specialized knowledge of the electric system is required if the motor drive device is mainly viewed, such as connection settings with the PLC, which is the host device, and settings related to the operation of the motor drive device. However, this is a particular problem when constructing the entire system. However, when setting several parameters related to the operation of the motor to be controlled, adjustment of the machine in which this motor is incorporated is required. There are many. A typical example is whether the machine is stopped at an appropriate position at the stop position of the motor, or whether the operating speed of the motor is overloading the machine. In such a case, joint work of electrical experts and mechanical experts is necessary.

本発明の目的は、モータ駆動装置を含む全体システムの構築の際に電気系の専門家の負担を軽減することのできるモータ駆動装置を提供することにある。   An object of the present invention is to provide a motor drive device that can reduce the burden on an electrical expert when an entire system including the motor drive device is constructed.

本発明の更なる目的は、モータ駆動装置を含む全体システムの構築の際に、機械系の専門家がモータの動作つまり当該モータを組み込んだ装置の動作の確認を電気系の専門家の手を煩わせることなく容易に行うことのできるモータ駆動装置及びその動作確認方法を提供することにある。   It is a further object of the present invention to allow a mechanical expert to check the operation of the motor, that is, the operation of the apparatus incorporating the motor, in the construction of the entire system including the motor drive device. It is an object of the present invention to provide a motor driving device and an operation confirmation method that can be easily performed without bothering.

上記の技術的課題は、本発明の一つの観点によれば、
モータ及び上位装置に接続され、該上位装置からのモータ駆動信号を受け付けて該モータの駆動制御を行うモータ駆動装置であって、
前記上位装置からのモータ駆動信号を受け付けて前記モータの駆動制御を行う第1モードと、前記上位装置からのモータ駆動信号を無視する第2モードとを有し、ユーザの操作によって前記第1モードと前記第2モードとを択一的に切り替えるためのモード切替スイッチと、
前記第2モードであるときに、ユーザの操作に応じて前記モータを動作させるJOGモードを少なくとも選択可能なモード選択部と、
前記モード選択部により前記JOGモードが選択されたときに、前記モータ駆動装置が現在JOGモードであることを表示する表示部と、
前記モード選択部により前記JOGモードが選択されたときに、ユーザの操作に応じて前記モータを動作させることが可能な操作部とを有するモータ駆動装置を提供することにより達成される。
The above technical problem is, according to one aspect of the present invention,
A motor drive device connected to a motor and a host device, receiving a motor drive signal from the host device and performing drive control of the motor,
A first mode in which a motor drive signal from the host device is received and the motor drive control is performed; and a second mode in which the motor drive signal from the host device is ignored. And a mode changeover switch for selectively switching between the second mode,
A mode selection unit capable of selecting at least a JOG mode for operating the motor in response to a user operation when in the second mode;
A display unit for displaying that the motor driving device is currently in the JOG mode when the JOG mode is selected by the mode selection unit;
This is achieved by providing a motor drive device having an operation unit capable of operating the motor in accordance with a user operation when the JOG mode is selected by the mode selection unit.

本発明によれば、モータ駆動装置の制御対象であるモータを組み込んだ機械の専門家が、当該機械を調整する際に、上記のJOGモードを使ってモータを動作させることができる。この操作はモード切替スイッチ、表示部を見ながらJOGモードを選択するという電気系の専門知識が無くても十分に対応可能な操作に過ぎない。したがって、設置する機械の専門家が電気系の専門家の手を煩わせることなく自らの手でモータ駆動装置を使ってモータを動作させることができる。   ADVANTAGE OF THE INVENTION According to this invention, when the expert of the machine incorporating the motor which is a control object of a motor drive device adjusts the said machine, it can operate a motor using said JOG mode. This operation is only an operation that can be dealt with satisfactorily without the expertise of the electric system of selecting the JOG mode while looking at the mode changeover switch and the display section. Therefore, the specialist of the machine to be installed can operate the motor using the motor driving device with his / her hand without bothering the hands of the expert of the electric system.

本発明の好ましい実施形態では、前記表示部に現在JOGモードであることが表示された状態で、前記操作部を介したユーザ操作に基づいて前記モータを動作させる。JOGモードであることの表示は、表示部に「JOGモード」であることを直感的に把握できる文字や図形などを表示してもよいし、「JOGモード」で動作しているときに点灯するLEDなどの点灯手段又は発光手段であってもよい。   In a preferred embodiment of the present invention, the motor is operated based on a user operation via the operation unit while the display unit displays that the current JOG mode is displayed. The display indicating that it is in the JOG mode may be displayed on the display unit by displaying characters or figures that can be intuitively recognized as being in the “JOG mode”, or when operating in the “JOG mode”. It may be a lighting means such as an LED or a light emitting means.

本発明の好ましい実施形態では、JOGモードで動作させたモータ駆動のパラメータを登録できる。この登録はモータ駆動装置の操作部を操作することにより行うことができる。換言すればパーソナルコンピュータをモータ駆動装置に接続する必要無しに登録できる。更に好ましい実施形態として、登録したパラメータに基づいてモータを動作させるテスト運転を行うことができる。このテスト運転の結果が良好であれば、操作部を操作することでパラメータの設定が可能である。JOGモードでユーザの意図に従ってモータ動作、これに伴うパラメータの登録、次いで、登録したパラメータに従うテスト運転、そしてパラメータの設定の一連の操作は電気系の専門家でなくても十分にやれることである。したがって本発明に従うモータ駆動装置によって実質的に制御される機械の設置及びその調整を当該機械の専門家が行う際に、電気系の専門家の手を煩わせることなく設定作業まで機械系の専門家の手で行うことができる。   In a preferred embodiment of the present invention, parameters for driving a motor operated in the JOG mode can be registered. This registration can be performed by operating the operation unit of the motor drive device. In other words, the personal computer can be registered without having to connect to the motor drive device. As a more preferred embodiment, a test operation for operating the motor based on the registered parameters can be performed. If the result of the test operation is good, the parameter can be set by operating the operation unit. In JOG mode, the motor operation according to the user's intention, the registration of parameters, and then the test operation according to the registered parameters, and the series of operations for setting the parameters can be performed sufficiently even without being an electrical expert. . Therefore, when the specialist of the machine performs installation and adjustment of the machine that is substantially controlled by the motor driving device according to the present invention, the specialist of the mechanical system is required until the setting work without bothering the hands of the electrical specialist. Can be done with the hands of the house.

前述した技術的課題は、本発明の他の観点によれば、
運用時の前記上位装置からの信号を受け付けてモータ駆動制御を行う第1モードと、前記上位装置からの信号を無視する第2モードとを有し、ユーザの操作によって前記第1モードと前記第2モードとを択一的に切り替えるためのモード切替スイッチと、
前記第2モードのときにユーザが選択可能なJOGモードと、を有するモータ駆動装置を、その制御対象であるモータに接続する工程と、
前記第2モードであり且つ前記JOGモードが選択されたときに、操作部をユーザが操作することにより該ユーザの操作に対応した前記モータを動作させることにより位置合わせする工程と、
ユーザが前記操作部を操作することにより、前記位置合わせする工程に関連したパラメータを登録する工程と、
前記第2モードであるときに、前記登録したパラメータに基づいて前記モータをテスト運転させる工程と、を有するモータ駆動装置の動作確認方法を提供することにより達成される。
According to another aspect of the present invention, the aforementioned technical problem is
A first mode that receives a signal from the host device during operation and performs motor drive control; and a second mode that ignores a signal from the host device, and the first mode and the first mode are operated by a user operation. A mode selector switch for selectively switching between two modes;
Connecting a motor driving device having a JOG mode selectable by the user in the second mode to a motor to be controlled;
When the second mode and the JOG mode is selected, the user operates the operation unit to operate the motor corresponding to the user's operation to perform alignment,
A step of registering parameters related to the alignment step by a user operating the operation unit;
This is achieved by providing a method for confirming the operation of the motor drive device, comprising the step of performing a test operation of the motor based on the registered parameters when in the second mode.

本発明の他の目的、本発明の作用効果は、以下に説明する本発明の好ましい実施例の詳細な説明から明らかになろう。   Other objects of the present invention and the effects of the present invention will become apparent from the following detailed description of the preferred embodiments of the present invention.

制御盤に配置した実施例の複数のモータアンプを斜め前方から見た斜視図である。It is the perspective view which looked at the several motor amplifier of the Example arrange | positioned at the control panel from diagonally forward. 図1の複数のモータアンプを斜め後方から見た斜視図である。It is the perspective view which looked at the plurality of motor amplifiers of FIG. 1 from diagonally backward. 実施例のモータアンプの前面の構成を説明するための正面図である。It is a front view for demonstrating the structure of the front surface of the motor amplifier of an Example. I/Oタイプのモータアンプとその上位装置であるPLCとの接続を説明するための図である。It is a figure for demonstrating the connection of I / O type motor amplifier and PLC which is the high-order apparatus. パルス列タイプのモータアンプとその上位装置であるPLCとの接続を説明するための図である。It is a figure for demonstrating the connection of pulse train type motor amplifier and PLC which is the host device. I/Oタイプのモータアンプのブロック図である。It is a block diagram of an I / O type motor amplifier. パルス列タイプのモータアンプのブロック図である。It is a block diagram of a pulse train type motor amplifier. モータアンプの制御の一例を説明するための図である。It is a figure for demonstrating an example of control of a motor amplifier. 複数のモータアンプとその上位装置であるPLCとの接続方法の一例を説明するための図である。It is a figure for demonstrating an example of the connection method of several motor amplifier and PLC which is the high-order apparatus. 複数のモータアンプとその上位装置であるPLCとの接続方法の他の例を説明するための図である。It is a figure for demonstrating the other example of the connection method of several motor amplifier and PLC which is the high-order apparatus. 実施例のモータアンプに設けられた操作部を使った各種の設定に関連した表示の遷移を説明するためのフロー図である。It is a flowchart for demonstrating the transition of the display relevant to the various settings using the operation part provided in the motor amplifier of an Example. 実施例のモータアンプの操作部を使ってユーザが設定可能な原点復帰パラメータの設定モードでの表示の遷移を説明するための図である。It is a figure for demonstrating the transition of the display in the setting mode of the origin return parameter which a user can set using the operation part of the motor amplifier of an Example. 実施例のモータアンプの操作部を使ってユーザが設定可能なシステムパラメータの設定モードでの表示の遷移を説明するための図である。It is a figure for demonstrating the transition of the display in the setting mode of the system parameter which a user can set using the operation part of the motor amplifier of an Example. 実施例のモータアンプの操作部を使ってユーザが設定可能な複数のモータに共通のパラメータの設定モードでの表示の遷移を説明するための図である。It is a figure for demonstrating the transition of the display in the parameter setting mode common to the some motor which a user can set using the operation part of the motor amplifier of an Example. 実施例のモータアンプの複数の動作モードを説明するための図である。It is a figure for demonstrating the several operation mode of the motor amplifier of an Example. 実施例のモータアンプの操作部を使って行うことのできる操作の流れを具体例で説明するためのフロー図である。It is a flowchart for demonstrating the flow of operation which can be performed using the operation part of the motor amplifier of an Example by a specific example. 実施例のモータアンプに設置されたモード切替スイッチで切替え可能なティーチングモード(「TEACH」)と自動モード(「AUTO」)とで実行できる内容の一つの具体例を説明するための図である。It is a figure for demonstrating one specific example of the content which can be performed by the teaching mode ("TEACH") and automatic mode ("AUTO") which can be switched with the mode change switch installed in the motor amplifier of an Example. 実施例のモータアンプに設置されたモード切替スイッチで切替え可能なティーチングモード(「TEACH」)と自動モード(「AUTO」)とで実行できる内容の他の具体例を説明するための図である。It is a figure for demonstrating the other specific example of the content which can be performed by the teaching mode ("TEACH") and automatic mode ("AUTO") which can be switched with the mode change switch installed in the motor amplifier of an Example. 実施例のモータアンプに設置されたモード切替スイッチの切替え操作を伴う作業の基本フロー図である。It is a basic flowchart of the operation | work accompanied by the switching operation of the mode change switch installed in the motor amplifier of an Example. ティーチングモード(「TEACH」)での表示の遷移図である。FIG. 10 is a transition diagram of display in the teaching mode (“TEACH”). 図20に続くティーチングモード(「TEACH」)での表示の遷移図である。FIG. 21 is a display transition diagram in the teaching mode (“TEACH”) following FIG. 20. 図21に続くティーチングモードでの表示の遷移図である。FIG. 22 is a display transition diagram in the teaching mode following FIG. 21. 運用時の自動モード(「AUTO」)での制御の基本フロー図である。It is a basic flow figure of control in automatic mode ("AUTO") at the time of operation. 自動モード(「AUTO」)で選択可能な限定表示モードでの表示の遷移図である。FIG. 10 is a transition diagram of display in a limited display mode that can be selected in an automatic mode (“AUTO”). 自動モード(「AUTO」)で選択可能なフル表示モードでの表示の遷移図である。FIG. 6 is a transition diagram of display in a full display mode that can be selected in an automatic mode (“AUTO”). アラームモードでの表示及びその解除を説明するための図である。It is a figure for demonstrating the display in the alarm mode, and its cancellation | release. 非常時でのモータ緊急停止の制御例を説明するためのフローチャートである。It is a flowchart for demonstrating the example of control of the motor emergency stop in emergency. 自動モード(「AUTO」)でモータが動作している最中ではモード切替スイッチの操作を無効にする、その具体的な制御例を説明するためのフローチャートである。7 is a flowchart for explaining a specific control example in which the operation of the mode changeover switch is disabled while the motor is operating in the automatic mode (“AUTO”). ティーチングモード(「TEACH」)に含まれるJOGモードでモータを動作させている最中ではモード切替スイッチの操作を無効にする、その具体的な制御例を説明するためのフローチャートである。7 is a flowchart for explaining a specific control example in which the operation of the mode changeover switch is disabled while the motor is operating in the JOG mode included in the teaching mode (“TEACH”). モータアンプの前面構造の変形例を説明するための正面図である。It is a front view for demonstrating the modification of the front structure of a motor amplifier.

以下に、添付の図面に基づいて本発明の好ましい実施例を説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

図1〜図3は実施例のモータ駆動装置の外観を説明するための図である。図1は複数のモータアンプ100を配列した例を説明するための図である。図1の参照符号200は通信ユニットを示す(詳細は後述する)。通信ユニット200は、複数のモータアンプ100に電源を供給すると共に、モータ8の駆動電源でもある。図2は、制御盤(図示せず)に含まれるDINレール2にモータアンプ100を組み付けた例を説明するための図である。制御盤の内部にモータアンプ100を組み付ける方法として、DINレール2を使わずに基台に固定するようにしてもよい。図3は、モータアンプ100の前面の構成を説明するための正面図である。周知のように、制御盤に搭載されたモータアンプ100は、その上位装置であるPLC(後に説明するCPUユニット4が相当する)に接続される。PLCの設定はPLCに接続されたパーソナルコンピュータを使って行われる。PLCは各種のセンサからの信号を受け取り、ラダー図によって作成された制御プログラムに従ってモータアンプ100に指令信号を供給する。   1-3 is a figure for demonstrating the external appearance of the motor drive device of an Example. FIG. 1 is a diagram for explaining an example in which a plurality of motor amplifiers 100 are arranged. Reference numeral 200 in FIG. 1 indicates a communication unit (details will be described later). The communication unit 200 supplies power to the plurality of motor amplifiers 100 and is also a driving power source for the motor 8. FIG. 2 is a diagram for explaining an example in which the motor amplifier 100 is assembled to the DIN rail 2 included in the control panel (not shown). As a method of assembling the motor amplifier 100 inside the control panel, the motor amplifier 100 may be fixed to the base without using the DIN rail 2. FIG. 3 is a front view for explaining the configuration of the front surface of the motor amplifier 100. As is well known, the motor amplifier 100 mounted on the control panel is connected to a PLC (corresponding to a CPU unit 4 to be described later) which is a host device. The setting of the PLC is performed using a personal computer connected to the PLC. The PLC receives signals from various sensors and supplies command signals to the motor amplifier 100 in accordance with a control program created by a ladder diagram.

実施例のモータアンプ100は、後に説明する位置決め機能を内蔵し、且つ、ユーザが操作する操作部を設けて、パーソナルコンピュータを使うことなくモータアンプ100でユーザが主要なパラメータを設定できる機能を有している。更に、モータアンプ100は、ユーザに求める操作を必要最小限にすることを目指して設計されている。更に、設定作業の繁雑化を回避する、換言すればユーザインターフェースを高めたなかでユーザの簡単な操作で且つ必要最小限のパラメータを設定するだけで直ぐにモータアンプ100を使える状態になることを目指して設計されている。   The motor amplifier 100 of the embodiment incorporates a positioning function to be described later, and has a function that allows the user to set main parameters with the motor amplifier 100 without using a personal computer by providing an operation unit operated by the user. doing. Furthermore, the motor amplifier 100 is designed with the aim of minimizing the operations required of the user. Furthermore, it is aimed to avoid complication of setting work, in other words, to make the motor amplifier 100 usable immediately by setting the minimum necessary parameters with simple operation of the user while enhancing the user interface. Designed.

モータアンプの前面の構成(図1、図3)
図1、図3を参照して、モータアンプ100は表示部102を有し、この表示部102がモータアンプ筐体の略長方形状の前面に対して大きな面積を占めている。当業者であれば、この主要な部分を占める大きさの表示部102を見ることでモータアンプ100が従来に比べて極端に小型化されていることに気付くであろうし、また、相対的に大きな表示部102を備えていることに気付くであろう。なお、モータアンプ筐体の略長方形状の前面は、上下方向の長辺と左右方向の短辺を有しており、短辺の長さは長辺の長さの略2分の1以下である。このように、本実施形態に係るモータアンプ100は左右方向(幅方向)にスリムな形状になっている。
Front configuration of motor amplifier (Figs. 1 and 3) :
Referring to FIGS. 1 and 3, the motor amplifier 100 has a display unit 102, which occupies a large area with respect to the substantially rectangular front surface of the motor amplifier housing. A person skilled in the art will notice that the motor amplifier 100 is extremely downsized compared to the prior art by looking at the display portion 102 that occupies this major portion, and is relatively large. It will be noted that the display unit 102 is provided. In addition, the substantially rectangular front surface of the motor amplifier housing has a long side in the vertical direction and a short side in the left-right direction, and the length of the short side is approximately one half or less of the length of the long side. is there. Thus, the motor amplifier 100 according to this embodiment has a slim shape in the left-right direction (width direction).

モータアンプ100は直方体の形状を有し、制御盤には縦置きにした状態で設置される。このことから、制御盤での設置状態を念頭に置いて上下という言葉を使って略長方形の前面の構成を説明する。図3を参照して、表示部102は複数の区分された表示エリア104を有している。具体的には、表示部102は、長尺の第1表示エリア104aと、小さな矩形の第2表示エリア104bとを有している。第1表示エリア104aは、モータアンプ前面の一方の側部において下部から上端部まで延びる長尺の長方形の形状を有している。第2表示エリア104bは、モータアンプ前面の他方の側部において上下方向中間部分に位置する短尺の長方形の形状を有している。勿論、第2表示エリア104bも第1表示エリア104aと実質的に同じ大きさを有していてもよい。すなわち、第2表示エリア104bは第1表示エリア104aに対して右隣りに配置されている。この第2表示エリア104bには、モータアンプ100の現在の動作状態や第1表示エリア104aに表示されている数字列や文字列が何に関連したキャラクタであるかを識別するための表示が行われる。要するに、第2表示エリア104bは、第1表示エリア104aに表示されている数字列の意味合いを識別するための識別情報を表示している。   The motor amplifier 100 has a rectangular parallelepiped shape, and is installed in a vertically placed state on the control panel. Therefore, the configuration of the substantially rectangular front surface will be described using the words “upper and lower” with the installation state on the control panel in mind. Referring to FIG. 3, display unit 102 has a plurality of divided display areas 104. Specifically, the display unit 102 includes a long first display area 104a and a small rectangular second display area 104b. The first display area 104a has a long rectangular shape extending from the lower part to the upper end part on one side of the front surface of the motor amplifier. The second display area 104b has a short rectangular shape located at the middle portion in the vertical direction on the other side of the front surface of the motor amplifier. Of course, the second display area 104b may have substantially the same size as the first display area 104a. That is, the second display area 104b is arranged on the right side with respect to the first display area 104a. In the second display area 104b, a display for identifying the current operating state of the motor amplifier 100 and what the character string or character string displayed in the first display area 104a is related to is displayed. Is called. In short, the second display area 104b displays identification information for identifying the meaning of the numeric string displayed in the first display area 104a.

第1表示エリア104a及び第2表示エリア104bは、例えば液晶ディスプレイ、有機ELディスプレイ、ドットマトリックスディスプレイなどのディスプレイであってもよいが、実施例では、7セグメントディスプレイ(1キャラクタを表示するために個別点灯・個別消灯可能な7個のセグメントから構成された7セグメント表示器)が採用されている。長尺の第1表示エリア104aの表示は、その態様が図1から良く分かるように横向きになっている。第2表示エリア104bも同じである。すなわち、数字、文字などの各キャラクタが横向きに表示され、そして複数のキャラクタが縦方向に配列されている。図1を参照して説明すれば、長尺の第1表示エリア104aには、上から下に向けて順に「1」「2」「3」「4」「5」「6」「7」の7つのキャラクタが表示されている。この表示は、その表示の一例として数字列「1234567」の意味である。このように各キャラクタを横向きに表示し、そして、複数のキャラクタを縦方向に配列することで、幅狭の第1表示エリア104aに7桁の数値を表示することができる。また、別の言い方をすれば、複数のキャラクタの配列方向(上下方向)は、複数のモータアンプ100が組み付けられるDINレール2の延伸方向と略直交し、且つ、複数のモータアンプ100の組み付け方向とも略直交している。さらに別の言い方をすれば、複数のキャラクタの配列方向(上下方向)は、複数のモータアンプ100が連結される連結方向と略直交している。   The first display area 104a and the second display area 104b may be displays such as a liquid crystal display, an organic EL display, and a dot matrix display, but in the embodiment, a 7-segment display (individually displayed to display one character). A 7-segment display composed of 7 segments that can be turned on / off individually is employed. As shown in FIG. 1, the display of the long first display area 104a is horizontally oriented. The same applies to the second display area 104b. That is, characters such as numbers and letters are displayed horizontally, and a plurality of characters are arranged vertically. Referring to FIG. 1, the long first display area 104a has “1”, “2”, “3”, “4”, “5”, “6”, and “7” in order from top to bottom. Seven characters are displayed. This display means the numeric string “1234567” as an example of the display. Thus, by displaying each character horizontally and arranging a plurality of characters in the vertical direction, a 7-digit numerical value can be displayed in the narrow first display area 104a. In other words, the arrangement direction (vertical direction) of the plurality of characters is substantially orthogonal to the extending direction of the DIN rail 2 to which the plurality of motor amplifiers 100 are assembled, and the direction in which the plurality of motor amplifiers 100 are assembled. Both are substantially orthogonal. In other words, the arrangement direction (vertical direction) of the plurality of characters is substantially orthogonal to the connection direction in which the plurality of motor amplifiers 100 are connected.

換言すれば、例えば7桁の数値を横並びに表示するとしたら、モータアンプ前面の幅寸法を大きくするか、表示するキャラクタを小さくせざるを得ない。最も好ましい態様として、第1表示エリア104aの上つまり上記「1234567」の数字列の左に「*」又は「−」を表示可能な付記的な表示部116を追加に設けるのがよい。この追加の表示部116は、上記「1234567」の数字列が意味する位置座標が表示可能な数値よりも大きいオーバーフロー値の場合には「*」を表示し、マイナス座標の場合には「−」を表示する。例えば第1表示エリア104aを液晶ディスプレイで構成する場合には、この追加の表示部116を含めて液晶ディスプレイで表示するようにしてもよい。   In other words, for example, if 7-digit numerical values are displayed side by side, the width of the front surface of the motor amplifier must be increased or the character to be displayed must be reduced. As a most preferable mode, it is preferable to additionally provide an additional display unit 116 capable of displaying “*” or “−” on the first display area 104a, that is, to the left of the above-mentioned numeric string “1234567”. The additional display unit 116 displays “*” when the position coordinate indicated by the numeric string “1234567” is larger than the displayable numerical value, and displays “−” when the coordinate is negative. Is displayed. For example, when the first display area 104a is configured by a liquid crystal display, the additional display unit 116 may be displayed on the liquid crystal display.

モータアンプ100に、その前面の主要部分を占める表示部102を設けたことから、桁数の多い数値を表示することができるのは前述した通りであるが、この比較的大きな表示部102を使ってモータアンプ100のエラー表示を、エラーの内容が直感的に分かる文字列、例えば過負荷のときに「overRoad」(8桁以上の表示が可能な場合)というような文字列で表示することができる。これによりユーザはエラーの内容を瞬時に把握することができる。なお、従来はエラーが発生したときにモータアンプ100又はPLCにパーソナルコンピュータを接続して、このパーソナルコンピュータでエラー内容を表示させるようになっていたが、実施例では、パーソナルコンピュータを使うことなくエラー内容を直感的に把握することができる。   Since the motor amplifier 100 is provided with the display unit 102 that occupies the main part of the front surface thereof, it is possible to display a numerical value having a large number of digits as described above, but this relatively large display unit 102 is used. The error display of the motor amplifier 100 can be displayed with a character string that makes the error contents intuitively understandable, for example, a character string such as “overRoad” (when 8 or more digits can be displayed) in the event of an overload. it can. Thereby, the user can grasp the contents of the error instantly. Conventionally, when an error occurs, a personal computer is connected to the motor amplifier 100 or PLC and the error content is displayed on the personal computer. However, in the embodiment, the error is not used without using the personal computer. The contents can be grasped intuitively.

勿論、モータアンプ100に、その前面の主要部分を占める表示部102を設けることで桁数の多い数値を表示できることから、モータ8が動作することにより移動又は回転する部材の現在座標又は目標座標(移動量を含む)を数多くの桁数で表示することができる。表示部102に表示されている桁数の多い座標値や移動量を確認しながらユーザは精緻な位置合わせを行うことができる。例えば、表示部102において4桁の数字しか表示できないとなると粗い位置決めしかできない。しかし、本実施形態に係るモータアンプ100のように、表示部102にて5桁以上の数字が表示できれば、高精度に位置決めすることが可能になる。   Of course, since the motor amplifier 100 is provided with the display unit 102 that occupies the main part of the front surface thereof, a numerical value having a large number of digits can be displayed. Can be displayed in many digits. The user can perform precise positioning while confirming the coordinate values and movement amounts with a large number of digits displayed on the display unit 102. For example, if only 4 digits can be displayed on the display unit 102, only rough positioning can be performed. However, if the display unit 102 can display five or more digits as in the motor amplifier 100 according to the present embodiment, positioning can be performed with high accuracy.

引き続き図3を参照して、モータアンプ前面は、また、その下端部にマニュアル操作部106を有している。操作部106は、プッシュ式のSET/TESTキー110と、プッシュ式のモードキー(Mキー)112と、プッシュ式の4つの方向キー114とで構成されている。方向キー114に含まれるアップキーを参照符号114aで示し、ダウンキーを参照符号114bで示し、ライトキーを参照符号114cで示し、レフトキーを参照符号114dで示してある。方向キーとして十字形状のキーやJOGスティックを採用してもよい。操作部106を構成するキー110、112、114を使って各種の設定が可能である。例えば、システムを組み立てて位置合わせを行うときに、後に詳しく説明するように、ライトキー114c又はレフトキー114dを押し下げてモータ8を右回転又は左回転させて位置合わせすることで所望のポジションの位置座標や移動量を設定することができる。アップダウンキー114a、114bは、例えば表示部102に表示されている数値を上げ下げ(増減)するのに用いられる。勿論、この操作部106の各種キー110、112、114をタッチパネルで構成してもよく、このタッチパネルは上述した表示部102と一体であってもよい。   Still referring to FIG. 3, the front surface of the motor amplifier also has a manual operation unit 106 at the lower end thereof. The operation unit 106 includes a push-type SET / TEST key 110, a push-type mode key (M key) 112, and four push-type direction keys 114. The up key included in the direction key 114 is indicated by reference numeral 114a, the down key is indicated by reference numeral 114b, the right key is indicated by reference numeral 114c, and the left key is indicated by reference numeral 114d. You may employ | adopt a cross-shaped key and a JOG stick as a direction key. Various settings can be made using the keys 110, 112, and 114 constituting the operation unit 106. For example, when the system is assembled and aligned, as will be described in detail later, the right key 114c or the left key 114d is pressed down and the motor 8 is rotated clockwise or counterclockwise to align the position coordinates of a desired position. And the amount of movement can be set. The up / down keys 114a and 114b are used to increase / decrease (increase / decrease) the numerical value displayed on the display unit 102, for example. Of course, the various keys 110, 112, and 114 of the operation unit 106 may be configured by a touch panel, and the touch panel may be integrated with the display unit 102 described above.

モータアンプ前面には、ユーザが操作するストップキー118が設けられている。ストップキー118は、プッシュ式のボタンで構成されており、モータアンプ前面の左上角隅部に配置されている。すなわち、第1表示エリア104aと第2表示エリア104bとで囲まれた左上角隅部にストップキー118が配置されている。   A stop key 118 operated by the user is provided on the front surface of the motor amplifier. The stop key 118 is composed of a push-type button, and is arranged at the upper left corner of the front surface of the motor amplifier. That is, the stop key 118 is arranged at the upper left corner surrounded by the first display area 104a and the second display area 104b.

このストップキー118は、後に説明するように緊急時に制御対象のモータを緊急停止する機能を有し、モータを緊急停止するのに特化した専用のスイッチである。変形例として、例えばモードキー112などの任意のキーにこのモータ緊急停止機能を付加的に割り付けてもよい。誤操作を回避するために、好ましくはストップキー118は操作部106から大きく離れた位置に配置される。すなわち、筐体の前面は上下方向を長手方向としているが、この長手方向に沿って、ストップキー118と操作部106とが分離して配置されている。ストップキー118の配置位置の変形例として、モータアンプ前面の上端部の幅方向中央部分に配置してもよいし、右上角隅部に配置してもよい。ストップキー118は非常時に限定して操作すべきスイッチであることから、ストップキー118の色を、操作部106を構成する各種のキーとは異なる色(例えば一般的に非常時を認識させる赤色)や外観形状、凹凸などの手触りを、操作部106に配置された各種キー110、112、114から視覚、触覚で差別化できるようにするのが好ましい。   The stop key 118 is a dedicated switch that has a function of urgently stopping the motor to be controlled in an emergency, as will be described later, and specialized for urgently stopping the motor. As a modification, the motor emergency stop function may be additionally assigned to an arbitrary key such as the mode key 112, for example. In order to avoid erroneous operation, the stop key 118 is preferably arranged at a position far away from the operation unit 106. That is, the front surface of the housing has a longitudinal direction as a longitudinal direction, and the stop key 118 and the operation unit 106 are separated from each other along the longitudinal direction. As a modified example of the arrangement position of the stop key 118, it may be arranged at the center in the width direction of the upper end of the front surface of the motor amplifier, or may be arranged at the upper right corner. Since the stop key 118 is a switch that should be operated only in an emergency, the color of the stop key 118 is different from the various keys that constitute the operation unit 106 (for example, red that generally recognizes an emergency). It is preferable that the touch such as the appearance, the unevenness, and the like can be differentiated visually and tactilely from the various keys 110, 112, and 114 arranged on the operation unit 106.

モータアンプ前面の右上部分、つまり第1表示エリア104aと、その右隣に位置し、第1表示エリア104aの下端の高さレベルと一致した下端を備えた比較的短尺の第2表示エリア104bとで囲まれた右上部分120には、第1表示エリア104aに沿って複数(この実施例では6つ)のシステム・インジケータ122が一列に配置されている。一番上の第1インジケータ122aには「SYS」の文字が付記されている。「SYS」はシステムを意味する。上から二番目の第2インジケータ122bには「ORG」の文字が付記されている。「ORG」は原位置を意味する。上から三番目の第3インジケータ122cには「Pt1」の文字が付記されている。「Pt1」は第1ポジションを意味する。上から四番目の第4インジケータ122dには「Pt2」の文字が付記されている。「Pt2」は第2ポジションを意味する。上から五番目の第5インジケータ122eには「Pt3」の文字が付記されている。「Pt3」は第3ポジションを意味する。一番下の第6インジケータ122fには「Pt4」の文字が付記されている。「Pt4」は第4ポジションを意味する。これら第1〜第4ポジションの意味については後に説明する。   A relatively short second display area 104b having a lower end coincident with a height level of the lower end of the first display area 104a, which is located on the right upper portion of the front surface of the motor amplifier, that is, the first display area 104a A plurality of (six in this embodiment) system indicators 122 are arranged in a row along the first display area 104a in the upper right portion 120 surrounded by. The uppermost first indicator 122a is marked with the letters “SYS”. “SYS” means system. The character “ORG” is added to the second indicator 122b that is second from the top. “ORG” means the original position. The third indicator 122c third from the top is marked with “Pt1”. “Pt1” means the first position. The fourth indicator 122d from the top is marked with the letters “Pt2”. “Pt2” means the second position. The fifth indicator 122e from the top is marked with the letters “Pt3”. “Pt3” means the third position. A character “Pt4” is added to the bottom sixth indicator 122f. “Pt4” means the fourth position. The meaning of these first to fourth positions will be described later.

モータアンプ前面の右上角隅部、つまり右上部分120の一番上にステータス・インジケータ124が配置されている。このステータス・インジケータ124は、モータアンプ100が正常に動作しているときには緑色に点灯する。他方、エラーが発生したときには赤色に点灯又は点滅してユーザにアラームを発する。   A status indicator 124 is arranged at the upper right corner of the front surface of the motor amplifier, that is, at the top of the upper right portion 120. The status indicator 124 is lit in green when the motor amplifier 100 is operating normally. On the other hand, when an error occurs, it lights up or blinks in red and issues an alarm to the user.

このステータス・インジケータ124の直ぐ下には、当該モータアンプ100に与えられた局番を表示・設定するロータリスイッチ126が配置されている。また、モータアンプ前面の右上部分120には、局番表示・設定ロータリスイッチ126と第2表示エリア104bとの間にモード切替スイッチ128が配設されている。モード切替スイッチ128は、モータアンプ100の動作及び表示の態様を切り替えるためのマニュアルスイッチであり、ユーザが操作することにより少なくとも2つの異なるモードの間で択一的に切り替えることができる。このモード切替スイッチ128はプッシュプッシュ式のボタンスイッチなどの任意のスイッチやタッチパネル式のディスプレイを採用してもよいが、この実施例ではスライド式の2位置スイッチが採用されている。後に詳しく説明するが、このモード切替スイッチ128をユーザが操作することにより、ティーチングモード(「TEACH」モード)と自動モード(「AUTO」モード)とを択一的に切り替えることができる。   A rotary switch 126 for displaying and setting the station number given to the motor amplifier 100 is disposed immediately below the status indicator 124. A mode changeover switch 128 is disposed between the station number display / setting rotary switch 126 and the second display area 104b in the upper right portion 120 on the front surface of the motor amplifier. The mode switch 128 is a manual switch for switching the operation and display mode of the motor amplifier 100, and can be selectively switched between at least two different modes by a user operation. The mode changeover switch 128 may be an arbitrary switch such as a push-push type button switch or a touch panel type display. In this embodiment, a slide type two-position switch is adopted. As will be described in detail later, the user can selectively switch between the teaching mode (“TEACH” mode) and the automatic mode (“AUTO” mode) by operating the mode switch 128.

ティーチングモード(「TEACH」モード)では、上位装置であるPLCからモータアンプ100を切り離した状態になる。他方、自動モードではモータアンプ100はPLCの指令を受ける状態になる。誤操作を回避するうえで、ユーザの明確な意図を伴うスイッチ機構を採用するのが好ましく、この観点でスライド式スイッチをモード切替スイッチ128として採用するのが合目的的であるが、これに限定されない。例えばプッシュボタンスイッチを例えば2秒間以上押し続ける「長押し」が行われたときに限定してモード切替えを行うようにしてもよい。他の例として、2つのキーを同時に操作することでモード切替えを行うようにしてもよい。   In the teaching mode (“TEACH” mode), the motor amplifier 100 is disconnected from the host device PLC. On the other hand, in the automatic mode, the motor amplifier 100 is in a state of receiving a command from the PLC. In order to avoid an erroneous operation, it is preferable to employ a switch mechanism with a clear intention of the user. From this viewpoint, it is suitable to employ a slide switch as the mode changeover switch 128, but the present invention is not limited to this. . For example, the mode switching may be performed only when a “long press” is performed in which the push button switch is pressed for 2 seconds or longer, for example. As another example, mode switching may be performed by simultaneously operating two keys.

全ての設定が完了した後は、運用のためにモード切替スイッチ128を自動モード(「AUTO」)にすることで、モータアンプ100は、設定されたパラメータに基づいて動作する。したがって、自動モードを運用モードと呼ぶことができる。他方、モータ8の動作位置、つまりこのモータ8によって駆動される部材の位置や移動量の設定やその設定変更が必要な場合には、モード切替スイッチ128をティーチングモード(「TEACH」モード)に切り替えた状態でライトキー114c又はレフトキー114dを押し下げてモータ8を右回転又は左回転させながら位置合わせすることで、その設定を行うことができる。この設定作業の過程で、現在座標、設定座標(移動量)が第1表示エリア104aに表示される。   After all the settings are completed, the motor amplifier 100 operates based on the set parameters by setting the mode switch 128 to the automatic mode (“AUTO”) for operation. Therefore, the automatic mode can be called the operation mode. On the other hand, when the operation position of the motor 8, that is, the position and movement amount of the member driven by the motor 8, or the setting change is necessary, the mode changeover switch 128 is switched to the teaching mode ("TEACH" mode). In this state, the right key 114c or the left key 114d is pressed down and the motor 8 is aligned while rotating clockwise or counterclockwise. In the course of this setting operation, the current coordinates and the set coordinates (movement amount) are displayed in the first display area 104a.

好ましい態様として時々刻々と変化する現在のモータ速度を表示するのが好ましい。実施例では、長尺の第1表示エリア104aの左側に第1表示エリア104aと平行に配置したインジケータ群130によってモータ速度の表示が行われる。このインジケータ群130を構成する各インジケータ(この実施例では8つのインジケータ)はバー形式でモータ速度を表示するようになっている。つまり、インジケータ群130は、モータ速度に応じて、点灯するインジケータの数が変化するように表示制御される。   As a preferred mode, it is preferable to display the current motor speed which changes from moment to moment. In the embodiment, the motor speed is displayed by the indicator group 130 arranged in parallel to the first display area 104a on the left side of the long first display area 104a. Each indicator constituting the indicator group 130 (eight indicators in this embodiment) displays the motor speed in a bar format. That is, the display of the indicator group 130 is controlled so that the number of indicators that are lit changes according to the motor speed.

モータアンプ100の種類(図4、図5)
モータアンプ100はその外観を実質的に共通にした2種類のアンプ100a、100bを有している。第1のモータアンプ100(I/O)を「I/Oタイプ」と呼び(図4)、第2のモータアンプ100(pls)を「パルス列タイプ」と呼ぶ(図5)。
Type of motor amplifier 100 (FIGS. 4 and 5) :
The motor amplifier 100 has two types of amplifiers 100a and 100b having substantially the same appearance. The first motor amplifier 100 (I / O) is called “I / O type” (FIG. 4), and the second motor amplifier 100 (pls) is called “pulse train type” (FIG. 5).

図4を参照してI/Oタイプのモータアンプ100(I/O)を説明すると、I/Oタイプのモータアンプ100(I/O)は、CPUユニット4(一般的にはPLC)に接続されたI/Oユニット6を通じてON/OFF信号を受け取り、モータアンプ100(I/O)で制御信号(パルス列)を生成して、このパルス列信号を制御対象であるモータ8に供給する。モータ8はパルス列のパルスの数に対応した角度だけ回転する。ここに、上位装置のCPUユニット4を構成するPLCユニットの制御プログラムは上述したように典型的にはラダー図で作成される。I/Oタイプのモータアンプ100(I/O)は、ステッピングモータに対して最適化できるように設計されているが、サーボモータに対しても実質的に同様に適用可能である。このことは、パルス列タイプのモータアンプ100(pls)についても同様である。   The I / O type motor amplifier 100 (I / O) will be described with reference to FIG. 4. The I / O type motor amplifier 100 (I / O) is connected to the CPU unit 4 (generally PLC). The ON / OFF signal is received through the I / O unit 6 generated, a control signal (pulse train) is generated by the motor amplifier 100 (I / O), and this pulse train signal is supplied to the motor 8 to be controlled. The motor 8 rotates by an angle corresponding to the number of pulses in the pulse train. Here, the control program for the PLC unit constituting the CPU unit 4 of the host device is typically created in a ladder diagram as described above. The I / O type motor amplifier 100 (I / O) is designed to be optimized for the stepping motor, but can be applied to the servo motor substantially in the same manner. The same applies to the pulse train type motor amplifier 100 (pls).

なお、ステッピングモータはモータアンプ100からの指令を一方的に受けて動作するため、モータアンプ100から指令されたパルス数よりも少ないパルス数しか動作しない「脱調」と呼ばれる動作エラーが発生し易いことが知られている。これに対応すべく、エンコーダを組み込んだステッピングモータが出現している。このエンコーダ付きのステッピングモータではエンコーダからの信号に基づいてフィードバック制御が可能になる。実施例では、エンコーダ無しのステッピングモータを制御対象として、その最適化設計が行われているが、変形例として、エンコーダ付きのステッピングモータを制御対象として、その最適化設計を行ってもよい。ステッピングモータに対する制御を最適化することで、ステッピングモータの脱調やモータ100に供給する電流値の最適化が可能になりモータの発熱を低減することができる。勿論、サーボモータを制御対象として、その最適化設計を行ってもよい。   Since the stepping motor operates unilaterally upon receiving a command from the motor amplifier 100, an operation error called “step-out” is likely to occur, in which only the number of pulses commanded from the motor amplifier 100 is operated. It is known. In order to cope with this, stepping motors incorporating encoders have appeared. In this stepping motor with an encoder, feedback control can be performed based on a signal from the encoder. In the embodiment, the optimization design is performed with a stepping motor without an encoder as a control target. However, as an alternative, the optimization design may be performed with a stepping motor with an encoder as a control target. By optimizing the control for the stepping motor, the stepping motor can be stepped out and the current value supplied to the motor 100 can be optimized, and the heat generation of the motor can be reduced. Of course, the optimization design may be performed with the servo motor as the control target.

図5を参照してパルス列タイプのモータアンプ100(pls)を含むシステムを説明すると、CPUユニット4に接続された位置決めユニット10はユーザが設定したパラメータに基づいてモータ8に所望の動作をさせるための位置決め機能を有する。モータ8がステッピングモータである場合を例に位置決め機能を説明すると、ユーザが設定したパラメータに基づいてパルス列の総数と、当該パルス列に含まれるパルス間の時間間隔を演算するのが位置決め機能である。位置決めユニット10が生成したパルス列信号はモータアンプ100(pls)に供給される。このパルス列信号を受け取ったモータアンプ100(pls)は、制御対象であるモータ8に対して制御信号(例えばパルス列など)を供給する。位置決めユニット10の詳しい構成及び機能は後に説明する。   Referring to FIG. 5, a system including a pulse train type motor amplifier 100 (pls) will be described. The positioning unit 10 connected to the CPU unit 4 causes the motor 8 to perform a desired operation based on parameters set by the user. It has a positioning function. The positioning function will be described taking the case where the motor 8 is a stepping motor as an example. The positioning function calculates the total number of pulse trains and the time interval between pulses included in the pulse train based on parameters set by the user. The pulse train signal generated by the positioning unit 10 is supplied to the motor amplifier 100 (pls). Upon receiving this pulse train signal, the motor amplifier 100 (pls) supplies a control signal (for example, a pulse train) to the motor 8 to be controlled. The detailed configuration and function of the positioning unit 10 will be described later.

I/Oタイプのモータアンプ100(I/O)及びパルス列タイプのモータアンプ100(pls)の具体的な構成(図6、図7)
図6はI/Oタイプのモータアンプ100(I/O)のブロック図である。図7はパルス列タイプのモータアンプ100(pls)のブロック図である。I/Oタイプとパルス列タイプの双方に共通する要素には同じ参照符号を付して説明する。
Specific configurations of the I / O type motor amplifier 100 (I / O) and the pulse train type motor amplifier 100 (pls) (FIGS. 6 and 7) :
FIG. 6 is a block diagram of an I / O type motor amplifier 100 (I / O). FIG. 7 is a block diagram of a pulse train type motor amplifier 100 (pls). Elements common to both the I / O type and the pulse train type will be described with the same reference numerals.

図6を参照して、I/Oタイプのモータアンプ100(I/O)は、PLCユニット群に含まれるI/Oユニット6を通じて信号を受け取るI/Oインターフェース12を有し、このI/Oインターフェース12を介して制御部14にON/OFF信号が供給される。制御部14には、前述した操作部106(SET/TESTキー110、モードキー112、方向キー114の他にストップキー118:図3)から信号が供給される。また、モータアンプ100(I/O)はパラメータ記憶部16を有し、このパラメータ記憶部16に保存されている各種のパラメータが必要に応じて書き換え又は制御部14に供給される。   Referring to FIG. 6, an I / O type motor amplifier 100 (I / O) has an I / O interface 12 that receives a signal through an I / O unit 6 included in a PLC unit group. An ON / OFF signal is supplied to the control unit 14 via the interface 12. Signals are supplied to the control unit 14 from the operation unit 106 (the stop key 118: FIG. 3 in addition to the SET / TEST key 110, the mode key 112, and the direction key 114). The motor amplifier 100 (I / O) has a parameter storage unit 16, and various parameters stored in the parameter storage unit 16 are rewritten or supplied to the control unit 14 as necessary.

制御部14はモータアンプ100(I/O)の全体(表示エリア104(図3)を含む)を統合的に制御すると共に各種の演算を行う。制御部14は、また、位置決め指令部18と協働して制御対象のモータ8に所望の動作をさせる演算処理を行う。モータ8は、サーボモータであってもよいし、ステッピングモータであってもよい。図8を参照して、ポイントpt(n)においてモータ8に図示の動作をさせる場合、ユーザが設定したモータ速度(例えば100pls/s)、移動距離(回転角度)(例えば500pls/s)、場合によっては加速・減速レート(例えば10pls/s/ms)に基づいてポイントXでのモータ8の動作を規定するのに必要な演算処理が行われる。すなわち、図8に示すように、初速、加速レート、目標速度、減速レート、終速で規定される六角形の面積データに基づいて、この面積と等価の移動距離に到達するようにモータ8を動作させるための演算処理に基づく演算が行われる。モータ8に供給するパルス駆動電流の周期がモータ速度となる。   The control unit 14 controls the entire motor amplifier 100 (I / O) (including the display area 104 (FIG. 3)) and performs various calculations. The control unit 14 also performs arithmetic processing for causing the motor 8 to be controlled to perform a desired operation in cooperation with the positioning command unit 18. The motor 8 may be a servo motor or a stepping motor. Referring to FIG. 8, when the motor 8 performs the illustrated operation at the point pt (n), the motor speed (for example, 100 pls / s) and the movement distance (rotation angle) (for example, 500 pls / s) set by the user. Depending on the acceleration / deceleration rate (for example, 10 pls / s / ms), the calculation processing necessary to define the operation of the motor 8 at the point X is performed. That is, as shown in FIG. 8, based on the hexagonal area data defined by the initial speed, the acceleration rate, the target speed, the deceleration rate, and the final speed, the motor 8 is adjusted so as to reach a moving distance equivalent to this area. An operation based on an operation process for operating is performed. The period of the pulse drive current supplied to the motor 8 is the motor speed.

位置決め指令部18は、パラメータ記憶部16から必要とするパラメータを読み出し、このユーザが設定したパラメータに基づいてモータ8に所望の動作をさせるための指令情報(例えばパルス列)を生成する機能を有する。位置決め指令部18が生成した指令情報は駆動信号出力部20に供給される。モータ8は駆動信号出力部20からパルス駆動電流を受け取る。このパルス駆動電流によってモータ8は上記の動作を実行することになる。   The positioning command unit 18 has a function of reading out necessary parameters from the parameter storage unit 16 and generating command information (for example, a pulse train) for causing the motor 8 to perform a desired operation based on the parameters set by the user. The command information generated by the positioning command unit 18 is supplied to the drive signal output unit 20. The motor 8 receives a pulse drive current from the drive signal output unit 20. The motor 8 performs the above operation by this pulse drive current.

図6を引き続き参照して、I/Oタイプのモータアンプ100(I/O)は過熱検知部22を有する。過熱検知部22は、モータアンプ100(I/O)の内部に配置したサーミスタで構成され、このサーミスタがモータアンプ100(I/O)内部の過熱を検知すると、制御部14は直ちにモータ8の動作を緊急停止させると共にアラームを上位装置(CPUユニット4)に供給する。   With continued reference to FIG. 6, the I / O type motor amplifier 100 (I / O) has an overheat detection unit 22. The overheat detection unit 22 includes a thermistor disposed inside the motor amplifier 100 (I / O). When the thermistor detects overheat inside the motor amplifier 100 (I / O), the control unit 14 immediately detects the motor 8. The operation is urgently stopped and an alarm is supplied to the host device (CPU unit 4).

図7を参照してパルス列タイプのモータアンプ100(pls)の構成を説明すると、上位装置のCPUユニット4に接続された位置決めユニット10は、位置決め指令部30とパラメータ記憶部32とを有する。この位置決めユニット10の位置決め指令部30は、パラメータ記憶部32から所望のパラメータを読み込んで実質的にモータ8に所望の動作をさせるための指令情報を生成する。この位置決めユニット10が生成した指令情報に対応するパルス列信号がモータアンプ100(pls)の制御部14に供給される。なお、制御部14に供給されたパルス列信号は、位置決め指令部18によって生成される指令情報として駆動信号出力部20に供給されてもよいし、位置決め指令部18を経由せずにそのまま駆動信号出力部20に供給されてもよい(この場合、制御部14と駆動信号出力部20は位置決め指令部18を介在せずに電気的に接続される)。   The configuration of the pulse train type motor amplifier 100 (pls) will be described with reference to FIG. 7. The positioning unit 10 connected to the CPU unit 4 of the host device has a positioning command unit 30 and a parameter storage unit 32. The positioning command unit 30 of the positioning unit 10 reads a desired parameter from the parameter storage unit 32 and generates command information for causing the motor 8 to substantially perform a desired operation. A pulse train signal corresponding to the command information generated by the positioning unit 10 is supplied to the control unit 14 of the motor amplifier 100 (pls). The pulse train signal supplied to the control unit 14 may be supplied to the drive signal output unit 20 as command information generated by the positioning command unit 18, or may be output as it is without passing through the positioning command unit 18. (In this case, the control unit 14 and the drive signal output unit 20 are electrically connected without the positioning command unit 18 being interposed).

図6及び図7を参照して、I/Oタイプのモータアンプ100(I/O)とパルス列タイプのモータアンプ100(pls)とを対比して説明すると、I/Oタイプのモータアンプ100(I/O)(図6)を含むシステムでは、モータアンプ100(I/O)に含まれるメモリを使ったパラメータ記憶部16に次のパラメータが記憶される。つまり、(i)モータ8を動作させる単数又は複数のポイントPt(n)のパラメータ(座標又は移動量)、(ii)モータ8の原点復帰のパラメータ、(iii)システムパラメータがパラメータ記憶部16に記憶される。   The I / O type motor amplifier 100 (I / O) and the pulse train type motor amplifier 100 (pls) will be described with reference to FIG. 6 and FIG. 7. The I / O type motor amplifier 100 ( In the system including (I / O) (FIG. 6), the following parameters are stored in the parameter storage unit 16 using the memory included in the motor amplifier 100 (I / O). That is, (i) parameters (coordinates or movement amounts) of one or a plurality of points Pt (n) for operating the motor 8, (ii) parameters for returning the origin of the motor 8, and (iii) system parameters are stored in the parameter storage unit 16. Remembered.

システムパラメータにはモータアンプ100(I/O)の運転電流の上限値が含まれる。この上限値はユーザによって設定可能である。ユーザは、発熱量を念頭に置いてモータアンプ100(I/O)の最大電流値に対して例えば80%という数値を指定することで運転電流の上限値を設定することができる。システムパラメータは停止電流値を含む。停止電流値は、モータアンプ100(I/O)のホールド電流値つまり、モータ8が停止状態のときにモータ8が不用意に回転しないようにモータ8の動作を固定するための電流値を意味する。システムパラメータは、更に、分解能を含む。分解能とは、モータ8を一回転させるのに必要なパルス数を意味する(例えば1万のパルスでモータ8が一回転)。   The system parameters include the upper limit value of the operating current of the motor amplifier 100 (I / O). This upper limit value can be set by the user. The user can set the upper limit value of the operating current by designating a numerical value of, for example, 80% with respect to the maximum current value of the motor amplifier 100 (I / O) with the amount of heat generated in mind. The system parameter includes a stop current value. The stop current value means a hold current value of the motor amplifier 100 (I / O), that is, a current value for fixing the operation of the motor 8 so that the motor 8 does not rotate carelessly when the motor 8 is stopped. To do. The system parameters further include resolution. The resolution means the number of pulses necessary to rotate the motor 8 once (for example, the motor 8 rotates once with 10,000 pulses).

上記(i)〜(iii)のパラメータは、モータアンプ100(I/O)の操作部106を操作することによりユーザが任意に設定することができる。操作部106を使ってパラメータを設定するための操作に関しては後に詳しく説明する。勿論、モータアンプ100(I/O)にパーソナルコンピュータ(図示せず)や設定ツールを接続して、これらの外部機器によってパラメータを設定する構成を採用してもよい。   The parameters (i) to (iii) can be arbitrarily set by the user by operating the operation unit 106 of the motor amplifier 100 (I / O). The operation for setting parameters using the operation unit 106 will be described in detail later. Of course, a configuration in which a personal computer (not shown) or a setting tool is connected to the motor amplifier 100 (I / O) and parameters are set by these external devices may be employed.

引き続き図6を参照して、I/Oタイプのモータアンプ100(I/O)によるモータ8の制御を例示的に説明すると次の通りである。
(1)上位装置のCPUユニット4(PLC)から例えば第1ポイントにおいてモータ8を駆動させるコマンドをモータアンプ100(I/O)に供給する。
(2)モータアンプ100(I/O)は、パラメータ記憶部16(図6)から第1ポイントのパラメータを読み出して、この第1ポイントのパラメータに基づいて図8のモータ動作を実行させる指令情報を生成する。この指令情報を駆動信号出力部20に送る。
(3)駆動信号出力部20はモータ8にパルス状の駆動信号を供給する。これにより、モータ8は例えば図8に図示の動作を行うことになる。
The control of the motor 8 by the I / O type motor amplifier 100 (I / O) will be described as an example with reference to FIG.
(1) A command for driving the motor 8 at the first point, for example, is supplied from the CPU unit 4 (PLC) of the host device to the motor amplifier 100 (I / O).
(2) The motor amplifier 100 (I / O) reads the parameter of the first point from the parameter storage unit 16 (FIG. 6), and command information for executing the motor operation of FIG. 8 based on the parameter of the first point. Is generated. This command information is sent to the drive signal output unit 20.
(3) The drive signal output unit 20 supplies a pulsed drive signal to the motor 8. As a result, the motor 8 performs the operation shown in FIG. 8, for example.

図7を参照してパルス列タイプのモータアンプ100(pls)を含むシステムを説明すると、パルス列タイプのモータアンプ100(pls)に含まれるパラメータ記憶部16には上記(iii)のシステムパラメータが記憶される。他のパラメータである(i)、(ii)のパラメータ、つまり(i)「モータ8を動作させる単数又は複数のポイントPt(n)のパラメータ(位置座標や移動量)」、(ii)「モータ8の原点復帰のパラメータ」は、モータアンプ100(pls)の上位に位置づけられる位置決めユニット10のパラメータ記憶部32(図7)に記憶される。ユーザは、PLCにパーソナルコンピュータを接続して、このパーソナルコンピュータを使って位置決めユニット10のパラメータ記憶部32に上記(i)、(ii)を記憶させることができる。なお、変形例として、パルス列タイプのモータアンプ100(pls)の操作部106(図3)を使って位置決めユニット10のパラメータ記憶部32に上記 (i)、(ii)のパラメータを記憶させるようにしてもよい。   The system including the pulse train type motor amplifier 100 (pls) will be described with reference to FIG. 7. The parameter storage unit 16 included in the pulse train type motor amplifier 100 (pls) stores the above system parameters (iii). The Other parameters (i) and (ii), that is, (i) “parameters of one or more points Pt (n) for operating the motor 8 (position coordinates and movement amounts)”, (ii) “motor 8 ”is stored in the parameter storage unit 32 (FIG. 7) of the positioning unit 10 positioned above the motor amplifier 100 (pls). The user can connect the personal computer to the PLC and store the above (i) and (ii) in the parameter storage unit 32 of the positioning unit 10 using this personal computer. As a modification, the parameters (i) and (ii) are stored in the parameter storage unit 32 of the positioning unit 10 using the operation unit 106 (FIG. 3) of the pulse train type motor amplifier 100 (pls). May be.

引き続き図7を参照して、パルス列タイプのモータアンプ100(pls)を含むシステムは次の動作を実行する。
(1)位置決めユニット10は、この位置決めユニット10に含まれるパラメータ記憶部32から例えば第1ポイントのパラメータを読み出して、この第1ポイントのパラメータに基づいて図8のモータ動作を実行させる指令情報を生成する。
(2)CPUユニット4(PLC)のラダー図に基づくタイミングでCPUユニット4から位置決めユニット10にコマンドが供給されると、位置決めユニット10は第1ポイントの指令情報(パルス列)をモータアンプ100(pls)に供給する。
(3)モータアンプ100(pls)の制御部14は、受信したパルス列に基づいて駆動信号出力部20に動作指令を供給する。この動作指令は、位置決めユニット10から受け取った連続パルスをそのまま駆動信号出力部20に供給してもよいし、パルスの高さや周期を整形した後に、この整形後の連続パルスを駆動信号出力部20に供給してもよい。
(4)駆動信号出力部20はモータ8にパルス状の駆動信号を供給する。これにより、モータ8は例えば図8に図示の動作を行うことになる。
Still referring to FIG. 7, the system including the pulse train type motor amplifier 100 (pls) performs the following operation.
(1) The positioning unit 10 reads out, for example, the parameter of the first point from the parameter storage unit 32 included in the positioning unit 10, and provides command information for executing the motor operation of FIG. 8 based on the parameter of the first point. Generate.
(2) When a command is supplied from the CPU unit 4 to the positioning unit 10 at a timing based on the ladder diagram of the CPU unit 4 (PLC), the positioning unit 10 sends the command information (pulse train) of the first point to the motor amplifier 100 (pls ).
(3) The control unit 14 of the motor amplifier 100 (pls) supplies an operation command to the drive signal output unit 20 based on the received pulse train. As this operation command, the continuous pulse received from the positioning unit 10 may be supplied to the drive signal output unit 20 as it is, or after shaping the pulse height or cycle, the shaped continuous pulse is supplied to the drive signal output unit 20. May be supplied.
(4) The drive signal output unit 20 supplies a pulsed drive signal to the motor 8. As a result, the motor 8 performs the operation shown in FIG. 8, for example.

一般的に、複数のモータアンプ100を使って複数のモータ8の制御が行われる。この複数のモータ8に対して「1軸」「2軸」・・という呼び名を使うのが一般的である。具体的に説明すると、モータ8によって駆動される装置に関して言うと、X軸方向の移動を担う第1モータ(1軸)と、Y軸方向の移動を担う第2モータ(2軸)と、Z軸方向の移動を担う第3モータ(3軸)の3つのモータ8が当該装置に搭載され、各モータ8は、これに対応するモータアンプ100によって制御される。   Generally, a plurality of motors 8 are controlled using a plurality of motor amplifiers 100. Generally, the names “1 axis”, “2 axes”,... Are used for the plurality of motors 8. More specifically, with regard to the device driven by the motor 8, a first motor (one axis) responsible for movement in the X-axis direction, a second motor (two axes) responsible for movement in the Y-axis direction, and Z Three motors 8 of a third motor (three axes) responsible for movement in the axial direction are mounted on the apparatus, and each motor 8 is controlled by a motor amplifier 100 corresponding thereto.

上位装置であるCPUユニット4から複数のモータアンプ100にコマンドを供給する方式を、I/Oタイプのモータアンプ100(I/O)を例示的に示す図9を参照して説明すると、I/Oユニット6と各モータアンプ100(I/O)とを個別に結線して、各モータアンプ100(I/O)毎にCPUユニット4の指令を供給してもよい(図9)。他の方式として、図10に示すように、複数のモータアンプ100(pls)に関連した通信ユニット200を用意し、この通信ユニット200とモータアンプ100(pls)との間でシリアル通信する方式を採用してもよい。ユーザは、通信ユニット200を入手するだけで煩わしい通信設定や確認を行うことなくモータアンプシステムを構築することができる。   A method of supplying commands to the plurality of motor amplifiers 100 from the CPU unit 4 which is the host device will be described with reference to FIG. 9 showing an example of the I / O type motor amplifier 100 (I / O). The O unit 6 and each motor amplifier 100 (I / O) may be individually connected, and the command of the CPU unit 4 may be supplied for each motor amplifier 100 (I / O) (FIG. 9). As another method, as shown in FIG. 10, a communication unit 200 related to a plurality of motor amplifiers 100 (pls) is prepared and serial communication is performed between the communication unit 200 and the motor amplifier 100 (pls). It may be adopted. The user can construct a motor amplifier system by only obtaining the communication unit 200 without performing troublesome communication settings and confirmation.

また、I/Oタイプのモータアンプ100(I/O)が位置決め機能を有していることから、その上位装置であるCPUユニット4は比較的簡単な指令をモータアンプ100に供給するだけでモータ8の制御を実行することができる。したがってCPUユニット4の制御プログラムの複雑化を回避することができる。   Further, since the I / O type motor amplifier 100 (I / O) has a positioning function, the CPU unit 4 as its host device simply supplies a motor with a relatively simple command to the motor amplifier 100. 8 controls can be executed. Therefore, complication of the control program of the CPU unit 4 can be avoided.

第1の表示の遷移(図11〜図14)
モータアンプ100に含まれる操作部106を使った各種のパラメータ設定に関して、図11は、「原点復帰に関するパラメータの設定」「システムパラメータの設定」「ポイントパラメータの共通設定」「各ポイントにおけるパラメータの設定」の各設定項目の遷移を説明するための図である。
First display transition (FIGS. 11 to 14) :
Regarding various parameter settings using the operation unit 106 included in the motor amplifier 100, FIG. 11 shows “setting of parameters relating to origin return” “setting of system parameters” “common setting of point parameters” “setting of parameters at each point” FIG. 6 is a diagram for explaining transition of each setting item.

操作部106の一部を構成するモードキー112(Mキー)を押し下げると、モータアンプ100は設定モードに入り、先ず、システム・インジケータ122のORGインジケータが例えば赤色に点灯状態になる。このORGインジケータは原点復帰パラメータの設定が可能であることを意味している。このORGインジケータが点灯している意味を直感できる文字を第1表示エリア104a又は第2表示エリア104bに表示するのが好ましい。   When a mode key 112 (M key) that constitutes a part of the operation unit 106 is depressed, the motor amplifier 100 enters a setting mode. First, the ORG indicator of the system indicator 122 is lit in red, for example. This ORG indicator means that the return to origin parameter can be set. It is preferable to display in the first display area 104a or the second display area 104b a character that can intuitively understand the meaning that the ORG indicator is lit.

この状態で方向キー114に含まれる例えばライトキー114cを押し下げると、SYSインジケータが点灯状態になる。このSYSインジケータはシステムパラメータの設定が可能であることを意味している。次にライトキー114cを押し下げると、第1乃至第4の4つポイントインジケータPt1〜Pt4が点灯状態になる。この4つのポイントインジケータが全て点灯すると、全てのポイントに共通するパラメータの設定が可能であることを意味している。4つのポイントインジケータの点灯と共に、この意味を直感できる文字を第1表示エリア104a又は第2表示エリア104bに表示するのが好ましい。   If, for example, the light key 114c included in the direction key 114 is depressed in this state, the SYS indicator is turned on. This SYS indicator means that system parameters can be set. Next, when the light key 114c is depressed, the first to fourth four-point indicators Pt1 to Pt4 are turned on. When all the four point indicators are lit, it means that a parameter common to all the points can be set. Along with the lighting of the four point indicators, it is preferable to display characters that can intuitively understand this meaning in the first display area 104a or the second display area 104b.

次にライトキー114cを押し下げると、第1ポイントのインジケータPt1が点灯状態になる。この第1ポイントのインジケータPt1が点灯すると、第1ポイントPt1に関するパラメータの設定が可能であることを意味している。第1ポイントPt1の点灯と共に、この意味を直感できる文字を第1表示エリア104a又は第2表示エリア104bに表示するのが好ましい。   Next, when the light key 114c is depressed, the first point indicator Pt1 is turned on. When the first point indicator Pt1 is lit, it means that the parameter relating to the first point Pt1 can be set. Along with the lighting of the first point Pt1, it is preferable to display in the first display area 104a or the second display area 104b characters that can intuitively understand this meaning.

次にライトキー114cを押し下げると、第2ポイントのインジケータPt2が点灯状態になる。この第2ポイントのインジケータPt2が点灯すると、第2ポイントPt2に関するパラメータの設定が可能であることを意味している。第2ポイントPt2の点灯と共に、この意味を直感できる文字を第1表示エリア104a又は第2表示エリア104bに表示するのが好ましい。   Next, when the light key 114c is depressed, the second point indicator Pt2 is turned on. When the second point indicator Pt2 is lit, it means that the parameter relating to the second point Pt2 can be set. Along with the lighting of the second point Pt2, it is preferable to display in the first display area 104a or the second display area 104b a character that can intuitively understand this meaning.

次にライトキー114cを押し下げると、第3ポイントのインジケータPt3が点灯状態になる。この第3ポイントのインジケータPt3が点灯すると、第3ポイントPt3に関するパラメータの設定が可能であることを意味している。第3ポイントPt3の点灯と共に、この意味を直感できる文字を第1表示エリア104a又は第2表示エリア104bに表示するのが好ましい。   Next, when the light key 114c is depressed, the third point indicator Pt3 is turned on. When the third point indicator Pt3 is lit, it means that the parameter relating to the third point Pt3 can be set. Along with the lighting of the third point Pt3, it is preferable to display characters that can intuitively understand this meaning in the first display area 104a or the second display area 104b.

次にライトキー114cを押し下げると、第4ポイントのインジケータPt4が点灯状態になる。この第4ポイントのインジケータPt4が点灯すると、第4ポイントPt4に関するパラメータの設定が可能であることを意味している。第4ポイントPt4の点灯と共に、この意味を直感できる文字を第1表示エリア104a又は第2表示エリア104bに表示するのが好ましい。このように、各ポイントのインジケータが巡回して点灯表示可能となっている。   Next, when the light key 114c is depressed, the fourth point indicator Pt4 is turned on. When the fourth point indicator Pt4 is lit, it means that the parameter relating to the fourth point Pt4 can be set. Along with the lighting of the fourth point Pt4, it is preferable to display in the first display area 104a or the second display area 104b characters that can intuitively understand this meaning. Thus, the indicator of each point can be lit and displayed.

なお、ライトキー114cとは逆方向であるレフトキー114dを押し下げることにより、上記の遷移とは逆方向にシステム・インジケータ122の各インジケータを点灯させることができる。   It should be noted that each indicator of the system indicator 122 can be turned on in the opposite direction to the above transition by depressing the left key 114d which is the opposite direction to the right key 114c.

例えば原点復帰パラメータの設定を行うときには、ORGインジケータが点灯した状態のときにSET/TESTキー110(図3)を押し下げることにより、モータアンプ100を原点復帰パラメータ設定モードに移行させることができる。   For example, when setting the origin return parameter, the motor amplifier 100 can be shifted to the origin return parameter setting mode by depressing the SET / TEST key 110 (FIG. 3) while the ORG indicator is lit.

例えばシステム・インジケータ122のORGインジケータが例えば赤色に点灯している状態のときに、SET/TESTキー110を押し下げると、表示が原点復帰パラメータ設定モードに切り替わる。図12は原点復帰パラメータの設定モードでの表示の遷移を説明するための図である。この図12を参照して原点復帰パラメータ設定モードの表示を説明すると、ライトキー114cを押し下げることで原点復帰制御に必要とされる所望のパラメータを選択できる。図12は、原点復帰パラメータ設定モードにおける表示の遷移を示すフローである。原点復帰に関するパラメータには、少なくともモータ速度、原点復帰の動作の方向が含まれ、好ましくは起動速度(図8に示す「初速」が相当する)、加速レート、減速レートが含まれる。ライトキー114cを押し下げることで、次の表示に切り替えることができる。例えば加速レートのパラメータが表示されるときには、「Acc」の文字が第2表示エリア104b(図3)に表示され、また、現在設定されている加速レートの数値が第1表示エリア104aに表示される。減速レートに関しては「dEc」、モータ速度に関しては「SPd」、原点復帰方向に関しては「dir」が第2表示エリア104bに表示される。ユーザは、この第2表示エリア104bに出現する文字を見て、今、どのパラメータを設定できるかを知ることができる。また、同時に第1表示エリア104aに表示される文字や数値を見ることで、現在の設定内容を知ることができる。   For example, when the ORG indicator of the system indicator 122 is lit in red, for example, when the SET / TEST key 110 is depressed, the display is switched to the home return parameter setting mode. FIG. 12 is a diagram for explaining display transition in the origin return parameter setting mode. The display of the origin return parameter setting mode will be described with reference to FIG. 12. A desired parameter required for the origin return control can be selected by depressing the light key 114c. FIG. 12 is a flow showing display transition in the origin return parameter setting mode. The parameters relating to the origin return include at least the motor speed and the direction of the origin return operation, and preferably include the starting speed (corresponding to “initial speed” shown in FIG. 8), the acceleration rate, and the deceleration rate. By depressing the light key 114c, it is possible to switch to the next display. For example, when the acceleration rate parameter is displayed, the letters “Acc” are displayed in the second display area 104b (FIG. 3), and the numerical value of the currently set acceleration rate is displayed in the first display area 104a. The “DEc” regarding the deceleration rate, “SPd” regarding the motor speed, and “dir” regarding the origin return direction are displayed in the second display area 104b. The user can know which parameters can be set now by looking at the characters appearing in the second display area 104b. At the same time, it is possible to know the current setting contents by looking at the characters and numerical values displayed in the first display area 104a.

所望の項目が出現したらSET/TESTキー110を押し下げることで、その設定を変更することができる。具体的にはアップキー114a、ダウンキー114bを使って第1表示エリア104a(図3)に表示されている数値を増加又は減少させることができる。第1表示エリア104aの数値が所望の値になったらSET/TESTキー110(図3)を押し下げることで、この値の設定が完了する。   When a desired item appears, the setting can be changed by depressing the SET / TEST key 110. Specifically, the numerical value displayed in the first display area 104a (FIG. 3) can be increased or decreased by using the up key 114a and the down key 114b. When the numerical value in the first display area 104a reaches a desired value, the setting of this value is completed by depressing the SET / TEST key 110 (FIG. 3).

図13はシステムパラメータの設定モードでの表示の遷移を説明するための図である。設定可能なシステムパラメータには、運転電流、システムホールド電流が含まれ、好ましくは、オーバードライブ・ピーク電流、過電流値、許容オーバードライブ時間、過電流検出電流値、許容位置偏差パルス数、モータ選択が含まれる。ここに、「オーバードライブ・ピーク電流」とは定格を超えてモータに流せる電流を意味する。「許容オーバードライブ時間」とはモータに定格を超えてオーバードライブ・ピーク電流を流せる時間を意味する。「許容位置偏差パルス数」とは偏差過大エラーにならない最大の位置偏差パルス数を意味する。「モータ選択」とはユーザがモータサイズを選択し、システムがその選択したモータに適した運転電流、システムホールド電流等を自動設定することを意味する。このシステムパラメータの設定での操作は上述した原点復帰パラメータ設定と同じである。   FIG. 13 is a diagram for explaining the transition of display in the system parameter setting mode. Configurable system parameters include operating current and system hold current, preferably overdrive peak current, overcurrent value, allowable overdrive time, overcurrent detection current value, allowable position deviation pulse number, motor selection Is included. Here, the “overdrive peak current” means a current that can flow to the motor beyond the rating. “Allowable overdrive time” means the time during which the overdrive peak current can be passed to the motor beyond its rating. “Allowable position deviation pulse number” means the maximum number of position deviation pulses that do not cause an excessive deviation error. “Motor selection” means that the user selects a motor size and the system automatically sets an operation current, a system hold current, and the like suitable for the selected motor. The operation for setting this system parameter is the same as the above-described origin return parameter setting.

図14はユーザが設定可能な複数のポイントでの共通のパラメータの設定モードでの表示の遷移を説明するための図である。複数のポイントでの共通パラメータには、モータ8の起動速度(初速)、特殊動作、回転角近回りが含まれる。ここに、「特殊動作」とは、例えばパレタイジング動作、ピッチ送り動作、回転角近回り動作など、ポイントパラメータを用いない特殊な動作を意味する。「回転角近回り」とは、現在の角度から移動量の少ない方向を自動的に選択して目標座標まで回転する動作を意味する。このポイントパラメータ共通設定での操作は前述した原点復帰パラメータ設定と同じである。   FIG. 14 is a diagram for explaining display transition in a common parameter setting mode at a plurality of points that can be set by the user. The common parameters at a plurality of points include the starting speed (initial speed) of the motor 8, a special operation, and a rotation angle shortcut. Here, the “special operation” means a special operation that does not use a point parameter, such as a palletizing operation, a pitch feed operation, and a rotation angle shortcut operation. “Turning around the rotation angle” means an operation of automatically selecting a direction with a small amount of movement from the current angle and rotating to a target coordinate. The operation in this point parameter common setting is the same as the above-described origin return parameter setting.

モータアンプ100の特徴的な機能の概要
(1)モータアンプ100に電源を投入した直後から、JOGキーを操作することでモータを回転動作させることができる。モータアンプ100の動作に必要とされるパラメータは出荷時にデフォルト値が設定されており、電源投入した直後からJOGキー(ライトキー114c又はレフトキー114d)を押下げるとモータ8が一定速度で且つJOGキーの操作方向つまりライトキー114cであれば右方向に動作する。そして、このJOGキーを操作することによって位置合わせすることで、その現在位置や移動量をポイントPt(n)として登録することができる。
Overview of characteristic functions of motor amplifier 100 :
(1) Immediately after turning on the power to the motor amplifier 100, the motor can be rotated by operating the JOG key. The parameters required for the operation of the motor amplifier 100 are set to default values at the time of shipment. When the JOG key (the right key 114c or the left key 114d) is depressed immediately after the power is turned on, the motor 8 moves at a constant speed and the JOG key. If it is the operation direction, that is, the light key 114c, it moves to the right. Then, by aligning by operating the JOG key, the current position and movement amount can be registered as the point Pt (n).

ここで、JOG動作とは、モータ8が回転する回転数(移動量)を指定することなく、ユーザの操作(手動操作)に応じてモータ8の位置決めを行う動作である。本実施例でいえば、ユーザがライトキー114c又はレフトキー114dを押下げている間、モータ8が回転する動作である。JOG動作として、他にも例えば、ユーザがJOG動作開始ボタンを押下げるとモータ8の回転が開始され、ユーザがJOG動作終了ボタンを押下げるとモータ8の回転が停止する、といった変形例も考え得る。要するに、JOG動作は、操作部106を介したユーザの操作に基づき制御部14に対してモータ8の回転開始命令がなされてから、操作部106を介してユーザの操作に基づき制御部14に対してモータ8の回転停止命令がなされるまでの間、モータ8が回転する動作であるということもできる。後述する「JOGモード」とは、このようなJOG動作を可能にさせるモードである。   Here, the JOG operation is an operation for positioning the motor 8 in accordance with a user operation (manual operation) without designating the number of rotations (movement amount) at which the motor 8 rotates. In this embodiment, the motor 8 rotates while the user presses the right key 114c or the left key 114d. As another JOG operation, for example, a modification in which the rotation of the motor 8 is started when the user depresses the JOG operation start button and the rotation of the motor 8 is stopped when the user depresses the JOG operation end button. obtain. In short, the JOG operation is performed on the control unit 14 based on the user's operation via the operation unit 106 after the rotation start command of the motor 8 is issued to the control unit 14 based on the user's operation via the operation unit 106. It can also be said that the motor 8 rotates until the rotation stop command for the motor 8 is issued. The “JOG mode” to be described later is a mode that enables such a JOG operation.

(2)モータアンプ100は、動作モードとして、(i)「速度モード」と、(ii)「位置モード」とを有する(図15)。
(3)「速度モード」は、例えばPLCからトリガー信号を受け取るとベルトコンベアを回転させるような制御に用いられる。この「速度モード」では、モータ8の回転速度の設定がユーザにとって重要である。ユーザはモータアンプ100の操作部106を操作することで「モータ8の回転速度」を設定することができる。
(2) The motor amplifier 100 has (i) “speed mode” and (ii) “position mode” as operation modes (FIG. 15).
(3) The “speed mode” is used for control such as rotating the belt conveyor when a trigger signal is received from the PLC, for example. In this “speed mode”, the setting of the rotational speed of the motor 8 is important for the user. The user can set “the rotational speed of the motor 8” by operating the operation unit 106 of the motor amplifier 100.

(4)引き続き図15を参照して、「位置モード」には2つの制御モードが含まれる。第1の制御モードは、例えば棒材を一定長さで切断するのを反復するような場合に用いられる。この第1の制御モードでは、「現在位置から例えば5000パルス回転せよ」との信号がモータ8に供給される。これを「相対位置制御」と呼ぶと、この相対位置制御では、モータ8が回転する数(移動量)の設定がユーザにとって重要である。ユーザはモータアンプ100の操作部106を操作することで「モータ8が回転する数(移動量)」を設定することができる。   (4) Still referring to FIG. 15, the “position mode” includes two control modes. The first control mode is used, for example, in the case of repeatedly cutting a bar with a certain length. In the first control mode, a signal “Rotate for example 5000 pulses from the current position” is supplied to the motor 8. When this is called “relative position control”, in this relative position control, the setting of the number of rotations (movement amount) of the motor 8 is important for the user. The user can set “the number of rotations (movement amount) of the motor 8” by operating the operation unit 106 of the motor amplifier 100.

(5)「位置モード」に含まれる第2の制御モードは、「第1のポイントから第2のポイントまで移動させよ」との信号がモータ8に供給される。これを「絶対位置制御」と呼ぶと、この絶対位置制御ではモータ8は図8で説明したような動作を行うことになる。第1のポイント、第2のポイント、第nのポイントは、ユーザがモータアンプ100の第1表示エリア104aに座標を表示させた状態で、第nポイントの座標値や移動量をユーザが操作部106を操作して入力することで登録(パラメータ設定)できる。これとは別の方法として上記(1)で説明したティーチングによってポイントPt(n)の座標や移動量を登録(パラメータ設定)することができる。   (5) In the second control mode included in the “position mode”, a signal “move from the first point to the second point” is supplied to the motor 8. When this is called “absolute position control”, the motor 8 performs the operation described with reference to FIG. 8 in this absolute position control. The first point, the second point, and the nth point are displayed on the first display area 104a of the motor amplifier 100 by the user, and the user can set the coordinate value and movement amount of the nth point by the operation unit. Registration (parameter setting) can be performed by operating 106. As another method, the coordinates and movement amount of the point Pt (n) can be registered (parameter setting) by teaching described in the above (1).

(6)モータアンプ100はマニュアル式のスイッチつまりモード切替スイッチ128を有し、このモード切替スイッチ128をユーザが操作することでモード切替えが可能である。このモード切替は、スイッチ128の第1位置でモータアンプ100は自動モード(「AUTO」)つまり運用モードになる。この自動モードでモータ8の制御が実行される。スイッチ128の第2位置でモータアンプ100はティーチングモード(「TEACH」)に切り替わる。このティーチングモードでは、その上位装置であるPLCからモータアンプ100を切り離した状態、つまりPLCからの信号をモータアンプ100が受け付けない状態になる。前述したようにユーザの操作に基づいてモータ8を動作させるJOGモードを実施例のモータアンプ100が備えているが、このJOGモードの最中にPLCから指令が入って、このPLCからの指令に基づいてモータ8がユーザの意図とは関係なく動き出すのは好ましくない。実施例のモータアンプ100では、ティーチングモードに切り替えたときにはPLCからモータアンプ100を切り離すことで、JOG操作の際にはユーザの操作だけに基づいてモータ8が動作することを約束することができる。   (6) The motor amplifier 100 has a manual switch, that is, a mode changeover switch 128, and the mode can be changed by operating the mode changeover switch 128 by the user. In this mode switching, the motor amplifier 100 is in the automatic mode (“AUTO”), that is, the operation mode at the first position of the switch 128. The motor 8 is controlled in this automatic mode. At the second position of the switch 128, the motor amplifier 100 switches to the teaching mode ("TEACH"). In this teaching mode, the motor amplifier 100 is disconnected from the PLC that is the host device, that is, the motor amplifier 100 does not accept a signal from the PLC. As described above, the motor amplifier 100 according to the embodiment includes the JOG mode in which the motor 8 is operated based on the user's operation. The command is input from the PLC during the JOG mode, and the command from the PLC is changed. Therefore, it is not preferable that the motor 8 starts to move regardless of the user's intention. In the motor amplifier 100 according to the embodiment, when switching to the teaching mode, the motor amplifier 100 is disconnected from the PLC, so that it can be promised that the motor 8 operates based only on the user's operation during the JOG operation.

ティーチングモードで、ユーザは実際の動きを目で確認しながら位置合わせでき且つこの位置データをモータアンプ100に登録することができる。また、ユーザの明確な意図を伴う操作が必要とされるマニュアル式のスイッチ128を採用してモード切替えを行う本発明の実施例では、モード切替えをソフトウエアで行う場合に比べてユーザの操作の煩雑さを回避することができる。ソフトウエアでモード切替えを行う場合には、フローを階層化するのが一般的な手法であるが、比較的大きな表示部102をモータアンプ100が備えているとは言え、これで表示できる情報は限定的である。限定的な表示しかできない表示部102ではユーザの操作に基づいて情報を一つずつ順次表示させて行く手法を採用せざるを得ない。そのなかでモードを切り替えるには表示のフローを階層化せざるを得ず、階層化したなかで、ユーザはモード切り替え表示を表示部102に呼び出すのに複数回の操作を行うことが必要となる。   In the teaching mode, the user can adjust the position while visually confirming the actual movement, and can register the position data in the motor amplifier 100. Further, in the embodiment of the present invention in which the mode switching is performed by adopting the manual switch 128 that requires an operation with a clear intention of the user, the operation of the user is compared with the case where the mode switching is performed by software. Complexity can be avoided. When mode switching is performed by software, it is a general technique to stratify the flow. However, although the motor amplifier 100 includes a relatively large display unit 102, information that can be displayed by this is as follows. Limited. The display unit 102 that can perform only limited display must employ a method of sequentially displaying information one by one based on user operations. In order to switch the mode, the display flow must be hierarchized, and the user needs to perform a plurality of operations to call the mode switching display to the display unit 102 in the hierarchization. .

典型的な例として、モータアンプ100を現場に設置する際、電子機器と機械とを相互に関連付けるシステム構築には2種類の専門家が必要とされている。機械系の専門家と電気系の専門家である。システム構築の完成までは機械系と電気系の双方の専門家が共同した作業となる。例えばモータ8を動作させて位置合わせし、その位置合わせを適正なものにするまでは機械系の専門家が行うことが多いが、位置合わせが完了した時点でその座標位置や移動量の登録は電気系の専門家が行うというように、機械的な問題に対しては機械系の専門家が行い、モータアンプ100を適切に動作させるための登録(パラメータ設定)という作業は電気系の専門家が行う。この2種類の異なる作業が相互に関連しながらシステム構築の作業を行うことになる。   As a typical example, when the motor amplifier 100 is installed on the site, two types of specialists are required to construct a system for associating electronic devices and machines with each other. I am a mechanical specialist and an electrical specialist. Until the system construction is completed, both mechanical and electrical specialists will work together. For example, it is often performed by a mechanical expert until the motor 8 is operated and aligned, and the alignment is appropriate. However, when the alignment is completed, the coordinate position and the movement amount are registered. A mechanical specialist handles mechanical problems, as is done by electrical specialists, and registration (parameter setting) for properly operating the motor amplifier 100 is an electrical specialist. Do. These two types of different operations are related to each other to perform a system construction operation.

このシステム構築作業の際、モータアンプ100に設けた比較的大きな表示部102を使って作業者が直感的に把握できる表示を行うことは機械系及び電気系の双方の専門家にとって有意義である。ただし、表示部102の表示を見てモードの切り替えを電気系の専門家が行い、次いで、位置合わせを機械系の専門家が行い、登録(パラメータ設定)を電気系の専門家が行い、その結果を確認するための試運転を機械系の専門家が行い、設定の微調整を電気系の専門家が行う、という状況は必ずしも効率的な作業とは言えない。加えて、表示部102の表示を階層化した中でモード切替えをソフト的に行う場合には、モータアンプ100の操作に馴れてない機械系の専門家はモータアンプ100の表示を見て事ある度に電気系の専門家を呼び出す必要性が頻発する。本発明の実施例は、モータアンプ100に物理的なスイッチ128を設け、このスイッチ128を操作することでモードを切り替えることとし、そして機械系の専門家がやるべき仕事を一つのモードに集約すれば電気系の専門家の出番を少なくすることができる。更に、この一つのモード(この実施例ではティーチングモード)において従来であれば電気系の専門家が行っていた登録(パラメータ設定)を機械系の専門家であっても簡単に行うことができれば、電気系の専門家の負担を軽減することができる。   In this system construction work, it is meaningful for both mechanical and electrical specialists to use the relatively large display unit 102 provided in the motor amplifier 100 to perform a display that can be intuitively grasped by the operator. However, the electric system specialist switches the mode by looking at the display on the display unit 102, then the mechanical specialist performs alignment and registration (parameter setting) is performed by the electrical expert. The situation where a mechanical expert performs a test run to confirm the result and a fine adjustment of the setting is performed by an electrical expert is not necessarily an efficient operation. In addition, when mode switching is performed in a software manner while displaying on the display unit 102 in a hierarchical manner, a mechanical expert who is not familiar with the operation of the motor amplifier 100 may see the display of the motor amplifier 100. There is a frequent need to call electrical specialists. In the embodiment of the present invention, a physical switch 128 is provided in the motor amplifier 100, the mode is switched by operating the switch 128, and the work to be performed by a mechanical specialist is consolidated into one mode. This can reduce the turn of electrical specialists. Furthermore, if this one mode (teaching mode in this embodiment) can be easily performed even by a mechanical expert, registration (parameter setting), which was conventionally performed by an electrical expert, The burden on electrical specialists can be reduced.

ティーチングモードでは、上位装置であるPLCからモータアンプ100を切り離した状態となる。換言すれば、ティーチングモードではPLCからの信号を受け付けない状態になる。他方、PLCから信号をモータアンプ100が受け付ける状態になるのが前述した自動モードである。ティーチングモードにおいて、ユーザがモータアンプ100の操作部106を操作するという手動操作に基づいてモータ8を動作させるJOGモードを備えていれば、機械系の専門家が位置合わせや部材間で干渉してないか、モータ8の負荷を確認するのに好都合である。好ましくは、位置合わせが完了した時点で直ちにその座標や移動量をモータアンプ100に登録するのを機械系の専門家が行うことができれば電気系の専門家の負担を軽減できる。更に好ましくは次に説明するテスト運転を同じティーチングモードで行うことができれば、機械系の専門家は初期の位置合わせ、登録、テスト運転の一連の作業を電気系の専門家の手を煩わせることなく行うことができるのが好ましい。勿論、自動モードでもPLCからの信号を受け付けてテスト運転するのも可能である。自動モードでのテスト運転は一般的には電気系の専門家が行うことになる。   In the teaching mode, the motor amplifier 100 is disconnected from the PLC that is the host device. In other words, in the teaching mode, a signal from the PLC is not accepted. On the other hand, the automatic mode described above is a state where the motor amplifier 100 receives a signal from the PLC. In the teaching mode, if a jog mode for operating the motor 8 based on a manual operation in which the user operates the operation unit 106 of the motor amplifier 100 is provided, mechanical specialists may interfere with alignment or between members. This is convenient for checking the load of the motor 8. Preferably, if the mechanical specialist can register the coordinates and movement amount in the motor amplifier 100 immediately after the alignment is completed, the burden on the electrical specialist can be reduced. More preferably, if the test operation described below can be carried out in the same teaching mode, the mechanical specialist will have the electrical expert take care of the initial alignment, registration, and test operation. It is preferable that this can be done without any problems. Of course, it is also possible to perform a test operation by receiving a signal from the PLC even in the automatic mode. The test operation in the automatic mode is generally performed by an electrician.

ティーチングモードに含まれるJOGモードは、前述した絶対位置制御に限らず相対位置制御でも有効であり且つ効果的である。機械的な連携、例えば何かが落ちてきたら、この物体をベルトコンベアで運ぶというような制御にモータアンプ100を使う場合には、落下物を受け取る第1位置、この第1位置からベルトコンベアで搬送する第2位置などの登録や調整をティーチングモードで行うことができる。   The JOG mode included in the teaching mode is effective and effective not only in the absolute position control described above but also in the relative position control. When the motor amplifier 100 is used for mechanical linkage, for example, when something falls, this object is transported by the belt conveyor. When the motor amplifier 100 is used, the belt conveyor conveys the first position from which the fallen object is received. Registration and adjustment of the second position to be conveyed can be performed in the teaching mode.

(7)ティーチングモードにおいて各ポイントPt(n)毎にテスト運転できるのが好ましい。ユーザは操作部106を操作することで、システム・インジケータ122の点灯位置を変えることができる。図3は第1ポイントPt1をユーザが選択した状態が図示されている。第1ポイントPt1のテスト運転を実行したいときには、操作部106を操作することで、ユーザが登録したパラメータに従ってモータ8が動作して第1ポイントPt1まで移動するテスト運転を実行させることができる。他のポイントPt(n)でも同様にテスト運転を実行させることができる。このテスト運転によって各ポイントPt(n)に登録した座標値や移動量が適切であるか否かを確認することできる。後に、具体的にその操作を説明するが、電気系の専門家を必要とする特別な操作無しにテスト運転を行うことができるようにしてあるため機械系の専門家が気軽にテスト運転を実行させることができる。   (7) It is preferable that a test operation can be performed for each point Pt (n) in the teaching mode. The user can change the lighting position of the system indicator 122 by operating the operation unit 106. FIG. 3 shows a state where the user has selected the first point Pt1. When it is desired to execute the test operation of the first point Pt1, by operating the operation unit 106, it is possible to execute the test operation in which the motor 8 operates according to the parameters registered by the user and moves to the first point Pt1. Similarly, the test operation can be executed at other points Pt (n). With this test operation, it is possible to confirm whether or not the coordinate value and the movement amount registered at each point Pt (n) are appropriate. The operation will be explained in detail later, but the test operation can be performed without any special operation that requires an electrical specialist, so the mechanical specialist can easily perform the test operation. Can be made.

テスト運転で座標値や移動量が適切であることを確認できたら、そのまま自動モードに移って通常運転を行うことになる。その一方で、座標値や移動量が適切でない場合には、ティーチングモードに戻って適切なパラメータを登録し直すことになる。つまり、パラメータ登録(つまりパラメータ設定)を行い、次いでテスト運転を行い、パラメータの設定が適切でない場合には、パラメータ再登録つまりパラメータ再設定を行うことになる。   If it can be confirmed that the coordinate value and the movement amount are appropriate in the test operation, the operation is shifted to the automatic mode and the normal operation is performed. On the other hand, when the coordinate value and the movement amount are not appropriate, the process returns to the teaching mode and appropriate parameters are registered again. That is, parameter registration (that is, parameter setting) is performed, and then a test operation is performed. If the parameter setting is not appropriate, parameter re-registration, that is, parameter resetting is performed.

(8)好ましい一つの態様として、自動モード(「AUTO」)でパラメータを調整することができる。この自動モードは電気系の専門家が使用するのが一般的である。この電気系の専門家の手でモータ8の目標速度や加減速レートなどのシステム全体の動作に関係するようなパラメータを最適化できる。自動モードは運用時に使用する動作モードであり、表示部102は、運用状態を確認するのに好都合な情報を表示することになる。つまり、上位装置のPLCからの指令が関連するシステム全体を統合したなかでの動作を自動モードで実行する。   (8) As a preferred embodiment, the parameter can be adjusted in the automatic mode (“AUTO”). This automatic mode is generally used by electrical experts. Parameters relating to the operation of the entire system, such as the target speed of the motor 8 and the acceleration / deceleration rate, can be optimized by the hands of this electric expert. The automatic mode is an operation mode used during operation, and the display unit 102 displays information that is convenient for confirming the operation state. That is, the operation in the automatic mode is performed while integrating the entire system related to the command from the PLC of the host device.

モード切替スイッチ128をティーチングモードから自動モードに切替えると、モータアンプ100は、その上位装置であるPLCと関連付けられた状態となる。この自動モードにおいて、表示部102に表示されるパラメータ設定の表示を選択すると、システム・インジケータ122に含まれる各種のインジケータが順次、点灯する。すなわち、第1ポイントPt1の点灯、次に、第2ポイントPt2の点灯、次に、第3ポイントPt3の点灯というように第nポイントPt(n)のインジケータが順次点灯する。所望の第nポイントPt(n)の目標速度や加減速レートなどのパラメータを変更したいときには、当該所望の第nポイントPt(n)を選択すると第nポイントPt(n)に含まれる各種のパラメータを操作部106の操作に基づいて表示部102に表示させ且つその表示を遷移させることができる。例えば目標速度のパラメータを変更したいときには、目標速度が表示部102に表示されたときにアップキー114a又はダウンキー114bを操作することで表示値を変更させることができる。所望の目標速度の数値になったらこれを選択することで目標速度のパラメータを調整して設定し直すことができる。自動モードでのパラメータの調整は主に電気系の専門家によって行われることであろう。   When the mode switch 128 is switched from the teaching mode to the automatic mode, the motor amplifier 100 is in a state associated with the PLC that is the host device. When the parameter setting display displayed on the display unit 102 is selected in the automatic mode, various indicators included in the system indicator 122 are sequentially turned on. That is, the indicator of the nth point Pt (n) is sequentially lit, such as lighting of the first point Pt1, then lighting of the second point Pt2, and then lighting of the third point Pt3. If you want to change parameters such as the target speed and acceleration / deceleration rate of the desired nth point Pt (n), select the desired nth point Pt (n) and various parameters included in the nth point Pt (n) Can be displayed on the display unit 102 based on the operation of the operation unit 106 and the display can be changed. For example, when it is desired to change the target speed parameter, the display value can be changed by operating the up key 114 a or the down key 114 b when the target speed is displayed on the display unit 102. When a desired target speed value is reached, the target speed parameter can be adjusted and reset by selecting this value. Adjustment of the parameters in the automatic mode will be mainly performed by electrical specialists.

上記の例では、自動モードの中に上記のパラメータ設定モードが含まれているが、パラメータ設定モードをティーチングモードに含ませてもよい(図17)。   In the above example, the parameter setting mode is included in the automatic mode, but the parameter setting mode may be included in the teaching mode (FIG. 17).

図16を参照しながら、一つの具体例を説明すると、例えばティーチングモードを使って第1ポイントPt1の位置を登録したときに、この第1ポイントPt1での動作を確認してその位置や加減速などの動作を確認したいときには前述したテスト運転を行う。このテスト運転で、座標位置のパラメータは適切であるが、動作のパラメータを変更したいときには、このテスト運転の最中に前述したJOG操作が可能になるようにしてもよいが、好ましい実施形態ではスライド式のモード切替スイッチ128を自動モード(「AUTO」)に切り替えると共にこの自動モードに含まれるパラメータ設定モードを選択するようにしてある。そして、システム・インジケータ122の第1ポイントPt1のインジケータが点灯したときに、この第1ポイントPt1を選択することで当該第1ポイントPt1の動作パラメータを変更することができる。   One specific example will be described with reference to FIG. 16. For example, when the position of the first point Pt1 is registered using the teaching mode, the operation at the first point Pt1 is confirmed and the position and acceleration / deceleration are confirmed. If you want to check the operation, etc., perform the test operation described above. In this test operation, the parameter of the coordinate position is appropriate. However, when it is desired to change the parameter of the operation, the JOG operation described above may be made possible during the test operation. The mode switch 128 is switched to the automatic mode (“AUTO”) and the parameter setting mode included in the automatic mode is selected. And when the indicator of the 1st point Pt1 of the system indicator 122 lights, the operation parameter of the said 1st point Pt1 can be changed by selecting this 1st point Pt1.

そして、変更した動作パラメータが適切であるかを確認したいときには、モード切替スイッチ128をティーチングモード(「TEACH」)に切り替えて第1ポイントPt1のテスト運転を行うことができる。これを反復することで、第1ポイントPt1の各種のパラメータを最適化できる。他のポイントPt(n)についても同様の操作を行うことで当該ポイントPt(n)の絶対座標の最適化だけでなく当該ポイントPt(n)での動作を最適化できる。このパラメータの最適化はパーソナルコンピュータを使うことなくモータアンプ100の表示部102の表示及び操作部106の操作で自己完結的に行うことができる。勿論、変形例として、自動モードからテスト運転モードに直接的に移行できるようにショートカットキー設定を行ってもよく、また、テスト運転モードから自動モードに直接的に復帰できるショートカットキー設定を行ってもよい。図16では、このショートカットキーを使ったフローを図示してある。ショートカットキー設定は、操作部106に配置されたいずれか2つのキーを同時に押し下げた時に上記の直接的な遷移を行う等が考えられる。   When it is desired to check whether the changed operation parameter is appropriate, the mode changeover switch 128 can be switched to the teaching mode (“TEACH”) to perform the test operation of the first point Pt1. By repeating this, various parameters of the first point Pt1 can be optimized. By performing the same operation for other points Pt (n), not only the optimization of the absolute coordinates of the point Pt (n) but also the operation at the point Pt (n) can be optimized. This parameter optimization can be performed in a self-contained manner by displaying on the display unit 102 of the motor amplifier 100 and operating the operation unit 106 without using a personal computer. Of course, as a modification, a shortcut key setting may be performed so that the automatic mode can be directly transferred to the test operation mode, or a shortcut key setting capable of directly returning from the test operation mode to the automatic mode may be performed. Good. FIG. 16 shows a flow using this shortcut key. For the shortcut key setting, it is conceivable that the above-mentioned direct transition is performed when any two keys arranged on the operation unit 106 are simultaneously depressed.

具体的な操作及び機能(図17〜図23)
図17はモード切替えに関する一つの例を示す。図18はモード切替えに関する他の例を示す。図17の例と図18の例との違いは、図18に示す他の例では、モード切替スイッチ128を操作して「自動モード(「AUTO」)」を選択したときにパラメータの変更が可能である。ただし、図17に示す例では、自動モードではパラメータの変更ができないが、ティーチングモード(「TEACH」)でパラメータの変更が可能である。典型例として、図18に図示の例で以下に具体的な操作及び機能を説明する。
Specific operations and functions (FIGS. 17 to 23) :
FIG. 17 shows one example relating to mode switching. FIG. 18 shows another example relating to mode switching. The difference between the example of FIG. 17 and the example of FIG. 18 is that, in the other example shown in FIG. 18, the parameter can be changed when the mode switch 128 is operated to select “automatic mode (“ AUTO ”)”. It is. However, in the example shown in FIG. 17, the parameter cannot be changed in the automatic mode, but the parameter can be changed in the teaching mode (“TEACH”). As a typical example, specific operations and functions will be described below with reference to the example shown in FIG.

なお、パルス列タイプのモータアンプ100(pls)では、スライド式のモード切替スイッチ128を操作してティーチングモード(「TEACH」)を選択したときに、このティーチングモードでは、ライトキー114c、レフトキー114dを使ってモータ8を右回転又は左回転させて位置合わせが可能である。図7に図示の構成のパルス列タイプのモータアンプ100(pls)の場合には、当該モータアンプ100(pls)のパラメータ記憶部16には、システムパラメータが記憶されているだけで、ポイントパラメータや原点復帰パラメータは、その上位装置の位置決めユニット10に記憶されている。このことから、ティーチングモードでの座標のティーチング及びそのテスト運転は実質的に不可能である。勿論、このパルス列タイプのモータアンプ100(pls)のパラメータ記憶部16にポイントパラメータ、原点復帰パラメータを記憶させる構成を採用すれば、ティーチングモードでのティーチング及びテスト運転が可能になる。   In the pulse train type motor amplifier 100 (pls), when the teaching mode (“TEACH”) is selected by operating the sliding mode changeover switch 128, the right key 114c and the left key 114d are used in this teaching mode. The position can be adjusted by rotating the motor 8 clockwise or counterclockwise. In the case of the pulse train type motor amplifier 100 (pls) having the configuration shown in FIG. 7, the parameter storage unit 16 of the motor amplifier 100 (pls) stores only the system parameters, and the point parameters and the origin. The return parameter is stored in the positioning unit 10 of the host device. For this reason, teaching of coordinates in the teaching mode and its test operation are virtually impossible. Needless to say, teaching and test operation in the teaching mode can be performed by adopting a configuration in which the point storage parameter and the origin return parameter are stored in the parameter storage unit 16 of the pulse train type motor amplifier 100 (pls).

ティーチングモード(「TEACH」)
図19を参照して、スライド式のモード切替スイッチ128(図3)を「TEACH」の位置にすることでモータアンプ100はティーチングモードになる(図19のステップS1)。ティーチングモードは、ユーザが操作部106を操作して位置合わせすることのできるJOGモードと、好ましくは、このJOGモードに続いて位置データをモータアンプ100に登録するティーチング操作とが可能である。モータアンプ100がティーチングモードに入っていることは、第2表示エリア104bに表示される「tch」を見ることで確認できる(図18)。「tch」はティーチングモードを意味する。なお、第1表示エリア104aには現在の座標値又はPLCからの指令値が表示される。JOGモードに入ると、第2表示エリア104bに「JOG」の文字が表示される。
Teaching mode ("TEACH") :
Referring to FIG. 19, motor amplifier 100 enters teaching mode by setting slide mode changeover switch 128 (FIG. 3) to the “TEACH” position (step S <b> 1 in FIG. 19). In the teaching mode, a JOG mode in which the user can perform positioning by operating the operation unit 106, and preferably a teaching operation for registering position data in the motor amplifier 100 following the JOG mode are possible. Whether the motor amplifier 100 is in the teaching mode can be confirmed by looking at “tch” displayed in the second display area 104b (FIG. 18). “Tch” means teaching mode. The first display area 104a displays current coordinate values or command values from the PLC. When the JOG mode is entered, the characters “JOG” are displayed in the second display area 104b.

例えば第1ポイントpt1のティーチングを行いたいのであれば、SET/TESTキー110を押し下げることでJOGモードに入ることができる(図18)。JOGモードでは、ライトキー114c又はレフトキー114dを押し下げることでモータ8を右回転又は左回転させることできる(図19のステップS2)。そして、第1ポイントpt1の位置合わせが完了したら、当該位置の座標や移動量は、ユーザがSET/TESTキー110を一定時間(例えば1秒間)押し下げることによりモータアンプ100のパラメータ記憶部16に記憶(保持又は登録)される。これにより、モータアンプ100の電源を切っても、当該位置の座標や移動量が保持されることになる。このように、モータアンプ100は、ユーザ操作(ライトキー114c又はレフトキー114d)に基づいてJOG運転を行い、所望位置に位置合わせが完了した後、次のユーザ操作(SET/TESTキー110の長押し)に基づいて所望位置の座標や移動量をパラメータ記憶部16に保持する。   For example, if teaching of the first point pt1 is desired, the JOG mode can be entered by depressing the SET / TEST key 110 (FIG. 18). In the JOG mode, the motor 8 can be rotated clockwise or counterclockwise by depressing the right key 114c or the left key 114d (step S2 in FIG. 19). When the alignment of the first point pt1 is completed, the coordinates and movement amount of the position are stored in the parameter storage unit 16 of the motor amplifier 100 when the user depresses the SET / TEST key 110 for a certain time (for example, 1 second). (Held or registered). Thereby, even if the power of the motor amplifier 100 is turned off, the coordinates and the movement amount of the position are held. As described above, the motor amplifier 100 performs the JOG operation based on the user operation (the right key 114c or the left key 114d), and after the alignment to the desired position is completed, the next user operation (the long press of the SET / TEST key 110) is performed. ), The coordinates and movement amount of the desired position are held in the parameter storage unit 16.

図20、図21を参照してティーチングの詳細を説明すると、JOG動作は低速と高速の2つの動作速度(モータ速度)からユーザが選択したモータ速度で行われる。   The teaching will be described in detail with reference to FIGS. 20 and 21. The JOG operation is performed at a motor speed selected by the user from two operation speeds (motor speeds) of low speed and high speed.

ティーチングモード(「TEACH」)に入ると、システム・インジケータ122のPt1〜Pt4のいずれかのインジケータが点灯する。Pt1のインジケータが点灯すれば第1ポジションに対するティーチングが可能であることを意味している。Pt2のインジケータが点灯すれば第2ポジションに対するティーチングが可能であることを意味している。Pt3のインジケータが点灯すれば第3ポジションに対するティーチングが可能であることを意味している。Pt4のインジケータが点灯すれば第4ポジションに対するティーチングが可能であることを意味している。このシステム・インジケータ122の点灯する位置を変更するにはモードキー112(Mキー)を押せばよい。   When the teaching mode (“TEACH”) is entered, any of the indicators Pt1 to Pt4 of the system indicator 122 is lit. If the Pt1 indicator lights up, it means that teaching for the first position is possible. If the Pt2 indicator lights up, it means that teaching for the second position is possible. If the Pt3 indicator is lit, it means that teaching for the third position is possible. If the Pt4 indicator is lit, it means that teaching for the fourth position is possible. The mode key 112 (M key) may be pressed to change the position where the system indicator 122 is lit.

図20、図21は、第1〜第4のポジション(Pt1〜Pt4)を順番にティーチングするときのフローである。図20を参照して、第1ポジションPt1のティーチングを行うのであれば、第1ポジションのインジケータが点灯していることを確認した後に、JOG動作の低速又は高速を選択する。この選択はライトキー114c又はレフトキー114dを操作することによって行うことができる。低速のときは第2表示エリア104bに「J−L」が表示される。高速のときには第2表示エリア104bに「J−H」が表示される。例えば、高速を選択したいときには、第2表示エリア104bに「J−H」の表示が行われたことを確認した後にSET/TESTキー110を押し下げることで高速でのJOG動作モードを登録することができる。   20 and 21 are flowcharts for teaching the first to fourth positions (Pt1 to Pt4) in order. Referring to FIG. 20, if teaching at the first position Pt1 is performed, after confirming that the indicator at the first position is lit, the low speed or high speed of the JOG operation is selected. This selection can be performed by operating the right key 114c or the left key 114d. When the speed is low, “JL” is displayed in the second display area 104b. When the speed is high, “JH” is displayed in the second display area 104b. For example, when selecting high speed, it is possible to register the JOG operation mode at high speed by depressing the SET / TEST key 110 after confirming that “JH” is displayed in the second display area 104b. it can.

JOGモードでは、ユーザがライトキー114c又はレフトキー114dを操作することでモータ8を右回転又は左回転させて位置合わせすることができる。図20、図21にはモータ8に連結されたねじ棒24によって部材Wを動かす装置を例示している。ユーザの操作に基づくJOG動作によって部材Wを第1ポジションPt1に位置合わせできたら、当該位置の座標や移動量を登録するために、SET/TESTキー110を押し下げればよい。これにより、JOGモードで位置合わせした値がパラメータ記憶部16に記憶される。このティーチング(設定)は、例えばモードキー112の長押し(例えば2秒以上押し続ける)に基づいて行うようにしてもよい。第1表示エリア104aには現在の座標値や移動量が表示される。ユーザの操作部106の操作によって第1表示エリア104aにPLCからの指令値と現在の座標値や移動量とを交互に表示するようにしてもよい。   In the JOG mode, the user can perform alignment by rotating the motor 8 clockwise or counterclockwise by operating the right key 114c or the left key 114d. 20 and 21 exemplify a device for moving the member W by a screw rod 24 connected to the motor 8. If the member W can be aligned with the first position Pt1 by the JOG operation based on the user's operation, the SET / TEST key 110 may be depressed in order to register the coordinates and movement amount of the position. As a result, the value aligned in the JOG mode is stored in the parameter storage unit 16. This teaching (setting) may be performed based on, for example, long pressing of the mode key 112 (for example, pressing and holding for 2 seconds or more). In the first display area 104a, current coordinate values and movement amounts are displayed. The command value from the PLC, the current coordinate value, and the movement amount may be alternately displayed in the first display area 104a by the user's operation of the operation unit 106.

第2〜第4ポジションPt2〜Pt4についても同じ要領で、その位置座標や移動量のティーチングができる。勿論、例えば第2ポジションPt2だけティーチング(パラメータ登録、パラメータ設定)させることもできる。そのときには、システム・インジケータ122の点灯位置をモードキー112(Mキー)を操作して移動させ、ポジションPt2のインジケータが点灯する状態にした後に上記の要領でJOG操作及びこれに続くティーチング(設定)のためのキー操作を行えばよい。   In the same way for the second to fourth positions Pt2 to Pt4, the position coordinates and the movement amount can be taught. Of course, teaching (parameter registration, parameter setting) can be performed only at the second position Pt2, for example. At that time, the lighting position of the system indicator 122 is moved by operating the mode key 112 (M key), and the indicator of the position Pt2 is turned on, and then the JOG operation and the teaching (setting) following the above procedure are performed. It is sufficient to perform key operations for.

ティーチングモードは、既に設定されているパラメータによってモータ8の動作を試行させることのできるテスト運転モードを好ましくは含んでいるのがよい。図17、図18を参照して、第1〜第4ポジションPt1〜Pt4のティーチング又は所望のポジションのティーチングが完了したら、必要であれば、テスト運転により既に設定されているパラメータに基づく動作を確認することができる(図19のステップS4)。   The teaching mode preferably includes a test operation mode in which the operation of the motor 8 can be tried according to the already set parameters. Referring to FIG. 17 and FIG. 18, when teaching of the first to fourth positions Pt1 to Pt4 or teaching of a desired position is completed, if necessary, check the operation based on the parameters already set by the test operation. (Step S4 in FIG. 19).

第4ポジションインジケータPt4が点灯している状態でモードキー112を押し下げると、第1ポジションPt1のテスト運転モードに切り替わる。テスト運転モードに入ると第2表示エリア104bの表示が「tst」に変化する(図22)。「tst」はテスト運転モードであることを意味している。例えば第1ポジションPt1のテスト運転を行いたいときには、システム・インジケータ122の第1ポジションPt1が点灯している状態でSET/TESTキー110を押し下げると、モータアンプ100に記憶されているパラメータに基づいてモータ8が動作して部材Wを第1ポジションPt1まで移動させるテスト運転が実行される(図19のステップS4)。このテスト運転モードでは、第1表示エリア104aに現在座標又は移動量が表示される。必要であればモータ速度を表示させるようにしてもよい。   When the mode key 112 is depressed while the fourth position indicator Pt4 is lit, the test operation mode is switched to the first position Pt1. When the test operation mode is entered, the display in the second display area 104b changes to “tst” (FIG. 22). “Tst” means the test operation mode. For example, when a test operation of the first position Pt1 is desired, if the SET / TEST key 110 is depressed while the first position Pt1 of the system indicator 122 is lit, the parameter is stored in the motor amplifier 100. A test operation for moving the member W to the first position Pt1 by operating the motor 8 is executed (step S4 in FIG. 19). In this test operation mode, the current coordinates or movement amount is displayed in the first display area 104a. If necessary, the motor speed may be displayed.

次に第2ポジションPt2のテスト運転を行いたいときにはモードキー112を押し下げると、システム・インジケータ122の第2ポジションPt2が点灯する。この状態でSET/TESTキー110を押し下げると、モータアンプ100に記憶されているパラメータに基づいてモータ8が動作して部材Wを第1ポジションPt1から第2ポジションPt2まで移動させるテスト運転が実行される。以下、第3、第4ポジションPt3、Pt4のテスト運転も同様である。第4ポジションPt4から原点復帰させるテスト運転を行いたいときには、モードキー112を押し下げて、システム・インジケータ122の原点ポジションORGが点灯するのを確認する(図22)。そして、SET/TESTキー110を押し下げると、モータアンプ100に記憶されているパラメータに基づいてモータ8が動作して部材Wを原点ORGまで移動させるテスト運転が実行される(図22)。   Next, when the test operation of the second position Pt2 is desired, when the mode key 112 is depressed, the second position Pt2 of the system indicator 122 is turned on. When the SET / TEST key 110 is depressed in this state, a test operation is performed in which the motor 8 operates based on the parameters stored in the motor amplifier 100 to move the member W from the first position Pt1 to the second position Pt2. The The same applies to the test operations at the third and fourth positions Pt3 and Pt4. When a test operation for returning to the origin from the fourth position Pt4 is desired, the mode key 112 is depressed to confirm that the origin position ORG of the system indicator 122 is lit (FIG. 22). When the SET / TEST key 110 is depressed, a test operation is performed in which the motor 8 operates to move the member W to the origin ORG based on the parameters stored in the motor amplifier 100 (FIG. 22).

例えば、第2ポジションPt2のテスト運転で位置合わせが上手く行かないときには、図22から分かるように、モードキー112を押し下げることでJOGモード(図20)に戻ることができる。   For example, when the alignment is not successful in the test operation at the second position Pt2, as can be seen from FIG. 22, the mode key 112 can be depressed to return to the JOG mode (FIG. 20).

変形例として、第1ポジションPt1のティーチングの次に当該第1ポジションPt1のテスト運転、第2ポジションPt2のティーチングの次に第2ポジションPt2のテスト運転というように、ティーチングを実行した直後にそのテスト運転を行うようにしてもよい。   As a modification, the test immediately after the teaching is performed, such as the test operation of the first position Pt1 after the teaching of the first position Pt1, the test operation of the second position Pt2 after the teaching of the second position Pt2, etc. You may make it drive | work.

上述したティーチングモードでのJOGモードやテスト運転は、PLCに接続したパーソナルコンピュータをユーザが操作することによって行うようにしてもよい。以上説明したように、ティーチングモードにおいて、ユーザは、JOG操作で所望位置の座標を探索し、所望位置の座標が見つかれば、SET/TESTキー110の操作によりパラメータ値の登録(ティーチング)を行うことができる。そして、SET/TESTキー110の操作により、ティーチングの内容が正しいか否かをテスト運転にて仮実行できる。要するに、本実施形態に係るモータアンプ100は、ティーチングモードにおいて、所望位置の座標を探索するためのJOG動作と、所望位置の座標をパラメータ値としてモータアンプ100に記憶・保持するティーチング動作と、ティーチング動作により記憶・保持されたパラメータ値を用いて実際のモータ動作を仮実行するテスト運転と、を操作部106の操作に基づき切り換え可能に構成されている。したがって、機械系の専門家であっても、JOG動作⇒ティーチング⇒テスト運転、というモータアンプ100の設定に必要な設定を簡易に行うことができ、ひいては設定作業の負担を軽減することができる。   The JOG mode and the test operation in the teaching mode described above may be performed by a user operating a personal computer connected to the PLC. As described above, in the teaching mode, the user searches for the coordinates of the desired position by JOG operation, and if the coordinates of the desired position are found, the parameter value is registered (teaching) by operating the SET / TEST key 110. Can do. Then, by operating the SET / TEST key 110, whether or not the teaching content is correct can be temporarily executed in a test operation. In short, the motor amplifier 100 according to the present embodiment includes a JOG operation for searching for the coordinates of a desired position in the teaching mode, a teaching operation for storing and holding the coordinates of the desired position in the motor amplifier 100 as parameter values, and teaching. The test operation that temporarily executes the actual motor operation using the parameter values stored and held by the operation can be switched based on the operation of the operation unit 106. Therefore, even a mechanical expert can easily perform the setting necessary for the setting of the motor amplifier 100, that is, JOG operation → teaching → test operation, and thus the burden of setting work can be reduced.

自動モード(「AUTO」)
モード切替スイッチ128を操作して自動モード(「AUTO」)に切り替えると(図19のステップS5)、モータアンプ100はPLCからの信号(例えばモータ駆動信号)を受け付けることができる状態になる。図23を参照して説明すると、自動モードでは、典型的にはPLCからトリガー信号(例えばポイントパラメータpt1)が入ると(ステップS21)、モータアンプ100は、典型的にはこのモータアンプ100に内蔵したパラメータ記憶部16に記憶されているポイントパラメータを読み出して(ステップS22)、このポイントパラメータに基づく演算を行って指令情報を生成する(ステップS23)。そして、駆動信号出力部20からモータ8に駆動信号が出力され(ステップS24)、これによりモータ8が駆動することになる。この自動モードによってシステムを運用することができる(図19のステップS9)。運用時の使用形態である自動モードでは、第1表示エリア104a、第2表示エリア104bにどのポジションの制御を行っているか、どのような制御を実行中であるか、現在の速度や現在の位置などの情報を表示すればよい。また、モータがポイントパラメータpt1で規定される動作を行っているときは、第3インジケータ122cが点灯し、モータがポイントパラメータpt2で規定される動作を行っているときは、第4インジケータ122dが点灯する。すなわち、ポイントパラメータpt1で規定される動作と、ポイントパラメータpt2で規定される動作が交互に行われる場合には、第3インジケータ122cと第4インジケータ122dとが交互に点灯する。このように、ユーザはインジケータ122を視認することによって、モータ8の現在の動作状態を認識することができる。
Automatic mode (“AUTO”) :
When the mode changeover switch 128 is operated to switch to the automatic mode (“AUTO”) (step S5 in FIG. 19), the motor amplifier 100 is in a state where it can accept a signal (for example, a motor drive signal) from the PLC. Referring to FIG. 23, in the automatic mode, typically, when a trigger signal (for example, point parameter pt1) is input from the PLC (step S21), the motor amplifier 100 is typically built in the motor amplifier 100. The point parameter stored in the parameter storage unit 16 is read (step S22), and calculation based on this point parameter is performed to generate command information (step S23). Then, a drive signal is output from the drive signal output unit 20 to the motor 8 (step S24), thereby driving the motor 8. The system can be operated in this automatic mode (step S9 in FIG. 19). In the automatic mode, which is a usage pattern at the time of operation, which position is controlled in the first display area 104a and the second display area 104b, what control is being executed, the current speed and the current position Such information may be displayed. The third indicator 122c is lit when the motor is performing an operation defined by the point parameter pt1, and the fourth indicator 122d is lit when the motor is performing an operation defined by the point parameter pt2. To do. That is, when the operation specified by the point parameter pt1 and the operation specified by the point parameter pt2 are alternately performed, the third indicator 122c and the fourth indicator 122d are alternately lit. Thus, the user can recognize the current operating state of the motor 8 by visually checking the indicator 122.

運用時には、第1、第2の表示エリア104a、104bを含む表示部102や各種のインジケータは、運用の監視にとって効果的な運用モード表示が行われる。この表示情報についてユーザが予め指定できるのが好ましい。一つの例として、第2表示エリア104bに現在のポジションを表示し、第1表示エリア104aに現在又は設定した座標値や移動量を表示する例を挙げることができる。また、他の例として、第2表示エリア104bに、第1表示エリア104aに何の情報を示すかを指定する文字、位置(pos)、速度(spd)などを表示し、第1表示エリア104aに、第2表示エリア104bで指定された情報の現在の数値を表示するようにしてもよい。   During operation, the display unit 102 including the first and second display areas 104a and 104b and various indicators display an operation mode that is effective for operation monitoring. It is preferable that the user can designate the display information in advance. As an example, the current position can be displayed in the second display area 104b, and the current or set coordinate value or movement amount can be displayed in the first display area 104a. Further, as another example, characters indicating what information is displayed in the first display area 104a, position (pos), speed (spd), and the like are displayed in the second display area 104b, and the first display area 104a. In addition, the current numerical value of the information designated in the second display area 104b may be displayed.

図18に図示の実施例では、この自動モードにおいてパラメータ設定が可能である(図19のステップS6、S7)。図24、図25は自動モード(「AUTO」)での表示例を示す。図24、図25を参照して、自動モードの初期画面は、位置情報を表示する第1表示態様と、速度情報を表示する第2表示態様を有し、ユーザが操作部106を操作することで第1、第2の表示態様のいずれか一方を選択できる。図24、図25の例であれば、アップキー114a又はダウンキー114bを押し下げることで、位置情報(ポジションPt(n)の番号×当該ポジションの座標や移動量(現在値又は設定値))又は速度情報(速度情報を意味する「SPd×速度(現在値又は設定値」)のいずれか一方を表示部102に表示させることができる。   In the embodiment shown in FIG. 18, parameters can be set in this automatic mode (steps S6 and S7 in FIG. 19). 24 and 25 show display examples in the automatic mode (“AUTO”). 24 and 25, the initial screen of the automatic mode has a first display mode for displaying position information and a second display mode for displaying speed information, and the user operates the operation unit 106. Thus, one of the first and second display modes can be selected. In the example of FIGS. 24 and 25, by pressing down the up key 114a or the down key 114b, position information (number of position Pt (n) × coordinate or moving amount of the position (current value or set value)) or Any one of speed information (“SPd × speed (current value or set value)” indicating speed information) can be displayed on the display unit 102.

引き続き図24、図25を参照してこの自動モードにおいてモードキー112を押し下げるとパラメータ設定モードに入ることができる。ユーザは自動モードに含まれるパラメータ設定モードを使って設定値の調整や設定し直しが可能である。このパラメータ設定モードは一般的には電気系の専門家が使うことになる。   24 and 25, the parameter setting mode can be entered by depressing the mode key 112 in this automatic mode. The user can adjust or reset the set value using the parameter setting mode included in the automatic mode. This parameter setting mode is generally used by electrical experts.

図24はパラメータ設定モードを使って設定可能な項目を絞り込んだ限定表示モードでの表示の遷移を示す。限定表示モードは、設定変更や設定値の調整の頻度が比較的高い項目に絞り込まれている。図25はパラメータ設定モードを使って設定できる可能な全ての項目を表示するフル表示モードでの表示の遷移を示す。図24の限定表示モードでは、動作モードの設定、具体的には、図15に示す相対位置制御モード(INC)、絶対位置制御モード(ABS)の設定、目標座標又は移動量の設定、運転速度(モータ速度)の設定を含む。好ましい態様として、図24から分かるように、限定表示モードにするかフル表示モードにするかの設定を含んでいてもよい。この表示項目の遷移はライトキー114cを押し下げることにより行うことができる。なお、レフトキー114dを押し下げたときには逆方向に遷移する。   FIG. 24 shows display transitions in the limited display mode in which items that can be set using the parameter setting mode are narrowed down. The limited display mode is narrowed down to items with relatively high frequency of setting changes and setting value adjustments. FIG. 25 shows a display transition in the full display mode in which all possible items that can be set using the parameter setting mode are displayed. In the limited display mode of FIG. 24, the operation mode is set, specifically, the relative position control mode (INC) and the absolute position control mode (ABS) shown in FIG. Includes setting of (motor speed). As a preferable mode, as shown in FIG. 24, the setting of the limited display mode or the full display mode may be included. This display item transition can be performed by depressing the light key 114c. Note that when the left key 114d is pressed down, a transition is made in the reverse direction.

ユーザが例えば第1ポイントPt1の運転速度(モータ速度)の設定を変更したいときには、SET/TESTキー110を押し下げることで、第1〜第4のポイントPt1〜Pt4のインジケータを順次点灯状態にすることができる。SET/TESTキー110を使って第1ポイントPt1のインジケータを点灯させた状態でライトキー114c又はレフトキー114dを押し下げて運転速度の項目を表示させる。運転速度の項目では、図24から分かるように第2表示エリア104bに「SPd」の文字が表示され、また、第1表示エリア104aにその設定値(図示例では「10000」)が表示される。この「10000」の数値はアップキー114aを押すことで増加させることができる。逆に、ダウンキー114bを押すことで「10000」の数値を減少させることができる。所望の運転速度の数値になったらSET/TESTキー110を押し下げて確定することで、新しい運転速度の目標値がモータアンプ100のパラメータ記憶部16に記憶される(設定値の更新)。動作モードや目標座標(移動量)の設定についても同様の操作で行うことができる。   For example, when the user wants to change the setting of the operation speed (motor speed) of the first point Pt1, the indicators of the first to fourth points Pt1 to Pt4 are sequentially turned on by depressing the SET / TEST key 110. Can do. While the indicator of the first point Pt1 is turned on using the SET / TEST key 110, the right key 114c or the left key 114d is depressed to display the operation speed item. In the item of operation speed, as can be seen from FIG. 24, the characters “SPd” are displayed in the second display area 104b, and the set value (“10000” in the illustrated example) is displayed in the first display area 104a. . The numerical value “10000” can be increased by pressing the up key 114a. Conversely, the numerical value “10000” can be decreased by pressing the down key 114b. When the desired operation speed value is reached, the SET / TEST key 110 is depressed to confirm, and the new operation speed target value is stored in the parameter storage unit 16 of the motor amplifier 100 (setting value update). The operation mode and target coordinates (movement amount) can be set by the same operation.

図25は、フル表示モードでの表示項目を示す。このフル表示モードでは、限定表示モードでの表示項目の他に、「加速レート」、「減速レート」、「次ポイントの指定」、「連続」、「停止センサの設定」、「停止入力後の移動量」を含んでいる。ここに、「連続」とはポイントを跨ぐ際に、起動速度まで減速して連結するか、或いは、減速せずに連結するか、の設定を意味する。また、「停止センサの設定」とは、外部入力を使って停止動作を行うか否かの設定を意味する。また、「停止入力後の移動量」とは、外部入力が入った後、停止するまでの移動量の設定を意味する。このフル表示モードを使った各種の設定の変更は前述した限定表示モードと同じ要領で行うことができる。   FIG. 25 shows display items in the full display mode. In this full display mode, in addition to the display items in the limited display mode, "acceleration rate", "deceleration rate", "next point specification", "continuous", "stop sensor setting", "after stop input" "Movement amount" is included. Here, “continuous” means the setting of whether the connection is decelerated to the starting speed or the connection is not performed when the points are crossed. The “stop sensor setting” means setting whether or not to perform a stop operation using an external input. Further, the “movement amount after stop input” means the setting of the movement amount until the stop after an external input is input. Various settings can be changed using the full display mode in the same manner as the limited display mode described above.

自動モード(「AUTO」)で設定を行った場合、前述したように、ティーチングモードにモード切替えしてテスト運転を行うことができる(図19のステップS8、S4)。勿論、自動モードのままでPLCからの指令に基づくテスト運転も可能である。   When the setting is performed in the automatic mode (“AUTO”), the test operation can be performed by switching the mode to the teaching mode as described above (steps S8 and S4 in FIG. 19). Of course, a test operation based on a command from the PLC can be performed in the automatic mode.

アラーム解除(図26)
自動モードやティーチングモードで異常が発生したときにはアラーム状態になる。アラーム状態の具体例としては、例えば、I/Oタイプのモータアンプ100(I/O)において、ポイントパラメータpt3の座標として、所定の範囲内の数値をティーチングしていたにも関わらずメモリ化け等によって予期せぬ座標になった場合等である。この場合、自動モードにてPLCからポイントパラメータpt3への切換信号を受け取って、制御部14がパラメータ記憶部16からポイントパラメータpt3を読み出したとき、制御部14が異常を検知する。つまり、制御部14は、ポイントパラメータの座標がとり得る値の所定範囲(閾値)を記憶しており、パラメータ記憶部16から読み出したポイントパラメータの座標が所定範囲か否かを判断する機能を有している。そして、所定範囲外であれば、上述したアラーム状態になる。なお、このようなアラーム状態は、自動モードだけでなく、ティーチングモードのテスト運転でも生じ得る。アラーム状態ではモータ8は強制的に停止された状態になる。また、ステータス・インジケータ124が赤色に点灯又は点滅する。自動モードやティーチングモード(ティーチングモードでは特にテスト運転)でアラームが発生すると、表示部102やシステム・インジケータ122の表示がアラーム表示モードに切り替わり、アラーム状態表示が行われる(図26)。アラーム表示状態では、第2表示エリア104bに「ALM」の文字が表示される。「ALM」はアラーム発生を意味している。「ALM」表示は赤文字や点滅表示でもよい。勿論、モータアンプ100にブザーなどの音源を用意し、アラーム発生と同期してアラーム音を発生させてもよい。
Alarm release (Fig. 26) :
When an error occurs in the automatic mode or teaching mode, an alarm state occurs. As a specific example of the alarm state, for example, in the I / O type motor amplifier 100 (I / O), even if the numerical value within a predetermined range is taught as the coordinates of the point parameter pt3, the memory is changed. If the coordinates become unexpected due to the above. In this case, when the switching signal from the PLC to the point parameter pt3 is received in the automatic mode and the control unit 14 reads the point parameter pt3 from the parameter storage unit 16, the control unit 14 detects an abnormality. That is, the control unit 14 stores a predetermined range (threshold value) of values that can be taken by the coordinates of the point parameter, and has a function of determining whether the coordinates of the point parameter read from the parameter storage unit 16 are within the predetermined range. doing. And if it is outside a predetermined range, it will be in the alarm state mentioned above. Note that such an alarm state can occur not only in the automatic mode but also in a test operation in the teaching mode. In the alarm state, the motor 8 is forcibly stopped. In addition, the status indicator 124 lights or blinks red. When an alarm is generated in the automatic mode or teaching mode (especially test operation in the teaching mode), the display on the display unit 102 and the system indicator 122 is switched to the alarm display mode, and the alarm state is displayed (FIG. 26). In the alarm display state, the characters “ALM” are displayed in the second display area 104b. “ALM” means that an alarm has occurred. “ALM” may be displayed in red or blinking. Of course, a sound source such as a buzzer may be prepared in the motor amplifier 100, and an alarm sound may be generated in synchronization with the generation of the alarm.

システム・インジケータ122は故障やトラブルに関連した部位に相当するインジケータが点灯又は点滅する。また、第1表示エリア104aには故障やトラブルの内容がコード番号又はこれが直感的に分かる文字が表示される。このアラーム解除は、操作部106に含まれるモードキー112以外のキーを押し下げることで行うことができる。ただし、この操作で解除できないアラームがある。一例としてステッピングモータのエンコーダが故障した場合ではモードキー112を押し下げてもアラーム表示を解除できない。他方、モードキー112を押し下げることで、このアラーム表示モードに入る直前の表示状態に戻すことができる。   As the system indicator 122, an indicator corresponding to a part related to a failure or trouble is lit or blinked. Further, the first display area 104a displays a code number indicating the content of the failure or trouble or a character that can be understood intuitively. This alarm can be released by pressing a key other than the mode key 112 included in the operation unit 106. However, some alarms cannot be cleared by this operation. As an example, when the encoder of the stepping motor fails, the alarm display cannot be canceled even if the mode key 112 is depressed. On the other hand, by depressing the mode key 112, the display state immediately before entering the alarm display mode can be restored.

緊急時のモータの強制停止(図27)
モータアンプ100は、前述したように操作部106から離れた場所つまり表示部102を挟んで対抗(対向)する位置にストップキー118が配置されている。このストップキー118はモータ8を緊急停止するのに用いられる。例えばテスト運転で想定外の動きになったときにストップキー118を押し下げることでモータ8の動作を停止することができる。ストップキー118は常時、その押し下げ操作(ON出力)が監視されている。図27を参照して、モータアンプ100はストップキー118の操作を常時監視しており(ステップS30、S31)、ストップキー118が押し下げられるとステップS32に進んで、位置決め中つまりモータ8が動作中であるか否かの判別が行われ、YES(モータ動作中)であればステップS33に進んでモータ8への制御信号が遮断される。これによりモータ8は強制停止状態になる。
Forced motor stop in emergency (Fig. 27) :
In the motor amplifier 100, the stop key 118 is disposed at a position away from the operation unit 106, that is, a position facing (opposing) the display unit 102, as described above. The stop key 118 is used for emergency stop of the motor 8. For example, the operation of the motor 8 can be stopped by depressing the stop key 118 when an unexpected movement occurs in the test operation. The stop key 118 is constantly monitored for its depression operation (ON output). Referring to FIG. 27, motor amplifier 100 constantly monitors the operation of stop key 118 (steps S30 and S31), and when stop key 118 is depressed, the process proceeds to step S32, during positioning, that is, motor 8 is operating. If YES (during motor operation), the process proceeds to step S33 and the control signal to the motor 8 is cut off. As a result, the motor 8 is forcedly stopped.

モード切替スイッチ128の操作に伴う事故発生対策(図28、図29)
前述したように自動モードでは、その上位装置のPLCの指令に基づいてモータアンプ100が動作する。他方、ティーチングモードではPLCとモータアンプ100との交信が遮断された状態になる。例えば自動モードでモータ8が動作中にモード切替スイッチ128が操作されてティーチングモードに切り替わるとモータ8が暴走してしまう可能性がある。ティーチングモードでテスト運転中にモード切替スイッチ128が操作されて自動モードに切り替わるときも同じようにモータ8が暴走してしまう可能性がある。このように、モータ8が実際に動作している最中にモード切替スイッチ128が操作されると、モータ8が予期せぬ動作をしてしまう虞がある。
Countermeasures against accidents caused by operation of the mode switch 128 (FIGS. 28 and 29) :
As described above, in the automatic mode, the motor amplifier 100 operates based on a command from the PLC of the host device. On the other hand, in the teaching mode, the communication between the PLC and the motor amplifier 100 is cut off. For example, if the mode change switch 128 is operated while the motor 8 is operating in the automatic mode and the mode is switched to the teaching mode, the motor 8 may run away. Similarly, when the mode changeover switch 128 is operated during the test operation in the teaching mode to switch to the automatic mode, the motor 8 may run away in the same way. As described above, if the mode switch 128 is operated while the motor 8 is actually operating, the motor 8 may be unexpectedly operated.

図28及び図29は、これに対する対策である。図28は自動モードからティーチングモードに切り替わったときの安全制御例を示す。この図28を参照して、いまモード切替スイッチ128が自動モードからティーチングモードに切り替わったとする(S41)。モータアンプ100は、モータ8が動作中つまり位置決め動作中であることを常時監視している(S42)。モータ8の動作が完了すると、モード切替スイッチ128の信号を受け付けてその状態を判別する(S43)。自動モードであればモータアンプ100は自動モードが継続される。これによりモータ8は自動モードに基づいて制御されることになる(S44)。他方、スイッチ128がティーチングモード位置であれば、モータアンプ100はティーチングモードに切り替わる。すなわち、この図28の例では、モータ8が動作中はモード切替スイッチ128の状態監視をキャンセルする処理を行う、換言すればモード切替スイッチ128の受信を無効化することでモータ8の動作中でのモード切替えを行わないようにしてある。   28 and 29 are countermeasures against this. FIG. 28 shows an example of safety control when the automatic mode is switched to the teaching mode. Referring to FIG. 28, it is assumed that the mode switch 128 is switched from the automatic mode to the teaching mode (S41). The motor amplifier 100 constantly monitors that the motor 8 is operating, that is, positioning operation (S42). When the operation of the motor 8 is completed, the signal of the mode switch 128 is received and the state is determined (S43). In the automatic mode, the motor amplifier 100 continues the automatic mode. Thus, the motor 8 is controlled based on the automatic mode (S44). On the other hand, if the switch 128 is in the teaching mode position, the motor amplifier 100 is switched to the teaching mode. That is, in the example of FIG. 28, while the motor 8 is operating, the process of canceling the state monitoring of the mode change switch 128 is performed. In other words, the reception of the mode change switch 128 is invalidated so that the motor 8 is operating. Mode switching is not performed.

図29はティーチングモードでテスト運転中にモード切替スイッチ128が操作されたときの安全対策である。図29を参照して、テスト運転が開始され(S51)、このテスト運転が実行中のときにはモード切替スイッチ128の信号はキャンセルされる(S52)。テスト運転が終了した時点つまりモータ8の動作が終わった時点でモード切替スイッチ128の信号を受け付けてその状態を判別する(S53)。スイッチ128が自動モード位置であればモータアンプ100は自動モードに切り替えられる(S54)。他方、スイッチ128がティーチングモード位置であれば、モータアンプ100はティーチングモードの状態が維持される。   FIG. 29 shows safety measures when the mode switch 128 is operated during the test operation in the teaching mode. Referring to FIG. 29, the test operation is started (S51), and when the test operation is being executed, the signal of mode switch 128 is canceled (S52). When the test operation ends, that is, when the operation of the motor 8 ends, the signal of the mode switch 128 is received to determine the state (S53). If the switch 128 is in the automatic mode position, the motor amplifier 100 is switched to the automatic mode (S54). On the other hand, if switch 128 is in the teaching mode position, motor amplifier 100 is maintained in the teaching mode.

モータアンプ100の前面構成の変形例(図30):
図30は、モータアンプ100の変形例の前面構成を説明するための正面図である。図30を参照して、方向キー114の左右に、SET/TESTキー110とモードキー(Mキー)112が離れて配置されている。これにより、SET/TESTキー110とモードキー112の押し間違いを防止することができる。
Modified example of the front configuration of the motor amplifier 100 (FIG. 30):
FIG. 30 is a front view for explaining a front configuration of a modified example of the motor amplifier 100. Referring to FIG. 30, SET / TEST key 110 and mode key (M key) 112 are arranged separately on the left and right of direction key 114. Thereby, it is possible to prevent erroneous pressing of the SET / TEST key 110 and the mode key 112.

図30に示すモータアンプ100の変形例の前面構成では、前述した図3に示すストップキー118が設けられておらず、このストップキー118の機能をモードキー112に割り付けられている。モードキー112は、図17や図18の状態遷移図を用いて既に説明したように、ティーチングモード(「TEACH」)において各モード(ティーチング、JOG操作、テスト運転、パラメータ設定等)を切り換える機能、自動モード(「AUTO」)において各モード(モニタ、パラメータ設定等)を切り換える機能を有している。例えばティーチングモード(「TEACH」)におけるテスト運転時(モータが実際に動作している時)に、モードキー112を押してテスト運転モードから抜けることにより、モータを緊急停止させることができる。また、自動モード(「AUTO」)における通常運転時(モータが実際に動作している時)に、モードキー112を押してモニタモードから抜けることにより、モータを緊急停止させることができる。このように、モードキー112をストップキー118の代わりとして用いることも可能である。   In the front configuration of the modified example of the motor amplifier 100 shown in FIG. 30, the stop key 118 shown in FIG. 3 is not provided, and the function of the stop key 118 is assigned to the mode key 112. The mode key 112 has a function of switching each mode (teaching, JOG operation, test operation, parameter setting, etc.) in the teaching mode (“TEACH”), as already described using the state transition diagrams of FIG. 17 and FIG. It has a function of switching each mode (monitor, parameter setting, etc.) in the automatic mode (“AUTO”). For example, during a test operation in the teaching mode (“TEACH”) (when the motor is actually operating), the motor can be urgently stopped by pressing the mode key 112 to exit the test operation mode. In addition, during normal operation in the automatic mode (“AUTO”) (when the motor is actually operating), the motor can be urgently stopped by pressing the mode key 112 to exit the monitor mode. As described above, the mode key 112 can be used in place of the stop key 118.

図30に示すモータアンプ100の変形例の前面構成では、局番表示用のロータリスイッチ126が設けられていないが、局番設定機能は通信ユニット200にもたせるようにしている(図10参照)。すなわち、通信ユニット200は、ユーザ操作に基づいて、各モータアンプ100を一意に特定するための局番を設定する機能を有し得る。   In the front configuration of the modified example of the motor amplifier 100 shown in FIG. 30, the station number display rotary switch 126 is not provided, but the station number setting function is provided to the communication unit 200 (see FIG. 10). That is, the communication unit 200 can have a function of setting a station number for uniquely identifying each motor amplifier 100 based on a user operation.

図30に示すモータアンプ100の変形例の前面構成では、現在JOGモードであることを示すJOG・インジケータ122gが設けられている。このJOG・インジケータ122gは、ティーチングモード(「TEACH」)におけるJOGモード時に点灯するよう制御部14によって制御される。また、ステータス・インジケータ124は、左右に細長の形状を有しており、且つ、ユーザが視認しやすい位置、すなわちモータアンプ筐体の上方に取り付けられている。第1実施形態で説明したように、ステータス・インジケータ124は、モータアンプ100が正常に動作しているときには緑色に点灯し、エラーが発生したときには赤色に点灯又は点滅してユーザにアラームを発する。   In the front configuration of the modified example of the motor amplifier 100 shown in FIG. 30, a JOG / indicator 122g indicating the current JOG mode is provided. The JOG / indicator 122g is controlled by the control unit 14 so as to be lit in the JOG mode in the teaching mode (“TEACH”). Further, the status indicator 124 has an elongated shape on the left and right, and is attached to a position where the user can easily see, that is, above the motor amplifier housing. As described in the first embodiment, the status indicator 124 is lit in green when the motor amplifier 100 is operating normally, and is lit or blinks in red when an error occurs to issue an alarm to the user.

図30に示すモータアンプ100の変形例の前面構成では、モード切替スイッチ128は、「SETTING」と「MONITOR」を切り替え可能となっているが、上述したティーチングモード(「TEACH」)が「SETTING」に対応し、上述した自動モード(「AUTO」)が「MONITOR」に対応する。図30に示すモード切替スイッチ128は、前述した図3と異なり、左右方向に切り替え可能に構成されている(図3では上下方向に切り替える)。すなわち、モード切替スイッチ128の切替方向は、表示部102の延伸方向と略直交する方向となっている。   In the front configuration of the modified example of the motor amplifier 100 shown in FIG. 30, the mode switch 128 can switch between “SETTING” and “MONITOR”, but the teaching mode (“TEACH”) described above is “SETTING”. The above-mentioned automatic mode (“AUTO”) corresponds to “MONITOR”. The mode changeover switch 128 shown in FIG. 30 is configured to be switchable in the left-right direction, unlike FIG. 3 described above (in FIG. 3, it is switched in the up-down direction). That is, the switching direction of the mode switch 128 is a direction substantially orthogonal to the extending direction of the display unit 102.

図30に示すモータアンプでは、左右の側面に4個ずつ突起149が設けられている(図30では、下方の突起149が重なっているため、3個ずつの突起149が視認される)。片面4個の突起149は、例えば、隣接配置されるモータアンプのうち一方のモータアンプの側面に設けられた突起が雄、他方のモータアンプの側面に設けられた突起が雌となって、両モータアンプを仮固定させる機能を有する。例えば図30では、大径の突起149aの内部空間に、(隣接配置されるモータアンプ側面に設けられた)小径の突起149bが挿入され、両モータアンプが仮固定される。   In the motor amplifier shown in FIG. 30, four protrusions 149 are provided on the left and right side surfaces (in FIG. 30, since the lower protrusions 149 overlap each other, three protrusions 149 are visible). The four projections 149 on one side are, for example, a male projection on the side of one of the adjacent motor amplifiers, and a female projection on the side of the other motor amplifier. It has a function to temporarily fix the motor amplifier. For example, in FIG. 30, a small-diameter projection 149b (provided on the side surface of the adjacent motor amplifier) is inserted into the internal space of the large-diameter projection 149a, and both motor amplifiers are temporarily fixed.

100 モータアンプ
4 PLCユニット(上位装置)
14 制御部
16 パラメータ記憶部
18 位置決め指令部
20 駆動信号出力部
102 表示部
104 表示エリア
104a 第1表示エリア
104b 第2表示エリア
106 操作部
110 SET/TESTキー
112 モードキー(Mキー)
114 方向キー
118 ストップキー
122 システム・インジケータ
128 スライド式のモード切替スイッチ
100 Motor amplifier 4 PLC unit (host device)
DESCRIPTION OF SYMBOLS 14 Control part 16 Parameter memory | storage part 18 Positioning command part 20 Drive signal output part 102 Display part 104 Display area 104a 1st display area 104b 2nd display area 106 Operation part 110 SET / TEST key 112 Mode key (M key)
114 Direction key 118 Stop key 122 System indicator 128 Slide mode switch

Claims (7)

モータ及び上位装置に接続され、該上位装置からのモータ駆動信号を受け付けて該モータの駆動制御を行うモータ駆動装置であって、
前記上位装置からのモータ駆動信号を受け付けて前記モータの駆動制御を行う第1モードと、前記上位装置からのモータ駆動信号を無視する第2モードとを有し、ユーザの操作によって前記第1モードと前記第2モードとを択一的に切り替えるためのモード切替スイッチと、
前記第2モードであるときに、ユーザの操作に応じて前記モータを動作させるJOGモードを少なくとも選択可能なモード選択部と、
前記モード選択部により前記JOGモードが選択されたときに、前記モータ駆動装置が現在JOGモードであることを表示する表示部と、
前記モード選択部により前記JOGモードが選択されたときに、ユーザの操作に応じて前記モータを動作させることが可能な操作部とを有するモータ駆動装置。
A motor drive device connected to a motor and a host device, receiving a motor drive signal from the host device and performing drive control of the motor,
A first mode in which a motor drive signal from the host device is received and the motor drive control is performed; and a second mode in which the motor drive signal from the host device is ignored. And a mode changeover switch for selectively switching between the second mode,
A mode selection unit capable of selecting at least a JOG mode for operating the motor in response to a user operation when in the second mode;
A display unit for displaying that the motor driving device is currently in the JOG mode when the JOG mode is selected by the mode selection unit;
A motor drive device comprising: an operation unit capable of operating the motor in accordance with a user operation when the JOG mode is selected by the mode selection unit.
前記表示部に現在JOGモードであることが表示された状態で、前記操作部を介したユーザ操作に基づいて前記モータを動作させる、請求項1に記載のモータ駆動装置。   The motor driving device according to claim 1, wherein the motor is operated based on a user operation through the operation unit in a state where the display unit is currently displayed as being in the JOG mode. 前記モータの動作に関連したパラメータを記憶するパラメータ記憶部と、
前記操作部を介したユーザの操作に基づいて前記モータを動作させたときに得られたパラメータを前記パラメータ記憶部に記憶させることによりティーチングを行うための設定キーと、を有し、
前記モード選択部は、前記ティーチングを行うモードと前記JOGモードとを択一的に選択可能である、請求項1又は2に記載のモータ駆動装置。
A parameter storage unit for storing parameters related to the operation of the motor;
A setting key for performing teaching by causing the parameter storage unit to store parameters obtained when the motor is operated based on a user operation via the operation unit;
The motor driving device according to claim 1, wherein the mode selection unit can alternatively select the teaching mode and the JOG mode.
前記モータを動作させたときに得られたパラメータが位置座標又は移動量である、請求項3に記載のモータ駆動装置。   The motor drive device according to claim 3, wherein the parameter obtained when the motor is operated is a position coordinate or a movement amount. 前記モード選択部は、更に、前記ティーチングによって前記パラメータ記憶部に記憶されたパラメータに基づいて前記モータを動作させるテスト運転モードを選択可能である、請求項3又は4に記載のモータ駆動装置。   5. The motor drive device according to claim 3, wherein the mode selection unit is further capable of selecting a test operation mode in which the motor is operated based on parameters stored in the parameter storage unit by the teaching. 前記テスト運転モードでのモータ速度をユーザが登録可能である、請求項5に記載のモータ駆動装置。   The motor drive device according to claim 5, wherein a user can register a motor speed in the test operation mode. 運用時の前記上位装置からの信号を受け付けてモータ駆動制御を行う第1モードと、前記上位装置からの信号を無視する第2モードとを有し、ユーザの操作によって前記第1モードと前記第2モードとを択一的に切り替えるためのモード切替スイッチと、
前記第2モードのときにユーザが選択可能なJOGモードと、を有するモータ駆動装置を、その制御対象であるモータに接続する工程と、
前記第2モードであり且つ前記JOGモードが選択されたときに、操作部をユーザが操作することにより該ユーザの操作に対応した前記モータを動作させることにより位置合わせする工程と、
ユーザが前記操作部を操作することにより、前記位置合わせする工程に関連したパラメータを登録する工程と、
前記第2モードであるときに、前記登録したパラメータに基づいて前記モータをテスト運転させる工程と、を有するモータ駆動装置の動作確認方法。
A first mode that receives a signal from the host device during operation and performs motor drive control; and a second mode that ignores a signal from the host device, and the first mode and the first mode are operated by a user operation. A mode selector switch for selectively switching between two modes;
Connecting a motor driving device having a JOG mode selectable by the user in the second mode to a motor to be controlled;
When the second mode and the JOG mode is selected, the user operates the operation unit to operate the motor corresponding to the user's operation to perform alignment,
A step of registering parameters related to the alignment step by a user operating the operation unit;
And a step of performing a test operation of the motor based on the registered parameters when in the second mode.
JP2013105618A 2013-05-17 2013-05-17 Motor drive device and method for checking operation thereof Pending JP2014228900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013105618A JP2014228900A (en) 2013-05-17 2013-05-17 Motor drive device and method for checking operation thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013105618A JP2014228900A (en) 2013-05-17 2013-05-17 Motor drive device and method for checking operation thereof

Publications (1)

Publication Number Publication Date
JP2014228900A true JP2014228900A (en) 2014-12-08

Family

ID=52128725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013105618A Pending JP2014228900A (en) 2013-05-17 2013-05-17 Motor drive device and method for checking operation thereof

Country Status (1)

Country Link
JP (1) JP2014228900A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022202392A1 (en) * 2021-03-24 2022-09-29 ファナック株式会社 Electronic apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022202392A1 (en) * 2021-03-24 2022-09-29 ファナック株式会社 Electronic apparatus

Similar Documents

Publication Publication Date Title
US8789764B2 (en) Dial-mode temperature controller that facilitates changing of temperature range
US20050141681A1 (en) Mobile arithmetic unit and extension device for industrial machine control
EP2760128B1 (en) Motor drive device
US10456880B2 (en) Processing machine and processing machine line
US11774942B2 (en) Machine tool operation system and machine tool operation method carried out by said system
JP6214920B2 (en) Motor drive device
JP6243140B2 (en) Motor drive device
KR100647114B1 (en) Programmable controller system
JP2014228900A (en) Motor drive device and method for checking operation thereof
JP6986207B2 (en) Notification system
JP6578857B2 (en) Numerical control device and control method of numerical control device
US9418542B2 (en) Method for operating a remote control system and remote control system of this type
JP2015012025A (en) Motor drive device
CN108367423B (en) Hand-held power tool with adjustable direction of rotation
CN210377412U (en) Composite operation panel system
US20110202146A1 (en) Method for triggering actions of a machine using secure input elements
JP2009002593A (en) Controller of air conditioner
JP6628109B2 (en) Signal indicator system and signal indicator therefor
JP5364287B2 (en) Mold take-out machine
JP6209439B2 (en) Directional switching valve for construction machine, opening determination device thereof, and opening determination method thereof
JP2009241541A5 (en)
RU2399576C1 (en) Device to control construction machine (versions)
KR101789020B1 (en) Touch type control apparatus for tool magazine of machine tool and method thereof
KR102047908B1 (en) potable manual pulse generator control device
JP5009211B2 (en) Controller