JPH0261702A - System code correcting system for robot controller - Google Patents

System code correcting system for robot controller

Info

Publication number
JPH0261702A
JPH0261702A JP21242588A JP21242588A JPH0261702A JP H0261702 A JPH0261702 A JP H0261702A JP 21242588 A JP21242588 A JP 21242588A JP 21242588 A JP21242588 A JP 21242588A JP H0261702 A JPH0261702 A JP H0261702A
Authority
JP
Japan
Prior art keywords
system code
code
ram
rom
stored
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
JP21242588A
Other languages
Japanese (ja)
Inventor
Toru Mizuno
徹 水野
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP21242588A priority Critical patent/JPH0261702A/en
Publication of JPH0261702A publication Critical patent/JPH0261702A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

PURPOSE:To simplify recovery from trouble by correcting a system code without replacing a ROM where the system code is stored and controlling a robot controller with this code. CONSTITUTION:A robot controller 10 is provided with a central processing unit (CPU) 11 and a ROM 13, a RAM 14, a non-volatile memory 15, an operation board 16, a disk controller 17, and an interpolator which are connected to the CPU 11 by a bus 20 and is provided with an interface 20 and a shaft controller 18 which controls each shaft of a robot. When it is necessary to correct the system code for the controller 10, code correction data is generated and is stored in a memory like a floppy disk and is sent to a user and is stored in the non-volatile memory 15, and the system code in the RAM 14 is corrected. As the result, the code is corrected to a new code and the robot controller 10 is driven with this code.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ロボット制御装置におけるシステムコード修
正方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a system code modification method in a robot control device.

従来の技術 ロボット制御装置自体を制御する制御プログラム、即ち
システムコードは制御装置内のROMに格納されており
、該ROMに格納されているシステムコードに基いてロ
ボット制御装置が制御されるか、または、ROMに格納
されているシステムコードを、電源投入時、RAMにロ
ーディングし、その後、このRAMに格納されたシステ
ムコードに基いてロボット制御装置は制御されるように
なっている。
Conventional technology A control program for controlling the robot control device itself, that is, a system code, is stored in a ROM within the control device, and the robot control device is controlled based on the system code stored in the ROM, or When the power is turned on, the system code stored in the ROM is loaded into the RAM, and thereafter the robot control device is controlled based on the system code stored in the RAM.

発明が解決しようとする課題 システムコードが格納されているROMに何らかの障害
があり、システムコードを修正する必要がある場合、従
来は、障害のあるROMを、修正されたシステムコード
が格納されているROMに交換するしか方法がなかった
Problem to be Solved by the Invention When there is some kind of fault in the ROM in which the system code is stored and the system code needs to be corrected, conventionally, the faulty ROM is replaced with the corrected system code. The only option was to replace it with ROM.

この方法であると、ROMに障害が発生するたびに、R
OMの交換をする必要があり、ROM交換に手間を要し
、また、ROMを無駄に聞費することにもなる。
With this method, each time a failure occurs in the ROM, the R
It is necessary to replace the OM, which requires time and effort, and also results in unnecessary ROM usage.

そこで、本発明の目的は、ROM交換を必要とせず、シ
ステムコードの修正ができるシステムコード修正方式を
提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a system code modification method that can modify the system code without requiring ROM replacement.

課題を解決するための手段 本発明は、ROMに格納されたシステムコードを電源投
入時にRAMにローディングし、その後、lRAMにロ
ーディングされたシステムコードにLlいて動作するロ
ボット制御装置のシステムコード修正方式において、シ
ステムコード修正データをメモリに記憶しておき、RO
MからシステムコードをRAMにローディングした後、
上記修正データによりRAM内のシステムコードを修正
することにより上記課題を解決した。
Means for Solving the Problems The present invention provides a system code modification method for a robot control device that loads a system code stored in a ROM into a RAM when the power is turned on, and then operates according to the system code loaded into the RAM. , store the system code correction data in memory and send it to RO.
After loading the system code from M into RAM,
The above problem was solved by correcting the system code in the RAM using the above correction data.

作  用 ロボット制御[IB置にソフトウェア上の障害、即ら、
システムコードの修正が必要となったとき、[コボッ1
〜制御装置のメーカーはそのシステムコード修正データ
を作成し、フロッピーディスク簀のメモリに格納し、ユ
ーザに送付し、ユーザはこの修正データをロボット制御
装置の不揮発性メモリ等のメモリに格納しておき、修正
を必要とするシステムコードをROMからRAMにロー
ディングした後、上記メモリに格納されている修正デー
タによってRAM内のシステムコードを修正する。
Operational robot control [Software failure in IB location, i.e.
When the system code needs to be modified,
~ The manufacturer of the control device creates system code correction data, stores it in the memory of a floppy disk, and sends it to the user, who then stores this correction data in the memory of the robot control device, such as non-volatile memory. After loading the system code that requires modification from the ROM to the RAM, the system code in the RAM is modified using the modification data stored in the memory.

その結果、RAM内のシステムコードは修正された新し
いものとなり、このRAMにローディングされている修
正されたシステムコードによってロボット制御装置が駆
動されることとなるから、ROMの変換を行わずしてロ
ボット制御装置は所望する正常な動作を行うこととなる
As a result, the system code in the RAM becomes a new modified system code, and the robot controller is driven by the modified system code loaded in this RAM. The control device will perform the desired normal operation.

実施例 第2図は、ロボット制御装置の要部ブロック図で、ロボ
ット制御装置10は中央処理装置(以下、CPUという
)11と、該CPU11にバス21で接続されたブート
ROM12.システムコードが格納されたROM13.
RAM14.バブルメモリまたは電源バックアップされ
たCMOSメモリ等の不揮発性メモリ15.操作盤16
.ディスクコントローラ77、補11■器を含み、ロボ
ットの各軸を1III′aする軸制御器18.インタフ
ェイス2oを有している。
Embodiment FIG. 2 is a block diagram of main parts of a robot control device. The robot control device 10 includes a central processing unit (hereinafter referred to as CPU) 11, and a boot ROM 12. ROM13 in which system code is stored.
RAM14. Non-volatile memory such as bubble memory or power backed CMOS memory 15. Operation panel 16
.. An axis controller 18, which includes a disk controller 77 and an auxiliary device 11, and controls each axis of the robot. It has an interface 2o.

軸制■器18は各軸のサーボ回路19を介してロボット
本体の各輪を駆動するサーボモータに接続されている。
The axis controller 18 is connected to a servo motor that drives each wheel of the robot body via a servo circuit 19 for each axis.

また、インタフェイス20はロボットの作業対象等の各
種センサ、アクチュエイタに接続されている。
Further, the interface 20 is connected to various sensors and actuators of the robot's work target and the like.

上記ブートROM12には該ロボット制御装置10に電
源が投入されたとき、ROM13に格納されているシス
テムコードをRAM14にローディングするプログラム
及び不揮発性メモリ15に格納されているシステムコー
ド修正データを読取り、RAM14内にローディングさ
れたシステムコードを修正するプログラム、さらに、外
部メモリのフロッピーディスクよりディスクコントロー
ラ17を介して、システムコードを不揮発性メモリ15
内にローディングするプログラムを有している。
When the robot control device 10 is powered on, the boot ROM 12 reads a program for loading the system code stored in the ROM 13 into the RAM 14 and system code correction data stored in the non-volatile memory 15. A program for modifying the system code loaded in the internal memory is further loaded into the non-volatile memory 15 via a disk controller 17 from a floppy disk in an external memory.
It has a program to load within.

そこで、ロボット制御装置10に電源を投入すると、ブ
ートROM12に格納されている第1図のフローチャー
トで示されるプログラムに基づいて、まず、ROM13
からシステムコードをRAM14内にローディングする
(ステップS1)。
Therefore, when the power is turned on to the robot control device 10, the ROM 13 is first programmed based on the program shown in the flowchart of FIG.
The system code is loaded into the RAM 14 (step S1).

このローディングが終了すると、不揮発性メモリ15内
にシステムコード修正フラグがオンになっているか否か
判断しくステップS2)、オンになっていなければ、操
作盤16より修正データ読込み指令が入力されたか(ス
テラ783)、他の指令が入力されたかくステップS4
)判断し、他の指令が入力されていればシステムコード
の修正はないものとして、他の処理へ移行する。また、
修正データ読込み指令が入力されるとくステップS3)
、ディスクコントローラ17を介してフロッピーディス
クより修正データを読取り、不揮発性メモリ15にロー
ディングする(ステップ85)。
When this loading is completed, it is determined whether the system code correction flag in the non-volatile memory 15 is turned on (step S2), and if it is not turned on, the correction data read command is input from the operation panel 16 (step S2). Stella 783), step S4 where another command is input
), and if another command has been input, it is assumed that there is no modification of the system code, and the process moves on to other processing. Also,
When the corrected data reading command is input, step S3)
, the modified data is read from the floppy disk via the disk controller 17 and loaded into the nonvolatile memory 15 (step 85).

この修正データは修正するシステムコードのアドレスと
、その修正内容であるデータからなっている。こうして
、修正データが不揮発性メモリ15にローディングされ
た後、システムコード修正フラグをオンにしくステップ
S6)、次に、不揮発性メモリ15にローディングされ
た修正データに従って、即ら、修正アドレス位置のRA
M12内のシステムコードを修正データに書き換えるデ
ータ修正処理を行う(ステップ87)。RAM14内の
システムコードが修正され、他の指令が入力されるとく
ステップS8)、I正されたRAM14内のシステムコ
ードによってCPU11は他の処理をし、以後、このR
AM14内にローディングされているシステムコードに
よってロボット制御装置は制御されることとなる。
This correction data consists of the address of the system code to be corrected and the data that is the content of the correction. After the modified data is loaded into the non-volatile memory 15 in this way, the system code modification flag is turned on (step S6), and then the RA of the modified address position is set according to the modified data loaded into the non-volatile memory 15.
Data modification processing is performed to rewrite the system code in M12 with modified data (step 87). When the system code in the RAM 14 is corrected and another command is input, in step S8), the CPU 11 performs other processing based on the corrected system code in the RAM 14.
The robot control device will be controlled by the system code loaded into AM14.

こうして、−旦、システムコード修正データが不揮発性
メモリ15内にローディングされシステムコード修正フ
ラグがオンにされた後、−旦電源が切られ、再び、ロボ
ット制御装置1.0に電源が投入されると、ROM13
からシステムコードをRAM14にローディングした後
(ステップ81)、ステップS2でシステムコード修正
フラグがオンになっていることが検出されるから、ステ
ップS7へ移行し、RAM14内のシステムコードのデ
ータ修正が行われ、以後、この修正されたシステムコー
ドでロボット制御装置10は制御されることとなる。
In this way, after the system code correction data is loaded into the non-volatile memory 15 and the system code correction flag is turned on, the power is turned off and then the power is turned on again to the robot control device 1.0. and ROM13
After loading the system code into the RAM 14 (step 81), it is detected in step S2 that the system code correction flag is turned on, so the process moves to step S7, and the system code data in the RAM 14 is corrected. From now on, the robot control device 10 will be controlled by this modified system code.

以上のように、本発明は、システムコードが格納されて
いるROM13を交換することなくシステムコードを修
正し、修正したシステムコードによってロボット制御装
置10を制御するようにしたから、ROM13内のシス
テムコードに障害が発生した場合、その障害をロボット
制御装置10のメーカーが分析し、メーカーはシステム
コードを修正するアドレスとその修正データをフロッピ
ーディスクに格納し、そのフロッピーディスクのみを送
付すればユーザはそのフロッピーディスクによってシス
テムコードを修正すればよく、障害復旧が簡単となる。
As described above, in the present invention, the system code is modified without replacing the ROM 13 in which the system code is stored, and the robot control device 10 is controlled by the modified system code. If a failure occurs in the robot control device 10, the manufacturer of the robot control device 10 analyzes the failure, stores the address for modifying the system code and its modification data on a floppy disk, and the user only needs to send that floppy disk. All you have to do is modify the system code using a floppy disk, making disaster recovery easy.

発明の効果 本発明は、システムコードが格納されたROMを交換す
ることなく、システムコードを修正することができ、R
OM交換の手間やROMの無駄な消費を防止することが
できる。
Effects of the Invention The present invention allows the system code to be modified without replacing the ROM in which the system code is stored.
It is possible to prevent the trouble of OM replacement and wasteful consumption of ROM.

