JP2007249645A - Program change method - Google Patents

Program change method Download PDF

Info

Publication number
JP2007249645A
JP2007249645A JP2006072713A JP2006072713A JP2007249645A JP 2007249645 A JP2007249645 A JP 2007249645A JP 2006072713 A JP2006072713 A JP 2006072713A JP 2006072713 A JP2006072713 A JP 2006072713A JP 2007249645 A JP2007249645 A JP 2007249645A
Authority
JP
Japan
Prior art keywords
program
management program
personal computer
change
connector
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
JP2006072713A
Other languages
Japanese (ja)
Inventor
Akihito Okuoka
明仁 奥岡
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.)
Sanmei Electric Co Ltd
Original Assignee
Sanmei Electric 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 Sanmei Electric Co Ltd filed Critical Sanmei Electric Co Ltd
Priority to JP2006072713A priority Critical patent/JP2007249645A/en
Publication of JP2007249645A publication Critical patent/JP2007249645A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To change an old management program to a new management program by an easy operation. <P>SOLUTION: A change program with a ROM writer function is preserved in a flash memory beforehand. Also, communication software and the new management program are preserved in a personal computer 200 beforehand. Thereafter, the personal computer 200 is connected to an interface connection connector 2 exposed to the outside from the main body case of a data gathering management device 100, the execution of the change program is started under the state of starting the communication software of the personal computer 200, and the change program erases the old management program preserved beforehand in the flash memory. Then, the communication software downloads the new management program from the personal computer 200 to the data gathering management device 100, and then the change program successively writes the downloaded new management program in the management program storage area of the flash memory. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、トルクコントローラなどデータ収集管理装置の内容変更可能なROMに保存されている旧管理プログラムを新管理プログラムに変更するためのプログラム変更方法に関する。   The present invention relates to a program change method for changing an old management program stored in a ROM capable of changing contents of a data collection management device such as a torque controller into a new management program.

レンチ、ナットランナ等ツールを用いてワークにボルトやナットを締め付ける作業に、各種の締付異常を検知し、また締付本数を管理するトルクコントローラなどデータ収集管理装置が用いられる。この種のデータ収集管理装置は、内容変更可能なROMに予め管理プログラムを保存しており、この管理プログラムに基づいて締付力や締付本数等のデータの収集や管理を行っている。   A data collection management device such as a torque controller that detects various tightening abnormalities and manages the number of tightening is used in the work of tightening bolts and nuts on a workpiece using a tool such as a wrench or nutrunner. This type of data collection and management apparatus stores a management program in advance in a ROM whose contents can be changed, and collects and manages data such as a tightening force and the number of tightenings based on this management program.

従来、バージョンアップされた新管理プログラムを内容変更可能なROMに保存するに当たっては、データ収集管理装置100の本体ケース91を開けた後、図10に示すように、回路基板92上のコネクタ93にROMライター(デバッガー)94のコネクタ95を接続するとともにROMライター94に接続されたUSBケーブル96をパソコン(図示せず)に接続していた。そして、パソコンを操作してROMライター94を起動し、ROM97の管理プログラム記憶領域に記憶されている旧管理プログラムを消去した後、ROM97に書き込むべき新管理プログラムを選択し、ROMライター94によりROM97に書込むようにしていた。   Conventionally, when storing the upgraded new management program in the ROM whose contents can be changed, after opening the main body case 91 of the data collection management device 100, the connector 93 on the circuit board 92 is connected to the connector 93 as shown in FIG. The connector 95 of the ROM writer (debugger) 94 was connected, and the USB cable 96 connected to the ROM writer 94 was connected to a personal computer (not shown). Then, the ROM writer 94 is started by operating the personal computer, the old management program stored in the management program storage area of the ROM 97 is erased, and a new management program to be written into the ROM 97 is selected. I was trying to write.

このため、バージョンアップされた新管理プログラムをROM97にダウンロードするたびに本体ケース91を開け閉めし、ROMライター94を接続し取り外す煩雑な作業を行わなければならなかった。   For this reason, each time the upgraded new management program is downloaded to the ROM 97, the main body case 91 must be opened and closed, and the ROM writer 94 must be connected and removed.

本発明は、上記のような従来技術の問題点を解決し、簡単な操作によって旧管理プログラムを新管理プログラムに変更可能にするプログラム変更方法を提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems of the prior art and to provide a program change method that enables an old management program to be changed to a new management program by a simple operation.

