JP5432125B2 - Civil engineering machinery / equipment with a microcomputer capable of writing individual information - Google Patents

Civil engineering machinery / equipment with a microcomputer capable of writing individual information Download PDF

Info

Publication number
JP5432125B2
JP5432125B2 JP2010507083A JP2010507083A JP5432125B2 JP 5432125 B2 JP5432125 B2 JP 5432125B2 JP 2010507083 A JP2010507083 A JP 2010507083A JP 2010507083 A JP2010507083 A JP 2010507083A JP 5432125 B2 JP5432125 B2 JP 5432125B2
Authority
JP
Japan
Prior art keywords
microcomputer
individual information
port
mode
civil engineering
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
JP2010507083A
Other languages
Japanese (ja)
Other versions
JPWO2009125474A1 (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.)
Exen Corp
Original Assignee
Exen 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 Exen Corp filed Critical Exen Corp
Publication of JPWO2009125474A1 publication Critical patent/JPWO2009125474A1/en
Application granted granted Critical
Publication of JP5432125B2 publication Critical patent/JP5432125B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Systems (AREA)
  • Microcomputers (AREA)

Description

この発明は、マイクロコンピュータ(以下、「マイコン」と称する。)を実装した土木工事機械器具において、前記マイコンに外部から個別情報を書込むことができるようにした土木工事機械器具に関するものである。   The present invention relates to a civil engineering machine tool in which a microcomputer (hereinafter referred to as “microcomputer”) is mounted, and individual information can be written to the microcomputer from the outside.

従来、汎用マイコンを実装する土木工事用機械器具において、各機械器具についての個別情報(例えば製造番号)のマイコンへの書込は、通常、マイコンが基板に実装されて機械器具に搭載される前の状態(オフボード状態)で、各種プログラムの書込と同時に行われていた。
汎用マイコンへの各種プログラムの書込がオフボード状態で行われるのは、マイコンへのプログラム書込には高い電圧が要求されることから、マイコンを基板に実装した状態(オンボード状態)でプログラム書込を行おうとすると、そのための電源回路を基板に設ける必要があり、基板が大型化、複雑化し、コスト高となってしまうことを回避するためである。なお、オンボード状態のマイコンであっても、JTAG仕様のマイコンを用いれば、各種プログラムの書き込みは可能であるが、JTAG仕様のマイコンはピンが多く大型である上、その種類も少なく、汎用性に乏しい。
また、製造番号等の個別情報が各種プログラムの書込と同時に行われるのは、これらを別々にマイコンに書き込むとすると、二度手間となるためである。
Conventionally, in civil engineering machinery and equipment in which general-purpose microcomputers are mounted, writing of individual information (for example, serial numbers) for each machine and equipment into the microcomputer is usually performed before the microcomputer is mounted on the board and mounted on the machine and equipment. In this state (off-board state), it was performed simultaneously with the writing of various programs.
The reason why various programs are written to the general-purpose microcomputer in the off-board state is because high voltage is required to write the program to the microcomputer, so the program is performed with the microcomputer mounted on the board (on-board state). If writing is to be performed, it is necessary to provide a power supply circuit for the substrate on the substrate, so that the substrate is prevented from becoming larger and more complicated and costly. Even if it is an on-board microcomputer, if you use a JTAG microcomputer, you can write various programs. However, the JTAG microcomputer has many pins, is small, and has few types. It is scarce.
Further, the individual information such as the serial number is performed simultaneously with the writing of the various programs because it would be troublesome to write these separately into the microcomputer.

各種プログラムと製造番号などの個別情報とをオフボード状態で同時に書き込むと、最終製品として完成していない状態であるにもかかわらず最終製品の製造番号がマイコンに記憶された状態で生産ラインに流れるため、この製造番号を生産工程において管理する必要が生じる。マイコンに記録された製造番号を生産ラインで認識するために、個々のマイコンに製造番号を記載したシールなどを添付し、機械器具に装着する際に機械器具の製造番号と一致させる必要があり、作業が煩雑化している。また、例えば生産ラインで不具合が発生して最終製品として未完成のまま廃棄される場合などには、出荷される製品の製造番号に欠番が生じる等、製造番号の管理上の問題がある。   When various programs and individual information such as serial numbers are written simultaneously in an off-board state, the final product serial number flows to the production line in a state where the final product serial number is stored in the microcomputer even though it is not completed as a final product. Therefore, it is necessary to manage this serial number in the production process. In order to recognize the serial number recorded on the microcomputer in the production line, it is necessary to attach a sticker with the serial number to each microcomputer and match it with the serial number of the machine when attaching to the machine. Work is complicated. In addition, for example, when a problem occurs in the production line and the product is discarded as an unfinished product, there is a problem in management of the production number such as a missing number in the production number of the product to be shipped.

したがって、最終製品の製造番号などの個別情報は、製品完成時にマイコンに書き込むことが好ましいが、共通プログラムは組み込み前に多数のマイコンに同時に記録することが効率的である。
そこで、共通プログラムは一括して書き込み、最終製品の製造番号などの個別情報は、製品完成後、プログラムとは別々にマイコンに書き込むことが望まれる。
Therefore, it is preferable to write individual information such as the serial number of the final product in the microcomputer when the product is completed, but it is efficient to record the common program in many microcomputers simultaneously before incorporation.
Therefore, it is desirable to write the common program all together and write individual information such as the final product serial number to the microcomputer separately from the program after the product is completed.

オンボード上の汎用マイコンに各種プログラムを書き込み可能にする技術としては、例えば、特開2003−216446号公報に記載された発明が提案されている。
この発明は、オンボード上のマイコンの信号ライン(リードピン)にプローブピンを接触させ、プログラム書込装置から直接書込電気信号としてマイコンにプログラムを書き込むものである。
特開2003−216446号公報
As a technique for enabling various programs to be written to a general-purpose microcomputer on board, for example, an invention described in Japanese Patent Application Laid-Open No. 2003-216446 has been proposed.
In the present invention, a probe pin is brought into contact with a signal line (lead pin) of an on-board microcomputer, and a program is directly written into the microcomputer as a write electric signal from the program writing device.
JP 2003-216446 A

この発明は、一度に複数のオンボードマイコンへプログラムを書き込むことを目的としたものであって、複数のマイコンに異なる情報を記録することはできない。
また、プログラムの書き込みは2本のプローブピンをそれぞれマイコンの2つの信号ライン用リードピンに接触させて行うものであり、プログラム書込のための専用ラインが必要となる上、書込装置が複雑化、大型化し、コスト高なものとなっている。
The present invention is intended to write a program to a plurality of on-board microcomputers at a time, and cannot record different information in a plurality of microcomputers.
Program writing is performed by bringing the two probe pins into contact with the two signal line lead pins of the microcomputer, requiring a dedicated line for program writing and complicating the writing device. Larger and more expensive.

同種の技術として特開2001−357023号公報に記載された発明が提案されている。
この発明は、オンボードマイコンの不揮発性メモリにプログラムを書き込む際にCPUが実行する書込用プログラムを記憶するためのマスクROMを省略するために、書込用プログラムをシリアル通信によってCPUに送信し、これをCPUに実行させて不揮発性メモリへのプログラム書込みを可能としたものである。
特開2001−357023号公報
An invention described in Japanese Patent Laid-Open No. 2001-357023 has been proposed as a similar technique.
The present invention transmits the writing program to the CPU by serial communication in order to omit the mask ROM for storing the writing program executed by the CPU when the program is written to the nonvolatile memory of the on-board microcomputer. This is executed by the CPU so that the program can be written to the nonvolatile memory.
Japanese Patent Laid-Open No. 2001-357023

この発明によれば、オンボード状態のマイコンの不揮発性メモリにプログラムを書き込むことができるが、プログラムの書き込みは、ROMライタからマイコンへデータを送信するためのRXD信号線、マイコンからROMライタへデータを送信するためのTXD信号線及びROMライタとマイコンとの間でシリアルクロックを送受信するためのSCLK信号線を用いて行われるものであり、プログラム書込のための専用ラインが必要となる上、書込装置が複雑化、大型化し、コスト高なものとなっている。
さらに、オンボード書込を行う場合には、フラッシュメモリを書込モードに切り替えるためのスイッチを作業者の手によってONにする必要があるが、フラッシュメモリのモード切替を作業者の手作業によるものとすると、スイッチの入れ忘れや切り忘れといったミスが生じやすく、書込ができなかったりマイコンの通常動作に影響を与えるおそれがある。
また、製造番号などの個別情報の書込については記載されていない。
According to the present invention, a program can be written to the nonvolatile memory of the on-board microcomputer, but the program is written by the RXD signal line for transmitting data from the ROM writer to the microcomputer, and from the microcomputer to the ROM writer. This is performed using the TXD signal line for transmitting and the SCLK signal line for transmitting and receiving the serial clock between the ROM writer and the microcomputer, and a dedicated line for program writing is required. The writing device is complicated, large, and expensive.
Furthermore, when performing on-board writing, it is necessary to turn on the switch for switching the flash memory to the writing mode by the operator's hand. Then, mistakes such as forgetting to turn on or forgetting to switch are likely to occur, and writing may not be performed or normal operation of the microcomputer may be affected.
In addition, writing of individual information such as a production number is not described.

この発明は、汎用マイコンが搭載された土木工事機械器具に製造番号などの個別情報を各種プログラムとは別々に外部から容易に書き込むことができる汎用マイコン搭載型の土木工事機械器具を得ることを課題とするものである。
この発明において、「土木機械機械器具」の語は、建設機械器具を含む概念として使用する。
It is an object of the present invention to obtain a general-purpose microcomputer-equipped civil engineering machinery and equipment that can easily write individual information such as a manufacturing number from the outside separately from various programs to a civil engineering machinery and equipment equipped with a general-purpose microcomputer. It is what.
In the present invention, the term “civil engineering machinery / equipment” is used as a concept including construction machinery / equipment.

