JPH1055206A - Sequence controller - Google Patents

Sequence controller

Info

Publication number
JPH1055206A
JPH1055206A JP8213576A JP21357696A JPH1055206A JP H1055206 A JPH1055206 A JP H1055206A JP 8213576 A JP8213576 A JP 8213576A JP 21357696 A JP21357696 A JP 21357696A JP H1055206 A JPH1055206 A JP H1055206A
Authority
JP
Japan
Prior art keywords
sequence
parameter
command
instruction
parameters
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
JP8213576A
Other languages
Japanese (ja)
Inventor
Hirobumi Yamada
博文 山田
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP8213576A priority Critical patent/JPH1055206A/en
Publication of JPH1055206A publication Critical patent/JPH1055206A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)
  • Programmable Controllers (AREA)

Abstract

(57)【要約】 (修正有) 【課題】 シーケンス命令(以下S)の実行形式中のパ
ラメータ数(以下P)を格納する領域サイズを増やすこ
となく、一命令で取り扱える最大を超過するPをSに渡
せるシーケンス制御装置の提供。 【解決手段】 Sを行単位として記憶するシーケンスプ
ログラム記憶部10と、10に記憶されたSを読み出し
て実行するシーケンス実行部20とを有するシーケンス
制御装置において、Sで取り扱う最大Pの範囲内で、S
の記述された行にパラメータを記述すると共に、Sで記
述される最大パラメータを超過するパラメータを記述す
るパラメータ命令を記述する10と、シーケンス実行部
でパラメータ命令を読み込んだときパラメータを記憶す
るパラメータ記憶部30とを具備し、シーケンス実行部
は、パラメータ記憶部に記憶されたパラメータを該当す
るSで取り扱うパラメータとしてSを実行する。
(57) [Summary] (with correction) [Problem] To increase P exceeding the maximum that can be handled by one instruction without increasing the area size for storing the number of parameters (hereinafter P) in the execution format of the sequence instruction (hereinafter S). Provide a sequence control device that can be passed to S. SOLUTION: In a sequence control device having a sequence program storage unit 10 for storing S in units of rows and a sequence execution unit 20 for reading and executing S stored in 10 and within a range of a maximum P handled by S , S
10 describes a parameter command that describes a parameter that exceeds the maximum parameter described in S, and a parameter storage that stores a parameter when the sequence command is read by the sequence execution unit. A sequence execution unit that executes S as a parameter that handles the parameter stored in the parameter storage unit with the corresponding S.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、工作機械やロボッ
ト制御に用いられるシーケンス制御装置に関し、特にシ
ーケンス命令に引き渡すパラメータ数が多い場合の改良
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequence control device used for controlling a machine tool or a robot, and more particularly to an improvement in a case where a large number of parameters are passed to a sequence command.

【0002】[0002]

【従来の技術】本出願人の提案にかかる特開平4−32
05号公報に開示されているように、シーケンス制御装
置ではシーケンス命令が使用されている。ところで、近
年のシーケンス制御の複雑化に伴い、制御内容を記述す
るシーケンス命令も複雑化し、命令に渡すパラメータ数
が増大している。例えば、電子部品のマウント装置のよ
うに1軸や2軸のロボットであれば、引き渡すべきパラ
メータ数は3個程度と少なくて済む。しかし、3軸以上
の多関節ロボットにあっては指先の3次元的位置のほか
に姿勢に関する情報も必要になり、引き渡すべきパラメ
ータ数は増大する。
2. Description of the Related Art Japanese Patent Laid-Open No. 4-32 proposed by the present applicant.
As disclosed in Japanese Patent Publication No. 05-2005, a sequence command is used in a sequence control device. By the way, with the complexity of sequence control in recent years, sequence commands describing control contents have also become complicated, and the number of parameters passed to the commands has been increasing. For example, in the case of a one-axis or two-axis robot such as a mounting device for electronic components, the number of parameters to be transferred can be as small as about three. However, in the case of an articulated robot having three or more axes, information on the posture is required in addition to the three-dimensional position of the fingertip, and the number of parameters to be delivered increases.