特に、同一システムコードを使用するロボット制御装置
が5問にある場合で、そのシステムコードを修正する必
要がある場合、修正データを作成するのみでよく、各ロ
ボット制御装置のROMを交換する必要がないから、シ
ステムコードの修正が簡単でかつスピーデイに行うこと
ができる。
In particular, if there are five robot control devices that use the same system code, and the system code needs to be modified, it is only necessary to create correction data, and it is not necessary to replace the ROM of each robot control device. Because there is no system code, modifications to the system code can be done easily and quickly.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の動作処理フローチャート、
第2図は同実施例を実施するロボット制御装置の要部ブ
ロック図である。 10・・・ロボット制御装置、11・・・中央処理装置
(CPU) 、12・・・ブー トROM、13−シス
テムコードが格納されたROM、14・・・システムコ
ードがローディングされるRAM、15・・・修正デー
タがローディングされる不揮発性メモリ。 第 1 口
FIG. 1 is an operational processing flowchart of an embodiment of the present invention;
FIG. 2 is a block diagram of main parts of a robot control device implementing the same embodiment. DESCRIPTION OF SYMBOLS 10... Robot control device, 11... Central processing unit (CPU), 12... Boot ROM, 13-ROM in which system code is stored, 14... RAM in which system code is loaded, 15 ...Non-volatile memory into which modified data is loaded. 1st mouth

Claims (1)

【特許請求の範囲】[Claims] ROMに格納されたシステムコードを電源投入時にRA
Mにローディングし、その後該RAMにローディングさ
れたシステムコードに基いて動作するロボット制御装置
のシステムコード修正方式において、システムコード修
正データをメモリに記憶しておき、ROMからシステム
コードをRAMにローディングした後、上記修正データ
によりRAM内のシステムコードを修正するようにした
ロボット制御装置におけるシステムコード修正方式。
The system code stored in ROM is transferred to RA when the power is turned on.
In the system code modification method for a robot control device that operates based on the system code loaded into the RAM and then loaded into the RAM, system code modification data is stored in the memory, and the system code is loaded from the ROM into the RAM. A system code correction method in a robot control device, in which the system code in the RAM is then corrected using the above correction data.
JP21242588A 1988-08-29 1988-08-29 System code correcting system for robot controller Pending JPH0261702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21242588A JPH0261702A (en) 1988-08-29 1988-08-29 System code correcting system for robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21242588A JPH0261702A (en) 1988-08-29 1988-08-29 System code correcting system for robot controller

Publications (1)

Publication Number Publication Date
JPH0261702A true JPH0261702A (en) 1990-03-01

Family

ID=16622380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21242588A Pending JPH0261702A (en) 1988-08-29 1988-08-29 System code correcting system for robot controller

Country Status (1)

Country Link
JP (1) JPH0261702A (en)

Similar Documents

Publication Publication Date Title
CN107885305B (en) Control device, control method, and recording medium
JPH02100704A (en) Robot programming check system
WO1989002624A1 (en) Method of controlling robot depending upon load conditions
JP2000339008A (en) Programmable controller
JPH0261702A (en) System code correcting system for robot controller
JPH1020922A (en) Robot controller and its program updating method
JPH0760669A (en) Operation system for industrial machine
JPS622323A (en) Control program correcting system for power source control device
JPS63239511A (en) Robot system
JPH0242554A (en) Program loading system
JP2775731B2 (en) Controller and its control method
JP2958470B2 (en) Sequence controller
JPH05224729A (en) Numerical controller containing control program changing function
JPH0193801A (en) Loading device for control program
JPH02187803A (en) Programmable controller
JPH04291421A (en) Microprogram code installing system
JPH117381A (en) Flash memory on-board writing method
JPS5931267A (en) Controller for elevator
JPH0331903A (en) Controller for industrial machine
JPH0635812A (en) Information processing system
JPH01309158A (en) Data processing system
JPH06350697A (en) Electronic switching software overwrite method
JPH0647996A (en) Printer apparatus
JP2002278768A (en) Setting processing method involved in module upgrade and information processing system using the same
JPH05265765A (en) Power-on device