JP5295061B2 - Programmable controller - Google Patents
Programmable controller Download PDFInfo
- Publication number
- JP5295061B2 JP5295061B2 JP2009222699A JP2009222699A JP5295061B2 JP 5295061 B2 JP5295061 B2 JP 5295061B2 JP 2009222699 A JP2009222699 A JP 2009222699A JP 2009222699 A JP2009222699 A JP 2009222699A JP 5295061 B2 JP5295061 B2 JP 5295061B2
- Authority
- JP
- Japan
- Prior art keywords
- sequence
- program
- operation code
- control
- input
- 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 - Fee Related
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、被制御機器のシーケンス制御を行うプログラマブルコントローラに関する。 The present invention relates to a programmable controller that performs sequence control of controlled devices.
プログラマブルコントローラ(以下、適宜「PLC」と称する)は、操作スイッチや各種センサなどの入力信号の動作状態やシーケンスプログラムに応じて、各種アクチュエータや表示機器等の電気負荷の駆動制御を行う。PLCは、ユーザによって記述されたシーケンスプログラムに従って動作する。例えば、特許文献1には、複数の被制御機器を統括的に制御するように構成された制御装置の技術が提案されている。
A programmable controller (hereinafter referred to as “PLC” as appropriate) performs drive control of electric loads such as various actuators and display devices in accordance with the operation state of input signals such as operation switches and various sensors and a sequence program. The PLC operates according to a sequence program described by the user. For example,
PLCに接続されるさまざまな機器をシーケンス制御する場合は、機器ごとに対応させた制御プログラムを動作の順序に従って記述することにより、シーケンスプログラムを作成することとなる。シーケンスプログラムを編集する際には、動作の順序に従って制御プログラムが記述されたシーケンスプログラムをその都度作成することとなることため、シーケンスプログラムの作成負荷が増大する場合があるという問題を生じる。 When various devices connected to the PLC are subjected to sequence control, a sequence program is created by describing a control program corresponding to each device in the order of operation. When a sequence program is edited, a sequence program in which a control program is described in accordance with the order of operations is created each time. This causes a problem that the load for creating the sequence program may increase.
本発明は、上記に鑑みてなされたものであって、シーケンスプログラムの作成負荷を軽減可能とするプログラマブルコントローラを得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a programmable controller that can reduce the load of creating a sequence program.
上述した課題を解決し、目的を達成するために、本発明は、シーケンスプログラムに応じて被制御機器をシーケンス制御し、前記被制御機器の前記シーケンス制御の対象となる動作内容には、各被制御機器に対して一元化された動作コードが付与され、メモリに格納されたデバイステーブルへの前記動作コードの入力により、前記シーケンスプログラムが編集され、前記デバイステーブルから順次読み出された前記動作コードに対応する制御プログラムを呼び出し、実行することを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention performs sequence control of a controlled device in accordance with a sequence program, and the operation contents to be subjected to the sequence control of the controlled device include each controlled device. A unified operation code is given to the control device, and the sequence program is edited by inputting the operation code to the device table stored in the memory, and the operation code sequentially read from the device table is added to the operation code. A corresponding control program is called and executed.
本発明によれば、プログラマブルコントローラにおけるシーケンスプログラムの作成負荷を軽減できるという効果を奏する。 According to the present invention, there is an effect that it is possible to reduce the sequence program creation load in the programmable controller.
以下に、図面に基づいて、本発明に係るプログラマブルコントローラの実施の形態を詳細に説明する。 Below, based on drawing, an embodiment of a programmable controller concerning the present invention is described in detail.
実施の形態.
図1は、本発明の実施の形態に係るPLC1を備える制御システムのブロック構成を示す図である。本制御システムは、PLC1と、PLC1に接続された機器A、装置B、装置Cと、タッチパネル2を備える。機器A、装置B、装置Cは、PLC1によりシーケンス制御される被制御機器である。例えば、機器Aは、生産現場等において作業を行う産業用ロボットである。例えば、装置B、装置Cは、材料の加工により加工品を得るための加工機である。PLC1は、シーケンスプログラムに応じて、機器A、装置B、装置Cをシーケンス制御する。ここで、シーケンスプログラムとは、被制御機器の一連の動作を実行するためのプログラムとする。タッチパネル2は、PLC1へ種々のパラメータを入力するための入力手段として機能する。
Embodiment.
FIG. 1 is a diagram showing a block configuration of a control system including a
デバイステーブル3は、PLC1のメモリに格納されている。タッチパネル2は、デバイステーブル3への動作コードの入力、及び付属情報の入力を受け付ける。デバイステーブル3は、タッチパネル2から入力された動作コード及び付属情報を格納する。動作コードは、PLC1によるシーケンス制御の対象となる機器A、装置B、装置Cの動作内容に付与されたコードである。シーケンスプログラムは、タッチパネル2を通じてデバイステーブル3へ動作コードが入力されることにより編集される。付属情報は、被制御機器の動作内容に付随させる情報である。デバイステーブル3は、動作コードに関連付けて、付属情報を保持する。
The device table 3 is stored in the memory of the
コード解析・制御実行プログラム4は、デバイステーブル3から動作コードを読み出し、読み出された動作コードを順次解析する。コード解析・制御実行プログラム4は、動作コードに対応した制御プログラムを呼び出すためのプログラムであって、PLC1のメモリに格納されている。制御プログラムは、動作コードにより指定された動作内容を実行するためのプログラムとする。PLC1は、機器Aについて呼び出された制御プログラム5Aの実行により、機器Aを制御する。PLC1は、装置Bについて呼び出された制御プログラム5Bの実行により、装置Bを制御する。PLC1は、装置Cについて呼び出された制御プログラム5Cの実行により、装置Cを制御する。呼び出された制御プログラム5A、5B、5Cは、命令の入出力対象となるデータとして、メモリに一時的に格納される。
The code analysis /
図2は、デバイステーブル3へ入力される動作コード及び付属情報の例を表した図である。機器A、装置B、装置Cには、PLC1によるシーケンス制御の対象となる各動作内容に対して、動作コードが付与されている。機器Aの動作内容には、例えば、「1」から始まる動作コードが付与されている。機器Aの「動作1」、「動作2」、「動作3」には、それぞれ動作コード「1」、「2」、「3」が付与されているとする。
FIG. 2 is a diagram illustrating an example of operation codes and attached information input to the device table 3. Device A, device B, and device C are provided with operation codes for each operation content that is subject to sequence control by
装置Bの動作内容には、例えば、「100」から始まる動作コードが付与されている。装置Bの「加工A」、「加工B」、「加工C」には、それぞれ動作コード「100」、「101」、「102」が付与されているとする。装置Cの動作内容には、例えば、「200」から始まる動作コードが付与されている。装置Cの「加工α」、「加工β」、「加工γ」には、それぞれ動作コード「200」、「201」、「202」が付与されているとする。動作コードは、機器A、装置B、装置Cの各動作内容に対して重複することがないように、一元化されて付与されている。機器A、装置B、装置Cは、PLC1によるシーケンス制御の対象となる動作内容に対して、一元化された動作コードを設定可能に構成されている。
For example, an operation code starting from “100” is given to the operation content of the device B. It is assumed that operation codes “100”, “101”, and “102” are assigned to “processing A”, “processing B”, and “processing C” of the apparatus B, respectively. For example, an operation code starting from “200” is given to the operation content of the device C. It is assumed that operation codes “200”, “201”, and “202” are assigned to “machining α”, “machining β”, and “machining γ” of the apparatus C, respectively. The operation codes are provided in a unified manner so that the operation contents of the devices A, B, and C do not overlap. The devices A, B, and C are configured to be able to set a unified operation code for the operation content that is subject to sequence control by the
機器Aに対する付属情報としては、例えば、アームの速度に関する速度データ、ハンドの把持動作に関するハンドデータが設定可能であるとする。装置B及び装置Cに対する付属情報としては、例えば、加工条件に関するレシピデータが設定可能であるとする。なお、付属情報としては、本実施の形態で説明するデータの他に、被制御機器の動作に関するいずれのデータを設定可能としても良い。 As the accessory information for the device A, for example, it is possible to set speed data related to the speed of the arm and hand data related to the gripping operation of the hand. As ancillary information for the devices B and C, for example, it is assumed that recipe data regarding processing conditions can be set. In addition to the data described in the present embodiment, any data related to the operation of the controlled device may be set as the attached information.
例えば、ユーザが、タッチパネル2のコード入力欄に、1行目から順に、「3」、「201」、「2」、「100」、「1」と動作コードを入力したとする。入力された動作コードは、デバイステーブル3の動作コード列10に格納される。さらに、ユーザは、タッチパネル2の付属情報入力欄に、各動作コードの動作内容に付随させる付属情報を入力する。入力された付属情報は、デバイステーブル3の付属情報列11に格納される。
For example, it is assumed that the user inputs operation codes “3”, “201”, “2”, “100”, “1” in order from the first line in the code input field of the
コード解析・制御実行プログラム4(図1参照)は、デバイステーブル3の1行目に格納された動作コード「3」を読み出すと、動作コード「3」に対応する機器Aの動作3を実行するための制御プログラムを呼び出し、付属情報である速度データ、ハンドデータが反映された制御プログラムを実行する。デバイステーブル3の2行目以降についても、同様にして制御プログラムを呼び出し、実行する。以上のようにして、シーケンスプログラムは、デバイステーブル3への動作コードの入力により編集がなされる。
When the code analysis / control execution program 4 (see FIG. 1) reads the operation code “3” stored in the first row of the device table 3, the
PLC1に接続される被制御機器としては、PLC1に接続可能に構成されたものであれば良く、機器の種別、インターフェース仕様、メーカーを問わず広く適用することができるものとする。また、被制御機器は、PLC1に直接接続されたものである場合の他、PCL1にバス接続された通信ユニットを経由して通信可能とされたものや、PLC1にバス接続されたCPUユニットにより動作させるものであっても良い。
The controlled device connected to the
本実施の形態によると、PLC1の被制御機器に対して、動作コードの入力によってシーケンスプログラムの編集を可能とすることで、機器の種別、インターフェース仕様、メーカーによらないシーケンスプログラムの作成が可能となる。被制御機器の動作内容に動作コードを予め付与することで、ユーザは、動作の順序に従って動作コードを入力することにより、シーケンスプログラムを編集することができる。このため、動作の順序に従って被制御機器ごとの制御プログラムを記述する場合に比べて、シーケンスプログラムの編集を容易にすることが可能となる。これにより、シーケンスプログラムの作成負荷を軽減できるという効果を奏する。
According to the present embodiment, it is possible to create a sequence program independent of the device type, interface specification, and manufacturer by enabling the
なお、PLC1に接続される被制御機器は何台であっても良く、一台及び複数台のいずれであっても良いものとする。被制御機器が複数台である場合に限らず一台である場合も、シーケンスプログラムの作成負荷を軽減可能とする効果を得ることができる。
Note that the number of controlled devices connected to the
デバイステーブル3へ動作コード及び付属情報を入力する手法としては、タッチパネル2を使用する場合に限られず、キーボード等、従来知られるいずれの入力手段を用いることとしても良い。また、付属情報は、ユーザによって動作コードとともに入力される場合に限られず、予め設定されたものとしても良い。被制御機器の動作内容と動作コードとの対応付けは、PLC1を備える制御システムの提供者及びユーザのいずれが行うこととしても良い。
The method for inputting the operation code and the attached information to the device table 3 is not limited to the case of using the
以上のように、本発明に係るプログラマブルコントローラは、複数の被制御機器のシーケンス制御を行う場合に有用である。 As described above, the programmable controller according to the present invention is useful when performing sequence control of a plurality of controlled devices.
1 PLC
2 タッチパネル
3 デバイステーブル
4 コード解析・制御実行プログラム
5A、5B、5C 制御プログラム
1 PLC
2
Claims (1)
前記シーケンスプログラムを編集するデバイステーブルが格納されたメモリと、
前記デバイステーブルへのデータの入力を受け付ける入力手段と、を有し、
前記被制御機器の前記シーケンス制御の対象となる動作内容には、各被制御機器に対して一元化された動作コードが付与され、
前記デバイステーブルは、前記入力手段を通じて前記動作コードが入力されることにより、前記動作コードの入力順に従って前記各被制御機器の一連の動作を実行するための前記シーケンスプログラムを編集するとともに、前記動作内容に付随させる付属情報を、前記動作コードに関連付けて保持し、
前記デバイステーブルから順次読み出された前記動作コードに対応する制御プログラムを呼び出し、実行することを特徴とするプログラマブルコントローラ。 A programmable controller that performs sequence control of a controlled device according to a sequence program ,
A memory storing a device table for editing the sequence program;
Input means for receiving input of data to the device table,
The operation content that is the target of the sequence control of the controlled device is given a centralized operation code for each controlled device,
The device table edits the sequence program for executing a series of operations of the controlled devices according to the input order of the operation codes when the operation codes are input through the input unit, and the operations Attached information associated with the content is held in association with the operation code,
A programmable controller, wherein a control program corresponding to the operation code sequentially read from the device table is called and executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009222699A JP5295061B2 (en) | 2009-09-28 | 2009-09-28 | Programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009222699A JP5295061B2 (en) | 2009-09-28 | 2009-09-28 | Programmable controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011070539A JP2011070539A (en) | 2011-04-07 |
JP5295061B2 true JP5295061B2 (en) | 2013-09-18 |
Family
ID=44015744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009222699A Expired - Fee Related JP5295061B2 (en) | 2009-09-28 | 2009-09-28 | Programmable controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5295061B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10994358B2 (en) | 2006-12-20 | 2021-05-04 | Lincoln Global, Inc. | System and method for creating or modifying a welding sequence based on non-real world weld data |
US9104195B2 (en) | 2006-12-20 | 2015-08-11 | Lincoln Global, Inc. | Welding job sequencer |
US9937577B2 (en) | 2006-12-20 | 2018-04-10 | Lincoln Global, Inc. | System for a welding sequencer |
US20150069029A1 (en) * | 2013-09-11 | 2015-03-12 | Lincoln Global, Inc. | Weld sequence editor |
JP6604058B2 (en) * | 2015-07-03 | 2019-11-13 | 村田機械株式会社 | Program conversion device, plate material processing system, and plate material processing method |
JP2017134722A (en) * | 2016-01-29 | 2017-08-03 | ファナック株式会社 | Manufacturing system for driving multiple kinds of manufacturing apparatuses in accordance with program of common language specification |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61123904A (en) * | 1984-11-21 | 1986-06-11 | Hitachi Ltd | Logic arithmetic device |
JPH0667709A (en) * | 1992-06-17 | 1994-03-11 | Fujitsu Ltd | Method and device for generating sequence program and sequence controller |
JPH06175708A (en) * | 1992-12-07 | 1994-06-24 | Fanuc Ltd | Sequence program execution system |
JP3493616B2 (en) * | 1998-03-03 | 2004-02-03 | オムロン株式会社 | Control device |
JP4697822B2 (en) * | 2000-01-20 | 2011-06-08 | 株式会社キーエンス | Operation content setting method and display device |
-
2009
- 2009-09-28 JP JP2009222699A patent/JP5295061B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011070539A (en) | 2011-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5295061B2 (en) | Programmable controller | |
US10324438B2 (en) | Sequence-control programming apparatus, sequence-control programming method, and operating system | |
JP4952401B2 (en) | PLC | |
JP5747584B2 (en) | Control device and system program | |
JP5796311B2 (en) | Control device and system program | |
US11198219B2 (en) | Controller, control system, and control method | |
JP2012079290A (en) | Control device of machine tool and processing relevant data processing system with the same | |
JP5785501B2 (en) | Ladder program creation device | |
US20190049924A1 (en) | Information processing device, information processing method, and non-transitory computer-readable recording medium | |
US20190012168A1 (en) | Program generating apparatus | |
CN104956274A (en) | Numerical control device | |
JP5362146B1 (en) | Numerical control apparatus and numerical control system | |
JP2008242572A (en) | Control processing simulation device | |
WO2010044189A1 (en) | Apparatus and method for controlling machine tool | |
JP2010079354A (en) | Distributed plc system | |
JP2009294966A (en) | Method or the like of changing ladder program | |
JP6632692B1 (en) | Control program creation support tool and control program creation method | |
JP2008532130A (en) | Method for subprogram translation by a controller interpreter | |
JP6599067B1 (en) | Apparatus state reproduction device, apparatus state reproduction method, and apparatus state reproduction program | |
JP2011108008A (en) | Hmi-screen automatic generation method | |
JP4301976B2 (en) | Programming tools | |
JP2022066906A5 (en) | ||
JP2011062798A (en) | Robot control device and robot control method | |
JP2007310499A (en) | Numerical controller | |
JP2020098428A (en) | Numerical value control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111018 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121011 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121016 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121217 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130514 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130611 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |