JPH11167409A - Programmable controller running on parallel execution language - Google Patents

Programmable controller running on parallel execution language

Info

Publication number
JPH11167409A
JPH11167409A JP35010797A JP35010797A JPH11167409A JP H11167409 A JPH11167409 A JP H11167409A JP 35010797 A JP35010797 A JP 35010797A JP 35010797 A JP35010797 A JP 35010797A JP H11167409 A JPH11167409 A JP H11167409A
Authority
JP
Japan
Prior art keywords
program
parallel
programmable controller
language
unit
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
JP35010797A
Other languages
Japanese (ja)
Inventor
Mitsunori Kuzushima
光則 葛島
Takamasa Inoue
敬誠 井上
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP35010797A priority Critical patent/JPH11167409A/en
Publication of JPH11167409A publication Critical patent/JPH11167409A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

(57)【要約】 【課題】 従来のシーケンシャルファンクションチャー
ト(SFC)で記述されたプログラムは、記述する言語
がグラフィックで、入力が複雑になり、プログラムの変
更・削除などが難しく、言語に不慣れなプログラマは、
プログラムの編集に時間がかかる。 【解決手段】 信号を受ける入力部と、信号を出す出力
部と、データメモリ部と、制御プログラムを記憶するプ
ログラムメモリ部と、プログラムメモリ部に記憶した制
御プログラムに従って演算する演算部を有するプログラ
マブルコントローラにおいて、並列実行を表すテキスト
型命令を有し、その命令を使用してプログラム入力する
並列実行言語であり、任意個数の並列動作をテキスト型
で記述したり、複数個の動作の中から1動作を選択して
実行させる選択動作をテキスト型で記述し、並列動作や
選択動作をグラフイック型で記述するSFCと前記テキ
スト型で記述したプログラムを相互に変換可能にしたも
の。
(57) [Summary] [PROBLEMS] For a program described in a conventional sequential function chart (SFC), the language to be described is graphic, input is complicated, it is difficult to change or delete the program, and the user is not familiar with the language. The programmer
It takes time to edit the program. A programmable controller having an input unit for receiving a signal, an output unit for outputting a signal, a data memory unit, a program memory unit for storing a control program, and an operation unit for performing an operation according to the control program stored in the program memory unit. , A parallel execution language having a text-type instruction representing parallel execution and inputting a program using the instruction, wherein an arbitrary number of parallel operations are described in a text type, or one operation is selected from a plurality of operations. The SFC in which the selection operation to be selected and executed is described in a text type, and the parallel operation and the selection operation are described in a graphic type, and the program described in the text type can be mutually converted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラなどユーザプログラムをプログラミング装置
などでプログラム入力する装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an apparatus for inputting a user program such as a programmable controller using a programming apparatus or the like.

【0002】[0002]