この発明は、マイコンが実装された土木工事機械器具(例えば、コンクリートバイブレータ)において、前記マイコンには共通プログラムと、モード切替信号入力時に個別情報書き込みモードに切り替え個別情報の入力を可能にするモード切替プログラムとが記録され、前記マイコンの一本のラインである一のポートには、外部機器との間で各種信号のやりとりをする端子が接続され、前記一のポートを介してモード切替信号を入力して前記マイコンの動作モードを個別情報書き込みモードに切り替え、前記モード切替信号が入力されたポートと同一のポートを介して同期信号と個別情報を入力し、前記マイコンに前記個別情報を書き込みできるものとし、さらに、前記一のポートを介して送信モード信号を入力して前記マイクロコンピュータの動作モードを送信モードに切り替え、前記一のポートから前記マイクロコンピュータのデータを出力させるようにして構成する。
マイコンは、プログラムを記録・実行するためのROMと、フラッシュメモリやEEPROMなどのデータを保存するための不揮発性メモリとを備えたマイコンであればよい。
共通プログラムとは、最終製品である各土木工事機械器具に共通して記録されるプログラムであって、例えば土木工事機械器具の稼働情報を記録するためのプログラムが考えられる(請求項4)。
マイコンのポートは、外部機器との信号の出し入れに用いられる(例えば、表示器へのデータ送出、外部機器からのリセットモード切替信号の入力等に用いられる)汎用性のあるI/O(Input/Output)ポートを用いることができ、製造番号などの個別情報書込専用のポートを備えている必要はない(請求項5)。
また、ポートと接続された端子とは、外部機器との間で各種信号のやり取りをするための構成であって、外部機器とライン接続するためのジャック、コネクタ等を意味するだけでなく、無線等の電波、あるいは赤外線や光などによる通信を行うためのインターフェースとしての端子をも含めた概念である。
また、外部機器として、表示器や運転時間管理装置、製造番号書込装置などが考えられるが、これらと同等機能のプログラムを実行するパーソナルコンピュータを使用することもできる。マイコンのポートから出力される各種情報を表示する装置とマイコンとを同一筐体に組み込むことも可能である。
モード切替信号は、マイコンのモードを外部からの個別情報書込が可能なモード(個別情報書込モード)に切り替えるための信号であって、同期信号及びデータ信号とは区別されるパルス信号として、I/Oポートに接続される外部機器から入力される。
The present invention relates to a civil engineering machinery implement (for example, a concrete vibrator) in which a microcomputer is mounted, a mode switching that enables switching to an individual information writing mode when a mode switching signal is input to the microcomputer and inputting individual information. A program is recorded, and one port, which is one line of the microcomputer, is connected to a terminal for exchanging various signals with an external device, and a mode switching signal is input through the one port. The operation mode of the microcomputer is switched to the individual information writing mode, the synchronization signal and the individual information are input through the same port as the port to which the mode switching signal is input, and the individual information can be written to the microcomputer In addition, a transmission mode signal is input through the one port to input the microcomputer. Switching the operation mode of the transmission mode, to configure the from one port so as to output data of the microcomputer.
The microcomputer may be a microcomputer provided with a ROM for recording and executing a program and a non-volatile memory for storing data such as a flash memory and an EEPROM.
The common program is a program that is recorded in common to each civil engineering machine tool that is the final product. For example, a program for recording operation information of the civil engineering machine tool is conceivable.
The port of the microcomputer is used for inputting / outputting a signal to / from an external device (for example, used for sending data to a display, inputting a reset mode switching signal from an external device, etc.). An output port can be used, and it is not necessary to provide a port dedicated to writing individual information such as a serial number (claim 5).
A terminal connected to a port is a configuration for exchanging various signals with an external device, and means not only a jack, a connector, etc. for line connection with an external device, but also a wireless connection. It is a concept including a terminal as an interface for performing communication using radio waves such as infrared rays or light.
In addition, as an external device, a display, an operation time management device, a serial number writing device, and the like can be considered, but a personal computer that executes a program having the same function as these can also be used. It is also possible to incorporate a device for displaying various information output from the port of the microcomputer and the microcomputer in the same housing.
The mode switching signal is a signal for switching the mode of the microcomputer to a mode capable of writing individual information from the outside (individual information writing mode), and is a pulse signal that is distinguished from the synchronization signal and the data signal, Input from an external device connected to the I / O port.

請求項2の発明は、マイコンには、書込モード切替時に既に個別情報が書き込まれているか否かを判別する個別情報有無判定プログラムが記録され、既に個別情報が書き込まれている場合には個別情報の上書きが阻止されるようにして構成される。
個別情報有無判定プログラムは、例えば、個別情報書込後に書込済み情報をマイコンに書込んでおき、この書込済み情報の有無をマイコンが判定し、書込済み情報を認識した場合には書込モードを終了するプログラムとして、あるいは、個別情報データが未書込のマイコンに個別情報データに関する初期値を記録しておき(この初期値は個別情報が書き込まれていないことを意味する)、書込モード切替時にこの初期値の有無を判定し、初期値を認識した場合には個別情報書込みを開始し、初期値を認識しない場合には書込モードを終了するプログラムとして、マイコンに記録されている。
According to the second aspect of the present invention, an individual information presence / absence determination program for determining whether or not individual information has already been written at the time of switching the write mode is recorded in the microcomputer. It is configured to prevent overwriting of information.
The individual information presence / absence determination program, for example, writes written information to the microcomputer after writing the individual information, and the microcomputer determines the presence / absence of the written information and recognizes the written information. The initial value for the individual information data is recorded as a program for ending the write-in mode or in the microcomputer in which the individual information data is not written (this initial value means that the individual information is not written) When the initial value is recognized, individual information writing starts when the initial value is recognized, and when the initial value is not recognized, it is recorded in the microcomputer as a program for ending the writing mode. Yes.