【0003】しかし、現在のシーケンス命令において一
命令で取り扱えるパラメータ数の上限は、例えば4個程
度に限定されている。これは、通常行うシーケンス命令
においては使用するパラメータ数はさほど多くはない為
である。そこで、命令に渡すパラメータ数が増大してい
る複雑なシーケンス命令に対応するためには、一命令で
取り扱えるパラメータ数の上限を拡張する必要がある。
この対策の最も簡便なものは、シーケンス命令の実行形
式中のパラメータ数を格納する領域サイズを、例えば2
ビットと4ビットに増やすことである。
However, the upper limit of the number of parameters that can be handled by one instruction in the current sequence instruction is limited to, for example, about four. This is because the number of parameters used in a sequence instruction to be performed is not so large. Therefore, in order to cope with a complicated sequence instruction in which the number of parameters passed to the instruction is increasing, it is necessary to extend the upper limit of the number of parameters that can be handled by one instruction.
The simplest countermeasure is to set the area size for storing the number of parameters in the execution format of the sequence instruction to, for example, 2
Bits and 4 bits.

【0004】[0004]

【発明が解決しようとする課題】しかし、上述のように
シーケンス命令の実行形式中のパラメータ数を格納する
領域サイズを増やすと、全てのシーケンス命令の実行形
式サイズが大きくなり、結果として同じメモリに格納で
きるプログラム容量が減少するという課題があった。本
発明はこのような課題を解決したもので、シーケンス命
令の実行形式中のパラメータ数を格納する領域サイズを
増やすことなく、一命令で取り扱える最大パラメータ数
を超過するパラメータをシーケンス命令に渡すことので
きるシーケンス制御装置を提供することを目的とする。
However, when the area size for storing the number of parameters in the execution format of the sequence instruction is increased as described above, the execution format size of all the sequence instructions is increased, and as a result, the same memory is stored in the same memory. There is a problem that the capacity of a program that can be stored is reduced. The present invention solves such a problem, and it is possible to pass parameters exceeding the maximum number of parameters that can be handled by one instruction to a sequence instruction without increasing the area size for storing the number of parameters in the execution format of the sequence instruction. It is an object of the present invention to provide a sequence control device that can perform the control.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成する本
発明は、シーケンス命令を行単位として記憶するシーケ
ンスプログラム記憶部10と、このシーケンスプログラ
ム記憶部に記憶されたシーケンス命令を読み出して実行
するシーケンス実行部20とを有するシーケンス制御装
置において、前記シーケンス命令で取り扱う最大パラメ
ータ数の範囲内で、当該シーケンス命令の記述された行
にパラメータを記述すると共に、当該シーケンス命令の
直前の行に当該シーケンス命令で取り扱うパラメータで
あって、当該シーケンス命令で記述される最大パラメー
タを超過するパラメータを記述するパラメータ命令を記
述する前記シーケンスプログラム記憶部10と、前記シ
ーケンス実行部で、前記パラメータ命令を読み込んだと
きは、当該パラメータを記憶するパラメータ記憶部30
とを具備し、前記シーケンス実行部は、前記パラメータ
記憶部に記憶されたパラメータを、当該パラメータ命令
に続く最初のシーケンス命令で取り扱うパラメータとし
て当該シーケンス命令を実行することを特徴としてい
る。
According to the present invention to achieve the above object, the present invention provides a sequence program storage unit for storing sequence instructions in units of rows, and reads and executes the sequence instructions stored in the sequence program storage unit. In the sequence control device having the sequence execution unit 20, within the range of the maximum number of parameters handled by the sequence instruction, a parameter is described in a line where the sequence instruction is described, and the sequence is written in a line immediately before the sequence instruction. When the sequence program storage unit 10 that describes a parameter command that describes a parameter that exceeds the maximum parameter described in the sequence command and that is a parameter handled by the command, and the sequence execution unit reads the parameter command. Is the parameter Parameter storage unit 30 for storing the data
Wherein the sequence execution unit executes the sequence command as a parameter handled in the first sequence command following the parameter command, the parameter stored in the parameter storage unit.