【従来の技術】ここで言うプログラマブルコントローラ
の基本構成は、図7にその回路構成をブロック図で示す
ように、プログラムメモリ75a [制御手順が専用言語で
記述されたプログラムを記憶]とデータメモリ75b [演
算部での演算結果を記憶]から成るメモリ部75と、中央
処理装置71(CPU)と呼ばれる演算部[プログラムの
番号を示すプログラムカウンタ,命令を記憶するレジス
タ,命令を解読するデコーダ,演算のタイミングを制御
するロジック部およびプログラムの指示による各種の演
算を行う算術・論理演算部(ALU)]と、機械に設け
られた各種の検出機器および制御装置に設けられた操作
機器の信号入力77する部分である入力部72[所謂・入力
インターフェース]と、機械に設けられたアクチュエー
タや操作部にある表示灯などの駆動のパワー信号を出力
78する部分である出力部73[所謂・出力インターフェー
ス]と、プログラムの作成とプログラムメモリへの書き
込みおよびプログラムメモリからの読み出しさらにデー
タメモリから制御データの読み出し(モニタ)の機能を
有するプログラマブルコントローラの外部の周辺機器76
と、プログラマブルコントローラの内部で必要な直流を
作る電源部74[通常は一般の商用電源79a からプログラ
マブルコントローラの内部で必要とする制御要素の能動
電源としての制御電圧79b を生成する]とによってい
る。
2. Description of the Related Art The basic configuration of a programmable controller referred to here is, as shown in a block diagram of a circuit configuration in FIG. 7, a program memory 75a [stores a program in which a control procedure is described in a dedicated language] and a data memory 75b. A memory unit 75 comprising [storage of the operation results in the operation unit]; and an operation unit called a central processing unit 71 (CPU) [a program counter indicating a program number, a register for storing instructions, a decoder for decoding instructions, an operation Arithmetic / Logical Arithmetic Unit (ALU) for performing various operations in accordance with instructions of a logic unit and a program for controlling the timing of the operation, and signal inputs 77 of various detection devices provided in the machine and operation devices provided in the control device. Input unit 72 [so-called input interface], which is a part to be operated, and an indicator light provided on an actuator or operation unit provided on the machine. Output driving power signal
The output unit 73 (so-called output interface), which is a part that performs the operation 78, is connected to the outside of the programmable controller having functions of creating a program, writing to a program memory, reading from a program memory, and reading control data from a data memory (monitor). Peripherals 76
And a power supply unit 74 [generally generating a control voltage 79b as an active power supply for a control element required inside the programmable controller from a general commercial power supply 79a] for generating a necessary direct current inside the programmable controller.

【0003】ところで従来は、並列動作を記述する言語
として、シーケンシャルフンクションチャート[以下、
『SFC』と略す]がある。このSFCは順序制御にお
ける実行順序や処理内容を数種類の記述要素に表現した
ものである[例えば、電気学会編1988年11月21日オーム
社発行「シーケンス制御工学」124 〜152 ページ参
照]。その従来例を図8に示すと、S0,S1,…,S
7で表されたものが、ステップと呼ばれる。これらステ
ップは順序制御において与えられた条件を満足した時に
実行するシーケンスの単位を表す。
Conventionally, as a language for describing parallel operations, a sequential function chart [hereinafter, referred to as a sequential function chart,
Abbreviated as "SFC"]. The SFC expresses the execution order and processing contents in the sequence control in several types of description elements [for example, see "Sequence Control Engineering", pages 124 to 152, published by Ohmsha on November 21, 1988, edited by the Institute of Electrical Engineers of Japan). FIG. 8 shows a conventional example thereof, where S0, S1,.
The one represented by 7 is called a step. These steps represent a unit of a sequence executed when a given condition is satisfied in the order control.

【0004】通常ステップには、ゼロまたは複数個のア
クションが付随し、そのステップが実行状態になったと
きに実行される。各ステップ間はリンクと呼ばれる方向
枝で接続され、リンクに直行して書かれる横線に前者の
ステップから後者のステップに実行状態が移行する条件
を示す遷移条件が書かれる。
[0004] Usually, a step is accompanied by zero or more actions, which are executed when the step is in an execution state. Each step is connected by a directional branch called a link, and a transition line indicating a condition for transition of the execution state from the former step to the latter step is written on a horizontal line written directly on the link.

【0005】遷移条件は次のステップへ移行するための
論理的条件で、図8でT0,T1,…,T7で示された
ものである。図8でステップS0のように先行ステップ
が遷移条件とステップの複数個の組に接続する場合[通
常、次の遷移条件と1重の水平線により接続される]
は、選択動作の始まりを表し、遷移条件が成立した次の
ステップに移行する。複数個の遷移条件が成立した場合
は左側が優先される。図8の場合のステップS0の場合
は、遷移条件T0が成立すればステップS1へ移行し、
ステップS1に付随するアクションを実行する。遷移条
件T2が成立すれば、ステップS2へ移行し、ステップ
S2に付随するアクションを実行する。遷移条件T0,
T2とも成立した場合は、遷移条件T0が優先され、ス
テップS1へ移行し、ステップS1に付随するアクショ
ンを実行する。
The transition condition is a logical condition for moving to the next step, which is indicated by T0, T1,..., T7 in FIG. When the preceding step is connected to a plurality of sets of transition conditions and steps as in step S0 in FIG. 8 [usually connected to the next transition condition and a single horizontal line]
Represents the start of the selection operation, and proceeds to the next step in which the transition condition is satisfied. If a plurality of transition conditions are satisfied, the left side has priority. In the case of step S0 in the case of FIG. 8, if the transition condition T0 is satisfied, the process proceeds to step S1,
The action associated with step S1 is executed. If the transition condition T2 is satisfied, the process moves to step S2, and executes an action associated with step S2. Transition condition T0,
When both T2 are satisfied, the transition condition T0 is prioritized, and the process shifts to step S1 to execute an action associated with step S1.

【0006】遷移条件T0,T2ともに不成立であれ
ば、実行ステップはステップS0に停滞し、ステップS
0に付随するアクションを実行する。図8でステップS
7のように先行する複数個の遷移条件と次のステップ
が、1重の水平線により接続される場合は、選択動作の
終了を表しており、選択動作の始まりまで移行したステ
ップに接続されている遷移条件が成立したとき、次のス
テップに移行する。図8のステップS7の場合は、選択
実行の始まりがS1の場合は、遷移条件T1が成立した
ときにステップS7が実行され、選択実行の始まりがス
テップS2の場合は、遷移条件T6が成立したときにス
テップS7が実行される。
If both the transition conditions T0 and T2 are not satisfied, the execution step stagnates at step S0,
Perform the action associated with 0. Step S in FIG.
When a plurality of preceding transition conditions and the next step are connected by a single horizontal line as in 7, this indicates the end of the selection operation, and is connected to the step shifted to the start of the selection operation. When the transition condition is satisfied, the process proceeds to the next step. In the case of step S7 in FIG. 8, when the start of the selection execution is S1, step S7 is executed when the transition condition T1 is satisfied, and when the start of the selection execution is step S2, the transition condition T6 is satisfied. Sometimes step S7 is executed.

【0007】また、図8でステップS2のように次のス
テップとの間の遷移条件がただ1つで、次のステップが
複数個あり、その間を2重の水平線により接続されてい
る場合は並列動作の始まりを表している。図8の場合
は、遷移条件T3が成立すればステップS3とステップ
S4が全て実行される。図8でステップS6のように先
行の複数ステップと次のステップが、2重の水平線によ
り接続され、2重の水平線と次のステップ間には、ただ
1つの遷移条件がある場合は、並列動作の終了を表して
おり、先行の複数個のステップが全て実行状態でかつ遷
移条件が成立したとき、次のステップに移行する。図8
のステップS6の場合は、ステップS3とステップS5
が実行状態でかつ遷移条件T5が成立すればステップS
6が実行される。
In FIG. 8, when there is only one transition condition to the next step as in step S2 and there are a plurality of next steps, and the two steps are connected by a double horizontal line, a parallel connection is established. Indicates the beginning of the operation. In the case of FIG. 8, if the transition condition T3 is satisfied, steps S3 and S4 are all executed. In FIG. 8, the preceding plural steps and the next step are connected by a double horizontal line as in step S6, and if there is only one transition condition between the double horizontal line and the next step, the parallel operation is performed. When all of the preceding steps are in the execution state and the transition condition is satisfied, the process proceeds to the next step. FIG.
In the case of step S6, steps S3 and S5
Is in the execution state and the transition condition T5 is satisfied, the process proceeds to step S
6 is executed.

【0008】[0008]

【発明が解決しようとする課題】ところが、このような
従来技術におけるSFCで記述されたプログラムは、ス
テップ間の遷移条件の成立によって制御対象に対するシ
ーケンスの動作を表現するため、プログラムの構造とそ
の流れを分かり易くしているが、その反面、記述する言
語がグラフィックであるため、プログラム入力装置から
のプログラム入力が複雑になり、プログラムの変更・削
除などが現場の保全員には容易に行えない。
However, such a program described in SFC in the prior art expresses a sequence operation with respect to a control target by satisfying a transition condition between steps. On the other hand, on the other hand, since the language to be described is graphic, the program input from the program input device is complicated, and it is not easy for the maintenance personnel on the site to change or delete the program.

【0009】また、言語に不慣れな一般のプログラマに
とって、テキスト型言語で編集するときより数倍から十
数倍、プログラムの編集に時間がかかる。そのため、S
FCで記述されたプログラムは、プログラムの構造とそ
の流れが分かり易いものにもかかわらず、普及していな
い。そこで本発明は、並列実行動作及び選択実行動作を
簡単に記述することができるテキスト型言語と、このテ
キスト型言語で記述されたプログラムとSFCで記述さ
れたプログラムを相互に変換可能な言語方式を提供する
ことを目的とする。
[0009] Further, for a general programmer who is unfamiliar with the language, it takes several to ten and several times longer to edit the program than when editing in a text type language. Therefore, S
Programs written in FC are not widely used, even though the structure and flow of the programs are easy to understand. Therefore, the present invention provides a text-based language that can easily describe parallel execution operations and selective execution operations, and a language system that can mutually convert programs written in this text-type language and programs written in SFC. The purpose is to provide.

【0010】[0010]

【課題を解決するための手段】上記問題を解決するため
本発明の請求項1は、外部の信号を取り込むための入力
部と、外部へ信号を出力するための出力部と、データメ
モリ部と、制御プログラムを記憶しているプログラムメ
モリ部と、プログラムメモリ部に記憶された制御プログ
ラムに従って演算する演算部を有するプログラマブルコ
ントローラにおいて、並列実行を表すテキスト型命令を
有し、その命令を使用してプログラム入力する手段を備
えることを特徴とする並列実行言語で動作するプログラ
マブルコントローラである。
In order to solve the above-mentioned problems, the present invention provides an input unit for taking in an external signal, an output unit for outputting a signal to the outside, a data memory unit, In a programmable controller having a program memory unit storing a control program and an operation unit operating in accordance with the control program stored in the program memory unit, a text-type instruction representing parallel execution is used, and A programmable controller that operates in a parallel execution language, comprising a program input unit.

【0011】本発明の請求項2は、任意個数の並列動作
あるいは、複数個の動作の中から1動作を選択して実行
させる選択動作をテキスト型で記述する手段を設けたこ
とを特徴とする請求項1に記載の並列実行言語で動作す
るプログラマブルコントローラである。
According to a second aspect of the present invention, there is provided a means for describing, in text form, an arbitrary number of parallel operations or a selection operation for selecting and executing one operation from a plurality of operations. A programmable controller that operates on the parallel execution language according to claim 1.

【0012】本発明の請求項3は、並列動作や選択動作
をグラフイック型で記述するシーケンシャルファンクシ
ョンチャートと前記テキスト型で記述したプログラムを
相互に変換する手段を具備したことを特徴とする請求項
1または請求項2に記載の並列実行言語で動作するプロ
グラマブルコントローラである。
According to a third aspect of the present invention, there is provided a system comprising means for mutually converting a sequential function chart describing a parallel operation or a selection operation in a graphic type and a program described in the text type. Alternatively, a programmable controller that operates on the parallel execution language according to claim 2.

【0013】このようにして本発明は、並列実行及び選
択実行を記述する数種類のテキスト型命令を用意すると
共に、その命令を記述する規則を規定した上記手段によ
り、並列実行及び選択実行を簡単にかつ明示的に記述す
ることができ、プログラム編纂の時間を短縮することが
可能となり、また、上記テキスト型言語で記述されたプ
ログラムとSFCで記述されたプログラムを相互に変換
することが可能となるいう特段の効果を奏する。
As described above, according to the present invention, several types of text-type instructions for describing parallel execution and selective execution are prepared, and the parallel execution and selective execution can be easily performed by the above-mentioned means which defines rules for describing the instructions. In addition, it is possible to explicitly describe, it is possible to reduce the time for compiling a program, and it is possible to convert a program described in the text type language and a program described in SFC into and out of each other. It has a special effect.

【0014】[0014]

【発明の実施の形態】以下本発明の一実施の形態を図に
基づいて説明する。全ての図面において、同一符号は同
一若しくは相当部材とする。図1は、本発明の一実施の
形態における並列実行及び選択実行を記述するテキスト
型言語の要素である命令及び記号の例を示す図である。
図1において、遷移実行命令”トランジション コンデ
ィション[TRAN COND-ITION ]”は、区切り記号として
1つ以上の空白をおいた後、条件式を記述し、命令の終
了記号である”;”で締め括られる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. In all the drawings, the same reference numerals are the same or equivalent members. FIG. 1 is a diagram showing examples of instructions and symbols, which are elements of a text type language that describes parallel execution and selective execution according to an embodiment of the present invention.
In FIG. 1, a transition execution instruction "transition condition [TRAN COND-ITION]" describes a conditional expression after leaving one or more blanks as a delimiter, and is concluded with ";" which is an end symbol of the instruction. .

【0015】条件式が成立したら次のステップに移行
し、条件式が不成立であればその前のステップに停滞し
た儘となる。並列実行動作は、並列実行の始まりを表
す”パラレル[PARALELL]”命令と、並列実行の終了点
への接続を表す”コネクト[CONNECT ]”命令と、並列
実行の終了を表す”エンド パラレル[END PARALEL
L]”命令を使用し記述される。”パラレル”命令は、
区切り記号として1つ以上の空白を置いた後、並列実行
する全てのステップ名称を順次記述し、命令の終了信号
である”;”で締め括られる。
If the conditional expression is satisfied, the process proceeds to the next step. If the conditional expression is not satisfied, the process stays at the previous step. The parallel execution operation includes a “parallel [PARALELL]” instruction indicating the start of parallel execution, a “connect” instruction indicating connection to an end point of parallel execution, and an “end parallel [END] indicating termination of parallel execution. PARALEL
L] is described using the "instruction. The" parallel "instruction is
After one or more blanks are placed as delimiters, the names of all steps to be executed in parallel are sequentially described, and are concluded with ";" which is an instruction end signal.