マイコンに書き込まれる個別情報は土木工事機械の製造番号が代表的であるが、個々の機械を識別するための情報であればこれに限られるものではない。   The individual information written in the microcomputer is typically the production number of the civil engineering machine, but is not limited to this as long as it is information for identifying the individual machine.

この発明によれば、マイコンが実装された土木工事機械器具において、前記マイコンには共通プログラムとモード切替信号入力時に個別情報書き込みモードに切り替え個別情報の入力を可能にするモード切替プログラムとを記録し、前記マイコンの一本のラインである一のポートには外部機器との間で各種信号のやりとりをする端子が接続され、前記一のポートを介してモード切替信号を入力して前記マイコンの動作モードを個別情報書き込みモードに切り替え、前記モード切替信号が入力されたポートと同一のポートを介して同期信号と個別情報を入力し、前記マイコンに前記個別情報を書き込みできるようにし、さらに、前記一のポートを介して送信モード信号を入力して前記マイコンの動作モードを送信モードに切り替え、前記一のポートから前記マイコンのデータを出力させるようにしたので、共通プログラムを予め一括して記録しておき、土木工事機械器具への装着後に個別に製造番号などの個別情報を記録できるとともに、前記一のポートから前記マイコンのデータを出力することができる。
そして、上記のような構成としてあるので、モード切替信号及び個別情報の双方さらには送信モード信号を同一のポートを用いてマイコンに入力することができ、モード切替信号がマイコンに入力されるとモード切替手段がこれを認識してマイコンのモードを個別情報書込モードに切り替え、送信モード信号が入力されると前記マイコンの動作モードを送信モードに切り替えことができる。
また、マイコンのモード切替信号と個別情報とを外部機器との信号の出し入れに用いられるポートは種々の外部機器との間でデータを出し入れするI/Oポートを利用するものとしたので、個別情報書込のために特別の専用ラインを設ける必要もない。
According to the present invention, in the civil engineering equipment having a microcomputer mounted thereon, the microcomputer records a common program and a mode switching program that enables switching to the individual information writing mode when a mode switching signal is input, and allowing individual information to be input. In addition, one port that is one line of the microcomputer is connected to a terminal for exchanging various signals with an external device, and a mode switching signal is input through the one port to operate the microcomputer. switching the mode to the individual information write mode, the mode switching signal is inputted synchronous signal and the individual information via the same port and the port input, to allow writing the individual information to the microcomputer, further, the one The transmission mode signal is input through the port of the microcomputer to switch the operation mode of the microcomputer to the transmission mode. Since the bets so as to output the data of the microcomputer, may be recorded in advance collectively common program, it is possible to record the individual information such as the individual serial number after attachment to civil engineering machinery, of the one The microcomputer data can be output from the port .
Since the above configuration is employed, both the mode switching signal and the individual information, as well as the transmission mode signal , can be input to the microcomputer using the same port, and when the mode switching signal is input to the microcomputer, the mode is set. switching the mode of the microcomputer to the individual information writing mode switching means to recognize this and Ru can be switched to the transmission mode signal is input transmission mode an operation mode of the microcomputer.
In addition, the port used for sending / receiving the microcomputer's mode switching signal and individual information to / from the external device uses an I / O port for sending / receiving data to / from various external devices. There is no need to provide a special dedicated line for writing.

マイコンには、書込モード切替時に既に個別情報が書き込まれているか否かを判別する個別情報有無判定プログラムが記録され、既に個別情報が書き込まれている場合には個別情報の上書きが阻止されるようにしたので、既に個別情報が書き込まれている場合には、誤って異なる個別情報が上書きされることがない。   The microcomputer records an individual information presence / absence determination program that determines whether or not individual information has already been written when the writing mode is switched. If the individual information has already been written, overwriting of the individual information is prevented. Thus, when individual information has already been written, different individual information is not overwritten by mistake.

マイコンに書き込まれる個別情報は、土木工事機械の製造番号としたので、土木工事機械器具の製造段階では製造番号をマイコンに記録する必要がなく、完成後に共通プログラムとは別々に製造番号を個別にマイコンに書き込むことができ、生産工程における製造番号管理が容易となる。   Since the individual information written in the microcomputer is the civil engineering machine serial number, there is no need to record the serial number in the microcomputer at the civil engineering machinery manufacturing stage, and the serial number is separately separated from the common program after completion. It can be written in a microcomputer, and serial number management in the production process becomes easy.

以下、この発明の実施例を説明する。   Examples of the present invention will be described below.

