JPH0117164B2 - - Google Patents

Info

Publication number
JPH0117164B2
JPH0117164B2 JP55134808A JP13480880A JPH0117164B2 JP H0117164 B2 JPH0117164 B2 JP H0117164B2 JP 55134808 A JP55134808 A JP 55134808A JP 13480880 A JP13480880 A JP 13480880A JP H0117164 B2 JPH0117164 B2 JP H0117164B2
Authority
JP
Japan
Prior art keywords
storage member
input
controlled object
output
language
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
JP55134808A
Other languages
Japanese (ja)
Other versions
JPS5759202A (en
Inventor
Sumio Kagami
Hiroichi Fukatsu
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.)
TAITETSUKU KK
Original Assignee
TAITETSUKU KK
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 TAITETSUKU KK filed Critical TAITETSUKU KK
Priority to JP13480880A priority Critical patent/JPS5759202A/en
Publication of JPS5759202A publication Critical patent/JPS5759202A/en
Publication of JPH0117164B2 publication Critical patent/JPH0117164B2/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/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC

Landscapes

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

Description

【発明の詳細な説明】 本発明は操作者が指定した入出力条件の名称に
よる言語形式により制御対象としての機械を所定
動作させるシーケンス制御装置における動作プロ
グラムの作成装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an operation program creation device for a sequence control device that operates a machine as a controlled object in a predetermined manner in a language format based on the name of an input/output condition specified by an operator.

従来、制御対象としての機械を所定動作させる
リレーシンボル方式のシーケンス制御装置にあつ
ては、先ず機械の動作仕様に合せて制御回路を作
成し、該回路を動作とは無関係な内容でコード化
した後、記憶部材に記憶させ、該記憶内容に従つ
て順次出力信号を出力して所定の動作を実行する
ものが一般に知られているが、該シーケンス制御
装置は制御回路の作成に際して電気的知識を必要
とし、機械の操作者が動作仕様に合せて直接制御
回路を作成することは不可能であつた。
Conventionally, in the case of relay symbol type sequence control devices that operate a machine as a controlled object in a predetermined manner, a control circuit is first created in accordance with the operational specifications of the machine, and then the circuit is coded with content unrelated to the operation. It is generally known that the sequence control device is then stored in a memory member and sequentially outputs output signals according to the stored contents to execute a predetermined operation, but this sequence control device requires electrical knowledge when creating the control circuit. It has been impossible for the machine operator to create a control circuit directly to suit the operating specifications.

本出願人は上記不都合を解決するため、先に特
願昭55−127640号において操作者が指定する入出
力条件に対応した名称、例えばリミツトスイツチ
はLS、ソレノイドはSOL、リレーRY等の名称に
よる言語形式により、入力条件と、予め入出力条
件が配例された動作プログラムとが一致した時、
入力条件と一致する全ての出力条件を論理ORに
従つて読出して出力することにより、制御対象の
各動作に応じた言語形式にて制御回路を作成可能
とすると共に、制御対象を同時に複数動作させて
並列処理を可能にするシーケンス制御装置を提案
し、また出願したが、本発明の目的は上記したシ
ーケンス制御装置に不可欠な動作プログラムの作
成装置を提供するものである。
In order to solve the above-mentioned inconvenience, the present applicant previously proposed in Japanese Patent Application No. 55-127640 a language using names corresponding to the input/output conditions specified by the operator, such as LS for limit switch, SOL for solenoid, and RY for relay. Depending on the format, when the input conditions match the operation program for which input and output conditions have been assigned in advance,
By reading and outputting all output conditions that match the input conditions according to logical OR, it is possible to create a control circuit in a language format that corresponds to each operation of the controlled object, and it is also possible to operate multiple controlled objects at the same time. The present invention has proposed and filed an application for a sequence control device that enables parallel processing.An object of the present invention is to provide an apparatus for creating an operation program essential to the above-described sequence control device.

以下、実施例に従つて本発明を説明する。 The present invention will be described below with reference to Examples.

第1図は本発明に係る動作プログラムの作成装
置を示すブロツク図であり、キー入力装置1は操
作者が予め指定した名称、例えばリミツトスイツ
チはLS、ソレノイドはSOL、リレーはRY、モー
タはM等の名称による言語形式により機械の仕様
に対応した入出力条件を作成装置2に入力するも
のである。
FIG. 1 is a block diagram showing an operation program creation device according to the present invention, in which the key input device 1 has a name specified in advance by the operator, such as LS for limit switch, SOL for solenoid, RY for relay, M for motor, etc. The input/output conditions corresponding to the specifications of the machine are input to the creation device 2 in a language format using the name.