【0016】ステップ名称とステップ名称の間も1つ以
上の空白で区切られる。”コネクト”命令は、区切り記
号として1つ以上の空白を置いた後、並列実行の終了を
表す”エンド パラレル”命令に付けられたラベルを記
述し、命令の終了信号である”;”で締め括られる。”
エンド パラレル”命令は、区切り記号として1つ以上
の空白を置いた後、先行する全てのステップ名称を順次
記述し、命令の終了信号である”;”で締め括られる。
ステップ名称とステップ名称の間も1つ以上の空白で区
切られる。
The step names are also separated by one or more blanks. The "connect" instruction is written with a label attached to the "end parallel" instruction that indicates the end of parallel execution after leaving one or more blanks as delimiters, and concluded with ";" which is the instruction end signal. It is. "
The end parallel "instruction" has one or more blanks as delimiters, then sequentially describes all preceding step names, and is concluded with ";" which is an instruction end signal.
Step names are also separated by one or more spaces.

【0017】選択実行の始まりを表す”セレクト[SELE
CT]”命令と、選択実行の終了点への接続を表す”コネ
クト[CONNECT ]”命令と、選択実行の終了を表す”エ
ンドセレクト[END SELECT]”命令を使用して記述され
る。”セレクト[SELECT]”命令は、区切り記号として
1つ以上の空白を置いた後、選択実行の対象である全て
の遷移実行命令”トランジション コンディション”に
付けられたラベルを順次記述し、命令の終了信号であ
る”;”で締め括られる。
"SELECT [SELE" indicating the start of selection execution
The description is made using a “CT]” instruction, a “Connect [CONNECT]” instruction indicating the connection to the end point of the selection execution, and an “END SELECT” instruction indicating the end of the selection execution. In the [SELECT] instruction, after placing one or more blanks as delimiters, sequentially describe the labels attached to all the transition execution instructions “transition conditions” to be selected and executed. There is a closing ";".