図1は、この発明の参考例を示す図である。
土木工事機械1の外面には、この土木工事機械に内蔵されたマイコン2のI/Oポート3の一のポート31に接続された端子4が露出して設けられている。
マイコン2はプログラムを格納するフラッシュROM21、データを一時的に保管するRAM22、データを保存するEEPROM23とでメモリー構成された汎用マイコンである。フラッシュROM21には各種プログラム(例えば、土木工事機械の運転制御プログラム、土木工事機械の運転履歴を記録するプログラム、外部機器との間で情報を送受信するプログラム、個別情報をEEPROM23に書き込むためのプログラム等)が格納されており、使用者の要求に応じて適当なプログラムを実行する。
マイコン2のI/Oポート3は、マイコン2が外部機器との間で信号を出し入れするための複数のポートから構成されている。このうち、一のポート31が外部端子4と接続されている。
外部機器とマイコン2との間のデータ転送は、外部機器をこの端子4に接続した上でポート31を介して行われる。このポート31は製造番号書込装置以外の機器とも接続可能であり、例えば、表示機器、運転時間管理装置などと接続して各種データの送受信に用いることができる。図中の矢印はデータの転送方向を示すものである。
また、表示器や運転時間管理装置は土木工事機械1の筐体内に組み込むことも可能である。
FIG. 1 is a diagram showing a reference example of the present invention.
A terminal 4 connected to one port 31 of the I / O port 3 of the microcomputer 2 incorporated in the civil engineering machine is exposed on the outer surface of the civil engineering machine 1.
The microcomputer 2 is a general-purpose microcomputer comprising a flash ROM 21 for storing programs, a RAM 22 for temporarily storing data, and an EEPROM 23 for storing data. Various programs (for example, an operation control program for a civil engineering machine, a program for recording an operation history of the civil engineering machine, a program for transmitting / receiving information to / from an external device, a program for writing individual information to the EEPROM 23, etc. ) Is stored, and an appropriate program is executed according to the user's request.
The I / O port 3 of the microcomputer 2 is composed of a plurality of ports through which the microcomputer 2 inputs / outputs signals to / from an external device. Among these, one port 31 is connected to the external terminal 4.
Data transfer between the external device and the microcomputer 2 is performed via the port 31 after the external device is connected to the terminal 4. The port 31 can be connected to devices other than the serial number writing device. For example, the port 31 can be connected to a display device, an operation time management device, or the like and used to transmit / receive various data. The arrows in the figure indicate the data transfer direction.
In addition, the display and the operation time management device can be incorporated in the housing of the civil engineering machine 1.

図2は、マイコン2に土木工事機械1の製造番号を書き込むためのプログラムのフローチャートである。
製造番号書込装置の端子と土木工事機械1の端子4とを接続し、製造番号書込装置及びマイコン2の電源を入れ、製造番号データ書込を開始すると、製造番号書込装置からマイコン2のモードを製造番号書込モードに切り替えるためのモード切替信号が送信される。
モード切替信号を受信したマイコン2はこれを識別して製造番号書込モードに切り替わり、製造番号書込用プログラムの実行を開始する。
製造番号書き込み用プログラムが開始されると、まず、マイコン2に既に製造番号が書き込まれていないかどうかを書込済み情報の有無によって判別する。既に書込済み情報を検出した場合には製造番号書込用プログラムは終了し、製造番号の上書きがされることはない。書込済み情報を検出しない場合には待機モードに移行し、製造番号書込装置から同期信号が送信されてくるのを待機する。
次いで、製造番号書込装置から同期信号が送信された後、製造番号データが送信され、EEPROM23に製造番号が書き込まれる。
EEPROM23に製造番号が書き込まれた後、書込済み情報がEEPROM23に書き込まれると製造番号書き込み用プログラムが終了する。
FIG. 2 is a flowchart of a program for writing the manufacturing number of the civil engineering machine 1 in the microcomputer 2.
When the terminal of the manufacturing number writing device and the terminal 4 of the civil engineering machine 1 are connected, the manufacturing number writing device and the microcomputer 2 are turned on, and the manufacturing number data writing is started, the microcomputer 2 starts from the manufacturing number writing device. A mode switching signal for switching the mode to the manufacturing number writing mode is transmitted.
Receiving the mode switching signal, the microcomputer 2 identifies this and switches to the serial number writing mode, and starts executing the serial number writing program.
When the production number writing program is started, first, it is determined whether or not the production number has already been written in the microcomputer 2 by the presence or absence of written information. If already written information is detected, the serial number writing program is terminated and the serial number is not overwritten. When the written information is not detected, the process shifts to the standby mode and waits for the synchronization signal to be transmitted from the serial number writing device.
Next, after a synchronization signal is transmitted from the serial number writing device, serial number data is transmitted, and the serial number is written in the EEPROM 23.
After the serial number is written in the EEPROM 23, when the written information is written in the EEPROM 23, the serial number writing program ends.

図3は、この発明の製造番号の書込みにおいて、マイコン2と製造番号書込装置との間で使用される信号データのタイミングを示す図である。
製造番号書込装置で製造番号の書込を開始すると、まず、マイコン2のモードを製造番号書込モードに切り替えるためのモード切替信号MCsが送信される。このモード切替信号MCsは、書込装置からの書き込み用に予め設定された特殊なパルス列である。
次いで、同期信号Syncが送信され、続いて製造番号データ信号Dsが送信されて、製造番号データがEEPROM23に書き込まれる。
データ信号Dsが多ビットにわたり長い場合には、同期信号Sync、データ信号Dsの組み合わせを複数送出することも可能である。
FIG. 3 is a diagram showing the timing of signal data used between the microcomputer 2 and the serial number writing device in the serial number writing of the present invention.
When the production number writing device starts writing the production number, first, a mode switching signal MCs for switching the mode of the microcomputer 2 to the production number writing mode is transmitted. The mode switching signal MCs is a special pulse train preset for writing from the writing device.
Next, the synchronization signal Sync is transmitted, then the serial number data signal Ds is transmitted, and the serial number data is written in the EEPROM 23.
When the data signal Ds is long over many bits, a plurality of combinations of the synchronization signal Sync and the data signal Ds can be transmitted.

製造番号データDsが書き込まれた後、最後にデータ書込済み信号Fsが送信されてマイコン2のポート31を閉じる。   After the serial number data Ds is written, a data written signal Fs is finally transmitted to close the port 31 of the microcomputer 2.

上記のように、マイコン2を製造番号書込モードに切り替えるモード切替信号を、製造番号書込装置から製造番号を書き込む際に送信するものとしたので、マイコン側でのスイッチ操作なしにマイコンのモードを切り替えることができる。
また、同期信号Sync、製造番号データDsを順に送信することとしたので、同期信号と製造番号データ信号とを一本のラインに乗せることができ、マイコン2のI/Oポート3の一のポートのみを用いて製造番号を書き込むことができる。
As described above, since the mode switching signal for switching the microcomputer 2 to the serial number writing mode is transmitted when the serial number is written from the serial number writing device, the microcomputer mode can be switched without a switch operation on the microcomputer side. Can be switched.
Since the synchronization signal Sync and the serial number data Ds are sequentially transmitted, the synchronous signal and the serial number data signal can be placed on one line, and one port of the I / O port 3 of the microcomputer 2 The serial number can be written using only

この参考例のデータ転送方法では、一本のラインで送信又は受信の何れか一方通行でのみ転送できるので、製造番号書込装置からの送信のみで製造番号書込を行う場合に適している。 Since the data transfer method of this reference example can be transferred only by one-way transmission or reception on one line, it is suitable for writing the production number only by transmission from the production number writing device.

図4はこの発明の実施例の構成を示す図である。すなわち、製造番号書込装置からマイコン2に製造番号を書き込むだけでなく、この書込に用いられたラインと同じラインを利用して、マイコン2から製造番号書込装置と表示器とを一体とした装置に対して表示データ等を送信するようにしたものである。
この装置としては、この機能のプログラムを実行しているパーソナルコンピュータを使用することもでき、パーソナルコンピュータへデータを出力することもできる。
FIG. 4 is a diagram showing the configuration of the embodiment of the present invention. That is, not only the serial number is written in the microcomputer 2 from the serial number writing device, but also the serial number and the display unit are integrated from the microcomputer 2 by using the same line used for the writing. Display data or the like is transmitted to the device.
As this apparatus, a personal computer executing a program of this function can be used, and data can be output to the personal computer.

図5は、実施例において用いられる信号データのタイミングを示す図である。
マイコン2の電源を投入すると、マイコン2のモードが初期状態としてデータ入力モードとなり、モード信号待ちの状態となる。次に、受信モード信号RMsを製造番号書込装置から受信することにより、製造番号書込モードとなる。
受信モード信号RMsを送信した製造番号書込装置は、同期信号SyncA、製造番号データDsを順次送信する。ここで、一定時間経過してもマイコン2が同期信号SyncAを受信しない場合には、マイコン2の製造番号書込モードが解除され、初期状態としてのデータ入力モードとなる。
マイコン2から信号を送信する場合には、マイコン2は送信モード信号SMsを受信する。送信モード信号SMsを送信した表示器は、マイコン2からの送信信号の受信を待機し、マイコン2から送信される同期信号SyncB、表示データなどのデータ信号SDsを順次受信する。データ信号SDsを受信した表示器は、受信したデータ信号SDsの内容に従って、例えばマイコン2に書き込まれた製造番号が表示される。
FIG. 5 is a diagram illustrating the timing of signal data used in the embodiment .
When the power source of the microcomputer 2 is turned on, the mode of the microcomputer 2 is set to the data input mode as an initial state, and the mode signal is waited. Next, the serial number writing mode is entered by receiving the reception mode signal RMs from the serial number writing device.
The serial number writing device that has transmitted the reception mode signal RMs sequentially transmits a synchronization signal SyncA and serial number data Ds. Here, if the microcomputer 2 does not receive the synchronization signal SyncA even after a predetermined time has elapsed, the serial number writing mode of the microcomputer 2 is canceled and the data input mode is set as the initial state.
When transmitting a signal from the microcomputer 2, the microcomputer 2 receives the transmission mode signal SMs. The display that has transmitted the transmission mode signal SMs waits for reception of the transmission signal from the microcomputer 2 and sequentially receives the synchronization signal SyncB and the data signal SDs such as display data transmitted from the microcomputer 2. The display that has received the data signal SDs displays, for example, the serial number written in the microcomputer 2 in accordance with the contents of the received data signal SDs.

