JP4415798B2 - Parameter change processing method - Google Patents

Parameter change processing method Download PDF

Info

Publication number
JP4415798B2
JP4415798B2 JP2004255226A JP2004255226A JP4415798B2 JP 4415798 B2 JP4415798 B2 JP 4415798B2 JP 2004255226 A JP2004255226 A JP 2004255226A JP 2004255226 A JP2004255226 A JP 2004255226A JP 4415798 B2 JP4415798 B2 JP 4415798B2
Authority
JP
Japan
Prior art keywords
communication
parameter
motor control
motor
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2004255226A
Other languages
Japanese (ja)
Other versions
JP2006072696A (en
Inventor
慶成 池内
智久 平川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2004255226A priority Critical patent/JP4415798B2/en
Publication of JP2006072696A publication Critical patent/JP2006072696A/en
Application granted granted Critical
Publication of JP4415798B2 publication Critical patent/JP4415798B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Safety Devices In Control Systems (AREA)

Description

本発明は、指令を発行するマスター装置と、通信を経由したマスター装置からの指令に基づきモータを制御するモータ制御装置と、通信を経由しモータ制御用パラメータの設定およびモータ制御装置内のデータのモニタなどを行う操作装置を有するモータ制御システムにおいて、マスター装置および操作装置それぞれから発行される指令の競合および不要な処理により引き起こされる誤動作や不安全動作を防止するモータ制御装置に関するもの
である。
The present invention provides a master device that issues a command, a motor control device that controls a motor based on a command from the master device via communication, setting of parameters for motor control via communication, and data in the motor control device. The present invention relates to a motor control system that prevents malfunctions and unsafe operations caused by conflicts of commands issued from a master device and an operation device and unnecessary processing in a motor control system having an operation device that performs monitoring and the like.

図7は従来のモータ制御システムの構成を示している。マスター装置101と複数台のモータ制御装置102(102a、102b、102c)が通信A104により接続されている。   FIG. 7 shows the configuration of a conventional motor control system. The master device 101 and a plurality of motor control devices 102 (102a, 102b, 102c) are connected by communication A104.

モータ制御装置102はそれぞれ通信A104に対応した送受信機能を持つ通信部A109と、操作装置111とモータ制御装置間のデータの送受信を行う通信B105に対応した送受信機能を持つ通信部B110と、モータ制御や通信データ処理などを行う中央制御部112を備え、中央制御部112内にはモータ制御ゲインなどのパラメータを記憶する記憶部103を備えている。   The motor control device 102 includes a communication unit A109 having a transmission / reception function corresponding to the communication A104, a communication unit B110 having a transmission / reception function corresponding to the communication B105 for transmitting / receiving data between the operation device 111 and the motor control device, and a motor control. And a central control unit 112 that performs communication data processing and the like, and the central control unit 112 includes a storage unit 103 that stores parameters such as motor control gain.

通常運転時にはマスター装置101と各モータ制御装置102間を通信A104で接続し、各モータ制御装置102にそれぞれ接続されたモータ106(106a、106b、106c)に対する動作指令やモータ106の位置情報などのデータを送受信している。   During normal operation, the master device 101 and each motor control device 102 are connected by communication A104, and operation commands for the motors 106 (106a, 106b, 106c) connected to each motor control device 102, position information of the motor 106, etc. Sending and receiving data.

機械115内の各モータ制御装置102に対してモータ制御ゲインの調整やティーチング作業などを行うときには、機械115の動作を目視で確認しながら行うことが理想であるが、マスター装置101と機械115は離れて設置されていることが多く、持ち運びが容易な操作装置111を使用してモータ制御ゲインの調整やティーチング作業などを行うことが一般的であった(例えば、特許文献1参照)。
特開平10−105206号公報
When adjusting the motor control gain or teaching work for each motor control device 102 in the machine 115, it is ideal to check the operation of the machine 115 visually, but the master device 101 and the machine 115 are In many cases, they are installed remotely, and it is common to perform adjustment of a motor control gain, teaching work, and the like using an operation device 111 that is easy to carry (see, for example, Patent Document 1).
JP-A-10-105206

解決しようとする問題点は、モータ制御ゲインの調整やティーチング作業などを行うときに操作装置を使用する場合、マスター装置からの指令と操作装置からの指令が競合し、調整したデータが上書きされるなどの不具合が発生する課題があった。   The problem to be solved is that when the operating device is used when adjusting the motor control gain or teaching work, the command from the master device and the command from the operating device conflict, and the adjusted data is overwritten. There has been a problem that causes problems such as.

これを回避するために、マスター装置のプログラムを変更し、マスター装置からの指令を停止させるなどの措置が必要であったが、マスター装置のプログラムが変更できない、または変更が容易でないという課題があった。   In order to avoid this, measures such as changing the program of the master device and stopping the command from the master device were necessary, but there was a problem that the program of the master device could not be changed or was not easy to change. It was.

また、マスター装置のプログラムを停止または通信Aを停止させた状態で、マスター装置からの指令なし、つまり操作装置からの指令のみで調整した場合には、実際の駆動条件とは異なるために最適な制御ゲインの調整ができないなどの課題があった。   In addition, when the program of the master device is stopped or communication A is stopped, there is no command from the master device, that is, the adjustment is made only with the command from the operating device. There was a problem that the control gain could not be adjusted.

また、モータ制御システム全体が調整完了したにも関わらず、操作装置の誤操作により調整値を上書きすることもあり、再調整を必要とするなどの課題があった。   In addition, although the adjustment of the entire motor control system is completed, the adjustment value may be overwritten due to an erroneous operation of the operation device, and there is a problem that readjustment is necessary.

本発明は上記の課題を解決するものであり、マスター装置のプログラムの変更を不要とし、マスター装置と操作装置の指令の競合および誤操作を防止できるモータ制御装置を提供することを目的とする。 The present invention has been made to solve the above problems, and aims to be unnecessary to change the program of the master device, to provide a motor control device that can be prevent conflicts and Ayamamisao operation command of the master device and the operating device To do.

上記課題を解決するために本発明は、マスター装置からの動作指令に基づきモータを制御するモータ制御装置に操作装置が接続されたモータ制御システムにおいて、前記モータ制御装置は、前記マスター装置とデータの送受信を行う通信Aに対応した送受信機能を持つ通信部Aと、前記操作装置とデータの送受信を行う通信Bに対応した送受信機能を持つ
通信部Bと、モータ制御に関する複数のパラメータと前記通信Aまたは通信Bを経由した指令に基づいたパラメータ変更処理の許可または禁止モードを切り替えるアクセス制御パラメータを配置した記憶部とを備え、前記操作装置による調整作業中は、前記通信Aを経由したパラメータ変更処理をアクセス制御パラメータで禁止モードに設定し、前記マスター装置からの指令によりモータ制御に関するパラメータの調整作業を実施し、パラメータを選択するステップ1と、前記マスター装置からのパラメータ変更指令値をステップ1で選択したパラメータの設定値に変更するステップ2と、前記通信Aを経由したパラメータ変更処理を禁止モードから許可モードに切り替えるステップ3と、ステップ3後に前記操作装置を通信Bから切り離す、あるいは前記通信Bを経由したパラメータ変更処理を禁止モードに切り替えることによって通信Aと通信Bのそれぞれを経由した指令に基づいた処理の競合および不要な処理により引き起こされる誤動作を防ぐことが可能となる。
In order to solve the above-described problems, the present invention provides a motor control system in which an operating device is connected to a motor control device that controls a motor based on an operation command from a master device. A communication unit A having a transmission / reception function corresponding to communication A that performs transmission / reception, and a transmission / reception function corresponding to communication B that transmits / receives data to / from the operation device.
A communication unit B; and a storage unit in which a plurality of parameters relating to motor control and an access control parameter for switching a permission mode or a prohibition mode of parameter change processing based on a command via the communication A or the communication B are arranged. During the adjustment work by the step 1, the parameter change process via the communication A is set to the prohibit mode by the access control parameter, the parameter adjustment work related to the motor control is performed by the command from the master device, and the parameter is selected. Step 2 for changing the parameter change command value from the master device to the set value of the parameter selected in Step 1, Step 3 for switching the parameter change process via the communication A from the prohibit mode to the allow mode, 3 Disconnect the controller from communication B after 3 Alternatively it is possible to prevent malfunction caused by competition and unnecessary processing of the processing based on the instruction via the respective communication B with the communication A by switching the parameter changing processing via the communication B to inhibit mode.

本発明のモータ制御装置によれば、通信Aまたは通信Bを経由したパラメータ変更処理の許可または禁止モードを切り替えるアクセス制御パラメータをモータ制御装置内の記憶部に配置することで、マスター装置のプログラムを変更することなく、マスター装置と操作装置からのモータ制御ゲインなどのパラメータ変更処理の競合および不要な処理により引き起こされる誤動作を防止することが可能となり、調整の作業性の向上と不安全な状態となることを避けることが可能となる。 According to the motor control device of the present invention, the program of the master device can be programmed by arranging the access control parameter for switching the permission or prohibition mode of the parameter changing process via the communication A or the communication B in the storage unit in the motor control device. Without changing, it is possible to prevent conflicts in parameter change processing such as motor control gain from the master device and the operating device, and malfunctions caused by unnecessary processing, improving adjustment workability and unsafe conditions. It becomes possible to avoid becoming.

また、通信Bを経由したパラメータ変更処理の許可または禁止モードを切り替えることで、調整完了したにも関わらず、操作装置の誤操作によりパラメータが変更され、再調整を必要とするなどのケースが発生することを防止することが可能となる。 Further, in a Turkey switching permission or prohibition mode parameter changing process via the communication B, despite the adjustment completion, the parameter is changed by the erroneous operation of the operating device, cases such as requiring readjustment It is possible to prevent the occurrence.

スター装置からの動作指令に基づきモータを制御するモータ制御装置に操作装置が接続されたモータ制御システムにおいて、前記モータ制御装置は、前記マスター装置データの送受信を行う通信Aに対応した送受信機能を持つ通信部Aと、前記操作装置データの送受信を行う通信Bに対応した送受信機能を持つ通信部Bと、モータ制御に関する複数のパラメータと前記通信Aまたは通信Bを経由した指令に基づいたパラメータ変更処理の許可または禁止モードを切り替えるアクセス制御パラメータを配置した記憶部とを備え、前記操作装置による調整作業中は、前記通信Aを経由したパラメータ変更処理をアクセス制御パラメータで禁止モードに設定し、前記マスター装置からの指令によりモータ制御に関するパラメータの調整作業を実施し、パラメータを選択するステップ1と、前記マスター装置からのパラメータ変更指令値をステップ1で選択したパラメータの設定値に変更するステップ2と、前記通信Aを経由したパラメータ変更処理を禁止モードから許可モードに切り替えるステップ3と、ステップ3後に、前記操作装置を通信Bから切り離す、あるいは前記通信Bを経由したパラメータ変更処理を禁止モードに切り替えることによって、パラメータ変更処理の競合および不要な処理により引き起こされる誤動作を防ぐことができる。 The motor control system in which the operating device is connected to a motor controller for controlling the motor based on the operation command from the master device, the motor control device includes a transmitting and receiving functions for the communication A transmitting and receiving the master device and the data a communication unit a with a communication unit B having a transmission and receiving function corresponding to the communication B to perform transmission and reception of the operating device data, based on instruction via a plurality of parameters and the communication a or communication B relates to a motor control And a storage unit in which an access control parameter for switching a permission mode or a prohibition mode of parameter change processing is arranged, and during the adjustment work by the operation device, the parameter change processing via the communication A is set to the prohibit mode by the access control parameter. , Adjusting parameters related to motor control in accordance with commands from the master device Step 1 for selecting a parameter, Step 2 for changing the parameter change command value from the master device to the set value of the parameter selected in Step 1, and parameter change processing via the communication A is permitted from the prohibit mode. After step 3 to switch to the mode and after step 3, the controller device is disconnected from the communication B, or the parameter change process via the communication B is switched to the prohibit mode, which is caused by parameter change process competition and unnecessary processing. Malfunctions can be prevented.

図1において、1はマスター装置、2はモータ制御装置、3はモータ制御装置内に設けた記憶部、4は通信A、5は通信B、6はモータ、7は負荷、8は記憶部内のアクセス制御パラメータ、9は通信部A、10は通信部B、11は操作装置、12は中央制御部、15は機械である。   In FIG. 1, 1 is a master device, 2 is a motor control device, 3 is a storage unit provided in the motor control device, 4 is communication A, 5 is communication B, 6 is a motor, 7 is a load, and 8 is in the storage unit. Access control parameters, 9 is a communication unit A, 10 is a communication unit B, 11 is an operating device, 12 is a central control unit, and 15 is a machine.

モータ制御装置2(2a、2b、2c)にはモータ6(6a、6b、6c)が接続されており、モータ6(6a、6b、6c)には負荷7(7a、7b、7c)が接続され、これらが機械15に組み込まれている。   A motor 6 (6a, 6b, 6c) is connected to the motor control device 2 (2a, 2b, 2c), and a load 7 (7a, 7b, 7c) is connected to the motor 6 (6a, 6b, 6c). These are incorporated in the machine 15.

また、マスター装置1とモータ制御装置2(2a、2b、2c)とは通信A4により接続されており、操作装置11とモータ制御装置2aとは通信B5により接続されている。なお、通常の運転状態では操作装置11は接続しなくてもよく、モータ制御ゲインの調整時など必要に応じて接続する。   The master device 1 and the motor control device 2 (2a, 2b, 2c) are connected by communication A4, and the operation device 11 and the motor control device 2a are connected by communication B5. Note that the controller 11 does not have to be connected in a normal operation state, and is connected as necessary, such as when adjusting the motor control gain.

この通信A4は、1対n軸接続のマスター・スレーブ方式であり、トポロジーは特に問わずマルチドロップ接続でもリング接続でもよい。通信A4におけるマスターはマスター装置1であり、スレーブはモータ制御装置2(2a、2b、2c)である。   This communication A4 is a one-to-n-axis connection master / slave system, and the topology may be any multi-drop connection or ring connection. The master in the communication A4 is the master device 1, and the slave is the motor control device 2 (2a, 2b, 2c).

本実施例ではモータ制御装置2を3軸(2a、2b、2c)としたが、1軸以上ならば軸数は問わない。また、モータ制御装置以外の通信A4に対応した装置についても通信A4に接続される場合もある。   In this embodiment, the motor control device 2 has three axes (2a, 2b, 2c), but the number of axes is not limited as long as it is one axis or more. In addition, devices corresponding to the communication A4 other than the motor control device may be connected to the communication A4.

一方、通信B5は、1対1軸接続のマスター・スレーブ方式である。通信B5におけるマスターは操作装置11であり、スレーブはモータ制御装置2a(2b、2c)である。   On the other hand, the communication B5 is a master / slave system with a one-to-one axis connection. The master in the communication B5 is the operation device 11, and the slave is the motor control device 2a (2b, 2c).

ここで、モータ制御装置2を代表してモータ制御装置2aを説明するが、他のモータ制御装置2b、モータ制御装置2cも同様である。   Here, the motor control device 2a will be described on behalf of the motor control device 2, but the same applies to the other motor control devices 2b and 2c.

モータ制御装置2aには通信A4に対応した送受信機能を持つ通信部A9と、通信B5に対応した送受信機能を持つ通信部B10と、モータ制御や通信データ処理などを行う中央制御部12を備え、中央制御部12内にはモータ制御ゲインなどのパラメータを記憶する記憶部3を備えている。   The motor control device 2a includes a communication unit A9 having a transmission / reception function corresponding to communication A4, a communication unit B10 having a transmission / reception function corresponding to communication B5, and a central control unit 12 for performing motor control, communication data processing, and the like. The central control unit 12 includes a storage unit 3 that stores parameters such as motor control gain.

通常運転時にはマスター装置1とモータ制御装置2a間を通信A4で接続し、モータ制御装置2aにそれぞれ接続されたモータ6aに対する動作指令やモータ6aからの位置情報などのデータを送受信している。   During normal operation, the master device 1 and the motor control device 2a are connected by communication A4, and data such as operation commands for the motor 6a connected to the motor control device 2a and position information from the motor 6a are transmitted and received.

モータ制御装置2aに対してモータ制御ゲインの調整などを行うときには、モータ制御装置2aの記憶部3内のパラメータ値変更を機械15の動作を目視で確認しながら行うことが理想であるが、マスター装置1と機械15は離れて設置されていることが多く、マスター装置1に比べ持ち運びが容易な操作装置11を使用してモータ制御ゲインなどを行うことが一般的である。   When adjusting the motor control gain for the motor control device 2a, it is ideal to change the parameter value in the storage unit 3 of the motor control device 2a while visually checking the operation of the machine 15. The device 1 and the machine 15 are often installed apart from each other, and it is common to perform motor control gain and the like using the operation device 11 that is easier to carry than the master device 1.

しかし、マスター装置1からの指令に基づくパラメータ変更処理により、操作装置11からの指令に基づいて調整したパラメータ値が上書きされることがあり、この場合作業性が悪化する。また、パラメータ値によっては、モータ7aが発振するなど不安全な状態となる場合がある。   However, the parameter change process based on the command from the master device 1 may overwrite the parameter value adjusted based on the command from the operation device 11, and in this case, workability is deteriorated. Depending on the parameter value, the motor 7a may oscillate, resulting in an unsafe state.

そこで、通信A4を経由したパラメータ変更処理を禁止するアクセス制御パラメータ8をモータ制御装置2a内の記憶部3に配置し、操作装置11での調整作業中にはアクセス制御パラメータ8の値を変更禁止モードとなるように設定することで、マスター装置1からの指令に基づくパラメータ変更処理を禁止することが可能となり、調整時の作業性の向上と不安全な状態となることを防ぐことが可能となる。   Therefore, the access control parameter 8 that prohibits the parameter changing process via the communication A4 is arranged in the storage unit 3 in the motor control device 2a, and the value of the access control parameter 8 is prohibited to be changed during the adjustment work in the operating device 11. By setting the mode, it is possible to prohibit the parameter changing process based on the command from the master device 1, and to improve the workability at the time of adjustment and prevent an unsafe state. Become.

なお、操作装置11での調整作業を終了後は、例えば、上位マスター装置1からのパラメータ変更指令値を調整後の値に変更し、アクセス制御パラメータ8の値を変更許可モードに設定し、操作装置11を通信B5から切り離すことで、最適に調整された値で機械15を通常運転モードで運転することが可能となる。   After the adjustment work on the controller device 11 is completed, for example, the parameter change command value from the upper master device 1 is changed to the adjusted value, the value of the access control parameter 8 is set to the change permission mode, and the operation is performed. By disconnecting the device 11 from the communication B5, the machine 15 can be operated in the normal operation mode with an optimally adjusted value.

基本構成は実施例1と同じで、アクセス制御パラメータ8の機能を変更し、通信B5を経由したパラメータ変更を禁止する例について説明する。   The basic configuration is the same as that of the first embodiment, and an example in which the function of the access control parameter 8 is changed and the parameter change via the communication B5 is prohibited will be described.

マスター装置1および機械15の調整が終了し通常運転を繰り返し行っているときに、別の機械の調整と間違うなど作業の手違いにより機械15の調整ミスが発生した場合、最適に調整した値が上書きされてしまうことがある。   When adjustment of the master device 1 and the machine 15 is completed and normal operation is repeated, if an adjustment error of the machine 15 occurs due to a mistake in the adjustment of another machine, the optimally adjusted value is overwritten. It may be done.

これを防ぐために、マスター装置1から通信A4を経由しアクセス制御パラメータ8の値を変更し、通信B5を経由したパラメータ変更を禁止するモードに設定しておくことで、操作装置11からの指令に基づくパラメータ変更処理を禁止することが可能となる。   In order to prevent this, by changing the value of the access control parameter 8 from the master device 1 via the communication A4 and setting the mode for prohibiting the parameter change via the communication B5, the command from the controller device 11 is set. It is possible to prohibit the parameter changing process based on it.

基本構成は実施例1および実施例2と同じで、アクセス制御パラメータ8の機能を変更した他の一例について、図1から図3を用いて説明する。   The basic configuration is the same as in the first and second embodiments, and another example in which the function of the access control parameter 8 is changed will be described with reference to FIGS.

図2に示すように、パラメータなどを記憶している記憶部3を複数の領域Aから領域Dに区分する。例えば領域Aにモータ6aの動作データ関連、回転速度や加速度などのデータを配置し、また、領域Bにはモータ制御ゲイン関連、領域Cにはモータ制御装置2aの機種コードやシリアルナンバーなどのシステムデータ関連、領域Dにはアクセス制御パラメータ8が配置される。   As shown in FIG. 2, the storage unit 3 storing parameters and the like is divided into a plurality of areas A to areas D. For example, the operation data related to the motor 6a, data such as rotation speed and acceleration are arranged in the area A, the motor control gain is related to the area B, and the model code and serial number of the motor control device 2a are stored in the area C. An access control parameter 8 is arranged in the data-related area D.

また、図3に示すように、アクセス制御パラメータ8を8ビット長のデータとし、ビット0が1に設定されると、通信A4を経由した記憶部3内の領域Aのパラメータ変更を禁止し、ビット0が0の場合には通信A4を経由した記憶部3内の領域Aのパラメータ変更を許可し、また、ビット1が1に設定されると、通信A4を経由した記憶部3内の領域Bのパラメータ変更を禁止し、ビット1が0の場合には通信A4を経由した記憶部3内の領域Bのパラメータ変更を許可するなど、記憶部3の区分された複数領域ごとにパラメータの変更を禁止または許可することが可能となる。   In addition, as shown in FIG. 3, when the access control parameter 8 is 8-bit data and bit 0 is set to 1, the parameter change of the area A in the storage unit 3 via the communication A4 is prohibited, When bit 0 is 0, parameter change in area A in storage unit 3 via communication A4 is permitted. When bit 1 is set to 1, area in storage unit 3 via communication A4 Parameter change for each of a plurality of divided areas of the storage unit 3, such as prohibiting the parameter change of B and permitting the parameter change of the region B in the storage unit 3 via the communication A4 when the bit 1 is 0 Can be prohibited or permitted.

例えば、動作データ関連のパラメータについては、通信B5からの変更のみを禁止、モータ制御ゲイン関連は通信A4からの変更のみ禁止、システムデータ関連は通信A4と通信B5からともに変更を禁止、アクセス制御パラメータ8は通信A4、通信B5からの変更をともに許可とする場合には、アクセス制御パラメータ8の値を86(56[Hex])とする。これにより、通常運転時の駆動条件で調整を行うことが可能となり、結果、最適な調整を行うことができる。   For example, for parameters related to operation data, only changes from communication B5 are prohibited, changes from motor control gain are prohibited only from communication A4, changes from system A4 are prohibited from both communication A4 and communication B5, access control parameters When the change from the communication A4 and the communication B5 is both permitted, the value of the access control parameter 8 is set to 86 (56 [Hex]). As a result, adjustment can be performed under the driving conditions during normal operation, and as a result, optimal adjustment can be performed.

なお、アクセス制御パラメータ8は8ビット長とする必要はなく、区分された領域数に応じてデータ長を決定すればよく、また、ビットの割り当てについても用途に応じて決定すればよいものとする。   The access control parameter 8 does not have to be 8 bits long, the data length may be determined according to the number of divided areas, and the bit allocation may be determined according to the use. .

基本構成は実施例1から実施例3と同じで、アクセス制御パラメータ8の機能を変更した別の例について図1および図4を用いて説明する。   The basic configuration is the same as in the first to third embodiments, and another example in which the function of the access control parameter 8 is changed will be described with reference to FIGS. 1 and 4.

図4に示すように、アクセス制御パラメータ8を8ビット長のデータとし、ビット0が1に設定されると、通信A4を経由した指令Aを禁止し、ビット0が0の場合には通信A4を経由した指令Aを許可し、また、ビット1が1に設定されると、通信A4を経由した指令Bを禁止し、ビット1が0の場合には通信A4を経由した指令Bを許可するなど、マ
スター装置1からモータ制御装置2aに対する指令、および操作装置11からモータ制御装置2aに対する指令ごとに、指令に基づく処理の禁止または許可モードを切り替えることが可能となる。
As shown in FIG. 4, when the access control parameter 8 is 8-bit long data and bit 0 is set to 1, the command A via the communication A4 is prohibited, and when the bit 0 is 0, the communication A4 When the bit 1 is set to 1, the command B via the communication A4 is prohibited, and when the bit 1 is 0, the command B via the communication A4 is permitted. For example, for each command from the master device 1 to the motor control device 2a and from the operation device 11 to the motor control device 2a, it is possible to switch the prohibition or permission mode of processing based on the command.

例えば、指令Aを動作指令、指令Bをパラメータ変更指令、指令Cを再起動指令、指令Dを停止指令とする。指令Aは通信B5経由のみを禁止、指令Bは通信A4経由のみを禁止、指令Cは通信A4経由と通信B5経由ともに禁止、指令Dは通信A4経由と通信B5経由をともに許可にする場合には、アクセス制御パラメータ8の値を86(56[Hex])とする。これにより、処理の競合または不要な処理により引き起こされる誤動作を防ぐことが可能となる。   For example, the command A is an operation command, the command B is a parameter change command, the command C is a restart command, and the command D is a stop command. Command A is prohibited only via communication B5, Command B is prohibited only via communication A4, Command C is prohibited via both communication A4 and communication B5, and Command D is permitted both via communication A4 and communication B5 The value of the access control parameter 8 is 86 (56 [Hex]). As a result, it is possible to prevent malfunction caused by processing conflict or unnecessary processing.

基本構成は実施例1から実施例4と同じで、電源が遮断された場合にも、アクセス制御パラメータの値を保持することが可能な不揮発性記憶部を追加したモータ制御装置について図5を用いて説明する。   The basic configuration is the same as in the first to fourth embodiments, and FIG. 5 is used for a motor control device to which a non-volatile storage unit that can hold the value of an access control parameter is added even when the power is turned off. I will explain.

図5において、1から12および15は図1と同じであり、説明を省略する。13は不揮発性記憶部、14はアクセス制御パラメータ保持データである。   In FIG. 5, 1 to 12 and 15 are the same as those in FIG. Reference numeral 13 denotes a nonvolatile storage unit, and reference numeral 14 denotes access control parameter holding data.

実施例1から実施例4の構成だけでは、モータ制御装置2aの電源が遮断された場合に、記憶部3内のアクセス制御パラメータ8の値が消えてしまうため、電源が遮断されてもデータを保持することが可能な不揮発性記憶部13内に配置されたアクセス制御パラメータ保持データ14に、アクセス制御パラメータ8をコピーしておく。   With only the configuration of the first to fourth embodiments, the value of the access control parameter 8 in the storage unit 3 disappears when the power of the motor control device 2a is cut off. The access control parameter 8 is copied to the access control parameter holding data 14 arranged in the non-volatile storage unit 13 that can be held.

なお一般的に、コピー処理はマスター装置1からの指令または操作装置11からの指令に基づき処理を行う方法や、または電源遮断を検知し、電源電圧が動作不能の電圧まで降下する前にコピーする方法などがあるが、コピー処理の方法については特に問わない。また、記憶部3内に配置されたアクセス制御パラメータ8以外のパラメータについても同時にコピーしても構わない。   Generally, the copy process is a method of performing a process based on a command from the master device 1 or a command from the operation device 11, or a copy is performed before the power supply voltage drops to an inoperable voltage by detecting a power shutdown. There is a method, but the copy processing method is not particularly limited. Further, parameters other than the access control parameter 8 arranged in the storage unit 3 may be copied simultaneously.

電源が投入された場合には、モータ制御装置2a内の中央制御部12により、不揮発性記憶部13内に保持されていたアクセス制御パラメータ保持データ14の値を読み出し、記憶部3のアクセス制御パラメータ8へコピーする。   When the power is turned on, the central control unit 12 in the motor control device 2a reads the value of the access control parameter holding data 14 held in the non-volatile storage unit 13, and the access control parameter in the storage unit 3 is read. Copy to 8.

これにより、アクセス制御パラメータ8の値を電源投入ごとに再設定しなくてもよくなり、通信Aおよび通信B経由の指令に基づく処理の制御を電源遮断前と同様に行うことができる。   As a result, it is not necessary to reset the value of the access control parameter 8 every time the power is turned on, and the processing based on the commands via the communication A and the communication B can be controlled in the same manner as before the power is turned off.

基本構成は実施例1から実施例4と同じで、アクセス制御パラメータ8の代わりに、アクセス制御パラメータ8と同等の機能を持つアクセス制御スイッチを備えたモータ制御装置について図6を用いて説明する。   The basic configuration is the same as in the first to fourth embodiments, and a motor control device including an access control switch having a function equivalent to the access control parameter 8 instead of the access control parameter 8 will be described with reference to FIG.

図6において、1から12および15は図1と同じであり、説明を省略する。16はアクセス制御スイッチである。   In FIG. 6, 1 to 12 and 15 are the same as those in FIG. Reference numeral 16 denotes an access control switch.

このアクセス制御スイッチ16は、例えば4ビット分解能のロータリースイッチを2個(8ビット分解能)とする。モータ制御装置2aの電源投入時に、中央制御部12により、ロータリースイッチの値を読み出し、この設定値により通信Aおよび通信B経由の指令に基づく処理の制御を行うことができる。   The access control switch 16 has, for example, two 4-bit resolution rotary switches (8-bit resolution). When the motor control device 2a is turned on, the central control unit 12 reads the value of the rotary switch, and the processing based on the command via the communication A and the communication B can be controlled by the set value.

基本構成は実施例1から実施例6と同じで、操作装置11で調整作業中の調整ミスによりモータ6aが暴走し、機械15全体が共振した場合の安全性確保について図6を用いて説明する。   The basic configuration is the same as that of the first to sixth embodiments, and the securing of safety in the case where the motor 6a runs away due to an adjustment error during the adjustment operation in the operating device 11 and the entire machine 15 resonates will be described with reference to FIG. .

調整ミスや誤操作によりモータ6aが暴走した場合、他の駆動軸へも影響を及ぼし機械15全体で大きな共振を起した場合、操作装置11を使用して作業を行っている作業者は、操作装置11からモータ制御装置2aに対して通信B5を経由して非常停止指令を発行する作業を行う。   When the motor 6a goes out of control due to misadjustment or misoperation, it affects other drive shafts and causes a large resonance in the entire machine 15. 11 performs an operation of issuing an emergency stop command to the motor control device 2a via the communication B5.

さらにモータ制御装置2aはマスター装置1に対して、操作装置11から非常停止指令を受信したことを周期的にマスター装置1から通信A4を経由して確認するモータ制御情報を使用してマスター装置1に送信する。次に、マスター装置1はモータ制御装置2aが非常停止指令を操作装置11から受信したことを検知し、モータ制御装置2(2a、2b、2c)それぞれに対して非常停止指令を発行する。   Furthermore, the motor control device 2a uses the motor control information for periodically confirming that the master device 1 has received the emergency stop command from the operation device 11 from the master device 1 via the communication A4. Send to. Next, the master device 1 detects that the motor control device 2a has received an emergency stop command from the operation device 11, and issues an emergency stop command to each of the motor control devices 2 (2a, 2b, 2c).

この非常停止指令を受信し、モータ制御装置2(2a、2b、2c)はモータ6(6a、6b、6c)をそれぞれ停止させる。   Upon receiving this emergency stop command, the motor control device 2 (2a, 2b, 2c) stops the motor 6 (6a, 6b, 6c), respectively.

なお、モータ制御装置2aは操作装置11からの非常停止指令を受信した時点でモータ2aを停止させる構成としてもよい。   The motor control device 2a may be configured to stop the motor 2a when an emergency stop command is received from the controller device 11.

これにより、マスター装置1から機械15が離れている場合に、操作装置11を使用しての調整ミスや誤操作によりモータが暴走し、さらに他の駆動軸へも影響を及ぼし機械15全体で大きな共振を起し危険な状態になった場合においても、機械15全体を安全に非常停止させることが可能となる。   As a result, when the machine 15 is separated from the master device 1, the motor runs away due to misadjustment or erroneous operation using the operation device 11, and the other drive shaft is also affected, resulting in large resonance in the entire machine 15. Even when a dangerous state occurs, the entire machine 15 can be safely and urgently stopped.

本発明のモータ制御装置は、通常時にはマスター装置からの指令に基づき処理を行うモータ制御システムにおいて、モータ制御ゲインの調整時などに操作装置を使用する場合に、マスター装置および操作装置それぞれからの指令の競合および不要な処理により引き起こされる誤動作および不安全動作を防止することに有用である。   In the motor control system that normally performs processing based on a command from the master device, the motor control device according to the present invention has a command from each of the master device and the operation device when the operation device is used when adjusting the motor control gain. It is useful to prevent malfunctions and unsafe operations caused by conflicts and unnecessary processing.

本発明のモータ制御装置を含むモータ制御システムのブロック構成図Block configuration diagram of a motor control system including a motor control device of the present invention 本発明の記憶部における領域とパラメータの関係を説明する図The figure explaining the relationship between the area | region and parameter in the memory | storage part of this invention 本発明の実施例3におけるアクセス制御パラメータの説明図Explanatory drawing of the access control parameter in Example 3 of this invention 本発明の実施例4におけるアクセス制御パラメータの説明図Explanatory drawing of the access control parameter in Example 4 of this invention 本発明の実施例5におけるモータ制御システムのブロック構成図Block configuration diagram of a motor control system in Embodiment 5 of the present invention 本発明の実施例6、7におけるモータ制御システムのブロック構成図The block block diagram of the motor control system in Example 6, 7 of this invention 従来のモータ制御システムのブロック構成図Block diagram of a conventional motor control system

1 マスター装置
2 モータ制御装置
3 記憶部
4 通信A
5 通信B
6 モータ
7 負荷
8 アクセス制御パラメータ
9 通信部A
10 通信部B
11 操作装置
12 中央制御部
13 不揮発性記憶部
14 アクセス制御パラメータ保持データ
15 機械
16 アクセス制御スイッチ
DESCRIPTION OF SYMBOLS 1 Master apparatus 2 Motor control apparatus 3 Memory | storage part 4 Communication A
5 Communication B
6 Motor 7 Load 8 Access control parameter 9 Communication part A
10 Communication part B
DESCRIPTION OF SYMBOLS 11 Operating device 12 Central control part 13 Nonvolatile memory | storage part 14 Access control parameter holding data 15 Machine 16 Access control switch

Claims (1)

スター装置からの動作指令に基づきモータを制御するモータ制御装置に操作装置が接続されたモータ制御システムにおいて、前記モータ制御装置は、前記マスター装置データの送受信を行う通信Aに対応した送受信機能を持つ通信部Aと、前記操作装置データの送受信を行う通信Bに対応した送受信機能を持つ通信部Bと、モータ制御に関する複数のパラメータと前記通信Aまたは通信Bを経由した指令に基づいたパラメータ変更処理の許可または禁止モードを切り替えるアクセス制御パラメータを配置した記憶部とを備え、前記操作装置による調整作業中は、前記通信Aを経由したパラメータ変更処理をアクセス制御パラメータで禁止モードに設定し、前記マスター装置からの指令によりモータ制御に関するパラメータの調整作業を実施し、パラメータを選択するステップ1と、前記マスター装置からのパラメータ変更指令値をステップ1で選択したパラメータの設定値に変更するステップ2と、前記通信Aを経由したパラメータ変更処理を禁止モードから許可モードに切り替えるステップ3と、ステップ3後に前記操作装置を通信Bから切り離す、あるいは前記通信Bを経由したパラメータ変更処理を禁止モードに切り替えることによってパラメータ変更処理の競合および不要な処理により引き起こされる誤動作などを防ぐことを特徴とするパラメータ変更処理方法The motor control system in which the operating device is connected to a motor controller for controlling the motor based on the operation command from the master device, the motor control device includes a transmitting and receiving functions for the communication A transmitting and receiving the master device and the data a communication unit a with a communication unit B having a transmission and receiving function corresponding to the communication B to perform transmission and reception of the operating device data, based on instruction via a plurality of parameters and the communication a or communication B relates to a motor control And a storage unit in which an access control parameter for switching a permission mode or a prohibition mode of parameter change processing is arranged, and during the adjustment work by the operation device, the parameter change processing via the communication A is set to the prohibit mode by the access control parameter. , Adjustment of parameters related to motor control by commands from the master device Step 1 for selecting a parameter, Step 2 for changing the parameter change command value from the master device to the set value of the parameter selected in Step 1, and parameter change processing via the communication A is permitted from the prohibit mode. Step 3 for switching to the mode, and disconnecting the controller device from the communication B after the step 3, or switching the parameter changing process via the communication B to the prohibit mode to cause a malfunction caused by competition of parameter changing processes and unnecessary processing. The parameter change processing method characterized by preventing.
JP2004255226A 2004-09-02 2004-09-02 Parameter change processing method Active JP4415798B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004255226A JP4415798B2 (en) 2004-09-02 2004-09-02 Parameter change processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004255226A JP4415798B2 (en) 2004-09-02 2004-09-02 Parameter change processing method

Publications (2)

Publication Number Publication Date
JP2006072696A JP2006072696A (en) 2006-03-16
JP4415798B2 true JP4415798B2 (en) 2010-02-17

Family

ID=36153261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004255226A Active JP4415798B2 (en) 2004-09-02 2004-09-02 Parameter change processing method

Country Status (1)

Country Link
JP (1) JP4415798B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5877312B2 (en) * 2012-01-20 2016-03-08 パナソニックIpマネジメント株式会社 Motor control system and parameter protection setting method thereof
JP2022154330A (en) * 2021-03-30 2022-10-13 株式会社アマダ Machine tool

Also Published As

Publication number Publication date
JP2006072696A (en) 2006-03-16

Similar Documents

Publication Publication Date Title
JP4220979B2 (en) Control unit display system
WO2013078054A1 (en) Prioritized controller arbitration
JP4415798B2 (en) Parameter change processing method
WO2018163665A1 (en) Control device and control method
US20110202146A1 (en) Method for triggering actions of a machine using secure input elements
JP6443366B2 (en) Motor control device, motor control method, information processing program, and recording medium
JP5472865B2 (en) Driver setting operation method for stepping motor
JP4950617B2 (en) Air conditioning management apparatus, air conditioning management method, and air conditioning management program
US20110050453A1 (en) Electronic control system for drilling devices
JPH07172031A (en) Device and method for controlling press
JP2005161486A (en) Robot system
JP2009048632A6 (en) Method for communicating a message between a control device and a peripheral element via an intermediate device
JP2005250815A (en) Automatic machine system
JP6409586B2 (en) Machine tool system and rule setting method
US7058460B2 (en) Real-time control process for a controller of an industrial technical process, and a real-time operating process for a computing device
JP5940406B2 (en) Robot controller
JP4734096B2 (en) Elevator control system
EP3315825B1 (en) Control device for vehicle transmission
JP3815103B2 (en) Air conditioning control system and communication processing method thereof
CN114362879B (en) Encoder and communication control method for encoder
JP4499233B2 (en) Distributed control system
KR102275000B1 (en) Industrial control unit having parameter copy function and parameter copy method using the same
CN110389567B (en) Industrial equipment
US20240036544A1 (en) Control device, safe stop program therefor, and storage medium
JP3304618B2 (en) Load control system using multiplex transmission

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060629

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060712

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090428

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090622

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091104

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R151 Written notification of patent or utility model registration

Ref document number: 4415798

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091117

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

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121204

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131204

Year of fee payment: 4