【0018】ラベルとラベルの間も1つ以上の空白で区
切られる。”コネクト”命令は、区切り記号として1つ
以上の空白を置いた後、選択実行の終了を表す”エンド
セレクト”命令に付けられたラベルを記述し、命令の
終了信号である”;”で締め括られる。”エンド セレ
クト”命令は、区切り記号として1つ以上の空白を置い
た後、先行する全ての遷移実行命令”トランジション
コンディション”に付けられたラベルを順次記述し、命
令の終了信号である”;”で締め括られる。なお、並列
実行の終了点への接続を表す”コネクト”命令と、選択
実行の終了点への接続を表す”コネクト”命令は、同じ
命令でもよいし、違った命令でもよい。
Labels are also separated by one or more blanks. The "connect" command is followed by one or more blanks as delimiters, followed by the label attached to the "end select" command that indicates the end of the selection execution, and concluded with the ";" It is. The "end select" instruction is a sequence of all preceding transition execution instructions "transitions" after one or more spaces as delimiters.
The labels attached to the "conditions" are sequentially described and concluded with ";", which is the end signal of the instruction. The "connect" instruction indicating the connection to the end point of the parallel execution and the The “connect” command indicating the connection may be the same command or a different command.

【0019】図2は、図8のようにSFCで記載された
プログラムを、SFCの記述要素ごとに番号を振り分け
たもので、番号1,4,7,10,11,13,16,
19がステップを記述する要素で、番号2,9,14,
18がリンクを記述する要素で、番号3,5,6,8,
12,15,17,20が遷移条件を記述する要素であ
る。
FIG. 2 shows a program written in SFC as shown in FIG. 8 in which the numbers are assigned to the respective description elements of SFC. The numbers 1, 4, 7, 10, 11, 13, 16, 16,
Reference numeral 19 denotes an element for describing a step, and numbers 2, 9, 14, and
Reference numeral 18 denotes an element for describing a link, and numbers 3, 5, 6, 8, and
Elements 12, 15, 17, and 20 are elements for describing transition conditions.