作成装置2は動作プログラムの作成プログラム
を記憶するための第1の記憶部材3と、予め各記
憶位置に前記名称に対応するコードが書込まれて
なる第2の記憶部材4と、前記第2の記憶部材4
から読み出された入力条件と出力条件とからなる
動作プログラムを記憶するための第3の記憶部材
5と、キー入力装置1の入力信号ISを作成装置2
に入力すると共に、第3の記憶部材5に記憶され
た動作プログラムをシーケンス制御装置、書込み
装置、プリンタ等の外部装置6に出力するための
入出力装置7と、前記入力信号ISに応答して第1
の記憶部材3から読出された作成プログラムに従
つて第2の記憶部材4における入力名称に対応す
る記憶位置のフラグを0→1に変化させると共
に、該データを読出して第3の記憶部材5の各記
憶位置に書込み、動作プログラムの作成を実行す
るための中央制御回路8とから構成されている。
The creation device 2 includes a first storage member 3 for storing a creation program for an operation program, a second storage member 4 in which a code corresponding to the name is written in each storage location in advance, and a second storage member 4 for storing a creation program for the operation program. memory member 4
a third storage member 5 for storing an operation program consisting of input conditions and output conditions read from the key input device 1;
an input/output device 7 for inputting the operation program stored in the third storage member 5 to an external device 6 such as a sequence control device, a writing device, or a printer; 1st
The flag at the storage location corresponding to the input name in the second storage member 4 is changed from 0 to 1 in accordance with the creation program read out from the storage member 3 , and the data is read out and stored in the third storage member 5 It is comprised of a central control circuit 8 for writing to each storage location and creating an operating program.

尚、第1の記憶部材3は例えばプログラマブ
ル・リード・オンリー・メモリから、また第2、
並びに第3の記憶部材4,5は例えばランダム・
アクセス・メモリーから構成される。
Note that the first storage member 3 is, for example, a programmable read-only memory, and the second storage member 3 is a programmable read-only memory.
In addition, the third memory members 4 and 5 are, for example, random
Consists of access memory.

次に、本実施例の動作を説明するが、説明の便
宜上、機械はリミツトスイツチLS2―ONでソレ
ノイドSOL4が入り、タイマT6が起動する。
このタイマT6のタイムアツプ後にソレノイド
SOL1―ONする仕様のシーケンス制御における
動作プログラムの作成を説明する。
Next, the operation of this embodiment will be described. For convenience of explanation, the machine turns on the limit switch LS2, which turns on the solenoid SOL4 and starts the timer T6.
After this timer T6 times up, the solenoid
This section explains how to create an operation program for sequence control with SOL1-ON specifications.

上記仕様はソレノイドSOL4とタイマT6が
入つている状態と、ソレノイドSOL4とソレノ
イドSOL1とタイマT6が入つている状態とに
分割出来るため、入出力条件は第2図に示す様に
なる。尚、図中“−”は負論理を示すものであ
る。
The above specifications can be divided into a state in which solenoid SOL4 and timer T6 are included, and a state in which solenoid SOL4, solenoid SOL1 and timer T6 are included, so the input/output conditions are as shown in FIG. Note that "-" in the figure indicates negative logic.

先ず、第1のテーブルの入力条件としてのリミ
ツトスイツチLS2に対応する名称LS2をキー入
力装置1を介して打込むと、該LS2に対応した
コード信号からなる入力信号ISにより中央制御回
路8は第1の記憶部材3に記憶された作成プログ
ラムに従つて第2の記憶部材4における予め配列
された名称LS2に対応する記憶部材MI2のフラ
グを0→1に変換させる。同様に名称T6のキー
入力装置1を介して打込むと、第2の記憶部材4
における名称T6に対応する記憶位置MIT6の
フラグを0→1に変化させ入力条件の書込みを終
了した後、中央制御回路8は第2の記憶部材4か
らフラグが“1”に変化しているデータのみを読
出して、第3の記憶部材5の第1記憶位置M1に
おける入力条件を記憶するための記憶部分に名称
LS2,T6に対応するコードを書込む。
First, when the name LS2 corresponding to the limit switch LS2 as an input condition for the first table is entered through the key input device 1, the central control circuit 8 is activated by the input signal IS consisting of a code signal corresponding to the limit switch LS2. The flags in the storage member MI2 corresponding to the prearranged names LS2 in the second storage member 4 are converted from 0 to 1 according to the creation program stored in the storage member 3. Similarly, when inputting via the key input device 1 with the name T6, the second memory member 4
After changing the flag in the storage location MIT6 corresponding to the name T6 from 0 to 1 and finishing writing the input conditions, the central control circuit 8 transfers the data whose flag has changed to "1" from the second storage member 4. A name is written in the storage part for storing the input conditions at the first storage position M1 of the third storage member 5.
Write the code corresponding to LS2 and T6.