この発明は、マイコンを実装した土木工事機械において、前記マイコンに外部から個別情報を書込むことができるようにした土木工事機械に関するものであり、産業上の利用可能性を有するものである。   The present invention relates to a civil engineering machine in which a microcomputer is mounted so that individual information can be written to the microcomputer from the outside, and has industrial applicability.

この発明の参考例の回路構成図Circuit configuration diagram of a reference example of the present invention 同じく製造番号書込のフローチャートFlow chart for writing serial number 同じくデータ転送に用いられる信号のタイミングを示す図The figure which similarly shows the timing of the signal which is used for data transfer この発明の実施例の回路構成図Circuit diagram of the embodiment of the present invention 同じくデータ転送に用いられる信号のタイミングを示す図The figure which similarly shows the timing of the signal which is used for data transfer

1 土木工事機械
2 マイコン
21 フラッシュROM
22 RAM
23 EEPROM
3 I/Oポート
31 一のポート
4 端子
1 Civil Engineering Machine 2 Microcomputer 21 Flash ROM
22 RAM
23 EEPROM
3 I / O port 31 One port 4 terminal

Claims (5)

マイクロコンピュータが実装された土木工事機械器具において、
前記マイクロコンピュータには共通プログラムと、モード切替信号入力時に個別情報書込モードに切り替え個別情報の入力を可能にするモード切替プログラムとが記録され、
前記マイクロコンピュータの一本のラインである一のポートには、外部機器との間で各種信号のやりとりをする端子が接続され、
前記一のポートを介してモード切替信号を入力して前記マイクロコンピュータの動作モードを個別情報書き込みモードに切り替え、前記モード切替信号が入力されたポートと同一のポートを介して同期信号と個別情報を入力し、前記マイクロコンピュータに前記個別情報を書き込みできるものとし、さらに、前記一のポートを介して送信モード信号を入力して前記マイクロコンピュータの動作モードを送信モードに切り替え、前記一のポートから前記マイクロコンピュータのデータを出力させるものとした、
土木工事機械器具。
In civil engineering machinery equipment with a microcomputer mounted,
In the microcomputer, a common program and a mode switching program that enables switching to an individual information writing mode when a mode switching signal is input and inputting individual information are recorded,
One port, which is one line of the microcomputer, is connected to a terminal for exchanging various signals with an external device,
The mode switching signal is input through the one port to switch the microcomputer operation mode to the individual information writing mode, and the synchronization signal and the individual information are transmitted through the same port as the port to which the mode switching signal is input. The individual information can be written to the microcomputer , and a transmission mode signal is input through the one port to switch the operation mode of the microcomputer to the transmission mode. The microcomputer data is output.
Civil engineering machinery and equipment.
マイクロコンピュータには、モード切替信号受信時に、既に個別情報が書き込まれているか否かを判別する個別情報有無判定プログラムが記録され、既に個別情報が書き込まれている場合には個別情報の上書きが阻止されるようにした、
請求項1記載の土木工事機械器具。
When the mode switching signal is received, the microcomputer is recorded with an individual information presence / absence determination program for determining whether or not the individual information has already been written. When the individual information has already been written, overwriting of the individual information is prevented. To be,
The civil engineering machinery apparatus according to claim 1.
個別情報は、土木工事機械器具の製造番号とした、請求項1又は2に記載の土木工事機械器具。 The civil engineering machinery / equipment according to claim 1 or 2, wherein the individual information is a serial number of the civil engineering machinery / equipment. 共通プログラムは、土木工事機械器具の稼働情報を記録するためのプログラムとした、請求項1ないし3の何れかに記載の土木工事機械器具。 The civil engineering equipment according to any one of claims 1 to 3, wherein the common program is a program for recording operation information of civil engineering equipment. モード切替信号並びに個別情報を入力するための一のポートは、共通プログラムで使用するポートとしても兼用され、前記一のポートへ接続される機器に応じてポートの役割が切り替わるものとした、
請求項1ないし4の何れかに記載の土木工事機械器具。
One port for inputting the mode switching signal and individual information is also used as a port used in the common program, and the role of the port is switched according to the device connected to the one port.
The civil engineering machinery apparatus according to any one of claims 1 to 4.
JP2010507083A 2008-04-08 2008-04-08 Civil engineering machinery / equipment with a microcomputer capable of writing individual information Active JP5432125B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2008/056929 WO2009125474A1 (en) 2008-04-08 2008-04-08 Civil engineering work machinery and tool with individual information writable microcomputer

Publications (2)

Publication Number Publication Date
JPWO2009125474A1 JPWO2009125474A1 (en) 2011-07-28
JP5432125B2 true JP5432125B2 (en) 2014-03-05

Family

ID=41161617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010507083A Active JP5432125B2 (en) 2008-04-08 2008-04-08 Civil engineering machinery / equipment with a microcomputer capable of writing individual information

Country Status (2)