【0020】図3は、図2のようにSFCで記載された
プログラムを前記テキスト型言語で記述した場合のプロ
グラミング例である。図4は、図2で振り分けた記述要
素ごとの番号と図3のプログラムの行番号の関係を表し
た図である。図4のようにSFCで記述されたプログラ
ムと前記テキスト型言語で記述されたプログラムが簡単
に対応づけられるため、相互に変換することが可能とな
る。
FIG. 3 shows a programming example when a program described in SFC as shown in FIG. 2 is described in the text type language. FIG. 4 is a diagram showing the relationship between the numbers of the description elements allocated in FIG. 2 and the line numbers of the program in FIG. As shown in FIG. 4, a program written in SFC and a program written in the text type language can be easily associated with each other, and can be mutually converted.

【0021】そして、本発明がプログラムの変更につい
て如何に至便に変更に対応できるかを、以下に説明す
る。図5は、図2のSFCで記述されたプログラムにお
いて、点線の四角で囲んだ部分の追加変更が発生したと
すれば、図6で簡易に対処できる。これら図2,図3と
図5,図6を対比すれば、本発明の有用性が一目瞭然と
考える。
Next, how the present invention can easily cope with a change in a program will be described below. FIG. 5 can be easily dealt with in FIG. 6 if an additional change occurs in a portion enclosed by a dotted rectangle in the program described in the SFC of FIG. By comparing FIGS. 2 and 3 with FIGS. 5 and 6, it is considered that the usefulness of the present invention is obvious.