本発明のプログラム変更方法は、データ収集管理装置に内蔵された内容変更可能なROMの管理プログラム記憶領域に保存されている旧管理プログラムを、パソコンを用いて新管理プログラムに変更するプログラム変更方法において、前記ROMにフラッシュメモリを用い、該フラッシュメモリにROMライター機能を有する変更用プログラムを予め保存しておくと共に、前記パソコンに通信ソフト及び前記新管理プログラムを予め保存しておき、その後、前記パソコンを前記データ収集管理装置の本体ケースから外部に露出しているインターフェース接続コネクタに接続し、前記パソコンの前記通信ソフトを立ち上げた状態の下で、前記変更用プログラムを実行開始し、前記変更用プログラムは、前記フラッシュメモリに予め保存されている前記旧管理プログラムを消去し、次に、前記通信ソフトは、前記新管理プログラムを前記パソコンから前記データ収集管理装置にダウンロードし、次に、前記変更用プログラムは、前記ダウンロードされてきた新管理プログラムを前記フラッシュメモリの前記管理プログラム記憶領域に順次書き込むことを特徴とする。   The program change method of the present invention is a program change method for changing an old management program stored in a management program storage area of a ROM capable of changing contents built in a data collection management device into a new management program using a personal computer. The flash memory is used for the ROM, and the change program having the ROM writer function is stored in the flash memory in advance, and the communication software and the new management program are stored in the personal computer in advance, and then the personal computer Is connected to the interface connector exposed to the outside from the main body case of the data collection management device, and under the state where the communication software of the personal computer is started, the execution of the change program is started, and the change The program is stored in the flash memory in advance. Then, the communication software downloads the new management program from the personal computer to the data collection management device, and then the change program downloads the downloaded new management program to the flash memory. The management program storage area of the memory is sequentially written.

本発明のプログラム変更方法によると、データ収集管理装置の内容変更可能なROMに保存されている旧管理プログラムを新管理プログラムに変更するにあたり、パソコンをデータ収集管理装置の本体ケースから外部に露出しているインターフェース接続コネクタに接続し、パソコンを操作することによってフラッシュメモリに保存されている旧管理プログラムを電気的に消去し、新管理プログラムを書き込むことができるため、簡単な操作によって旧管理プログラムを新管理プログラムに変更可能になる。   According to the program change method of the present invention, when changing the old management program stored in the data changeable ROM of the data collection management device to the new management program, the personal computer is exposed to the outside from the main body case of the data collection management device. The old management program stored in the flash memory can be electrically erased and the new management program can be written by connecting to the interface connector and operating the computer. Change to a new management program.

以下、本発明の実施形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係るプログラム変更方法が適用されるトルクコントロールシステムの概略構成図、図2は、トルクコントローラの構成図、図3は、7セグメントタイプのフロントパネルの構成図、図4は、タッチパネルカラーディスプレイタイプのフロントパネルの構成図、図5は、メインCPUの要部の部分構成図、図6は、メインCPUの要部の残部構成図、図7は、電源部の構成図、図8は、管理プログラム変更の処理手順を表したフローチャート、図9は、フラッシュメモリの保存分布図をそれぞれ示す。   1 is a schematic configuration diagram of a torque control system to which a program change method according to an embodiment of the present invention is applied, FIG. 2 is a configuration diagram of a torque controller, and FIG. 3 is a configuration diagram of a 7-segment type front panel. 4 is a configuration diagram of a front panel of a touch panel color display type, FIG. 5 is a partial configuration diagram of the main part of the main CPU, FIG. 6 is a remaining configuration diagram of the main part of the main CPU, and FIG. FIG. 8 is a flowchart showing the processing procedure for changing the management program, and FIG. 9 is a storage distribution diagram of the flash memory.

図1において、トルクコントロールシステムは、前面図及び背面図として表したトルクコントローラ(データ管理収集装置)100を備える。   In FIG. 1, the torque control system includes a torque controller (data management collection device) 100 represented as a front view and a rear view.

トルクコントローラ100は、フロントパネル1の前面に設定用コネクタ(RS232Cコネクタ)2を有し、この設定用コネクタ2に設定用ケーブル(RS232Cケーブル)3が接続されてトルクコントローラ100と設定用パソコン200が接続される。ここで、設定用コネクタ2は、本発明にいうインターフェース接続コネクタである。また、設定用パソコン200には、予め通信ソフト及び後述する新管理プログラムが保存されている。   The torque controller 100 has a setting connector (RS232C connector) 2 on the front surface of the front panel 1, and a setting cable (RS232C cable) 3 is connected to the setting connector 2 so that the torque controller 100 and the setting personal computer 200 are connected. Connected. Here, the setting connector 2 is an interface connector according to the present invention. The setting personal computer 200 stores communication software and a new management program described later.

また、トルクコントローラ100は、リアパネル4の後面にセンサ用コネクタ5を有し、このセンサ用コネクタ5にセンサ用ケーブル6が接続されてトルクコントローラ100とレンチ、ナットランナ等ツール300のトルクセンサ等(図示せず)が接続される。   The torque controller 100 has a sensor connector 5 on the rear surface of the rear panel 4, and a sensor cable 6 is connected to the sensor connector 5 so that the torque controller 100 and a torque sensor of a tool 300 such as a wrench and nutrunner (see FIG. Not shown) is connected.

また、トルクコントローラ100は、リアパネル4の後面にデータ出力用コネクタ(RS232Cコネクタ)7を有し、このデータ出力用コネクタ7にデータ出力用ケーブル(RS232Cケーブル)8が接続されてトルクコントローラ100とシリアルプリンタ400、シーケンサ500及びパソコン600が接続される。   Further, the torque controller 100 has a data output connector (RS232C connector) 7 on the rear surface of the rear panel 4, and a data output cable (RS232C cable) 8 is connected to the data output connector 7 so as to be serial with the torque controller 100. A printer 400, a sequencer 500, and a personal computer 600 are connected.