Country Link
JP (1) JP5432125B2 (en)
WO (1) WO2009125474A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5730352B2 (en) * 2013-07-02 2015-06-10 有限会社 志賀野シーケンス Rotational angle position detector

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01304564A (en) * 1988-06-01 1989-12-08 Nec Corp Single chip microcomputer
JPH0439791A (en) * 1990-06-06 1992-02-10 Nippon Hoso Kyokai <Nhk> Ic card and ic card system
JPH0620127A (en) * 1992-06-30 1994-01-28 Komatsu Ltd Control system of construction machine
JPH06131267A (en) * 1992-10-15 1994-05-13 Matsushita Electric Ind Co Ltd Storage device for on-vehicle electrical equipment
JPH10212739A (en) * 1997-01-29 1998-08-11 Hitachi Constr Mach Co Ltd Device for monitoring operating condition of construction machine
JP2001175642A (en) * 1999-12-21 2001-06-29 Sharp Corp Noncontact-type information input device
JP2001318907A (en) * 2000-05-12 2001-11-16 Nec Corp Microcomputer incorporating flash memory
JP2003069572A (en) * 2001-08-29 2003-03-07 Yokogawa Electric Corp Ieee1394 serial bus tester
JP2004078483A (en) * 2002-08-15 2004-03-11 Meidensha Corp Method of changing firmware program
JP2006031501A (en) * 2004-07-20 2006-02-02 Yokogawa Electric Corp Electronic equipment and program download method in electronic equipment
JP2006040300A (en) * 2005-08-29 2006-02-09 Renesas Technology Corp Microcomputer

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01304564A (en) * 1988-06-01 1989-12-08 Nec Corp Single chip microcomputer
JPH0439791A (en) * 1990-06-06 1992-02-10 Nippon Hoso Kyokai <Nhk> Ic card and ic card system
JPH0620127A (en) * 1992-06-30 1994-01-28 Komatsu Ltd Control system of construction machine
JPH06131267A (en) * 1992-10-15 1994-05-13 Matsushita Electric Ind Co Ltd Storage device for on-vehicle electrical equipment
JPH10212739A (en) * 1997-01-29 1998-08-11 Hitachi Constr Mach Co Ltd Device for monitoring operating condition of construction machine
JP2001175642A (en) * 1999-12-21 2001-06-29 Sharp Corp Noncontact-type information input device
JP2001318907A (en) * 2000-05-12 2001-11-16 Nec Corp Microcomputer incorporating flash memory
JP2003069572A (en) * 2001-08-29 2003-03-07 Yokogawa Electric Corp Ieee1394 serial bus tester
JP2004078483A (en) * 2002-08-15 2004-03-11 Meidensha Corp Method of changing firmware program
JP2006031501A (en) * 2004-07-20 2006-02-02 Yokogawa Electric Corp Electronic equipment and program download method in electronic equipment
JP2006040300A (en) * 2005-08-29 2006-02-09 Renesas Technology Corp Microcomputer

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JPN6013034732; 情報処理用語大辞典編集委員会 編: コンパクト版 情報処理用語大辞典 第1版, 19931025, 727頁,741頁, 株式会社オーム社 *
JPN6013034733; 長尾 真 他編: 岩波情報科学事典 第1版, 19900525, 717頁, 株式会社岩波書店 *

Also Published As

Publication number Publication date
JPWO2009125474A1 (en) 2011-07-28
WO2009125474A1 (en) 2009-10-15

Similar Documents

Publication Publication Date Title
JP6500147B2 (en) In-vehicle program writer
JP4586089B2 (en) COMMUNICATION SYSTEM, HOST DEVICE, AND TERMINAL DEVICE
JP2006264877A (en) Elevator control device
JP4883314B2 (en) Data trace system using PLC
JP5432125B2 (en) Civil engineering machinery / equipment with a microcomputer capable of writing individual information
JP2009133821A (en) Hand-held diagnosis device for vehicle
CN114008984B (en) Computer readable storage medium and management method
JP6001962B2 (en) Inverter device
JP3496601B2 (en) Electronic device and operation state output method of electronic device
JP2006277733A (en) Programmable controller system
TW201441069A (en) Configuration tool for tire pressure monitoring device
JP5430298B2 (en) Vending machine control equipment
JP2009129114A (en) External memory for programmable logic controller
JP2008056193A (en) Vehicular display unit
JP2002305438A (en) Fpga and method for changing fpga function, and communications equipment using the same
JP2008293241A (en) Display device
CN210428185U (en) Vehicle fault diagnosis device and system
JP4599317B2 (en) Initial setting method of satellite terminal
JP2002366205A (en) Set display device for programmable controller
JP2006352462A (en) Portable telephone device
JP3187492U (en) Unique identification information setting structure and slave station terminal and information providing device used for the structure
JP2011159126A (en) Integrated circuit device and method for controlling the same, and debug system and method for controlling the same
JP2021005274A (en) Wireless communication equipment for measuring instrument, measuring instrument, measuring system, and program for measuring system
KR100630925B1 (en) Data communication apparatus
JP2001306112A (en) Programmable controller

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130131

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130723

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131010

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20131101

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: 20131119

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131205

R150 Certificate of patent or registration of utility model

Ref document number: 5432125

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250