【0022】[0022]

【発明の効果】以上述べたように本発明によれば、プロ
グラマブルコントローラにおいて、数種類のテキスト型
命令とその命令を記述するための簡単な規則により、一
般のプログラマ及び保全員が容易に並列実行及び選択実
行を記述することができるため、プログラム編集時間を
大幅に短縮することができ、装置の操作性を向上させる
ことができる。一方、デバックのときには、プログラム
の構造とその流れが分かり易いSFCで記述されたプロ
グラムを表示させることで、シーケンスを視覚的に把握
することができるためデバック時間を短縮させることが
できる。
As described above, according to the present invention, in a programmable controller, a general programmer and a maintenance person can easily execute parallel execution and parallel execution of several types of text type instructions and simple rules for describing the instructions. Since the selection execution can be described, the program editing time can be greatly reduced, and the operability of the apparatus can be improved. On the other hand, at the time of debugging, by displaying a program described in SFC in which the structure and flow of the program are easy to understand, the sequence can be visually grasped, so that the debugging time can be reduced.

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

【図1】本発明の一実施の形態における並列実行及び選
択実行を記述するテキスト型言語の要素である命令及び
記号の例を示す図
FIG. 1 is a diagram showing an example of an instruction and a symbol as elements of a text type language that describes parallel execution and selective execution according to an embodiment of the present invention.

【図2】本発明の一実施の形態におけるSFCで記載さ
れたプログラムを、SFCの記述要素ごとに番号を振り
分けた図
FIG. 2 is a diagram in which a program written in SFC according to an embodiment of the present invention is assigned a number for each SFC description element;

【図3】本発明の一実施の形態における図2のSFCで
記載されたプログラムを、テキスト型言語で記述した場
合のプログラミング例
FIG. 3 is an example of programming when a program described in SFC in FIG. 2 is described in a text type language according to an embodiment of the present invention;

【図4】本発明の一実施の形態における図2で振り分け
た記述要素ごとの番号と図3のプログラムの行番号の関
係を表した図
4 is a diagram showing the relationship between the numbers of the description elements allocated in FIG. 2 and the line numbers of the program in FIG. 3 according to an embodiment of the present invention;

【図5】図2のSFCで記載されたプログラムの一部に
追加変更のあったときのSFCの記述要素ごとに番号を
振り分けた図
FIG. 5 is a diagram in which a number is assigned to each description element of the SFC when a part of the program described in the SFC in FIG. 2 is additionally changed;

【図6】図5で振り分けた記述要素ごとの番号と図3に
倣って作成したプログラムの行番号の関係を表した図
FIG. 6 is a diagram showing the relationship between the numbers of the description elements allocated in FIG. 5 and the line numbers of the program created according to FIG. 3;

【図7】プログラマブルコントローラの周辺機器を含め
た回路構成を示すブロック図
FIG. 7 is a block diagram showing a circuit configuration including peripheral devices of a programmable controller.

【図8】従来技術における説明図FIG. 8 is an explanatory diagram in the related art.

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