また、トルクコントローラ100は、リアパネル4の後面にLAN用コネクタ(RS232Cコネクタ)9を有し、このLAN用コネクタ9にLAN用ケーブル10が接続されてトルクコントローラ100とハブ700が接続される。ハブ700は、LAN用ケーブル11A、11B、11Cを介して複数のパソコン800A、800B、800Cと接続される。   The torque controller 100 has a LAN connector (RS232C connector) 9 on the rear surface of the rear panel 4, and the LAN cable 10 is connected to the LAN connector 9 so that the torque controller 100 and the hub 700 are connected. The hub 700 is connected to a plurality of personal computers 800A, 800B, and 800C via LAN cables 11A, 11B, and 11C.

また、トルクコントローラ100は、リアパネル4の後面に、端子台入出力用コネクタ12を有し、この端子台入出力用コネクタ12に入出力用ケーブル13が接続されてトルクコントローラ100とシーケンサ900が接続される。端子台入出力用コネクタ12には、ツール300の締付トルクが「OK」、「LOW」、「HIGH」のいずれかの判定結果であったかを示す判定結果などの出力信号、及び、ツール300の種類に応じた締付トルクの設定範囲を示す複数種類のワーク選択信号などの入力信号が入出力される。   The torque controller 100 has a terminal block input / output connector 12 on the rear surface of the rear panel 4, and the input / output cable 13 is connected to the terminal block input / output connector 12 to connect the torque controller 100 and the sequencer 900. Is done. The terminal block input / output connector 12 includes an output signal such as a determination result indicating whether the tightening torque of the tool 300 was “OK”, “LOW”, or “HIGH”, and the tool 300 Input signals such as a plurality of types of work selection signals indicating the setting range of the tightening torque according to the type are input / output.

トルクコントローラ100は、図2に示すように、フロントパネル1とリアパネル4とメインCPU14と電源部15とから構成される。   As shown in FIG. 2, the torque controller 100 includes a front panel 1, a rear panel 4, a main CPU 14, and a power supply unit 15.

フロントパネル1は、上記設定用コネクタ2を有する。また、フロントパネル1は、メインCPU14に接続するためのCPU接続用コネクタ16を有する。   The front panel 1 has the setting connector 2. Further, the front panel 1 has a CPU connection connector 16 for connecting to the main CPU 14.

メインCPU14は、フロントパネル1のCPU接続用コネクタ16に接続されるパネル接続用コネクタ17を有する。また、メインCPU14は、上記端子台入出力用コネクタ12を有し、この端子台入出力用コネクタ12は、リアパネル4の切欠窓を通して外部に露出される。また、メインCPU14は、リアパネル4の上記センサ用コネクタ5に接続されるトルク入力用コネクタ18を有する。また、メインCPU14は、上記データ出力用コネクタ7を有し、このデータ出力用コネクタ7は、リアパネル4の切欠窓を通して外部に露出される。また、メインCPU14は、電源部15の給電用コネクタ19に接続される受電用コネクタ20を有する。   The main CPU 14 has a panel connection connector 17 connected to the CPU connection connector 16 of the front panel 1. The main CPU 14 has the terminal block input / output connector 12, and the terminal block input / output connector 12 is exposed to the outside through the cutout window of the rear panel 4. The main CPU 14 has a torque input connector 18 connected to the sensor connector 5 on the rear panel 4. The main CPU 14 has the data output connector 7, and the data output connector 7 is exposed to the outside through the cutout window of the rear panel 4. The main CPU 14 has a power receiving connector 20 connected to the power feeding connector 19 of the power supply unit 15.

リアパネル4は、上記センサ用コネクタ5を有する。また、リアパネル4は、外部から交流電圧を入力するためのAC入力用コネクタ21を有し、このAC入力用コネクタ21から入力された交流電圧は電源部15に供給される。   The rear panel 4 has the sensor connector 5. The rear panel 4 has an AC input connector 21 for inputting an AC voltage from the outside. The AC voltage input from the AC input connector 21 is supplied to the power supply unit 15.

電源部15は、交流電圧を5V、3.3V、及び24Vの直流電圧に変換してメインCPU14に供給する。   The power supply unit 15 converts the AC voltage into 5V, 3.3V, and 24V DC voltages and supplies them to the main CPU 14.

フロントパネル1には、図3に示す7セグメントタイプのフロントパネル1A及び図4に示すタッチパネルカラーディスプレイタイプのフロントパネル1Bの2種類がある。   There are two types of front panel 1, a 7-segment type front panel 1A shown in FIG. 3 and a touch panel color display type front panel 1B shown in FIG.

