JP2004295452A - Method for preventing erroneous data transfer in microcomputer controller - Google Patents

Method for preventing erroneous data transfer in microcomputer controller Download PDF

Info

Publication number
JP2004295452A
JP2004295452A JP2003086805A JP2003086805A JP2004295452A JP 2004295452 A JP2004295452 A JP 2004295452A JP 2003086805 A JP2003086805 A JP 2003086805A JP 2003086805 A JP2003086805 A JP 2003086805A JP 2004295452 A JP2004295452 A JP 2004295452A
Authority
JP
Japan
Prior art keywords
data
recording memory
control device
input data
input
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
JP2003086805A
Other languages
Japanese (ja)
Inventor
Yumiko Watanabe
由美子 渡辺
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.)
Toshiba Mitsubishi Electric Industrial Systems Corp
Original Assignee
Toshiba Mitsubishi Electric Industrial Systems 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 Toshiba Mitsubishi Electric Industrial Systems Corp filed Critical Toshiba Mitsubishi Electric Industrial Systems Corp
Priority to JP2003086805A priority Critical patent/JP2004295452A/en
Publication of JP2004295452A publication Critical patent/JP2004295452A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the following problem that input data for an erroneous purpose is transferred when a plurality of pieces of data exist in response to the purposes of a microcomputer controller. <P>SOLUTION: Data D1Y for comparing the purpose of data D1 recorded in a data recording memory 1 are compared with data D2Y for comparing the purpose of input data D2. The input data D2 are transferred to the data recording memory 1 in the case of coincidence, and a processing is ended without transferring the data D2 in the case of noncoincidence. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、データ記録用メモリの設定パラメータによりプログラム動作を設定するマイコン制御装置の誤データ転送防止方法に関する。
【0002】
【従来の技術】
電動機制御装置を構成するマイコン制御装置では、データ記録用メモリに電動機定数などのパラメータを設定し、この設定パラメータにより電動機制御プログラムが所定の電動機制御を行なう。これら設定パラメータを制御する電動機に応じて変更することにより同じマイコン制御装置で種々の電動機を制御することができる。
制御する電動機に応じた設定パラメータの一括変更では、マイコン制御装置に設定パラメータを転送するために、データ転送回路により、パソコン等で作成したデータをパソコンからマイコン制御装置に通信ケーブルを経由してデータを転送したり、他の制御装置のデータをメモリカードに読み取り、このメモリカードを制御装置に接続してデータ転送することが行なわれている。
図7乃至図9を参照して、従来のデータ転送方法を説明する。
図7において、データ記録用メモリ1は、プログラム制御用設定パラメータを記録するもので、ここではデータD1が記録されている。データ転送回路2は、入力されたデータD2をデータ記録用メモリ1に転送するものである。
図8は、入力データD2の一例であり、データD2は、D21〜D2nからなっており、プログラム制御用設定パラメータとなっている。
【0003】
図9は、データ転送回路2のフローチャートであり、ST11によりデータD2が入力されると直ちにデータ記録用メモリ1のデータD1を入力データD2にて上書きすることにより、データ記録用メモリ1へデータD2を転送する。
【0004】
【発明が解決しようとする課題】
しかしながら、従来のデータ転送方法では、マイコン制御装置の用途に応じて複数のデータがある場合には誤った用途の入力データを転送してしまうことがある。
電動機制御装置を構成するマイコン制御装置を例にとると、同一の電動機でもその用途に応じて設定パラメータが異なることがあり、複数の電動機制御装置を設置しているプラントシステム等では、電動機制御装置AのデータDAを誤って電動機制御装置Bに転送し電動機制御装置Bを運転すると、電動機制御装置Bの主回路に過剰な電流が流れるなどで装置を破壊したり、装置に接続されている電動機の動作が異常になりプラント制御が異常動作することが考えられる。また、誤データが転送された装置を特定し復旧するまでに時間がかかるという課題もある。
そこで、本発明は、用途が異なる入力データを転送しないマイコン制御装置の誤データ転送防止方法を提供することを目的とする。
【0005】
【課題を解決するための手段】
上記目的を達成するために、本発明の請求項1に係るマイコン制御装置の誤データ転送防止方法では、プログラムが使用するデータを記録するデータ記録用メモリと、入力データを前記データ記録用メモリに転送するデータ転送手段とを有したマイコン制御装置において、前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとを比較する工程と、前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとが一致するか否かを通知する工程と、を有することを特徴とする。これにより、入力データをマイコン制御装置に接続し、データ転送を行なったとき、用途比較用データが一致しているかどうかを確認することにより、用途が異なる入力データを転送したかどうかを知ることができる。
また、本発明の請求項2に係るマイコン制御装置の誤データ転送防止方法では、プログラムが使用するデータを記録するデータ記録用メモリと、入力データを前記データ記録用メモリに転送するデータ転送手段とを有したマイコン制御装置において、前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとを比較する工程と、前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとが一致しない場合には前記入力データを前記データ記録用メモリに転送しない工程とを有することを特徴とする。これにより、入力データの用途がマイコン制御装置に記録されている用途と異なる場合には、入力データをマイコン制御装置に転送されない。
【0006】
更に、本発明の請求項3に係るマイコン制御装置の誤データ転送防止方法では、プログラムが使用するデータを記録するデータ記録用メモリと、入力データを前記データ記録用メモリに転送するデータ転送手段とを有したマイコン制御装置において、前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとを比較する工程と、前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとが一致しない場合には前記入力データの一部を前記データ記録用メモリに転送しない工程とを有することを特徴とする。これにより、入力データの用途がマイコン制御装置に記録されている用途と異なる場合でも、入力データのうち用途が異なっていても使用可能なデータについてはマイコン制御装置に転送可能となる。
【0007】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照して説明する。
図1は、本発明の第1の実施の形態のシステム構成図である。
図1において、データ記録用メモリ1は、プログラム制御用設定パラメータを記録するもので、ここではデータD1が記録されている。データ転送回路3は、入力されたデータD2をデータ記録用メモリ1に転送するものである。
図2は、入力データD2の一例であり、データD2は、D2YとD21〜D2nからなっており、DY2は用途比較用データであり、D21〜D2nはプログラム制御用設定パラメータとなっている。
図3は、データ転送方法のフローチャートであり、ST1によりデータ記録用メモリ1に記録されているデータD1の用途比較用データD1Yと入力データD2の用途比較用データD2Yとを比較し、一致する場合には不一致信号F1をオンに設定し、一致しない場合には不一致信号F1をオフに設定する。次にST2により不一致信号F1がオフであるかを判定し、不一致信号F1がオフである場合には、ST3により入力データD2をデータ記録用メモリ1へ転送する。不一致信号F1がオンである場合には、データD2を転送することなく、処理を終了する。
【0008】
これにより、用途比較用データを比較して、用途が一致する場合だけデータ転送を行なうことにより、誤った用途の入力データを転送することを防止することができる。
また、用途比較用データを比較して、用途が一致するか一致しないかを判断しそれを通知するようにすることで、データ転送を行なったとき、使用者が不一致信号の出力から用途が一致しているかを確認でき、容易に用途が異なる入力データを転送したことを確認できる。これにより、用途が異なる入力データを転送したことを知らずにマイコン制御装置を操作することを防止することができる。
次に本発明の第2の実施の形態について説明する。
図4は、本発明の第2の実施の形態のシステム構成図である。
図4において、データ記録用メモリ1は、プログラム制御用設定パラメータを記録するもので、ここではデータD1が記録されている。データ転送回路4は、入力されたデータD2をデータ記録用メモリ1に転送するものである。
図5は、入力データD2の一例であり、データD2は、D2YとD21〜D2nからなっており、DY2は用途比較用データであり、D21〜D2nはプログラム制御用設定パラメータとなっている。また、プログラム制御用設定パラメータD21〜D2nのうち、D21〜D2mはマイコン制御装置の設定パラメータを調整する場合などの用途によらないパラメータであり、D2(m+1)〜D2nは用途に応じたプログラム制御用設定パラメータである。
【0009】
図6は、データ転送方法のフローチャートであり、ST1によりデータ記録用メモリ1に記録されているデータD1の用途比較用データD1Yと入力データD2の用途比較用データD2Yとを比較し、一致する場合には不一致信号F1をオンに設定し、一致しない場合には不一致信号F1をオフに設定する。次にST2により不一致信号F1がオフであるかを判定し、不一致信号F1がオフである場合には、ST3により入力データD2のうちD21〜D2nをデータ記録用メモリ1へ転送する。不一致信号F1がオンである場合には、ST4により入力データのうちD21〜D2mを転送する。
これにより、用途比較用データを比較して、用途が一致しない場合でも、マイコン制御装置の調整用の設定パラメータなど用途が異なる入力データであっても使用可能なデータの転送は行なうので、マイコン制御装置の設定パラメータを調整する場合などで用途が異なる入力データを可能な範囲で流用することができるので、設定パラメータの調整時間を短縮することができる。
【0010】
【発明の効果】
以上のように、本発明によれば、用途の異なる設定パラメータをマイコン制御装置に転送して制御することを防止することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態のシステム構成図。
【図2】本発明の第1の実施の形態の入力データ。
【図3】本発明の第1の実施の形態のフローチャート。
【図4】本発明の第2の実施の形態のシステム構成図。
【図5】本発明の第2の実施の形態の入力データ。
【図6】本発明の第2の実施の形態のフローチャート。
【図7】従来のマイコン制御装置のデータ転送のシステム構成図。
【図8】従来のマイコン制御装置のデータ転送の入力データ。
【図9】従来のマイコン制御装置のデータ転送のフローチャート。
【符号の説明】
1・・データ記録用メモリ
3,4・・データ転送回路
D1Y,D2Y・・用途比較用データ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for preventing erroneous data transfer of a microcomputer control device that sets a program operation by setting parameters of a data recording memory.
[0002]
[Prior art]
In the microcomputer control device constituting the motor control device, parameters such as a motor constant are set in a data recording memory, and the motor control program performs a predetermined motor control based on the set parameters. By changing these setting parameters according to the motor to be controlled, various motors can be controlled by the same microcomputer control device.
In the batch change of the setting parameters according to the motor to be controlled, the data created by a personal computer etc. is transferred from the personal computer to the microcomputer control device via a communication cable by a data transfer circuit in order to transfer the setting parameters to the microcomputer control device. Or reading data from another control device into a memory card, and connecting this memory card to the control device to transfer data.
A conventional data transfer method will be described with reference to FIGS.
In FIG. 7, a data recording memory 1 records program control setting parameters. Here, data D1 is recorded. The data transfer circuit 2 transfers the input data D2 to the data recording memory 1.
FIG. 8 shows an example of the input data D2. The data D2 is composed of D21 to D2n and is a setting parameter for program control.
[0003]
FIG. 9 is a flowchart of the data transfer circuit 2. As soon as the data D2 is inputted in ST11, the data D1 of the data recording memory 1 is overwritten with the input data D2, and the data D2 is written to the data recording memory 1. To transfer.
[0004]
[Problems to be solved by the invention]
However, in the conventional data transfer method, if there is a plurality of data according to the use of the microcomputer control device, input data for an incorrect use may be transferred.
Taking the microcomputer control device constituting the motor control device as an example, the same motor may have different setting parameters depending on the application, and in a plant system or the like in which a plurality of motor control devices are installed, the motor control device is used. If the data DA of A is erroneously transferred to the motor control device B and the motor control device B is operated, an excessive current flows in the main circuit of the motor control device B, and the device is destroyed or the motor connected to the device is damaged. It is conceivable that the operation becomes abnormal and the plant control operates abnormally. Another problem is that it takes time to identify and recover the device to which the erroneous data has been transferred.
Accordingly, an object of the present invention is to provide a method for preventing erroneous data transfer of a microcomputer control device that does not transfer input data having different uses.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, in the method for preventing erroneous data transfer of a microcomputer control device according to claim 1 of the present invention, a data recording memory for recording data used by a program, and input data are stored in the data recording memory. A microcomputer control device having a data transfer unit for transferring the data, and comparing the application comparison data recorded in the data recording memory with the application comparison data of the input data; and Notifying whether or not the recorded use comparison data matches the use comparison data of the input data. With this, when input data is connected to the microcomputer controller and data transfer is performed, it is possible to know whether input data with different uses has been transferred by checking whether the data for use comparison matches. it can.
According to a second aspect of the present invention, there is provided a method for preventing erroneous data transfer of a microcomputer control device, comprising: a data recording memory for recording data used by a program; and a data transfer means for transferring input data to the data recording memory. Comparing the application comparison data recorded in the data recording memory with the application comparison data of the input data; and comparing the application recorded in the data recording memory. If the application data does not match the application comparison data of the input data, the input data is not transferred to the data recording memory. Accordingly, if the use of the input data is different from the use recorded in the microcomputer control device, the input data is not transferred to the microcomputer control device.
[0006]
Further, in the method for preventing erroneous data transfer of the microcomputer control device according to claim 3 of the present invention, a data recording memory for recording data used by a program, and a data transfer means for transferring input data to the data recording memory. Comparing the application comparison data recorded in the data recording memory with the application comparison data of the input data; and comparing the application recorded in the data recording memory. A step of not transferring a part of the input data to the data recording memory when the application data does not match the application comparison data of the input data. As a result, even when the use of the input data is different from the use recorded in the microcomputer control device, the usable data of the input data even if the use is different can be transferred to the microcomputer control device.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a system configuration diagram of the first embodiment of the present invention.
In FIG. 1, a data recording memory 1 records setting parameters for program control. Here, data D1 is recorded. The data transfer circuit 3 transfers the input data D2 to the data recording memory 1.
FIG. 2 shows an example of the input data D2. The data D2 is composed of D2Y and D21 to D2n, DY2 is application comparison data, and D21 to D2n are program control setting parameters.
FIG. 3 is a flowchart of the data transfer method, in which the use comparison data D1Y of the data D1 recorded in the data recording memory 1 in ST1 is compared with the use comparison data D2Y of the input data D2, and when they match. , The non-coincidence signal F1 is set to on, and if they do not match, the non-coincidence signal F1 is set to off. Next, it is determined in step ST2 whether the mismatch signal F1 is off. If the mismatch signal F1 is off, the input data D2 is transferred to the data recording memory 1 in step ST3. If the non-coincidence signal F1 is on, the process ends without transferring the data D2.
[0008]
This makes it possible to prevent the transfer of input data of an incorrect use by comparing the use comparison data and performing data transfer only when the uses match.
Also, by comparing the data for use comparison and judging whether or not the use matches or not, and notifying it, when the data transfer is performed, the user can discriminate the use from the output of the mismatch signal. It is possible to confirm whether or not input data for different purposes has been transferred. Thus, it is possible to prevent the microcomputer control device from being operated without knowing that the input data having different uses has been transferred.
Next, a second embodiment of the present invention will be described.
FIG. 4 is a system configuration diagram according to the second embodiment of this invention.
In FIG. 4, a data recording memory 1 records program control setting parameters, in which data D1 is recorded. The data transfer circuit 4 transfers the input data D2 to the data recording memory 1.
FIG. 5 shows an example of the input data D2. The data D2 includes D2Y and D21 to D2n, DY2 is application comparison data, and D21 to D2n are program control setting parameters. Among the program control setting parameters D21 to D2n, D21 to D2m are parameters that do not depend on the use such as when adjusting the setting parameters of the microcomputer control device, and D2 (m + 1) to D2n are the program control corresponding to the use. This is a configuration parameter for
[0009]
FIG. 6 is a flow chart of the data transfer method, in which the use comparison data D1Y of the data D1 and the use comparison data D2Y of the input data D2 recorded in the data recording memory 1 in ST1 are matched. , The non-coincidence signal F1 is set to on, and if they do not match, the non-coincidence signal F1 is set to off. Next, it is determined whether or not the mismatch signal F1 is off in ST2. If the mismatch signal F1 is off, D21 to D2n of the input data D2 are transferred to the data recording memory 1 in ST3. When the non-coincidence signal F1 is ON, D21 to D2m of the input data are transferred in ST4.
As a result, the data for use comparison is compared, and even if the uses do not match, usable data is transferred even if the input data has different uses such as setting parameters for adjustment of the microcomputer control device. Since the input data having different uses can be diverted to the extent possible when adjusting the setting parameters of the apparatus, the time for adjusting the setting parameters can be reduced.
[0010]
【The invention's effect】
As described above, according to the present invention, it is possible to prevent the setting parameters having different uses from being transferred to the microcomputer control device and controlled.
[Brief description of the drawings]
FIG. 1 is a system configuration diagram according to a first embodiment of this invention.
FIG. 2 shows input data according to the first embodiment of the present invention.
FIG. 3 is a flowchart according to the first embodiment of the present invention.
FIG. 4 is a system configuration diagram according to a second embodiment of the present invention.
FIG. 5 shows input data according to the second embodiment of the present invention.
FIG. 6 is a flowchart according to the second embodiment of the present invention.
FIG. 7 is a system configuration diagram of a data transfer of a conventional microcomputer control device.
FIG. 8 shows input data for data transfer of a conventional microcomputer control device.
FIG. 9 is a flowchart of data transfer of a conventional microcomputer control device.
[Explanation of symbols]
1. Data storage memories 3, 4 Data transfer circuits D1Y, D2Y Data for use comparison