71 演算部(CPU) 72 入力部 73 出力部 74 電源部 75 メモリ部 75a プログラムメモリ 75b データメモリ 76 周辺機器 77 入力 78 出力 79a 商用電源 79b 制御電圧 71 Operation unit (CPU) 72 Input unit 73 Output unit 74 Power supply unit 75 Memory unit 75a Program memory 75b Data memory 76 Peripheral device 77 Input 78 Output 79a Commercial power supply 79b Control voltage

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外部の信号を取り込むための入力部と、
外部へ信号を出力するための出力部と、データメモリ部
と、制御プログラムを記憶しているプログラムメモリ部
と、プログラムメモリ部に記憶された制御プログラムに
従って演算する演算部を有するプログラマブルコントロ
ーラにおいて、 並列実行を表すテキスト型命令を有し、その命令を使用
してプログラム入力する手段を備えることを特徴とする
並列実行言語で動作するプログラマブルコントローラ。
An input unit for receiving an external signal;
In a programmable controller having an output unit for outputting a signal to the outside, a data memory unit, a program memory unit storing a control program, and an operation unit operating according to the control program stored in the program memory unit, A programmable controller operating in a parallel execution language, comprising: a text-type instruction representing execution; and means for inputting a program using the instruction.
【請求項2】 任意個数の並列動作あるいは、複数個の
動作の中から1動作を選択して実行させる選択動作をテ
キスト型で記述する手段を設けたことを特徴とする請求
項1に記載の並列実行言語で動作するプログラマブルコ
ントローラ。
2. The apparatus according to claim 1, further comprising means for describing an arbitrary number of parallel operations or a selection operation for selecting and executing one operation from a plurality of operations in a text type. A programmable controller that operates in a parallel execution language.
【請求項3】 並列動作や選択動作をグラフイック型で
記述するシーケンシャルファンクションチャートと前記
テキスト型で記述したプログラムを相互に変換する手段
を具備したことを特徴とする請求項1または請求項2に
記載の並列実行言語で動作するプログラマブルコントロ
ーラ。
3. The apparatus according to claim 1, further comprising means for mutually converting a sequential function chart describing a parallel operation or a selection operation in a graphic type and a program described in the text type. Programmable controller that operates in a parallel execution language.
JP35010797A 1997-12-03 1997-12-03 Programmable controller running on parallel execution language Pending JPH11167409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35010797A JPH11167409A (en) 1997-12-03 1997-12-03 Programmable controller running on parallel execution language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35010797A JPH11167409A (en) 1997-12-03 1997-12-03 Programmable controller running on parallel execution language

Publications (1)

Publication Number Publication Date
JPH11167409A true JPH11167409A (en) 1999-06-22

Family

ID=18408289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35010797A Pending JPH11167409A (en) 1997-12-03 1997-12-03 Programmable controller running on parallel execution language

Country Status (1)

Country Link
JP (1) JPH11167409A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6859898B1 (en) 1999-09-30 2005-02-22 Toyoda Koki Kabushiki Kaisha Monitor apparatus for sequential-function-chart-type programmable controller
JP2013513141A (en) * 2009-12-04 2013-04-18 ユミコア アクチェンゲゼルシャフト ウント コンパニー コマンディートゲゼルシャフト System and method for system automation based on tree sequence interpretation of actions

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6859898B1 (en) 1999-09-30 2005-02-22 Toyoda Koki Kabushiki Kaisha Monitor apparatus for sequential-function-chart-type programmable controller
JP2013513141A (en) * 2009-12-04 2013-04-18 ユミコア アクチェンゲゼルシャフト ウント コンパニー コマンディートゲゼルシャフト System and method for system automation based on tree sequence interpretation of actions

Similar Documents

Publication Publication Date Title
US5504902A (en) Multi-language generation of control program for an industrial controller
US6981226B2 (en) Flowchart programming for industrial controllers, in particular motion controllers
JP2765423B2 (en) Programmable controller and control method thereof
JPS6010644B2 (en) Sequence display control method
JPH11167409A (en) Programmable controller running on parallel execution language
JP5086296B2 (en) Programmable controller control program creation method and programmable controller control program creation system
JP2902888B2 (en) Programmable controller
JP2002073120A (en) Programming apparatus and method for programmable controller
KR100423742B1 (en) Exclusive control system by sequential function chart
JP2007128345A (en) Program automatic generation apparatus, program automatic generation method, and program automatic generation program
JPS59123934A (en) Programmable logic controller
JPH09258808A (en) Motion controller programming system
JPH05100718A (en) Peripheral device for programmable controller
JPS63141131A (en) Pipeline control system
JP2731166B2 (en) Programmable controller
JPS6398704A (en) Programmable controller
JP2005354857A (en) Automatic program creation method for digital protection relay device
JPH0353321A (en) information processing equipment
JPH09198235A (en) Graphic expression method for program to be executed by sequential control type electronic computer system
JPH0272407A (en) Ladder program converter
JPS5846439A (en) Program editing method of computer
JPH04340628A (en) Fuzzy inference process compile system
JPH01163801A (en) Programmable controller
JPH0830453A (en) Programmable controller
JP2004152201A (en) Processor unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20041115

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060414

A131 Notification of reasons for refusal

Effective date: 20060427

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060817