図3に示す7セグメントタイプのフロントパネル1Aは、パネル前面に押しボタンスイッチ31、トルク表示器32、キャラクタディスプレイ33、LEDランプ34、上記設定用コネクタ(RS232Cコネクタ)2及び上記CPU接続用コネクタ16を備える。押しボタンスイッチ31は、4つの上下左右矢印キー31aと、設定キー31b及びリセットキー31cとからなる。トルク表示器32は、トルク値を4桁表示するための7セグメントトルク値表示器32aと、ワークナンバーを表示するための7セグメントナンバー表示器32bからなる。キャラクタディスプレイ36は、液晶表示器からなり、ワークナンバー、カウント残数、締付時間、パルス数が表示される。LEDランプ37は、ツール300の締付トルクが設定範囲内であることを表示する「OK」表示ランプ37aと、上記トルクが設定範囲より低いことを表示する「LOW」表示ランプ37bと、上記トルクが設定範囲より高いことを表示する「HIGH」表示ランプ37cとからなる。   A seven-segment type front panel 1A shown in FIG. 3 has a push button switch 31, a torque indicator 32, a character display 33, an LED lamp 34, the setting connector (RS232C connector) 2 and the CPU connection connector 16 on the front panel. Is provided. The push button switch 31 includes four up / down / left / right arrow keys 31a, a setting key 31b, and a reset key 31c. The torque indicator 32 includes a 7-segment torque value indicator 32a for displaying a torque value in four digits and a 7-segment number indicator 32b for displaying a work number. The character display 36 is composed of a liquid crystal display, and displays a work number, a remaining count, a fastening time, and a pulse number. The LED lamp 37 includes an “OK” display lamp 37a for displaying that the tightening torque of the tool 300 is within the set range, a “LOW” display lamp 37b for displaying that the torque is lower than the set range, and the torque Comprises a “HIGH” display lamp 37c for indicating that the value is higher than the set range.

また、7セグメントタイプのフロントパネル1Aは、押しボタンスイッチ31の操作を読込むSW読込み部35、パネルの種類を認識するためのビットつまりパネル認識ビットを発生するパネル認識ビット発生部36、トルク表示器32及びLEDランプ34を駆動するLEDドライバ部37、及びキャラクタディスプレイ33を駆動するLCDドライバ部38を内蔵する。   The 7-segment type front panel 1A includes a SW reading unit 35 for reading the operation of the push button switch 31, a panel recognition bit generating unit 36 for generating a bit for recognizing the type of the panel, that is, a panel recognition bit, and a torque display. An LED driver 37 for driving the device 32 and the LED lamp 34 and an LCD driver 38 for driving the character display 33 are incorporated.

図4に示すタッチパネルカラーディスプレイタイプのフロントパネル1Bは、パネル前面に、互いに重合されたタッチパネル41とカラー液晶表示器42、及びブザー43、上記設定用コネクタ2、上記CPU接続用コネクタ16を備える。   A front panel 1B of the touch panel color display type shown in FIG. 4 includes a touch panel 41 and a color liquid crystal display 42, a buzzer 43, the setting connector 2 and the CPU connection connector 16 which are superposed on each other on the front surface of the panel.

また、タッチパネルカラーディスプレイタイプのフロントパネル1Bは、上記パネル認識ビット発生部36と、カラー液晶表示器42を駆動する液晶ドライバ部44と、タッチパネル41及びブザー43を制御するタッチパネルコントローラ45を内蔵する。   The touch panel color display type front panel 1B incorporates the panel recognition bit generator 36, a liquid crystal driver 44 that drives the color liquid crystal display 42, and a touch panel controller 45 that controls the touch panel 41 and the buzzer 43.

図5及び図6に示すように、メインCPU14は、キャッシュメモリ51a、32ビットマイコン51b及び画像処理装置51cを有するCPU51を備える。   As shown in FIGS. 5 and 6, the main CPU 14 includes a CPU 51 having a cache memory 51a, a 32-bit microcomputer 51b, and an image processing device 51c.

CPU51には、EEPROMからなるデータ用メモリ52、2つのプログラム用フラッシュROM(フラッシュメモリ)53A、53B、2つの作業用及び液晶用SDRAM54A、54B、端子台及びパネルコントロール用及びA/Dコンバータコントロール用PLD55、パネル7セグメントコントロール用及び時計用ICコントロール用PLD56、液晶ドライバ57、及びコントローラIC58(図6)がそれぞれ接続される。また、CPU51は、上記パネル接続用コネクタ17に接続される。   The CPU 51 includes an EEPROM data memory 52, two program flash ROMs (flash memories) 53A and 53B, two work and liquid crystal SDRAMs 54A and 54B, a terminal block and panel control, and an A / D converter control. A PLD 55, a panel 7 segment control and clock IC control PLD 56, a liquid crystal driver 57, and a controller IC 58 (FIG. 6) are connected to each other. The CPU 51 is connected to the panel connector 17.

プログラム用フラッシュROM53A、53Bは、それぞれ奇数番地と偶数番地に分かれているが、全体としては、図9に示すように、イニシャライズ用プログラムエリア53aと管理プログラムエリア(管理プログラム記憶領域)53bと漢字フォントエリア53cとから構成される。イニシャライズ用プログラムエリア53aには、マイコン51bのイニシャライズを行うためのプログラム、ROMライター機能つまりフラッシュROM53A、53Bの管理プログラムエリア53bの消去及び書込みを行う機能を有する変更用プログラム、及び設定用パソコン200との間での通信を行うための通信ソフトが予め保存されている。管理プログラムエリア53bには、管理プログラムが保存されている。管理プログラムは、ツール300側の歪センサから取り込まれたアナログ信号(最大で±5mV又は±2mV)がA/Dコンバータ65にてデジタル変換されたデータをトルク値に換算し、このトルク値が目標トルク値に達したらツール300を止めるという締付管理をすると同時に、何本のナットやボルトを締め付けたかの締付本数管理を行い、また、トルクデータのアナログ波形を記憶し、カラー液晶表示器42に表示するとともに設定用パソコン200へ波形表示データを送信するプログラムである。   The program flash ROMs 53A and 53B are divided into odd and even addresses, respectively, but as a whole, as shown in FIG. 9, an initialization program area 53a, a management program area (management program storage area) 53b, and a kanji font An area 53c is included. The initialization program area 53a includes a program for initializing the microcomputer 51b, a change program having a ROM writer function, that is, a function for erasing and writing the management program area 53b of the flash ROMs 53A and 53B, and the setting personal computer 200. Communication software for performing communication between the two is stored in advance. A management program is stored in the management program area 53b. The management program converts the data obtained by digitally converting the analog signal (± 5mV or ± 2mV at maximum) taken from the strain sensor on the tool 300 side into a torque value, and this torque value is the target. When the torque value is reached, the tightening control is performed to stop the tool 300, and at the same time, the number of tightened nuts or bolts is controlled, and an analog waveform of torque data is stored, and the color liquid crystal display 42 is stored. A program for displaying and transmitting waveform display data to the setting personal computer 200.

