JP5295061B2 - Programmable controller - Google Patents

Programmable controller Download PDF

Info

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
Application number
JP2009222699A
Other languages
Japanese (ja)
Other versions
JP2011070539A (en
Inventor
勝久 山田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009222699A priority Critical patent/JP5295061B2/en
Publication of JP2011070539A publication Critical patent/JP2011070539A/en
Application granted granted Critical
Publication of JP5295061B2 publication Critical patent/JP5295061B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a programmable controller capable of reducing a load for generating a sequence program. <P>SOLUTION: Sequence control of controlled devices is performed according to a sequence program. An operation code unified for each controlled device is assigned to an operation content targeted by the sequence control of the controlled devices. The sequence program is edited through input of the operation code to a device table 3 stored in a memory. A control program corresponding to the operation code sequentially read from the device table 3 is called and executed. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

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, Patent Document 1 proposes a technique of a control device configured to comprehensively control a plurality of controlled devices.

特開2006−99639号公報JP 2006-99639 A

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.

図1は、実施の形態に係るPLCを備える制御システムのブロック構成を示す図である。FIG. 1 is a diagram illustrating a block configuration of a control system including a PLC according to an embodiment. 図2は、デバイステーブルへの動作コード及び付属情報の入力例を表した図である。FIG. 2 is a diagram illustrating an input example of an operation code and attached information to the device table.

以下に、図面に基づいて、本発明に係るプログラマブルコントローラの実施の形態を詳細に説明する。   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 PLC 1 according to an embodiment of the present invention. This control system includes a PLC 1, a device A, a device B, and a device C connected to the PLC 1, and the touch panel 2. The devices A, B, and C are controlled devices that are sequence-controlled by the PLC 1. For example, the device A is an industrial robot that performs work at a production site or the like. For example, the devices B and C are processing machines for obtaining processed products by processing materials. The PLC 1 performs sequence control on the devices A, B, and C according to the sequence program. Here, the sequence program is a program for executing a series of operations of the controlled device. The touch panel 2 functions as an input unit for inputting various parameters to the PLC 1.

デバイステーブル3は、PLC1のメモリに格納されている。タッチパネル2は、デバイステーブル3への動作コードの入力、及び付属情報の入力を受け付ける。デバイステーブル3は、タッチパネル2から入力された動作コード及び付属情報を格納する。動作コードは、PLC1によるシーケンス制御の対象となる機器A、装置B、装置Cの動作内容に付与されたコードである。シーケンスプログラムは、タッチパネル2を通じてデバイステーブル3へ動作コードが入力されることにより編集される。付属情報は、被制御機器の動作内容に付随させる情報である。デバイステーブル3は、動作コードに関連付けて、付属情報を保持する。   The device table 3 is stored in the memory of the PLC 1. The touch panel 2 accepts input of an operation code to the device table 3 and input of attached information. The device table 3 stores operation codes and attached information input from the touch panel 2. The operation code is a code given to the operation contents of the devices A, B, and C that are targets of sequence control by the PLC 1. The sequence program is edited by inputting an operation code to the device table 3 through the touch panel 2. The attached information is information attached to the operation content of the controlled device. The device table 3 holds attached information in association with the operation code.

コード解析・制御実行プログラム4は、デバイステーブル3から動作コードを読み出し、読み出された動作コードを順次解析する。コード解析・制御実行プログラム4は、動作コードに対応した制御プログラムを呼び出すためのプログラムであって、PLC1のメモリに格納されている。制御プログラムは、動作コードにより指定された動作内容を実行するためのプログラムとする。PLC1は、機器Aについて呼び出された制御プログラム5Aの実行により、機器Aを制御する。PLC1は、装置Bについて呼び出された制御プログラム5Bの実行により、装置Bを制御する。PLC1は、装置Cについて呼び出された制御プログラム5Cの実行により、装置Cを制御する。呼び出された制御プログラム5A、5B、5Cは、命令の入出力対象となるデータとして、メモリに一時的に格納される。   The code analysis / control execution program 4 reads an operation code from the device table 3 and sequentially analyzes the read operation code. The code analysis / control execution program 4 is a program for calling a control program corresponding to the operation code, and is stored in the memory of the PLC 1. The control program is a program for executing the operation content specified by the operation code. The PLC 1 controls the device A by executing the control program 5A called for the device A. The PLC 1 controls the device B by executing the control program 5B called for the device B. The PLC 1 controls the device C by executing the control program 5C called for the device C. The called control programs 5A, 5B, and 5C are temporarily stored in the memory as data to be input / output of instructions.

図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 PLC 1. For example, an operation code starting from “1” is given to the operation content of the device A. Assume that operation codes “1”, “2”, and “3” are assigned to “operation 1”, “operation 2”, and “operation 3” of the device A, respectively.

装置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 PLC 1.

機器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 touch panel 2. The input operation code is stored in the operation code string 10 of the device table 3. Further, the user inputs attached information to be attached to the operation content of each operation code in the attached information input field of the touch panel 2. The input accessory information is stored in the accessory information column 11 of the device table 3.

コード解析・制御実行プログラム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 operation 3 of the device A corresponding to the operation code “3” is executed. And the control program reflecting the speed data and hand data, which are attached information, is executed. The control program is similarly called and executed for the second and subsequent lines of the device table 3. As described above, the sequence program is edited by inputting the operation code to the device table 3.

PLC1に接続される被制御機器としては、PLC1に接続可能に構成されたものであれば良く、機器の種別、インターフェース仕様、メーカーを問わず広く適用することができるものとする。また、被制御機器は、PLC1に直接接続されたものである場合の他、PCL1にバス接続された通信ユニットを経由して通信可能とされたものや、PLC1にバス接続されたCPUユニットにより動作させるものであっても良い。   The controlled device connected to the PLC 1 may be any device that can be connected to the PLC 1 and can be widely applied regardless of the type of device, interface specifications, and manufacturer. In addition to the case where the controlled device is directly connected to the PLC 1, the controlled device can be communicated via a communication unit connected to the PCL 1 by a bus, or operated by a CPU unit connected to the PLC 1 by a bus. It may be made to do.

本実施の形態によると、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 PLC 1 to be controlled to edit the sequence program by inputting an operation code. Become. By assigning an operation code to the operation content of the controlled device in advance, the user can edit the sequence program by inputting the operation code according to the operation sequence. For this reason, it is possible to facilitate the editing of the sequence program as compared with the case where the control program for each controlled device is written according to the operation sequence. As a result, the sequence program creation load can be reduced.

なお、PLC1に接続される被制御機器は何台であっても良く、一台及び複数台のいずれであっても良いものとする。被制御機器が複数台である場合に限らず一台である場合も、シーケンスプログラムの作成負荷を軽減可能とする効果を得ることができる。   Note that the number of controlled devices connected to the PLC 1 may be any number, and may be one or a plurality of devices. The effect of enabling the sequence program creation load to be reduced can be obtained not only when there are a plurality of controlled devices but also when there is a single device.

デバイステーブル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 touch panel 2, and any conventionally known input means such as a keyboard may be used. Further, the accessory information is not limited to being input together with the operation code by the user, and may be set in advance. The association between the operation content of the controlled device and the operation code may be performed by either the provider of the control system including the PLC 1 or the user.

以上のように、本発明に係るプログラマブルコントローラは、複数の被制御機器のシーケンス制御を行う場合に有用である。   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 Touch panel 3 Device table 4 Code analysis / control execution program 5A, 5B, 5C Control program

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.
JP2009222699A 2009-09-28 2009-09-28 Programmable controller Expired - Fee Related JP5295061B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
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)

* Cited by examiner, † Cited by third party
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

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
JP6450708B2 (en) Information processing apparatus for processing machining information among a plurality of manufacturing cells
JP5796311B2 (en) Control device and system program
JP2012079290A (en) Control device of machine tool and processing relevant data processing system with the same
US11198219B2 (en) Controller, control system, and control method
JP5785501B2 (en) Ladder program creation device
US20190049924A1 (en) Information processing device, information processing method, and non-transitory computer-readable recording medium
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
JP2007011713A (en) Editing device for programmable controller
JP2010079354A (en) Distributed plc system
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
JP4301976B2 (en) Programming tools
JP2022066906A5 (en)
JP2011062798A (en) Robot control device and robot control method
JP2009294966A (en) Method or the like of changing ladder program
JP2009048396A (en) Simulator of motor motion
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