Claims (3)

プログラムが使用するデータを記録するデータ記録用メモリと、入力データを前記データ記録用メモリに転送するデータ転送手段とを有したマイコン制御装置において、
前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとを比較する工程と、
前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとが一致するか否かを通知する工程と、
を有することを特徴とするマイコン制御装置の誤データ転送防止方法。
In a microcomputer control device having a data recording memory for recording data used by a program and data transfer means for transferring input data to the data recording memory,
Comparing the application comparison data recorded in the data recording memory with the application comparison data of the input data,
A step of notifying whether or not the application comparison data recorded in the data recording memory matches the application comparison data of the input data,
A method for preventing erroneous data transfer in a microcomputer control device, comprising:
プログラムが使用するデータを記録するデータ記録用メモリと、入力データを前記データ記録用メモリに転送するデータ転送手段とを有したマイコン制御装置において、
前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとを比較する工程と、
前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとが一致しない場合には前記入力データを前記データ記録用メモリに転送しない工程と
を有することを特徴とするマイコン制御装置の誤データ転送防止方法。
In a microcomputer control device having a data recording memory for recording data used by a program and data transfer means for transferring input data to the data recording memory,
Comparing the application comparison data recorded in the data recording memory with the application comparison data of the input data,
A step of not transferring the input data to the data recording memory when the usage comparison data recorded in the data recording memory does not match the usage comparison data of the input data. To prevent erroneous data transfer of microcomputer controller.
プログラムが使用するデータを記録するデータ記録用メモリと、入力データを前記データ記録用メモリに転送するデータ転送手段とを有したマイコン制御装置において、
前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとを比較する工程と、
前記データ記録用メモリに記録されている用途比較用データと前記入力データの用途比較用データとが一致しない場合には前記入力データの一部を前記データ記録用メモリに転送しない工程と
を有することを特徴とするマイコン制御装置の誤データ転送防止方法。
In a microcomputer control device having a data recording memory for recording data used by a program and data transfer means for transferring input data to the data recording memory,
Comparing the application comparison data recorded in the data recording memory with the application comparison data of the input data,
A step of not transferring a part of the input data to the data recording memory when the application comparison data recorded in the data recording memory does not match the application comparison data of the input data. A method for preventing erroneous data transfer of a microcomputer control device, characterized in that:
JP2003086805A 2003-03-27 2003-03-27 Method for preventing erroneous data transfer in microcomputer controller Pending JP2004295452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003086805A JP2004295452A (en) 2003-03-27 2003-03-27 Method for preventing erroneous data transfer in microcomputer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003086805A JP2004295452A (en) 2003-03-27 2003-03-27 Method for preventing erroneous data transfer in microcomputer controller

Publications (1)

Publication Number Publication Date
JP2004295452A true JP2004295452A (en) 2004-10-21

Family

ID=33401333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003086805A Pending JP2004295452A (en) 2003-03-27 2003-03-27 Method for preventing erroneous data transfer in microcomputer controller

Country Status (1)

Country Link
JP (1) JP2004295452A (en)

Similar Documents

Publication Publication Date Title
CN103999055B (en) The data of storage in visit order/address register device
CN104679685B (en) Baseboard management controller access method
US10037206B2 (en) Methods and systems for state switching
JP2010282617A5 (en)
CN104636271B (en) The data stored in visit order/address register device
CN106909382B (en) Method and device for outputting different types of system starting information
US20030149805A1 (en) Bus speed controller using switches
CN109725688B (en) Method and system for binding chassis and components
JPH1063604A (en) Peripheral equipment and method for constituting the peripheral equipment
JP2004295452A (en) Method for preventing erroneous data transfer in microcomputer controller
US7937511B2 (en) Burning apparatus
JPH1049478A (en) Discrimination interface for computer system
JP2006259886A (en) Control device, method and program of device having plug-and-play function
US6996708B1 (en) Methods and apparatus for automatically selecting and loading initialization software for a hardware configuration
US6976143B2 (en) Systems and methods for controlling communication with nonvolatile memory devices
CN106681857A (en) Product data backup/ recovery method
CN109857701A (en) The activation system and its method of FPGA configuration circuit
US10191481B2 (en) Numerical controller and numerical control system in which the controller is connected by network
CN109542522A (en) A kind of FPGA starting method and device
US20030041187A1 (en) Method and apparatus for controlling card device
JP2858816B2 (en) Initial setting method of EEPROM
EP1768411A1 (en) Television camera system and respective configuring method
CN106952050A (en) Bug patch method and system based on coil winding machine
CN116886847A (en) Parameter configuration method, data storage method and terminal of video monitoring equipment
JP2007011632A (en) Memory speed optimization method and program