次に出力条件を書込む際、中央制御回路8は同
様に名称SOL4,T6に対応する第2の記憶部
材4における記憶部分MO4,MOT6のフラグ
を夫々0→1に変化させた後、フラグの内容に従
つて名称SOL4,T6に対応するコード信号を
読み出して第3の記憶部材5における出力条件を
記憶するための記憶部分に書込む。
Next, when writing the output conditions, the central control circuit 8 similarly changes the flags in the memory portions MO4 and MOT6 in the second memory member 4 corresponding to the names SOL4 and T6 from 0 to 1, respectively, and then changes the flags from 0 to 1, respectively. According to the contents, the code signals corresponding to the names SOL4 and T6 are read out and written into the storage part for storing the output conditions in the third storage member 5.

第1のテーブル作成終了後、例えばキー入力装
置1のフアンクシヨンキーの押下操作により中央
制御回路8は第2の記憶部材4のフラグをリセツ
トすると共に、第3の記憶部材5のアドレスを変
更し、上記と同様な操作により次の入出力条件が
第3の記憶部材5に記憶される。
After the first table creation is completed, for example, by pressing the function key of the key input device 1, the central control circuit 8 resets the flag in the second memory member 4 and changes the address in the third memory member 5. , the next input/output condition is stored in the third storage member 5 by the same operation as above.

従つて本実施例は操作者が指定した名称による
入出力条件が第3の記憶部材5の各記憶位置に順
次記憶され、動作プログラムを作成する。
Therefore, in this embodiment, the input/output conditions according to the names specified by the operator are sequentially stored in each storage location of the third storage member 5, and an operation program is created.

尚、本実施例により作成された動作プログラム
を使用して機械を所定動作させるシーケンス制御
装置は、先に出願した「シーケンス制御装置」に
詳細に記載されているため、その説明を省略す
る。
It should be noted that the sequence control device that operates a machine in a predetermined manner using the operation program created according to this embodiment is described in detail in the previously filed "Sequence Control Device", so its explanation will be omitted.

以上説明した様に、本発明は第2の記憶部材の
各記憶位置には、操作者が指定した名称のデータ
が予め記憶され、キー入力装置により入力された
名称に従つて順次該データを取出して第3の記憶
部材の記憶位置に順次記憶させ、機械の各動作に
対応した入出力条件としての動作プログラムを作
成しうる作成装置である。
As explained above, in the present invention, data with a name designated by the operator is stored in each storage position of the second storage member in advance, and the data is sequentially retrieved according to the name input by the key input device. This is a creation device that can create operation programs as input/output conditions corresponding to each operation of the machine by sequentially storing them in storage locations of a third storage member.

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

第1図は本発明に係る動作プログラムの作成装
置を示すブロツク図、第2図は機械の仕様例を示
す説明図、第3図は第2の記憶部材の配列を示す
説明図、第4図は第3の記憶部材に記憶された動
作プログラムを示す説明図であり、 1はキー入力装置、2は作成装置、3は第1の
記憶部材、4は第2の記憶部材、5は第3の記憶
部材、8は中央制御回路である。
FIG. 1 is a block diagram showing an operation program creation device according to the present invention, FIG. 2 is an explanatory diagram showing an example of machine specifications, FIG. 3 is an explanatory diagram showing the arrangement of the second storage member, and FIG. is an explanatory diagram showing an operation program stored in a third storage member, 1 is a key input device, 2 is a creation device, 3 is a first storage member, 4 is a second storage member, and 5 is a third storage member. 8 is a central control circuit.

Claims (1)