【0006】本発明の構成によれば、パラメータ命令を
設けて、シーケンス命令で記述される最大パラメータを
超過するパラメータを記述しているので、シーケンス命
令の実行形式中のパラメータ数を格納する領域サイズを
増やす必要性がなくなり、プログラム容量の増大を防止
できる。またパラメータ記憶部を設けて、パラメータ命
令と連携するシーケンス命令で、パラメータが使用でき
るようにして、パラメータ数の多い複雑なシーケンス命
令にも対処できる。
According to the structure of the present invention, since the parameter command is provided and the parameter exceeding the maximum parameter described in the sequence command is described, the area size for storing the number of parameters in the execution format of the sequence command is stored. It is not necessary to increase the number of programs, and an increase in program capacity can be prevented. In addition, a parameter storage unit is provided so that a parameter can be used in a sequence instruction cooperating with the parameter instruction, thereby coping with a complicated sequence instruction having a large number of parameters.

【0007】[0007]

【発明の実施の形態】以下図面を用いて、本発明を説明
する。図1は本発明の一実施例を示す構成ブロック図で
ある。図において、シーケンスプログラム記憶部10
は、シーケンス命令を行単位として記憶する。シーケン
ス実行部20は、シーケンスプログラム記憶部10に記
憶されたシーケンス命令を読み出して実行する。パラメ
ータ記憶部30は、シーケンス実行部20でパラメータ
命令を読み込んだときは、このパラメータを記憶する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a configuration block diagram showing one embodiment of the present invention. In the figure, a sequence program storage unit 10
Stores a sequence instruction in units of rows. The sequence execution unit 20 reads out and executes the sequence command stored in the sequence program storage unit 10. When the sequence execution unit 20 reads a parameter command, the parameter storage unit 30 stores the parameter command.

【0008】次に、パラメータ命令について説明する。
図2は、パラメータ命令とこれに後続するシーケンス命
令の一例を示す図で、シーケンスプログラム記憶部10
に格納されている。先頭の行のパラメータ命令”PAR
A”では、パラメータ数”6”とこれに続く具体的なパ
ラメータ値”P6”を記述してある。次の行のパラメー
タ命令”PARA”では、パラメータ数”7”とこれに
続く具体的なパラメータ値”P7”を記述してある。シ
ーケンス命令”ABC”で取り扱う最大パラメータ数を
ここでは5個とすると、このシーケンス命令”ABC”
の記述された行にパラメーP1〜P5を記述する。
Next, the parameter command will be described.
FIG. 2 is a diagram showing an example of a parameter command and a sequence command following the parameter command.
Is stored in Parameter instruction "PAR of the first line
“A” describes the number of parameters “6” followed by a specific parameter value “P6.” In the parameter command “PARA” on the next line, the number of parameters “7” and the specific The parameter value “P7” is described.If the maximum number of parameters handled by the sequence command “ABC” is five here, this sequence command “ABC”
Are described in the line where is described.

【0009】図3は、図2のパラメータ命令とシーケン
ス命令が一命令で記述できる場合を示す図である。シー
ケンス命令”ABC”で取り扱う最大パラメータ数を7
個以上許にすればれば、このシーケンス命令”ABC”
の記述された行にパラメーP1〜P7の全てを記述でき
る。
FIG. 3 is a diagram showing a case where the parameter command and the sequence command of FIG. 2 can be described by one command. The maximum number of parameters handled by the sequence command "ABC" is 7
If more than this are allowed, this sequence instruction "ABC"
All of the parameters P1 to P7 can be described in the line where is described.

【0010】図1の装置では、図2のように複数行に分
かち書きされたパラメータ命令とシーケンス命令を、図
3のような一命令と同様に実行する。即ち、シーケンス
プログラム記憶部10に格納されたパラメータ命令は、
シーケンス実行部20が読み込んで、パラメータ記憶部
30に格納する。そして、パラメータ命令に続くシーケ
ンス命令を実行するに際して、シーケンス実行部20が
パラメータ記憶部30を参照する。そして、シーケンス
実行部20はシーケンス命令”ABC”の記述された行
のパラメーP1〜P5にパラメータP6,P7を付加し
て実行する。
The apparatus shown in FIG. 1 executes a parameter command and a sequence command separated and written on a plurality of lines as shown in FIG. 2 in the same manner as one command as shown in FIG. That is, the parameter command stored in the sequence program storage unit 10 is
The sequence execution unit 20 reads and stores it in the parameter storage unit 30. Then, when executing the sequence command following the parameter command, the sequence execution unit 20 refers to the parameter storage unit 30. Then, the sequence execution unit 20 executes the program by adding the parameters P6 and P7 to the parameters P1 to P5 of the line in which the sequence instruction “ABC” is described.

【0011】[0011]

【発明の効果】以上説明したように本発明によれば、パ
ラメータ命令を設けて、シーケンス命令で記述される最
大パラメータを超過するパラメータを記述しているの
で、シーケンス命令の実行形式中のパラメータ数を格納
する領域サイズを増やす必要性がなくなり、シーケンス
プログラム記憶部10のプログラム容量の増大を防止で
きるという効果がある。またパラメータ記憶部30を設
けて、パラメータ命令と連携するシーケンス命令で、パ
ラメータが使用できるようにしているので、パラメータ
数の多い複雑なシーケンス命令にも対処できるという効
果がある。
As described above, according to the present invention, since a parameter instruction is provided and a parameter exceeding the maximum parameter described in the sequence instruction is described, the number of parameters in the execution format of the sequence instruction is described. This eliminates the need to increase the size of the area for storing the program, thereby preventing an increase in the program capacity of the sequence program storage unit 10. In addition, since the parameter storage unit 30 is provided so that parameters can be used in a sequence command cooperating with the parameter command, a complicated sequence command having a large number of parameters can be dealt with.

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

【図1】本発明の一実施例を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing one embodiment of the present invention.

【図2】パラメータ命令とこれに後続するシーケンス命
令の一例を示す図である。
FIG. 2 is a diagram illustrating an example of a parameter command and a sequence command following the parameter command.

【図3】図2のパラメータ命令とシーケンス命令が一命
令で記述できる場合を示す図である。
FIG. 3 is a diagram showing a case where the parameter command and the sequence command of FIG. 2 can be described by one command.

【符号の説明】[Explanation of symbols]