コントローラIC58は、LAN用コントローラIC59、及びデータ出力用コネクタ7にそれぞれ接続され、LAN用コントローラIC59はLAN用コネクタ11に接続される。   The controller IC 58 is connected to the LAN controller IC 59 and the data output connector 7, and the LAN controller IC 59 is connected to the LAN connector 11.

端子台及びパネルコントロール用及びA/Dコンバータコントロール用PLD55には、トルク入力用コネクタ18、入力アンプ60、ゲイン切換部61、通常及び自己診断切換部62(自己診断用回路62aからの入力とゲイン切換部61からの入力を選択的に出力する切換部)、ローパスフィルタ63、増幅部64及びA/Dコンバータ65を介して締付トルク値を示すセンサからの検出信号が入力される。また、端子台及びパネルコントロール用及びA/Dコンバータコントロール用PLD55は、パネル接続用コネクタ17に接続されるとともに、絶縁部66を介して端子台入/出力用コネクタ12に接続される。ここで、絶縁部66は、フォトカプラ又はリレーで構成され、入出力間が電気的に非接触である信号伝達手段である。   The terminal block, panel control and A / D converter control PLD 55 include a torque input connector 18, an input amplifier 60, a gain switching unit 61, a normal and self-diagnosis switching unit 62 (input and gain from the self-diagnosis circuit 62a). The detection signal from the sensor indicating the tightening torque value is input through the low-pass filter 63, the amplification unit 64, and the A / D converter 65 via the switching unit 61 that selectively outputs the input from the switching unit 61. The terminal block, the panel control PLD 55, and the A / D converter control PLD 55 are connected to the panel connection connector 17 and to the terminal block input / output connector 12 through the insulating portion 66. Here, the insulating portion 66 is a signal transmission means that is configured by a photocoupler or a relay and that is electrically non-contact between the input and output.

パネル7セグメントコントロール用及び時計用ICコントロール用PLD56は、カレンダIC67に接続されるとともに、パネル接続用コネクタ17に接続される。   The panel 7 segment control and watch IC control PLD 56 are connected to the calendar IC 67 and also to the panel connection connector 17.

図7に示すように、電源部15は、3.3Vの直流電圧を1.9Vの直流電圧に低下してメインCPU14の電源にする1.9V用電源71と、24Vの直流電圧を+15Vと−15Vの電圧に低下する±15V用電源72とから構成される。   As shown in FIG. 7, the power supply unit 15 includes a 1.9V power supply 71 that lowers a 3.3V DC voltage to a 1.9V DC voltage to supply power to the main CPU 14, and 24V DC voltage of + 15V and −15V. It is comprised from the power supply 72 for +/- 15V which falls to a voltage.

次に、上記のように構成されるトルクコントロールシステムにおいて、プログラム用フラッシュROM53A、53Bの管理プログラムエリア53bに保存されている管理プログラム(旧管理プログラム)をバージョンアップされた管理プログラム(新管理プログラム)に変更するプログラム変更方法を図8に基づいて説明する。   Next, in the torque control system configured as described above, a management program (new management program) obtained by upgrading the management program (old management program) stored in the management program area 53b of the program flash ROMs 53A and 53B. A program change method to be changed to will be described with reference to FIG.

図8において、トルクコントローラ100の電源をオンする(S1)前に、設定用パソコン200に保存されている通信ソフト(例えば、テラターム等の汎用ターミナルソフト)を立ち上げておく。また、トルクコントローラ100と設定用パソコン200は、RS232Cケーブル3を、設定用パソコン200、及び、トルクコントローラ100の本体ケースの外部に露出している設定用コネクタ2にそれぞれ接続することによって互いに接続しておく。   In FIG. 8, before the torque controller 100 is turned on (S1), communication software (for example, general-purpose terminal software such as teraterm) stored in the setting personal computer 200 is started up. The torque controller 100 and the setting personal computer 200 are connected to each other by connecting the RS232C cable 3 to the setting personal computer 200 and the setting connector 2 exposed to the outside of the main body case of the torque controller 100, respectively. Keep it.