【特許請求の範囲】 1 制御対象からの入力信号に応答し、該制御対
象の動作に応じた言語形式にて入力情報が記憶さ
れた記憶部材から該入力信号に対応する入力情報
を論理ANDにより読込む読み込み手段と、前記
入力情報に基づいて制御対象の動作に応じた言語
形式にて出力情報が配列された動作プログラムを
記憶する記憶部材から入力情報に対応する動作プ
ログラムを検索する検索手段と、検索された動作
プログラムに基づいて入力情報に対応する全ての
出力情報を論理ORにより読出して出力信号とし
て出力する出力手段からなり、制御対象の夫々の
動作に応じた任意の言語形式にて制御回路を作成
可能とすると共に、制御対象を同時に複数動作さ
せることが可能なシーケンス制御装置において、 制御対象の各動作に応じて言語形式により入力
条件及び出力条件をキー入力するキー入力装置
と、 動作プログラムの作成プログラムを記憶するた
めの第1の記憶部材と、 各記憶位置に前記言語に対応するデータ記憶す
るための第2の記憶部材と、 前記第2の記憶部材から読出された言語のデー
タを順次記憶するための第3の記憶部材と、 入力信号に応答して前記第2の記憶部材から読
出されたデータを、前記第1の記憶部材に記憶さ
れた作成プログラムに従つて前記第3の記憶部材
に記憶させるように制御する中央処理装置と、 前記第3の各記憶位置に、制御対象の各動作に
応じた言語にて入力条件及び出力条件を記憶させ
て動作プログラムを作成することを特徴とする動
作プログラムの作成装置。
[Claims] 1. In response to an input signal from a controlled object, input information corresponding to the input signal is retrieved from a storage member in which input information is stored in a language format corresponding to the operation of the controlled object by logical AND. a reading means for reading, and a search means for searching for an operation program corresponding to the input information from a storage member that stores an operation program in which output information is arranged in a language format according to the operation of the controlled object based on the input information; , consists of an output means that reads out all the output information corresponding to the input information based on the retrieved operation program by logical OR and outputs it as an output signal, and is controlled in any language format according to each operation of the controlled object. In a sequence control device that is capable of creating circuits and simultaneously operating multiple controlled objects, there is provided a key input device that inputs input conditions and output conditions in a language format according to each operation of the controlled object; a first storage member for storing a program creation program; a second storage member for storing data corresponding to the language in each storage location; and language data read from the second storage member. a third storage member for sequentially storing data read from the second storage member in response to an input signal; a central processing unit that controls the storage member to store input conditions and output conditions in a language corresponding to each operation of the controlled object in each of the third storage locations to create an operation program; An operation program creation device characterized by:
JP13480880A 1980-09-26 1980-09-26 Generator for operation program of sequence controller Granted JPS5759202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13480880A JPS5759202A (en) 1980-09-26 1980-09-26 Generator for operation program of sequence controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13480880A JPS5759202A (en) 1980-09-26 1980-09-26 Generator for operation program of sequence controller

Publications (2)

Publication Number Publication Date
JPS5759202A JPS5759202A (en) 1982-04-09
JPH0117164B2 true JPH0117164B2 (en) 1989-03-29

Family

ID=15136993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13480880A Granted JPS5759202A (en) 1980-09-26 1980-09-26 Generator for operation program of sequence controller

Country Status (1)

Country Link
JP (1) JPS5759202A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4826446A (en) * 1971-08-11 1973-04-07
JPS5264580A (en) * 1975-11-21 1977-05-28 Toshiba Corp Sequence controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4826446A (en) * 1971-08-11 1973-04-07
JPS5264580A (en) * 1975-11-21 1977-05-28 Toshiba Corp Sequence controller

Also Published As

Publication number Publication date
JPS5759202A (en) 1982-04-09

Similar Documents

Publication Publication Date Title
JPS6122817B2 (en)
JPH0117164B2 (en)
JPH0117165B2 (en)
JPS5864549A (en) Selecting circuit
JPS6051955A (en) Numerical control device
JPH0537276Y2 (en)
JPS59212971A (en) Image data producer
JPS6113616B2 (en)
JP2961781B2 (en) Data processing device
JPS58215692A (en) Copy indication system
JPS6027035B2 (en) Character generator initial loading control method
JPS6313222B2 (en)
JPS5812892U (en) Small electronic device with schedule notification function
JPS6037937B2 (en) Initial program loading method
JPH0128402B2 (en)
JPH05197596A (en) Tracer
JPS6329301B2 (en)
JPS59186048A (en) Microprogram control system
JPH0469275A (en) Label printer
JPS62251929A (en) Adding system for machine word instruction
JPH048165U (en)
JPH01291328A (en) Interpreter type language system
JPH0246266U (en)
JPS62147555A (en) Integrated circuit incorporating program
JPS6112149U (en) data storage device