JPH0119170B2 - - Google Patents

Info

Publication number
JPH0119170B2
JPH0119170B2 JP57039500A JP3950082A JPH0119170B2 JP H0119170 B2 JPH0119170 B2 JP H0119170B2 JP 57039500 A JP57039500 A JP 57039500A JP 3950082 A JP3950082 A JP 3950082A JP H0119170 B2 JPH0119170 B2 JP H0119170B2
Authority
JP
Japan
Prior art keywords
control
input
pattern
screen
step transition
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
JP57039500A
Other languages
Japanese (ja)
Other versions
JPS58158704A (en
Inventor
Keiichi Kameyama
Masahiro Ishida
Haruji Tazaki
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3950082A priority Critical patent/JPS58158704A/en
Publication of JPS58158704A publication Critical patent/JPS58158704A/en
Publication of JPH0119170B2 publication Critical patent/JPH0119170B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/10Programme control other than numerical control, i.e. in sequence controllers or logic controllers using selector switches

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 本発明はプログラム・ロジツク・コントローラ
(以下PLCと略称する)のプログラム方式に係
り、タイムチヤートから直接プログラム可能な
PLCに関する。
[Detailed Description of the Invention] The present invention relates to a programming method for a program logic controller (hereinafter abbreviated as PLC), which can be programmed directly from a time chart.
Regarding PLC.

プログラマとして陰極線管(以下CRTと略称
する)を使用するPLCはそのほとんどがリレー
回路をベースとしてプログラムを行う、いわゆ
る、ラダー方式のものである。この種のPLCは
インターロツクを主体とするシーケンス制御には
有効であるが、バツチプロセスに代表されるよう
なステツプ動作を主体とした制御においてはタイ
ムチヤートで表現されたシーケンス制御動作を一
旦リレー回路へ展開し、プログラムを行う必要が
ある。すなわちタイムチヤートからリレーシーケ
ンス回路を設計する必要が生じてくる。これらを
解決するためにマツプ方式、あるいはデシジヨン
テーブル方式のPLCが開発されている。しかし
これらはいずれもシーケンスマツプあるいはデシ
ジヨンテーブルへ展開して入力するものである。
Most PLCs that use a cathode ray tube (hereinafter abbreviated as CRT) as a programmer are of the so-called ladder type, in which programming is based on a relay circuit. This type of PLC is effective for sequence control based on interlocks, but in control based on step operations such as batch processes, sequence control operations expressed in time charts are first transferred to relay circuits. Need to deploy and program. In other words, it becomes necessary to design a relay sequence circuit from the time chart. To solve these problems, map-type or decision-table type PLCs have been developed. However, all of these are developed and input into a sequence map or a decision table.

1 タイムチヤートと1対1に対応しない 2 ステツプ動作が限定され、複雑な制御への適
用ができない。
1. There is no one-to-one correspondence with the time chart. 2. Step operations are limited and cannot be applied to complex control.

3 インターロツクの表現に無理がある。3 The interlock expression is unreasonable.

等の問題があり、汎用性に欠けるものであつ
た。本発明の目的は、タィムチヤートに記載され
る情報をそのままの形で入力し、プログラムでき
るPLCを実現させ、複雑な制御へも適用可能と
なる汎用性のあるPLCを提供するものである。
There were problems such as this, and it lacked versatility. An object of the present invention is to realize a PLC that can be programmed by inputting information written in a time chart as is, and to provide a versatile PLC that can be applied to complex control.

本発明は、タイムチヤートに記載される情報を
整理し、タイムチヤートを作成していく手順でこ
れらの情報を入力し、シーケンスのプログラムを
行つていくもので、これらプロムグラムされた情
報に対し、柔軟に対応しうるPLCの構成に関す
るものである。
The present invention organizes the information written on the time chart, inputs this information in the steps of creating the time chart, and programs the sequence. This is related to the configuration of a PLC that can support the following.

本発明の一実施例について以下に説明する。 An embodiment of the present invention will be described below.

タイムチヤートに表現される情報は、 1 制御される出力 2 ステツプにおけるオン・オフの制御パターン 3 ステツプ移行の動作 4 ステツプを移行させるためのインターロツク
条件 に区分される。すなわち、いかなる複雑な制御
でもどの出力を制御するのか、どのステツプでオ
ン・オフさせるのか、どのステツプからどのステ
ツプへ移行させるのか、更にどんなインターロツ
ク条件が成立したときステツプを移行させるの
か、の4要素から成り立つている。本発明は第1
図に示すようなCRTの表示画面を用意し、まず
aに制御される出力先を入力させる。次にこれら
の出力に対応するオン・オフ制御パターンをbに
入力させる。次のどのステツプからどのステツプ
へ、移行するためのインターロツク条件を入力す
るための回路番号をcに入力する。まず出力先の
入力はカーソルdを目的とするところへセツト
し、キーボードから例えばY001とキーインすれ
ばよい。次に制御パターンも同様にカーソルマー
クdを目的とするところへセツトし、キーボード
から“1”、“0”を入力し目的とするパターンを
作成すればよい。次にステツプの移行も同様にカ
ーソルマークdを目的とするところへセツトし、
どのステツプからどのステツプへどんな条件式番
号で移行させるかをキーインすればよい。
The information expressed in the time chart is classified into: 1. Output to be controlled 2. On/off control pattern in the step 3. Operation of step transition 4. Interlock conditions for transitioning the step. In other words, no matter how complex the control is, there are four things to consider: which output to control, at which step to turn it on and off, from which step to which step to move from, and what kind of interlock condition is met to move from one step to another. It is made up of elements. The present invention is the first
Prepare a CRT display screen as shown in the figure, and first input the output destination to be controlled by a. Next, on/off control patterns corresponding to these outputs are input to b. Input the circuit number for inputting the interlock condition for transition from which step to which step in c. First, to input the output destination, set the cursor d to the desired location and key in, for example, Y001 from the keyboard. Next, for the control pattern, similarly, the cursor mark d is set at the desired location, and "1" and "0" are entered from the keyboard to create the desired pattern. Next, for step transition, similarly set the cursor mark d to the desired location,
All you have to do is key in what conditional expression number you want to move from which step to which step.

すなわち上記1〜3項の要素がプログラムされ
たことになる。次にインターロツク回路番号を指
定し、第2図に示すようにインターロツク回路を
プログラムすればよい。これは一般的なラダー方
式のPLCと同じ手法を用いればよい。また第3
図にはプール代数式でプログラムする場合の例を
示す。第2図、第3図は一般的なPLCのプログ
ラミング手法であり周知の技術である第1図、第
2図、第3図に示すCRTの表示画面を使用して
入力された情報は第4図に示すようにプログラム
され、シーケンス制御が行われる。すなわち第1
図の出力先アドレスaで入力したデータは第4図
の出力先アドレステーブル1へ、また出力パター
ンbで入力したデータは出力パターンテーブル2
へ、ステツプ移行cで入力したデータはステツプ
移行テーブル3へ、それぞれ記憶される。また第
2図、第3図で入力したデータはインターロツク
条件テーブル4へ記憶される。これら記憶された
情報に基づき、ステツプを管理するステツプカウ
ンタ14とインターロツク条件を解析する条件式
解析器12とメインモニタ11によりシーケンス
制御が行われる。第5図にメインモニタ11の動
作フローを示す。図に示すようにまずリセツト指
令の有無を判定する(A)。リセツト指令が有のとき
ステツプカウンタ14を第1ステツプへ戻し(G)、
出力先テーブル1と出力パターンテーブル2の情
報に基づき第1ステツプのオン・オフ出力を導出
する(H)。リセツト指令無のときステツプカウンタ
14の内容からステツプ移行テーブル3をサーチ
し一致するステツプからインターロツク回路を抽
出する(B)。ステツプ移行テーブルはどのステツプ
から、どのステツプへ、何番の回路で、と記憶さ
れているから、ステツプカウンタ14の内容と一
致する“どのステツプから”をみつければよい
(C)。抽出された回路番号により条件式解析器12
を動作させる。その結果条件が成立していればス
テツプ移行テーブル3が示す“どのステツプへ”
の情報を取出し、ステツプカウンタ14へセツト
する(E)。次にステツプカウンタの示すステツプに
従い、出力先テーブル1と出力パターンテーブル
2の情報に基づき出力を導出する(F)。このように
タイムチヤートに基づき、タイムチヤートを作成
する手順とほとんど同一の手順で情報を入力し、
シーケンス制御回路をプログラムし、動作させる
ことができることがわかる。
In other words, the elements of items 1 to 3 above have been programmed. Next, specify the interlock circuit number and program the interlock circuit as shown in FIG. This can be done using the same method as a general ladder-type PLC. Also the third
The figure shows an example of programming using pool algebraic expressions. Figures 2 and 3 show a general PLC programming method, and the information input using the CRT display screen shown in Figures 1, 2, and 3 is a well-known technique. It is programmed and sequence control is performed as shown in the figure. That is, the first
The data input at output destination address a in the figure goes to output destination address table 1 in Figure 4, and the data input at output pattern b goes to output pattern table 2.
The data input in step transition c are respectively stored in step transition table 3. Furthermore, the data input in FIGS. 2 and 3 are stored in the interlock condition table 4. Based on the stored information, sequence control is performed by a step counter 14 for managing steps, a conditional expression analyzer 12 for analyzing interlock conditions, and a main monitor 11. FIG. 5 shows the operation flow of the main monitor 11. As shown in the figure, first the presence or absence of a reset command is determined (A). When there is a reset command, the step counter 14 is returned to the first step (G),
The on/off output of the first step is derived based on the information of the output destination table 1 and the output pattern table 2 (H). When there is no reset command, the step transition table 3 is searched from the contents of the step counter 14 and the interlock circuit is extracted from the matching step (B). Since the step transition table stores the information from which step to which step and which circuit number, all you have to do is find the "from which step" that matches the contents of the step counter 14.
(C). Conditional expression analyzer 12 based on the extracted circuit number
make it work. As a result, if the conditions are met, the step transition table 3 indicates “to which step”
The information is extracted and set in the step counter 14 (E). Next, according to the steps indicated by the step counter, the output is derived based on the information in the output destination table 1 and the output pattern table 2 (F). In this way, based on the time chart, enter information in almost the same steps as creating a time chart,
It can be seen that the sequence control circuit can be programmed and operated.

本発明によれば、CRTを用い、2つの表示画
面を用意し、タイムチヤートを書く手順で情報を
入力し、シーケンス回路のプログラムを完了させ
ると同時に、簡単な構造で汎用性のあるPLCを
実現させることができる。
According to the present invention, a CRT is used, two display screens are prepared, information is input in the steps of writing a time chart, and the program of the sequence circuit is completed. At the same time, a versatile PLC with a simple structure is realized. can be done.

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

第1図は、タイムチヤートをプログラムする
CRTの表示例、第2図、第3図は、インターロ
ツク回路をプログラムするCRTの表示例、第4
図は、本発明のPLCを説明するためのブロツク
図、第5図は、本発明のPLCを説明するための
フローチヤートである。 1……出力先テーブル、2……出力パターンテ
ーブル、3……ステツプ移行テーブル、4……イ
ンターロツク条件テーブル、11……メインモニ
タ、12……条件式解析器、13……出力端子、
14……ステツプカウンタ。
Figure 1 shows how to program the time chart.
CRT display examples, Figures 2 and 3 are CRT display examples for programming the interlock circuit, Figure 4.
The figure is a block diagram for explaining the PLC of the present invention, and FIG. 5 is a flowchart for explaining the PLC of the present invention. 1... Output destination table, 2... Output pattern table, 3... Step transition table, 4... Interlock condition table, 11... Main monitor, 12... Conditional expression analyzer, 13... Output terminal,
14...Step counter.

Claims (1)

【特許請求の範囲】[Claims] 1 出力端子番号を記憶するアドレステーブル
と、前記出力端子毎にシーケンシヤルな制御ステ
ツプに対応したオン・オフ制御パターンを記憶す
るパターンテーブルと、前記出力端子毎に制御ス
テツプの移行先を記憶するステツプ移行先テーブ
ルと、前記出力端子毎に制御ステツプの移行条件
を記憶する条件テーブルとを備え、CRT上に前
記アドレステーブル、前記パターンテーブルおよ
び前記ステツプ移行先テーブルの内容を第1の画
面として表示し、第1の画面に表示された内容に
より所望のアドレス、パターンおよびステツプ移
行先を選択的に入力する第1手段と、前記CRT
上に第2の画面として前記条件テーブルの内容を
表示し、前記第2の画面により前記の入力された
アドレス、パターンおよびステツプ移行先に対応
したシーケンシヤルな制御条件を入力する第2手
段を有し、前記第1手段および第2手段に入力し
た内容をステツプカウンタを基準として解析実行
することによりシーケンス制御することを特徴と
するタイムチヤート入力方式のプログラム・ロジ
ツク・コントローラ。
1. An address table that stores output terminal numbers, a pattern table that stores on/off control patterns corresponding to sequential control steps for each output terminal, and a step transition that stores control step transition destinations for each output terminal. and a condition table storing control step transition conditions for each of the output terminals, displaying the contents of the address table, the pattern table, and the step transition table on a CRT as a first screen; a first means for selectively inputting a desired address, pattern, and step destination according to the contents displayed on the first screen; and
The content of the condition table is displayed as a second screen at the top, and the second screen is used to input sequential control conditions corresponding to the input address, pattern, and step transition destination. A time chart input type program logic controller which performs sequence control by analyzing and executing contents input to the first means and the second means using a step counter as a reference.
JP3950082A 1982-03-15 1982-03-15 Plc of time chart input system Granted JPS58158704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3950082A JPS58158704A (en) 1982-03-15 1982-03-15 Plc of time chart input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3950082A JPS58158704A (en) 1982-03-15 1982-03-15 Plc of time chart input system

Publications (2)

Publication Number Publication Date
JPS58158704A JPS58158704A (en) 1983-09-21
JPH0119170B2 true JPH0119170B2 (en) 1989-04-10

Family

ID=12554761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3950082A Granted JPS58158704A (en) 1982-03-15 1982-03-15 Plc of time chart input system

Country Status (1)

Country Link
JP (1) JPS58158704A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135383A (en) * 2003-09-05 2005-05-26 Fisher Rosemount Syst Inc State machine functional block equipped with user modifiable output configuration database

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0719119B2 (en) * 1986-03-05 1995-03-06 富士電機株式会社 Sequence control system design equipment
JP2574813B2 (en) * 1987-10-05 1997-01-22 本田技研工業株式会社 Sequence program creation method
US5177420A (en) * 1989-05-01 1993-01-05 Honda Giken Kogyo Kabushiki Kaisha Method of and apparatus for generating control program
JPH11202912A (en) * 1998-01-20 1999-07-30 Takashi Nishikawa Sequence control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55146508A (en) * 1979-05-01 1980-11-14 Taitetsuku:Kk Forming device of sequence
JPS56168263A (en) * 1980-05-30 1981-12-24 Hitachi Ltd Program making device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55146508A (en) * 1979-05-01 1980-11-14 Taitetsuku:Kk Forming device of sequence
JPS56168263A (en) * 1980-05-30 1981-12-24 Hitachi Ltd Program making device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135383A (en) * 2003-09-05 2005-05-26 Fisher Rosemount Syst Inc State machine functional block equipped with user modifiable output configuration database

Also Published As

Publication number Publication date
JPS58158704A (en) 1983-09-21

Similar Documents

Publication Publication Date Title
US4455619A (en) Interactive equipment for computer programming by linkage of labeled block representations of arithmetic/logical subprograms
US5438661A (en) Version management method and apparatus in multi-window environment
EP0249399B1 (en) Multiwindow control method and apparatus for work station having multiwindow function
EP0461830A2 (en) Figure editing apparatus
JP3461400B2 (en) Sequence control program creation device
JPH0119170B2 (en)
EP0477760B1 (en) Programming method and apparatus for programmable controller
JPH05100730A (en) Programming device for motion controller
EP0315172B1 (en) Automatic program generation method with a visual data structure display
JPH05113818A (en) Numerical controller with multi-program function
JPH02272622A (en) Data display controller
JPH021025A (en) System for generating exclusive selector of user interface
JPS6330976A (en) Macrocommand editing system
JP3671461B2 (en) Hierarchical chart processing device
JPS61202230A (en) Rule action monitor system
JPS60237539A (en) Analytical system for rule structure
JPH06266726A (en) Production plan making device
JP2723236B2 (en) Character reader
JPH0317741A (en) Program production support device
JPS61131124A (en) Conversation input processing system
JPH03116223A (en) Screen control system for input of variable length data
JPH09114899A (en) Table data processor
JPH05197667A (en) Computer system
JPS6051903A (en) Generating method of process control program
JPH04354013A (en) Data inputting device