JPH0361215B2 - - Google Patents

Info

Publication number
JPH0361215B2
JPH0361215B2 JP60033225A JP3322585A JPH0361215B2 JP H0361215 B2 JPH0361215 B2 JP H0361215B2 JP 60033225 A JP60033225 A JP 60033225A JP 3322585 A JP3322585 A JP 3322585A JP H0361215 B2 JPH0361215 B2 JP H0361215B2
Authority
JP
Japan
Prior art keywords
program
station
secondary station
processor
memory
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.)
Expired
Application number
JP60033225A
Other languages
Japanese (ja)
Other versions
JPS61216065A (en
Inventor
Masahiko Hisagu
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60033225A priority Critical patent/JPS61216065A/en
Publication of JPS61216065A publication Critical patent/JPS61216065A/en
Publication of JPH0361215B2 publication Critical patent/JPH0361215B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は一次局に従属する二次局に一次局から
プログラムをローデイングしてから動作開始する
システムに係り、特に複数の二次局の内の特定の
二次局に再度プログラムをローデイングする場合
に、他の二次局に影響を与えずに処理することを
可能とする二次局のプログラムローデイング方式
に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a system that loads a program from a primary station to a secondary station subordinate to a primary station and then starts operating. The present invention relates to a program loading method for a secondary station that makes it possible to process the program without affecting other secondary stations when loading the program again to a specific secondary station.

近年、自動化システムの発展に伴い、工場の自
動化が計られフアクトリーオートメーシヨン機器
(FA機器)が盛んに導入されるようになつてき
た。これらのFA機器の中には、プロセツサによ
り制御される一次局に従属し、且つプロセツサに
よつて制御される二次局が、前記一次局に複数接
続され、この二次局にロボツト等が接続されて制
御されるシステム構成のものがある。
In recent years, with the development of automation systems, factories have been automated and factory automation equipment (FA equipment) has been actively introduced. In these FA devices, a plurality of secondary stations subordinate to and controlled by a processor are connected to the primary station, and a robot, etc. is connected to the secondary station. There are system configurations that are controlled and controlled.

このようなシステム構成のFA機器においては、
通常複数の二次局に動作内容を指示するプログラ
ムを、各二次局が個々にローデイングするのでは
無く、集中化して一次局から二次局に送出し、二
次局のメモリにローデイングして、二次局のプロ
セツサがこのプログラム読出してロボツト等を制
御している。
In FA equipment with such a system configuration,
Normally, a program that instructs multiple secondary stations to operate is not loaded individually by each secondary station, but is centralized, sent from the primary station to the secondary station, and loaded into the memory of the secondary station. The processor of the secondary station reads this program and controls the robot, etc.

この場合、複数の二次局の内の或二次局、即ち
特定の二次局が障害等で再度プログラムをローデ
イングする必要が生じた場合、他の二次局の動作
に影響が及ばないことが必要である。
In this case, even if one of the multiple secondary stations, that is, a specific secondary station, needs to load the program again due to a failure, etc., the operation of other secondary stations will not be affected. is necessary.

〔従来の技術〕[Conventional technology]

第3図はFA機器構成の一例を示す回路のブロ
ツク図で、第4図はプログラムローデイング動作
を説明する図である。
FIG. 3 is a circuit block diagram showing an example of the FA equipment configuration, and FIG. 4 is a diagram explaining a program loading operation.

一次局1のプロセツサ4はデイスク制御回路8
を制御してフロツピーデイスク7に格納されてい
るプログラムを読出し、メモリ5に格納する。フ
ロツピーデイスク7には第4図aに示す如く二次
局2及び3に転送するプログラムが格納されてお
り、で示す如く転送指示のプログラムと二次局
2及び3の動作内容を指示する二次局用プログラ
ムがメモリ5に格納される。
The processor 4 of the primary station 1 is a disk control circuit 8
reads out the program stored on the floppy disk 7 and stores it in the memory 5. The floppy disk 7 stores programs to be transferred to the secondary stations 2 and 3 as shown in FIG. The program for the next station is stored in the memory 5.

プロセツサ4はこの転送指示プログラムの指示
に基づき、通信制御回路6を制御し、回線を経て
二次局2の通信制御回路10を経て転送プログラ
ムをで示す如く送出する。プロセツサ9は通信
制御回路19を経て入る転送プログラムを、ロー
ダ13を起動してメモリ12をイネーブルとし、
二次局用プログラムとして格納する。
The processor 4 controls the communication control circuit 6 based on the instructions of the transfer instruction program, and sends the transfer program via the line to the communication control circuit 10 of the secondary station 2 as shown in FIG. The processor 9 transfers the transfer program that enters via the communication control circuit 19, starts the loader 13, enables the memory 12, and
Store as a secondary station program.

一次局1は転送プログラムの送出が済むと、第
4図bに示す如く、一次局用プログラムの格納さ
れたフロツピーデイスク7から一次局1の動作を
指示するプログラムを読出し、メモリ5に格納し
て読出し動作する。
When the primary station 1 finishes sending out the transfer program, it reads out the program that instructs the operation of the primary station 1 from the floppy disk 7 on which the primary station program is stored, and stores it in the memory 5, as shown in FIG. 4b. read operation.

二次局2のプロセツサ9はメモリ12に格納さ
れた二次局用プログラムを読出し、インタフエー
ス回路11を経てロボツト15を制御する。二次
局3においても上記同様である。
The processor 9 of the secondary station 2 reads the secondary station program stored in the memory 12 and controls the robot 15 via the interface circuit 11. The same applies to the secondary station 3 as well.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

例えば二次局2において、障害等により異常状
態が発生し、再度プログラムをローデイングする
必要が発生した場合、電源を一旦切断してローダ
13をリセツトし、メモリ12のプログラムも消
去してから、再度一次局1からプログラムを転送
する必要がある。
For example, if an abnormal state occurs in the secondary station 2 due to a failure or the like and it becomes necessary to load the program again, the power is turned off once, the loader 13 is reset, the program in the memory 12 is also erased, and then the program is loaded again. It is necessary to transfer the program from the primary station 1.

これはメモリ12に一度プログラムがローデイ
ングされた後は、ローダ13が不要なプログラム
が格納されることを防止するため、メモリ12を
イネーブルとすることを禁止しているためであ
る。
This is because once a program has been loaded into the memory 12, the loader 13 is prohibited from enabling the memory 12 in order to prevent unnecessary programs from being stored.

従つて一次局は他の二次局3の制御を中止し、
前記同様に二次局2に転送するプログラムをフロ
ツピーデイスク7からメモリ5に格納し、通信制
御回路6を経て送出した後、再度一次局1が動作
するためのプログラムをローデイングする必要が
ある。このためシステム全体の動作が停止すると
いう問題がある。
Therefore, the primary station stops controlling the other secondary station 3,
Similarly to the above, after storing the program to be transferred to the secondary station 2 from the floppy disk 7 into the memory 5 and sending it out via the communication control circuit 6, it is necessary to load the program for the primary station 1 to operate again. Therefore, there is a problem that the operation of the entire system stops.

〔問題点を解決するための手段〕 上記問題点は、メモリに対する書込みを一度許
可した後は、リセツトされるまで再度の書込みを
禁止するローダを備えた複数の二次局を制御する
一次局より、該二次局のメモリにプログラムをロ
ーデイングした後動作を開始するシステムにおい
て、該二次局にローデイングするプログラムに
は、該一次局からの停止命令により、該二次局の
プロセツサの動作を停止させる停止機能を設け、
該二次局には、プロセツサの動作停止を検出して
前記ローダをリセツトする手段を設け、特定の二
次局に再度プログラムをローデイングする場合、
一次局から該特定の二次局に対し、プロセツサの
停止命令を送出して、プロセツサの動作を停止さ
せることにより、前記ローダのリセツトを行わせ
て、前記メモリをイネーブルとしてから、プログ
ラムローデイングを行うようにした、本発明によ
る二次局のプログラムローデイング方式によつて
解決される。
[Means for solving the problem] The above problem is caused by a primary station that controls multiple secondary stations equipped with a loader that once allows writing to the memory, prohibits writing again until it is reset. In a system that starts operation after loading a program into the memory of the secondary station, the program loaded into the secondary station has a stop command from the primary station that causes the processor of the secondary station to stop operating. A stop function is provided to
The secondary station is provided with means for detecting the stoppage of the processor and resetting the loader, and when loading the program to a specific secondary station again,
The primary station sends a processor stop command to the specific secondary station to stop the processor operation, reset the loader, enable the memory, and then start loading the program. The problem is solved by the secondary station program loading method according to the present invention.

〔作用〕[Effect]

即ち特定の二次局にプログラムを再度ローデイ
ングする必要が発生した場合、初期時プログラム
がローデイングされた後は、再度メモリにプログ
ラムを書込ませないようにしているプログラムロ
ーダを、前記特定の二次局のプロセツサを停止さ
せてウオツチドツクタイマを動作させることでリ
セツトさせ、一次局が他の二次局の制御を中断し
て特定の二次局にプログラムの再ローデイングを
しなくてもよいようにしたものである。
In other words, when it becomes necessary to reload a program to a specific secondary station, after the initial program has been loaded, the program loader that prevents the program from being written into memory again is transferred to the specific secondary station. This is done by stopping the station's processor and operating the watchdog timer, so that the primary station does not have to interrupt control of other secondary stations and reload the program to a specific secondary station. This is what I did.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示す回路のブロツ
ク図で、第2図は第1図のプログラムローデイン
グを説明する図である。
FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention, and FIG. 2 is a diagram illustrating program loading in FIG. 1.

第1図は第3図の二次局2及び3のプロセツサ
9の停止時間を監視する機構、例えばウオツチド
ツクタイマ14を利用し、ウオツチドツクタイマ
14の出力でローダ13をリセツトする。そして
二次局2′,3′の二次局用プログラムに一次局1
からの停止指令によりプロセツサ9を停止させる
機能を追加し、二次局2′,3′にプログラムを再
送する必要が発生した時、一次局から停止命令を
送出するようにしたものである。
In FIG. 1, a mechanism for monitoring the stop time of the processors 9 of the secondary stations 2 and 3 shown in FIG. Then, the primary station 1 is added to the secondary station program of secondary stations 2' and 3'.
A function is added to stop the processor 9 in response to a stop command from the primary station, and when it becomes necessary to resend the program to the secondary stations 2' and 3', the primary station sends the stop command.

初期時のプログラムローデイングは第2図aに
示す如く、フロツピーデイスク7から一次局用プ
ログラムを、続いて転送プログラムを,に示
す如くメモリ5に格納する。即ち一次局用プログ
ラムに続いて転送プログラムを格納する。
In initial program loading, as shown in FIG. 2a, the primary station program is stored from the floppy disk 7, and then the transfer program is stored in the memory 5 as shown in FIG. That is, the transfer program is stored following the primary station program.

転送プログラムには二次局2′,3′の停止を指
示する停止命令が含まれ、例えば二次局2′に
で示す如く送出されるが、二次局用プログラムが
未だローデイングされていないため無視される。
The transfer program includes a stop command that instructs the secondary stations 2' and 3' to stop, and is sent to the secondary station 2' as shown in, for example, but since the program for the secondary station has not been loaded yet. It will be ignored.

続いて転速プログラムがに示す如く送出さ
れ、メモリ12に二次局用プログラムとして格納
される。
Subsequently, the speed change program is sent out as shown in FIG. 2 and stored in the memory 12 as a secondary station program.

二次局2′に再度プログラムをローデイングす
る必要が発生すると、一次局1はフロツピーデイ
スク7から第2図bのに示す如く、転送プログ
ラムのみメモリ5に格納する。
When it becomes necessary to load the program again into the secondary station 2', the primary station 1 stores only the transferred program from the floppy disk 7 into the memory 5, as shown in FIG. 2b.

転送プログラムには二次局2′の停止命令が第
2図bのに示す如く送出され、プロセツサ9は
動作を停止する。ウオツチドツクタイマ14はプ
ロセツサ9の動作を監視しており、動作停止によ
り所定時間経過するとローダ13をリセツトす
る。
A stop command for the secondary station 2' is sent to the transfer program as shown in FIG. 2b, and the processor 9 stops its operation. The watchdog timer 14 monitors the operation of the processor 9, and resets the loader 13 when a predetermined period of time has elapsed due to the operation being stopped.

ローダ13がリセツトされたことにより、プロ
セツサ9は通信制御回路10から入る転送プログ
ラムを二次局用プログラムとしてメモリ12に格
納する。
Since the loader 13 is reset, the processor 9 stores the transfer program input from the communication control circuit 10 in the memory 12 as a secondary station program.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く、本発明は二次局のプログラ
ムを再度ローデイングする場合、一次局が他の二
次局の制御を停止することなく実施することが出
来る。
As described above, the present invention allows the primary station to reload the program of the secondary station without stopping the control of other secondary stations.

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

第1図は本発明の一実施例を示す回路のブロツ
ク図、第2図は第1図のプログラムローデイング
を説明する図、第3図はFA機器構成の一例を示
す回路のブロツク図、第4図はプログラムローデ
イング動作を説明する図である。 図において、1は一次局、2,3,2′,3′は
二次局、4,9はプロセツサ、5,12はメモ
リ、6,10は通信制御回路、7はフロツピーデ
イスク、8はデイスク制御回路、11はインタフ
エース回路、13はローダ、14はウオツチドツ
クタイマ、15はロボツトである。
FIG. 1 is a block diagram of a circuit showing an embodiment of the present invention, FIG. 2 is a diagram explaining the program loading of FIG. 1, FIG. 3 is a block diagram of a circuit showing an example of the configuration of FA equipment, FIG. 4 is a diagram explaining the program loading operation. In the figure, 1 is a primary station, 2, 3, 2', 3' are secondary stations, 4, 9 are processors, 5, 12 are memories, 6, 10 are communication control circuits, 7 is a floppy disk, 8 is a 11 is an interface circuit, 13 is a loader, 14 is a watchdog timer, and 15 is a robot.

Claims (1)

【特許請求の範囲】 1 メモリに対する書込みを一度許可した後は、
リセツトされるまで再度の書込みを禁止するロー
ダを備えた複数の二次局を制御する一次局より、
該二次局のメモリにプログラムをローデイングし
た後動作を開始するシステムにおいて、 該二次局にローデイングするプログラムには、
該一次局からの停止命令により、該二次局のプロ
セツサの動作を停止させる停止機能を設け、 該二次局には、プロセツサの動作停止を検出し
て前記ローダをリセツトする手段を設け、 特定の二次局に再度プログラムをローデイング
する場合、一次局から該特定の二次局に対し、プ
ロセツサの停止命令を送出して、プロセツサの動
作を停止させることにより、前記ローダのリセツ
トを行わせて、前記メモリをイネーブルとしてか
ら、プログラムローデイングを行うことを特徴と
する二次局のプログラムローデイング方式。
[Claims] 1. Once writing to memory is permitted,
From a primary station that controls multiple secondary stations equipped with a loader that prohibits rewriting until it is reset,
In a system that starts operation after loading a program into the memory of the secondary station, the program loaded into the secondary station includes:
A stop function is provided for stopping the operation of the processor of the secondary station in response to a stop command from the primary station, and the secondary station is provided with a means for detecting the stoppage of the processor and resetting the loader. When a program is to be loaded again to a secondary station, the primary station sends a processor stop command to the specific secondary station to stop the operation of the processor, thereby causing the loader to be reset. . A program loading method for a secondary station, characterized in that program loading is performed after enabling the memory.
JP60033225A 1985-02-21 1985-02-21 Program loading system for secondary station Granted JPS61216065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60033225A JPS61216065A (en) 1985-02-21 1985-02-21 Program loading system for secondary station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60033225A JPS61216065A (en) 1985-02-21 1985-02-21 Program loading system for secondary station

Publications (2)

Publication Number Publication Date
JPS61216065A JPS61216065A (en) 1986-09-25
JPH0361215B2 true JPH0361215B2 (en) 1991-09-19

Family

ID=12380509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60033225A Granted JPS61216065A (en) 1985-02-21 1985-02-21 Program loading system for secondary station

Country Status (1)

Country Link
JP (1) JPS61216065A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0312762A (en) * 1989-06-09 1991-01-21 Fujitsu Ltd Reloading method for program
JP3114870B2 (en) * 1989-09-12 2000-12-04 株式会社日立製作所 Microprogram loading method, loading control device, information processing device, and information processing system

Also Published As

Publication number Publication date
JPS61216065A (en) 1986-09-25

Similar Documents

Publication Publication Date Title
EP2210153B1 (en) Industrial controller using shared memory multicore architecture
JPH0361215B2 (en)
JPH0713791A (en) Equalizing method for duplex control system
JPS62212865A (en) Multiprocessor control system
JPS597971B2 (en) I/O device control method
JPH03163617A (en) Warm-boot method of program in computer system
JPH0540649A (en) Redundant switching system
JP3351024B2 (en) Network maintenance methods
JP2008046731A (en) Controller and duplex control program
JPS58195259A (en) Fault processing system
JPH05204689A (en) Control device
JPS59146362A (en) Interface switching control system
JP2530900B2 (en) Loading device
JPS5920128B2 (en) input/output control device
JPS588016B2 (en) Non-stop switching method of central processing unit in multi-computer system
JPS5818642B2 (en) Automatic power-off method for data processing systems
JP2554047B2 (en) Embedded system of system including work station
JP2000040011A (en) Method for switching central processing unit, central processing unit and central processing system
JPH01156858A (en) Computer system
JPH02109140A (en) Fail-safe computer system
JPH0869444A (en) Multiprocessor system
JPS63155245A (en) Data backup system for semiconductor disk
JPH04184554A (en) Program load system for network system
US20100162228A1 (en) Operating method for an automation engineering component, and an automation engineering component
JPH0442458A (en) Magnetic tape device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees