JPH02234204A - Executing device for robot language - Google Patents

Executing device for robot language

Info

Publication number
JPH02234204A
JPH02234204A JP5564289A JP5564289A JPH02234204A JP H02234204 A JPH02234204 A JP H02234204A JP 5564289 A JP5564289 A JP 5564289A JP 5564289 A JP5564289 A JP 5564289A JP H02234204 A JPH02234204 A JP H02234204A
Authority
JP
Japan
Prior art keywords
instruction
execution
parallel
program
sequential
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
JP5564289A
Other languages
Japanese (ja)
Inventor
Hideko Hattori
服部 英子
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5564289A priority Critical patent/JPH02234204A/en
Publication of JPH02234204A publication Critical patent/JPH02234204A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE:To enable a user to optionally designate a parallel I/O instruction without giving any consideration to the synchronization between the execution of a program and that of the parallel I/O instruction by holding the end of execution of the I/O instruction until the end of execution of a sequential executing instruction. CONSTITUTION:A program starting part 4 is prepared together with a following instruction reading part 5, an instruction deciding part 6, a sequential instruction executing part 7, a parallel instruction executing part 8, a parallel instruction end holding part 9, and a program end executing part 10. If a program execution end instruction is produced during execution of a program, this instruction is held until the end of a parallel I/O instruction under execution in order to prevent the end of execution of the program. As a result, a user can optionally designate the execution of the I/O instruction without giving any consideration to the synchronization between the execution of a program and that of an I/O instruction.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、パラレル人出力(I/O)命令を含むブロ
グラ.ムを実行するロボット言語実行装置に関し、特に
逐次実行命令の実行終了までパラレル入出力(I/O)
命令の実行完了を自動的に待つようにしたロボット言語
実行装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a blog program containing parallel input/output (I/O) instructions. Regarding the robot language execution device that executes the system, especially parallel input/output (I/O) until the end of execution of sequential execution instructions.
The present invention relates to a robot language execution device that automatically waits for the completion of execution of instructions.

(従来の技術) 従来この種のロボット言語実行装置として第4図に示す
ものがあった。この第4図は従来のロボット言語実行装
置の概略ブロック構成図を示し、同図において、従来の
ロボット言語実行装置は、実行対象となるプログラムを
起動するプログラム起動部(4)と、該プログラム起動
部(4)にて、起動後にプログラムの次の命令を読み込
む次命令読込部(5)と、該次命令読込部(5)の読み
込んだ命令が逐次実行命令か該逐次実行命令に並列して
処理可能なパラレルI/O命令かの判定を行なう命令判
定部(6)と、該命令判定部(6)により逐次実行命令
と判定された場合にこの逐次実行命令を実行する逐次命
令実行部(7)と、上記命令判定部(6)によりパラレ
ルI/O命令と判定された場合にこのパラレル!/0命
令を実行する並列命令実行部(8)とを備え、上記並列
命令実行部(8)の実行中に該実行完了を待つことなく
上記次命令読込部(5)より次命令を読込み順次実行す
る構成である. 次に、上記構成に基づく従来装置の動作を第5図ないし
第7図を参照して説明する.上記′s5図は外部装置と
の接続関係を示す接続図、N6図は動作手順を示す動作
フローチャート、第7図は逐次実行命令とパラレル!/
0命令とのタイミングチャートである.*ず プログラ
ム起動部(4)にてプログラム実行の起動がかかると、
次命令読込郎(5)からプログラムの命令が順次読み込
まれ、この読み込まれた命令が逐次実行命令かパラレル
I/O命令かの判断が命令判定部(6)にて行なわれる
(ステップ1). 上記命令.判定部(6)によりパラレルI/O命令と判
断された場合に(ステップ1)、このパラレルI/O命
令を並列命令実行部(8)にて実行し、この実行の完了
を待つことなく次の命令を次命令読Δ部(5)より読込
む。
(Prior Art) As a conventional robot language execution device of this type, there has been one shown in FIG. FIG. 4 shows a schematic block diagram of a conventional robot language execution device. In the figure, the conventional robot language execution device includes a program startup section (4) that starts a program to be executed, and a program startup section (4) that starts a program to be executed. In part (4), a next instruction reading unit (5) reads the next instruction of the program after startup, and the instruction read by the next instruction reading unit (5) is a sequential execution instruction or is executed in parallel with the sequential execution instruction. An instruction determining unit (6) that determines whether a parallel I/O instruction can be processed; and a sequential instruction execution unit (6) that executes a sequentially executing instruction when the instruction determining unit (6) determines that the instruction is a sequentially executed instruction. 7), and when the instruction determination unit (6) determines that it is a parallel I/O instruction, this parallel! a parallel instruction execution unit (8) that executes the /0 instruction, and reads the next instruction from the next instruction reading unit (5) sequentially without waiting for the completion of the execution while the parallel instruction execution unit (8) is executing. This is the configuration to execute. Next, the operation of the conventional device based on the above configuration will be explained with reference to FIGS. 5 to 7. Figure 's5 above is a connection diagram showing the connection relationship with external devices, Figure N6 is an operation flowchart showing the operating procedure, and Figure 7 is a parallel execution command with sequential execution instructions! /
This is a timing chart with the 0 instruction. *When the program execution starts in the program startup part (4),
Instructions of the program are sequentially read from the next instruction reading section (5), and the instruction determination section (6) determines whether the read instructions are sequential execution instructions or parallel I/O instructions (step 1). The above command. If the determination unit (6) determines that the instruction is a parallel I/O instruction (step 1), the parallel instruction execution unit (8) executes this parallel I/O instruction and executes the next instruction without waiting for the completion of this execution. The instruction is read from the next instruction reading Δ section (5).

また、上記命令判定部(6)によりENI)命令と判断
された場合に(ステップ1)、上記パラレル!/0命今
により並列処理命令が実行中であってもこの実行とは無
関係にプログラム終了を実行する(ステップ3). 〔発・明が解決しようとする課題) 従来のロボット言語実行装置は以上のように構成されて
いるので、ユーザがプログラム実行とパラレルI/O命
令との命令実行について同期をとるための処理をしなけ
ればならず、プログラム中で何らかの指定を行なうこと
が必要で、またその指定がプログラムのアプリケーショ
ンにより異なるためにその指定が極めて困難であるとい
う課題を有していた. この発明は上記のような課題を解消するためになされた
もので、ユーザがプログラム実行とパラレルI/O命令
との各実行同期を考慮することなくパラレルI/O命令
の指定ができるパラレルI/O命令を含むプログラム実
行を行なうことができるロボット言語実行装置を得るこ
とを目的とする。
Further, when the instruction determination unit (6) determines that the instruction is ENI) (step 1), the parallel! The /0 command causes the program to terminate regardless of the execution of parallel processing instructions (step 3). [Problem to be solved by the invention] Since the conventional robot language execution device is configured as described above, it is difficult for the user to perform processing for synchronizing program execution and parallel I/O instruction execution. It is necessary to specify something in the program, and since the specification varies depending on the application of the program, it is extremely difficult to specify it. This invention was made in order to solve the above problems, and provides a parallel I/O instruction that allows the user to specify parallel I/O instructions without considering the synchronization between program execution and parallel I/O instructions. The object of the present invention is to obtain a robot language execution device that can execute programs including O instructions.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るロボット言語実行装置は、ブロダラムの
逐次実行命令かパラレル入出力命令かを命令判定手段に
て判定し、この判定されたパラレル入出力命令の実行中
に逐次実行命令によりプログラム実行終了命令が出され
た場合に実行中のパラレル入出力命令の実行終了までプ
ログラム実行終了命令を並列命令完了待機手段にて待機
するものである. (作用) この発明におけるロボット言語実行装置は、プログラム
実行中にプログラム実行終了命令が出力されると、実行
中のパラレル人出力命令の実行終了までプログラム実行
終了命令を待機させてプログラムの実行終了を自動的に
阻止するものである. (実施例) 以下、この発明の一実施例を第1図ないし第3図に基づ
いて説明する.この第1図は本実施例に係るロボット言
語実行装置の概略構成図、第2図は本実施例装置の動作
フローチャート、第3図は・本実施例装置における逐次
実行命令とパラレルI/O命令とのタイミングチャート
を示す。上記各図において、本実施例に係るロボット言
語実行装置は、前記従来装置のプログラム起動部(4)
、次命令読込郎(5)、命令判定部(6)、逐次命令実
行部(7)、並列命令実行部(8)を共通して備え、上
記命令判定部(6)の判定によりパラレルT/0命令と
判定され、このパラレルI/O命令が並列命令実行部(
8)において実行中にプログラムのEND命令が出され
た場合に、実行中のパラレルI/O命令の実行終了まで
END命令を待機させる並列命令完了待機部(9)を追
加する構成である。
The robot language execution device according to the present invention uses an instruction determining means to determine whether a Brodarum sequential execution instruction or a parallel input/output instruction is executed, and during execution of the determined parallel input/output instruction, a program execution termination instruction is issued by a sequential execution instruction. When this is issued, the parallel instruction completion wait means waits for the program execution termination instruction until the execution of the parallel input/output instruction being executed is completed. (Operation) When a program execution end command is output during program execution, the robot language execution device according to the present invention waits for the program execution end command until the end of the execution of the parallel human output command being executed, and ends the program execution. It is automatically blocked. (Embodiment) An embodiment of the present invention will be described below with reference to FIGS. 1 to 3. FIG. 1 is a schematic configuration diagram of the robot language execution device according to this embodiment, FIG. 2 is an operation flowchart of the device of this embodiment, and FIG. 3 is a sequential execution instruction and parallel I/O instruction in the device of this embodiment. The timing chart is shown below. In each of the above figures, the robot language execution device according to the present embodiment is connected to the program starting section (4) of the conventional device.
, a next instruction reading section (5), an instruction determination section (6), a sequential instruction execution section (7), and a parallel instruction execution section (8), and the parallel T/ 0 instruction, and this parallel I/O instruction is executed by the parallel instruction execution unit (
In step 8), when the END instruction of the program is issued during execution, a parallel instruction completion waiting section (9) is added that makes the END instruction wait until the execution of the parallel I/O instruction being executed is completed.