10 シーケンスプログラム記憶部 20 シーケンス実行部 30 パラメータ記憶部 Reference Signs List 10 sequence program storage unit 20 sequence execution unit 30 parameter storage unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】シーケンス命令を行単位として記憶するシ
ーケンスプログラム記憶部(10)と、このシーケンス
プログラム記憶部に記憶されたシーケンス命令を読み出
して実行するシーケンス実行部(20)とを有するシー
ケンス制御装置において、 前記シーケンス命令で取り扱う最大パラメータ数の範囲
内で、当該シーケンス命令の記述された行にパラメータ
を記述すると共に、当該シーケンス命令の直前の行に当
該シーケンス命令で取り扱うパラメータであって、当該
シーケンス命令で記述される最大パラメータを超過する
パラメータを記述するパラメータ命令を記述する前記シ
ーケンスプログラム記憶部(10)と、 前記シーケンス実行部で、前記パラメータ命令を読み込
んだときは、当該パラメータを記憶するパラメータ記憶
部(30)とを具備し、 前記シーケンス実行部は、前記パラメータ記憶部に記憶
されたパラメータを、当該パラメータ命令に続く最初の
シーケンス命令で取り扱うパラメータとして当該シーケ
ンス命令を実行することを特徴とするシーケンス制御装
置。
1. A sequence control device comprising: a sequence program storage unit (10) for storing sequence instructions in units of rows; and a sequence execution unit (20) for reading and executing the sequence instructions stored in the sequence program storage unit. In the range of the maximum number of parameters handled by the sequence instruction, parameters are described in the line where the sequence instruction is described, and the parameter handled by the sequence instruction in the line immediately before the sequence instruction, A sequence program storage unit (10) for describing a parameter command describing a parameter exceeding a maximum parameter described in the command; and a parameter for storing the parameter when the parameter command is read by the sequence execution unit. Memory ( 0), wherein the sequence execution unit executes the sequence command as a parameter to be handled by a first sequence command following the parameter command, the parameter stored in the parameter storage unit. apparatus.
JP8213576A 1996-08-13 1996-08-13 Sequence controller Pending JPH1055206A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8213576A JPH1055206A (en) 1996-08-13 1996-08-13 Sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8213576A JPH1055206A (en) 1996-08-13 1996-08-13 Sequence controller

Publications (1)

Publication Number Publication Date
JPH1055206A true JPH1055206A (en) 1998-02-24

Family

ID=16641498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8213576A Pending JPH1055206A (en) 1996-08-13 1996-08-13 Sequence controller

Country Status (1)

Country Link
JP (1) JPH1055206A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4827649A (en) * 1971-08-12 1973-04-12
JPS5844639U (en) * 1981-09-11 1983-03-25 オムロン株式会社 programmable controller
JPH0353325A (en) * 1989-07-21 1991-03-07 Nec Corp Information processor
JPH03216734A (en) * 1990-01-22 1991-09-24 Hitachi Micro Comput Eng Ltd Data processing method and central processing unit
JPH043205A (en) * 1990-04-20 1992-01-08 Yokogawa Electric Corp Data access system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4827649A (en) * 1971-08-12 1973-04-12
JPS5844639U (en) * 1981-09-11 1983-03-25 オムロン株式会社 programmable controller
JPH0353325A (en) * 1989-07-21 1991-03-07 Nec Corp Information processor
JPH03216734A (en) * 1990-01-22 1991-09-24 Hitachi Micro Comput Eng Ltd Data processing method and central processing unit
JPH043205A (en) * 1990-04-20 1992-01-08 Yokogawa Electric Corp Data access system

Similar Documents

Publication Publication Date Title
JPH0786829B2 (en) Electronic equipment
JPH1055206A (en) Sequence controller
EP1840735A3 (en) Processor and method of controlling the same
JP3000989B2 (en) Numerical control method and device
JP3793246B2 (en) Positioning system
JP3008890B2 (en) Processing control unit
JP3114907B2 (en) How to change the sequence program of the programmable controller
JP2953514B2 (en) Motion program execution block division method
JP3129889B2 (en) Numerical control unit
JPH06259116A (en) Programmable controller
JP3010582B2 (en) Bonding equipment
JP2000231405A (en) Robot controller
JP2877176B2 (en) SCSI device
JPS6318593A (en) Data writing system to earom
JPH03246633A (en) Memory management system for interpreter type language processing processor
JPS62271140A (en) Programming tool
JPH02171802A (en) programmable controller
JPH04281530A (en) information processing equipment
EP0971291A1 (en) Analysing tool
JPH02148106A (en) Execution system for sequence program
JPH03174638A (en) Data processor
JPH02181831A (en) Program control method
JPH0991137A (en) Data processing device
JPH06119009A (en) Register bit processing instruction method for programmable controller
JPH0546231A (en) Controller of robot