トルクコントローラ100の電源がオンされると、CPU51は、プログラム用フラッシュROM53A、53Bのイニシャライズ用プログラムエリア53aに保存されている変更用プログラムを実行開始し、まず、設定用パソコン200に「ダウンロードを開始するかどうか」の問合せをするための信号「ダウンロード開始?」を送信し、設定用パソコン200の画面上に「ダウンロード開始?」を表示する(S2)。この信号送信後の短時間内に設定用パソコン200からCRコードが入力されない場合には、CPU51は、設定用パソコン200に問合せに対する回答を確認した旨の信号「確認終了!」を送信し、設定用パソコン200の画面上に「確認終了!」を表示し(S3、S4)、プログラム用フラッシュROM53A、53Bの管理プログラムエリア53bに保存されている管理プログラムを実行開始する(S5)。   When the power of the torque controller 100 is turned on, the CPU 51 starts executing the change program stored in the initialization program area 53a of the program flash ROMs 53A and 53B. A “download start?” Signal for inquiring “whether or not to do” is transmitted, and “download start?” Is displayed on the screen of the setting personal computer 200 (S2). If the CR code is not input from the setting personal computer 200 within a short time after this signal transmission, the CPU 51 transmits a signal “confirmation end!” To the effect that the answer to the inquiry has been confirmed. "Confirmation completed!" Is displayed on the screen of the personal computer 200 (S3, S4), and execution of the management program stored in the management program area 53b of the program flash ROMs 53A, 53B is started (S5).

一方、信号「ダウンロード開始?」の送信後短時間内に設定用パソコン200からCRコードが入力されてきた場合には、CPU51は、設定用パソコン200に信号「確認終了!」を送信し、設定用パソコン200の画面上に「確認終了!」を表示するとともに、設定用パソコン200に、Eキーを押下すべき旨の指令信号「コマンドE」を送信し、設定用パソコン200の画面上に「コマンドE」を表示する(S6)。   On the other hand, if the CR code is input from the setting personal computer 200 within a short time after the transmission of the signal “start download?”, The CPU 51 transmits the signal “confirmation end!” To the setting personal computer 200 for setting. "Confirmation finished!" Is displayed on the screen of the personal computer 200, and a command signal "command E" indicating that the E key should be pressed is transmitted to the personal computer 200 for setting. Command E ”is displayed (S6).

「コマンドE」送信後、設定用パソコン200から’E’コードを受信しない間は、CPU51は、設定用マイコン200に信号「確認終了!」及び「コマンドE」を繰り返し送信し、設定用マイコン200の画面上に「確認終了!」及び「コマンドE」を表示する(S7、S6)。   After the “command E” is transmitted, while the “E” code is not received from the setting personal computer 200, the CPU 51 repeatedly transmits the signals “Confirmation!” And “Command E” to the setting microcomputer 200, and the setting microcomputer 200. "Confirmation finished!" And "Command E" are displayed on the screen (S7, S6).

CPU51が、設定用パソコン200から’E’コードを受信すると、CPU51は、設定用パソコン200に、消去を開始する旨を知らせるための信号「消去開始」を送信し、設定用パソコン200の画面上に「消去開始」を表示する(S7、S8)。次に、CPU51は、管理プログラムエリア53bに保存されている旧管理プログラムを消去し(S9)、旧管理プログラムの消去後、設定用パソコン200に、消去が終了した旨を知らせるための信号「消去終了!」を送信し、設定用パソコン200の画面上に「消去終了!」を表示する(S10)。   When the CPU 51 receives the “E” code from the setting personal computer 200, the CPU 51 transmits a signal “start erasing” for notifying the setting personal computer 200 to start erasing, and displays the setting personal computer 200 on the screen. “Erase start” is displayed in (S7, S8). Next, the CPU 51 erases the old management program stored in the management program area 53b (S9), and after erasing the old management program, the signal “erase” for notifying the setting personal computer 200 that the erasure has been completed. "End!" Is transmitted, and "Erase end!" Is displayed on the setting computer 200 screen (S10).

その後、設定用パソコン200において、通信ソフトを用いて新管理プログラム(送信ファイル)を選択し、トルクコントローラ100に送信を開始する(S11)。CPU51は、新管理プログラムをテキストファイルとして受信し(S12)、管理プログラムエリア53bに新管理プログラムを書込む(S13)。新管理プログラムの書込みが終了するまでの間、CPU51は、設定用パソコン200に、現在書込み中である旨を知らせるための’・’コードを送信し、設定用パソコン200の画面上に「・」を一連表示する(S14、S15、S12、S13)。そして、書込みが終了すると、CPU51は、設定用パソコン200に、書込みが終了した旨を知らせるための信号「コード終了」を送信し、設定用パソコン200の画面上に「コード終了」を表示する(S14、S16)。これにより、プログラム変更処理を終了する(S17)。   Thereafter, the setting personal computer 200 selects a new management program (transmission file) using communication software, and starts transmission to the torque controller 100 (S11). The CPU 51 receives the new management program as a text file (S12), and writes the new management program in the management program area 53b (S13). Until the writing of the new management program is completed, the CPU 51 transmits a “•” code for notifying that the writing is in progress to the setting personal computer 200, and “•” is displayed on the screen of the setting personal computer 200. Are displayed in series (S14, S15, S12, S13). When the writing is completed, the CPU 51 transmits a signal “code end” for notifying that the writing has been completed to the setting personal computer 200 and displays “code end” on the screen of the setting personal computer 200 ( S14, S16). Thereby, the program change process is terminated (S17).