次に上記構成に基づく本実施例装置の動作について説明
する.まず、プログラムがプログラム起動部(4)にて
起動されると、次の命令を次命令読込部(5)にて読み
込む。この読み込んだ命令が命令判定部(6)にて命令
内容を判別し、逐次実行命令であれば逐次命令実行部(
7)にて実行し、この実行が完了したら再度次命令読込
部(5)から次命令を読み込む. 上記命令判定部(6)の判定により並列処理可能なパラ
レルI/O命令であれば、このパラレルI/O命令を並
列命令実行部(8)にて実行すると共に、:のパラレル
I/O命令の完了を待つことなく次命令を次命令読込部
(5)から読み込む。この読み込んだ命令がプログラム
終了のEND命令である場合にはくステップ1)、上記
パラレル1/0命令が実行中であるか否かを確認し(ス
テップ2)、パラレルI/O命令実行中であれば、EN
D命令を並列命令完了待機部ク9)にて待機させてパラ
レルt/0命令の実行完了を待ってプログラム終了をプ
ログラム終了実行部(10)に実行させる(ステップ3
)。
Next, the operation of the device of this embodiment based on the above configuration will be explained. First, when the program is started by the program starting section (4), the next instruction is read by the next instruction reading section (5). The instruction content of this read instruction is determined by the instruction determination unit (6), and if it is a sequential execution instruction, the sequential instruction execution unit (
7), and when this execution is completed, the next instruction is read again from the next instruction reading section (5). If it is a parallel I/O instruction that can be processed in parallel according to the judgment of the instruction judgment unit (6), this parallel I/O instruction is executed by the parallel instruction execution unit (8), and the parallel I/O instruction of: The next instruction is read from the next instruction reading part (5) without waiting for the completion of the next instruction. If the read instruction is an END instruction to end the program, check step 1) to see if the above parallel 1/0 instruction is being executed (step 2), and check if the parallel I/O instruction is being executed. If so, EN
The D instruction is made to wait in the parallel instruction completion standby unit (9), waits for the completion of execution of the parallel t/0 instruction, and then the program termination execution unit (10) executes the program termination (step 3).
).

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

以上のように、この発明によれば、プログラム実行中に
プロ゛グラム実行終了命令が出されると、実行中のパラ
レル入出力命令の実行終了までプログラム実行終了命令
を待機させてプログラムの実行終了を阻止する構成とし
たので、ユーザがプログラム実行とパラレル!/0の命
令実行の同期を考えることなく、任意にパラ17ル入出
力命令の実行指定ができるという効果を奏する。
As described above, according to the present invention, when a program execution termination instruction is issued during program execution, the program execution termination instruction is made to wait until the execution of the parallel input/output instruction being executed is completed, and the execution of the program is terminated. The configuration prevents the user from running the program in parallel! This has the effect that execution of a parallel input/output instruction can be specified arbitrarily without considering the synchronization of execution of the /0 instruction.

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

第1図はこの発明の一実施例に係るロボット言語実行装
置の概略構成図、第2図は第1図記載の装置の動作フロ
ーチャート、第3図は第1図記載の装置における逐次実
行命゛≧とパラレルI/(l命令とのタイミングチャー
ト、第4図は従来のロボット言語実行装置の概略構成口
,第5図は外部装冒との接続関係を示す接続図,第6図
は従来装置の動作フローチャート.,第7図は従来装置
における逐次実行命令とパラレルI/O命令とのタイミ
ングチャートを示す. (4 ・・・プログラム起動部 (5 ・・・次命令読込部 (6 ・・・命令判定部 (7 ・・・逐次命令実行部 (8 ・・・並列命令実行部 (9 ・・・並列命令完了待機部 (10)・・・プログラム終T実行部 なお、各図中、同一符号は同一又は相当部分を示す. 第1図 第2図
FIG. 1 is a schematic configuration diagram of a robot language execution device according to an embodiment of the present invention, FIG. 2 is an operation flowchart of the device shown in FIG. 1, and FIG. 3 is a sequential execution instruction diagram in the device shown in FIG. A timing chart of ≧ and parallel I/(l commands, Fig. 4 is a schematic configuration of a conventional robot language execution device, Fig. 5 is a connection diagram showing the connection relationship with external equipment, and Fig. 6 is a conventional device Figure 7 shows a timing chart of sequential execution instructions and parallel I/O instructions in a conventional device. Instruction determination unit (7...Sequential instruction execution unit (8)...Parallel instruction execution unit (9)...Parallel instruction completion waiting unit (10)...Program end T execution unit Note that the same reference numerals are used in each figure. indicates the same or equivalent parts. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims]  プログラムの逐次実行命令に該逐次実行命令に並行し
て実行することができるパラレル入出力命令を含むロボ
ット言語を実行するロボット言語実行装置において、上
記入力された命令が逐次実行命令かパラレル入出力命令
かを判定する命令判定手段と、該パラレル入出力命令と
判定されてパラレル入出力命令の実行中に逐次実行命令
によりプログラム実行終了命令が出された場合に、上記
パラレル入出力命令の実行終了までプログラム実行終了
命令を待機する並列命令完了待機手段とを備えることを
特徴とするロボット言語実行装置。
In a robot language execution device that executes a robot language that includes a parallel input/output instruction that can be executed in parallel to the sequential execution instruction of a program, the input instruction is either a sequential execution instruction or a parallel input/output instruction. an instruction determining means for determining whether the parallel input/output instruction is the parallel input/output instruction; A robot language execution device comprising: parallel instruction completion waiting means for waiting for a program execution end instruction.
JP5564289A 1989-03-08 1989-03-08 Executing device for robot language Pending JPH02234204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5564289A JPH02234204A (en) 1989-03-08 1989-03-08 Executing device for robot language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5564289A JPH02234204A (en) 1989-03-08 1989-03-08 Executing device for robot language

Publications (1)

Publication Number Publication Date
JPH02234204A true JPH02234204A (en) 1990-09-17

Family

ID=13004463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5564289A Pending JPH02234204A (en) 1989-03-08 1989-03-08 Executing device for robot language

Country Status (1)

Country Link
JP (1) JPH02234204A (en)

Similar Documents

Publication Publication Date Title
JPH02234204A (en) Executing device for robot language
JP3143330B2 (en) Programmable controller
JPH03260838A (en) Limiting system for cpu using time
JPS6020771B2 (en) Micro diagnosis method
JPH0357040A (en) System for selecting input file connection at the time of execution
JPS6334650A (en) Program performance measuring system
JP2555386B2 (en) Electronic computer system
JPH02224131A (en) Computer system
JPS6231461A (en) Communication control system
JPH0433127A (en) Check point control system
JPS6347861A (en) Input/output control method for electronic computer
JPH01207837A (en) System diagnostic system
JPH01261741A (en) Fa controller
JPH0462093B2 (en)
JPS62139020A (en) Rising system for computer system
JPH07210403A (en) Task switching system
JPS63255752A (en) Initial program loading system
JPS63228341A (en) Program syntax checking system
JPH04247529A (en) Program execution management system
JPH0253148A (en) Debugging method for test program for input/output device
JPH0497467A (en) Input/output data processing system for input controller
JPH04225434A (en) Exclusive controller
JPS6277645A (en) Local job start control system
JPH0385628A (en) Display control device
JPS61278945A (en) Data display method due to trace interruption