ここで、CPU51は、電源がオンされると、プログラム用フラッシュROM53A、53Bのイニシャライズ用プログラムエリア53aに保存されている変更用プログラムを作業用及び液晶用SDRAM54A、54Bにコピーし、このコピーされた変更用プログラムを用いて上述したようなプログラム変更処理を実行する。   Here, when the power is turned on, the CPU 51 copies the change program stored in the initialization program area 53a of the program flash ROMs 53A and 53B to the working and liquid crystal SDRAMs 54A and 54B. The program change process as described above is executed using the change program.

以上説明したように、本実施形態に係るプログラム変更方法は、データ収集管理装置(トルクコントローラ100)に内蔵された内容変更可能なROMの管理プログラム記憶領域(管理プログラムエリア53b)に保存されている旧管理プログラムを、パソコン(設定用パソコン200)を用いて新管理プログラムに変更するプログラム変更方法において、ROMにフラッシュメモリ(プログラム用フラッシュROM53A、53B)を用い、フラッシュメモリ53A、53BにROMライター機能を有する変更用プログラムを予め保存しておくと共に、パソコン200に通信ソフト及び新管理プログラムを予め保存しておき、その後、パソコン200をデータ収集管理装置100の本体ケースから外部に露出しているインターフェース接続コネクタ(設定用コネクタないしRS232Cコネクタ2)に接続し、パソコン200の通信ソフトを立ち上げた状態の下で、変更用プログラムを実行開始し、変更用プログラムは、フラッシュメモリ53A、53Bに予め保存されている旧管理プログラムを消去し、次に、通信ソフトは、新管理プログラムをパソコン200からデータ収集管理装置100にダウンロードし、次に、変更用プログラムは、ダウンロードされてきた新管理プログラムをフラッシュメモリ53A、53Bの管理プログラム記憶領域53bに順次書き込むよう構成される。   As described above, the program changing method according to the present embodiment is stored in the management program storage area (management program area 53b) of the ROM whose contents can be changed built in the data collection management apparatus (torque controller 100). In a program change method for changing an old management program to a new management program using a personal computer (setting personal computer 200), a flash memory (program flash ROM 53A, 53B) is used for ROM, and a ROM writer function is used for flash memory 53A, 53B. Is stored in advance, communication software and a new management program are stored in the personal computer 200 in advance, and then the personal computer 200 is exposed to the outside from the main body case of the data collection management device 100. Connector (connector for setting) To the RS232C connector 2) and the communication software of the personal computer 200 is started up, the execution of the change program is started, and the change program is stored in the flash memory 53A, 53B in advance. Next, the communication software downloads the new management program from the personal computer 200 to the data collection management device 100, and the change program then manages the downloaded new management program in the flash memories 53A and 53B. The program storage area 53b is sequentially written.

本実施形態のプログラム変更方法によると、データ収集管理装置100の内容変更可能なROM53A、53Bに保存されている旧管理プログラムを新管理プログラムに変更するにあたり、パソコン200をデータ収集管理装置100の本体ケースから外部に露出しているインターフェース接続コネクタ2に接続し、パソコン200を操作することによってフラッシュメモリ53A、53Bに保存されている旧管理プログラムを電気的に消去し、新管理プログラムを書き込むことができるため、簡単な操作によって旧管理プログラムを新管理プログラムに変更可能になる。   According to the program change method of the present embodiment, when changing the old management program stored in the ROMs 53A and 53B that can change the contents of the data collection management device 100 to the new management program, the personal computer 200 is replaced with the main body of the data collection management device 100. The old management program stored in the flash memories 53A and 53B can be electrically erased and the new management program can be written by operating the personal computer 200 by connecting to the interface connection connector 2 exposed from the case to the outside. Therefore, the old management program can be changed to the new management program by a simple operation.

本発明の一実施形態に係るプログラム変更方法が適用されるトルクコントロールシステムの概略構成図である。1 is a schematic configuration diagram of a torque control system to which a program changing method according to an embodiment of the present invention is applied. トルクコントローラの構成図である。It is a block diagram of a torque controller. 7セグメントタイプのフロントパネルの構成図である。It is a block diagram of a 7 segment type front panel. タッチパネルカラーディスプレイタイプのフロントパネルの構成図である。It is a block diagram of a touch panel color display type front panel. メインCPUの要部の部分構成図である。It is a partial block diagram of the principal part of main CPU. メインCPUの要部の残部構成図である。It is a remaining block diagram of the principal part of the main CPU. 電源部の構成図である。It is a block diagram of a power supply part. 管理プログラム変更の処理手順を表したフローチャートである。It is a flowchart showing the processing procedure of management program change. フラッシュメモリの保存分布図である。It is a preservation distribution map of the flash memory. 従来の管理プログラム変更処理の説明図である。It is explanatory drawing of the conventional management program change process.

符号の説明Explanation of symbols

100 トルクコントローラ(データ収集管理装置)
1 フロントパネル
2 設定用コネクタ(インターフェース接続コネクタ)
3 USBケーブル
4 リアパネル
53A、53B プログラム用フラッシュROM(フラッシュメモリ)
53b 管理プログラムエリア(管理プログラム記憶領域)
200 設定用パソコン(パソコン)
100 Torque controller (data collection management device)
1 Front panel 2 Setting connector (interface connector)
3 USB cable 4 Rear panel 53A, 53B Program flash ROM (flash memory)
53b Management program area (management program storage area)
200 PC for setting (PC)

Claims (1)

データ収集管理装置に内蔵された内容変更可能なROMの管理プログラム記憶領域に保存されている旧管理プログラムを、パソコンを用いて新管理プログラムに変更するプログラム変更方法において、
前記ROMにフラッシュメモリを用い、
該フラッシュメモリにROMライター機能を有する変更用プログラムを予め保存しておくと共に、前記パソコンに通信ソフト及び前記新管理プログラムを予め保存しておき、
その後、前記パソコンを前記データ収集管理装置の本体ケースから外部に露出しているインターフェース接続コネクタに接続し、前記パソコンの前記通信ソフトを立ち上げた状態の下で、前記変更用プログラムを実行開始し、前記変更用プログラムは、前記フラッシュメモリに予め保存されている前記旧管理プログラムを消去し、次に、前記通信ソフトは、前記新管理プログラムを前記パソコンから前記データ収集管理装置にダウンロードし、次に、前記変更用プログラムは、前記ダウンロードされてきた新管理プログラムを前記フラッシュメモリの前記管理プログラム記憶領域に順次書き込むことを特徴とするプログラム変更方法。
In the program change method for changing the old management program stored in the ROM management program storage area of the content changeable ROM built in the data collection management device to the new management program using a personal computer,
Using flash memory for the ROM,
In addition to preliminarily storing a change program having a ROM writer function in the flash memory, preliminarily storing the communication software and the new management program in the personal computer,
After that, the personal computer is connected to the interface connection connector exposed to the outside from the main body case of the data collection management device, and the execution of the change program is started with the communication software of the personal computer started up. The change program erases the old management program stored in advance in the flash memory, and then the communication software downloads the new management program from the personal computer to the data collection management device. In addition, the changing program sequentially writes the downloaded new management program into the management program storage area of the flash memory.
JP2006072713A 2006-03-16 2006-03-16 Program change method Pending JP2007249645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006072713A JP2007249645A (en) 2006-03-16 2006-03-16 Program change method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006072713A JP2007249645A (en) 2006-03-16 2006-03-16 Program change method

Publications (1)

Publication Number Publication Date
JP2007249645A true JP2007249645A (en) 2007-09-27

Family

ID=38593865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006072713A Pending JP2007249645A (en) 2006-03-16 2006-03-16 Program change method

Country Status (1)

Country Link
JP (1) JP2007249645A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0784776A (en) * 1993-09-13 1995-03-31 Toshiba Corp Computer for control and program reloading method
JPH09305395A (en) * 1996-05-17 1997-11-28 Tamura Electric Works Ltd Electronic equipment
JPH10124304A (en) * 1996-10-25 1998-05-15 Fujitsu Ten Ltd Electronic instrument
JPH113223A (en) * 1997-06-10 1999-01-06 Canon Inc Information processor and information storage method
JPH11327891A (en) * 1998-05-20 1999-11-30 Matsushita Graphic Communication Systems Inc Electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0784776A (en) * 1993-09-13 1995-03-31 Toshiba Corp Computer for control and program reloading method
JPH09305395A (en) * 1996-05-17 1997-11-28 Tamura Electric Works Ltd Electronic equipment
JPH10124304A (en) * 1996-10-25 1998-05-15 Fujitsu Ten Ltd Electronic instrument
JPH113223A (en) * 1997-06-10 1999-01-06 Canon Inc Information processor and information storage method
JPH11327891A (en) * 1998-05-20 1999-11-30 Matsushita Graphic Communication Systems Inc Electronic equipment

Similar Documents

Publication Publication Date Title
US7027035B2 (en) Image copy to a second display
JPH0322026A (en) Information processor
JP2007249645A (en) Program change method
JP4684065B2 (en) Air conditioner control information rewriting device
JP2008011645A (en) Power supply controller, electronic device, and operation control method
JP3544734B2 (en) Multi-panel parameter initialization setting device and initialization setting method
JPS60186928A (en) Display method of miniature electronic computer
EP0488384A1 (en) Electric power saving device of a portable data terminal and its method
US20060279599A1 (en) Image forming apparatus displaying print data storage duration and method thereof
JP2004312894A (en) Console for motor control device
EP0997810A3 (en) Portable electronic device, power supply adapter unit therefor and recording medium
JP5561149B2 (en) printer
JP2007034524A (en) Information processor, program, and recording medium
JPH06160805A (en) Liquid crystal display control system
JP4804679B2 (en) Fixed asset information management system
CN1591356B (en) Methods and circuits for programming electronic devices
JP2006065154A (en) Liquid crystal display device
JP2009090011A (en) Ultrasonic diagnostic system
JPH11259306A (en) Electronic controller
JP2001209542A (en) Information processor
CN117697680A (en) Electric tool
JPH03189721A (en) Printer controller
KR20050037041A (en) Image forming system and control method thereof
JP2000242389A (en) Display device, window display method and storage medium
JPS60122459A (en) Electronic device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080313

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111101