JP2011113199A - Method for simplifying ladder program of plc and control system for implementing the same - Google Patents

Method for simplifying ladder program of plc and control system for implementing the same Download PDF

Info

Publication number
JP2011113199A
JP2011113199A JP2009267630A JP2009267630A JP2011113199A JP 2011113199 A JP2011113199 A JP 2011113199A JP 2009267630 A JP2009267630 A JP 2009267630A JP 2009267630 A JP2009267630 A JP 2009267630A JP 2011113199 A JP2011113199 A JP 2011113199A
Authority
JP
Japan
Prior art keywords
plc
display
information
circuit unit
ladder
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.)
Granted
Application number
JP2009267630A
Other languages
Japanese (ja)
Other versions
JP5511331B2 (en
Inventor
Hiroshi Kuramoto
裕志 倉元
Yasuhiko Murai
保彦 村井
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.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries Co 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 Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP2009267630A priority Critical patent/JP5511331B2/en
Publication of JP2011113199A publication Critical patent/JP2011113199A/en
Application granted granted Critical
Publication of JP5511331B2 publication Critical patent/JP5511331B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To eliminate the need for creating a ladder program, and to provide a PLC including no ladder program. <P>SOLUTION: The method for simplifying a ladder program of a PLC includes the following steps of: on a display unit side, preparing information of a ladder circuit unit and parameter table information in which parameters corresponding to control objects are attached to input/output contacts configuring the ladder circuit unit; and transferring the information from the display unit to the PLC. On the PLC side, the method includes steps of controlling a plurality of control objects, on the basis of the ladder circuit unit information and the parameter table information transferred from the display unit, based on a ladder program to be generated by applying the parameter of each control object from the parameter table information to the same ladder circuit unit. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、HMI機器である表示器と、入・出力デバイスをシーケンス制御するPLC(プログラマブルコントローラ)とを備えた制御システムに関わり、詳細には上記PLCに対し、上記制御のために搭載するラダープログラムをより簡素化すなわちプログラムレス化を可能とすることに関するものである。   The present invention relates to a control system including a display device that is an HMI device and a PLC (programmable controller) that controls input / output devices in sequence, and more specifically, a ladder mounted on the PLC for the control. The present invention relates to the simplification of the program, that is, the possibility of programlessness.

上記制御システムは、外部PC、プログラマブル表示器(HMI機器)、PLCと、複数のターゲットと、を含む。外部PCはこれらPLCや表示器をプロトコル通信により制御する。表示器は、コンベアライン上のセンサやアクチュエータ、モータ等の入・出力デバイスに対して、その稼働状況や作業指示のような管理のための各種のモニタ、デバイスに対する設定値を入力する端末として機能することができる。表示器の画面であるユーザ画面上にデバイスの制御や操作のためこれらに対応してメータ、グラフ、スイッチ等の各種HMI(ヒューマン・マシーン・インタフェース)部品が表示される。表示器は、RAM、ROM、フラッシュROM、VRAMなどのメモリや、CPUなどの演算処理部を有しており、これらによって表示器の各部の動作を制御している。表示器は、ユーザ画面の表示制御、プロトコル変換およびデータ配信の処理を行うために各種のデータ処理を行うことができる。表示器は、外部PCの作画エディタで作成されたユーザ画面に基づいてVRAMなどを用いて表示画面上にユーザ画面を描画させることができる。ユーザ画面には、HMI部品やタグが画像ブロックとして合成されている。ユーザ画面においては、部品やタグが外部入出力機器の動作に応じて動くようになっており、入・出力デバイスの動作状況が視覚化されている。表示器は、表示制御プログラムに従い、上記PLCのデータメモリに格納されるデバイスON/OFF情報に基づいてユーザ画面を表示制御する。   The control system includes an external PC, a programmable display (HMI device), a PLC, and a plurality of targets. The external PC controls these PLCs and displays by protocol communication. The display functions as a terminal for inputting various monitor settings for devices such as operating status and work instructions to input / output devices such as sensors, actuators, and motors on the conveyor line, and setting values for the devices. can do. Various HMI (Human Machine Interface) parts such as meters, graphs, and switches are displayed on the user screen, which is the screen of the display device, for device control and operation. The display device has a memory such as a RAM, a ROM, a flash ROM, and a VRAM, and an arithmetic processing unit such as a CPU. The operation of each unit of the display device is controlled by these. The display can perform various types of data processing in order to perform user screen display control, protocol conversion, and data distribution processing. The display can draw the user screen on the display screen using a VRAM or the like based on the user screen created by the drawing editor of the external PC. On the user screen, HMI parts and tags are combined as image blocks. On the user screen, parts and tags move according to the operation of the external input / output device, and the operation status of the input / output device is visualized. The display controls display of the user screen based on the device ON / OFF information stored in the data memory of the PLC according to the display control program.

PLCは、ラダープログラムを実行するCPU、入・出力デバイスON/OFF情報が格納された上記デバイスメモリ、等を備え、ラダープログラムの実行に従い、デバイスメモリの内容を書き換えるとともにデバイスメモリの内容を参照しながらラダープログラムを実行し、デバイス制御を行うようになっている。PLCは、入力デバイスから入力される信号に基づいて出力デバイスに与える制御データの演算処理を行う。入力デバイスとしては、センサ(温度センサ、光センサなど)、スイッチ(押ボタンスイッチ、リミットスイッチ、圧力スイッチなど)のような機器が用いられる。出力デバイスとしては、アクチュエータ、リレー、電磁弁、などが用いられる。これらの入力と出力のデバイスは、製造ラインなどの所要各部に配置される。   The PLC includes a CPU that executes a ladder program, the above-described device memory that stores input / output device ON / OFF information, etc., and rewrites the contents of the device memory and refers to the contents of the device memory according to the execution of the ladder program. However, the ladder program is executed to control the device. The PLC performs calculation processing of control data given to the output device based on a signal input from the input device. Devices such as sensors (temperature sensors, optical sensors, etc.) and switches (push button switches, limit switches, pressure switches, etc.) are used as input devices. As the output device, an actuator, a relay, a solenoid valve, or the like is used. These input and output devices are arranged in required parts such as a production line.

以上の制御システムにおいて、制御ターゲットとして、例えば図6で示すコンベアライン装置とすると、このコンベアライン装置は複数のコンベアラインを含み、各コンベアライン上に、図示しないが、当該コンベアライン上を搬送する物品の検出のためのセンサとか、コンベアラインを駆動するモータ等、複数の入・出力デバイスが配置されている。図6には、PLC100と、複数のコンベアライン101、102、103、…とを示す。PLC100は、図7で示すラダープログラムに従い、入・出力デバイスとの間での信号の入・出力により各コンベアライン101、102、103、…を制御する。図7で示すラダープログラムにおいて、ラダー回路単位201は、コンベアライン101の制御用であり、ラダー回路単位202は、コンベアライン102の制御用であり、ラダー回路単位203は、コンベアライン103の制御用、…である。ラダー回路単位201は、各接点記号に対してパラメータC1、C2、…が表示されている。ラダー回路単位202は、各接点記号に対してパラメータC11、C12、…が表示されている。ラダー回路単位203は、各接点記号に対してパラメータC21、C22、…が表示されている。ラダー回路単位において、その他の説明は略する。   In the above control system, if the control target is, for example, the conveyor line apparatus shown in FIG. 6, this conveyor line apparatus includes a plurality of conveyor lines and conveys the conveyor lines on each conveyor line (not shown). A plurality of input / output devices such as sensors for detecting articles and motors for driving conveyor lines are arranged. FIG. 6 shows the PLC 100 and a plurality of conveyor lines 101, 102, 103,. The PLC 100 controls each of the conveyor lines 101, 102, 103,... According to input / output of signals to / from the input / output device according to the ladder program shown in FIG. In the ladder program shown in FIG. 7, the ladder circuit unit 201 is for controlling the conveyor line 101, the ladder circuit unit 202 is for controlling the conveyor line 102, and the ladder circuit unit 203 is for controlling the conveyor line 103. .... In the ladder circuit unit 201, parameters C1, C2,... Are displayed for each contact symbol. In the ladder circuit unit 202, parameters C11, C12,... Are displayed for each contact symbol. In the ladder circuit unit 203, parameters C21, C22,... Are displayed for each contact symbol. In the ladder circuit unit, other description is omitted.

特開2004−252920号公報JP 2004-252920 A

しかしながら、従来の制御システムにおいては、図6で示す複数のコンベアライン101、102、…を制御するのに使用するラダープログラムは、各コンベアライン101、102、…を制御するラダー回路単位201、202、…が、図7で示すように、いずれも同様のラダー回路単位201、202、…であったとしても、各コンベアライン101、102、…ごとにラダー回路単位201、202、…を作成する必要があり、その作成には非常に手間がかかるものとなっていた。また、多数のラダー回路単位201、202、…を有するラダープログラムではコンベアライン101、102、…における制御動作と同様のわずかな変更にも大変な手間がかかるものとなっていた。   However, in the conventional control system, the ladder program used to control the plurality of conveyor lines 101, 102,... Shown in FIG. ..,..., Even if they are similar ladder circuit units 201, 202,..., Ladder circuit units 201, 202,. It was necessary and it was very time-consuming to create it. Further, in a ladder program having a large number of ladder circuit units 201, 202,..., A slight change similar to the control operation in the conveyor lines 101, 102,.

本発明により解決すべき課題は、上記制御システムにおいて、制御対象が複数であっても、その制御対象を制御するラダープログラムを簡素化可能として、ラダープログラムの作成手間の省略化を可能とし、かつ、PLCにおいては、表示器側からのプログラム転送により、PLC自体にはプログラムを簡素化し、つまりプログラムレス化を可能として、PLCによる制御対象の制御動作変更を容易化することである。   The problem to be solved by the present invention is that, in the above control system, even if there are a plurality of control objects, the ladder program for controlling the control object can be simplified, the labor for creating the ladder program can be omitted, and In the PLC, the program is transferred from the display side to simplify the program in the PLC itself, that is, to make it possible to eliminate the program, and to facilitate the control operation change of the control object by the PLC.

(1)本発明によるPLCのプログラムレス化方法は、表示制御プログラムに従い、PLCのデータメモリに格納される入・出力デバイスのON/OFF情報に基づいてユーザ画面を表示制御するHMI機器としての表示器と、入・出力デバイスをラダープログラムの実行によりシーケンス制御するPLCと、を備えた制御システムにおいて、表示器側に、ラダー回路単位の情報およびこのラダー回路単位を構成する入・出力接点に対して各制御対象ごとに対応したパラメータを付けたパラメータテーブル情報を具備するステップと、上記両情報を表示器側からPLC側に転送するステップとを含み、PLC側では、表示器から転送された上記ラダー回路単位情報およびパラメータテーブル情報に基づき、複数の制御対象を、同一のラダー回路単位に対して上記パラメータテーブル情報からの制御対象ごとのパラメータを適用することにより生成されるラダープログラムに基づき、制御するステップを含むことを特徴とする。   (1) The PLC program-less method according to the present invention is a display as an HMI device that controls display of a user screen based on ON / OFF information of input / output devices stored in a PLC data memory according to a display control program. In a control system comprising a display unit and a PLC for controlling the sequence of input / output devices by executing a ladder program, information on the ladder circuit unit and input / output contacts constituting the ladder circuit unit are displayed on the display side. A parameter table information with parameters corresponding to each control object, and a step of transferring both pieces of information from the display unit side to the PLC side. Based on the ladder circuit unit information and parameter table information, multiple control objects can be Based on the ladder program generated by applying the parameters for each control object from the parameter table information to the unit, characterized in that it comprises the step of controlling.

(2)本発明による制御システムにおいては、表示制御プログラムに従い、PLCのデータメモリに格納される入・出力デバイスのON/OFF情報に基づいてユーザ画面を表示制御するHMI機器としての表示器と、入・出力デバイスをラダープログラムの実行によりシーケンス制御するPLCと、を備えた制御システムであって、表示器側は、ラダー回路単位の情報およびこのラダー回路単位を構成する入・出力接点に対して各制御対象ごとに対応したパラメータを付けたパラメータテーブル情報を具備し、また、PLC側は、表示器から転送された上記ラダー回路単位情報およびパラメータテーブル情報を具備し、かつ、複数の制御対象を、同一のラダー回路単位に対して上記パラメータテーブル情報からの制御対象ごとのパラメータを適用することにより生成されるラダープログラムに基づき、制御するようになっていることを特徴とする。   (2) In the control system according to the present invention, in accordance with a display control program, a display device as an HMI device that controls display of a user screen based on ON / OFF information of input / output devices stored in a data memory of the PLC; PLC that controls the sequence of input / output devices by executing a ladder program, and the display side provides information on the ladder circuit unit and the input / output contacts that constitute the ladder circuit unit. Parameter table information with parameters corresponding to each control object is provided, and the PLC side includes the ladder circuit unit information and parameter table information transferred from the display, and a plurality of control objects Parameters for each control target from the parameter table information for the same ladder circuit unit Based on the ladder program generated by the application to, characterized in that is adapted to control.

本発明によれば、PLCには表示器からラダー回路単位情報とパラメータテーブル情報とが転送されることで、複数の制御対象それぞれを制御するラダープログラムを構成することができるようになるので、PLCをラダープログラムレス化することが可能となり、制御対象が多くなった場合に、作成に手間がかかっていたラダープログラムの当該作成手間を大幅に省くことができる。また、PLCにおいては、表示器側からのプログラム転送により、PLC自体にはプログラム内蔵無し、つまりプログラムレス化が可能となるから、表示器側での上記両情報の操作により、PLCによる制御対象の制御動作を容易に変更することができるようになる。   According to the present invention, the ladder circuit unit information and the parameter table information are transferred from the display unit to the PLC, so that a ladder program for controlling each of a plurality of control objects can be configured. It is possible to eliminate the ladder program, and when the number of objects to be controlled increases, it is possible to greatly reduce the labor for creating the ladder program that has taken time to create. Also, in the PLC, the program transfer from the display side allows the PLC itself to have no built-in program, that is, to eliminate the program, so that the control object of the PLC can be controlled by operating both of the above information on the display side. The control operation can be easily changed.

図1は本発明の実施の形態にかかる制御システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a control system according to an embodiment of the present invention. 図2は図1の制御システムにおける表示器のブロック図である。FIG. 2 is a block diagram of a display in the control system of FIG. 図3は図1の制御システムにおけるPLCのブロック図である。FIG. 3 is a block diagram of the PLC in the control system of FIG. 図4(a)はラダー回路単位を示す図、図4(b)はパラメータテーブルを示す図である。4A shows a ladder circuit unit, and FIG. 4B shows a parameter table. 図5はラダー回路単位にパラメータを付けて例を示す図である。FIG. 5 is a diagram showing an example in which parameters are attached to ladder circuit units. 図6は制御対象であるコンベアラインを示す図である。FIG. 6 is a diagram showing a conveyor line which is a control target. 図7は従来の制御システムにおけるPLCのラダープログラムを示す図である。FIG. 7 is a diagram showing a PLC ladder program in a conventional control system.

以下、添付した図面を参照して、本発明の実施の形態に係る制御システムを説明する。図1は制御システム全体の構成を示す。図1において、10はシステム上位側のホストコンピュータとしての外部PC、20はユーザ画面を備えた複数の表示器、30は複数のPLC、40は入・出力デバイス、である。50はコンベアライン装置を示す。コンベアライン装置50は、複数のコンベアライン50−1、50−2、50−3、…を含み、これらコンベアライン50−1、50−2、50−3、…にはセンサやモータ等の各種入・出力デバイス40が図示しない形態で配置されている。   Hereinafter, a control system according to an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 shows the configuration of the entire control system. In FIG. 1, 10 is an external PC as a host computer on the upper side of the system, 20 is a plurality of displays equipped with user screens, 30 is a plurality of PLCs, and 40 is an input / output device. Reference numeral 50 denotes a conveyor line device. The conveyor line device 50 includes a plurality of conveyor lines 50-1, 50-2, 50-3,..., And these conveyor lines 50-1, 50-2, 50-3,. The input / output device 40 is arranged in a form not shown.

外部PC10と複数の表示器20とは共通の通信プロトコルで通信が可能な共通ネットワーク60を介して互いに接続され、複数の表示器20と複数のPLC30それぞれは固有の通信プロトコルで通信が可能な専用ネットワーク70で個々に接続されている。共通ネットワーク60はLAN(ローカル・エリア・ネットワーク)が用いられており、共通ネットワーク60での通信プロトコルとしてTCP/IPを採用することができる。   The external PC 10 and the plurality of display devices 20 are connected to each other via a common network 60 that can communicate with a common communication protocol, and each of the plurality of display devices 20 and the plurality of PLCs 30 can communicate with each other with a unique communication protocol. Individually connected via a network 70. The common network 60 is a LAN (local area network), and TCP / IP can be adopted as a communication protocol in the common network 60.

外部PC10は、ホストコンピュータとして、一般の汎用パーソナルコンピュータと同様に、図示略のデスクトップ本体、キーボード、マウス等を備え、内蔵ソフトまたは外部からインストールされたソフトにより、表示器20のユーザ画面を作成するための編集画面を画面表示し、この編集画面上においてHMI表示部品を加工編集することができる。外部PC10は、共通ネットワーク60を介して表示器20との間でデータの通信が可能であり、例えば、作画エディタで作成されたユーザ画面を表示器20に転送したり、表示器20から配信されたPLC30の入出力データを収集したり処理したりすることができる。   The external PC 10 includes a desktop main body (not shown), a keyboard, a mouse, and the like as a general-purpose personal computer as a host computer, and creates a user screen of the display 20 using built-in software or software installed from the outside. An edit screen for displaying the image can be displayed on the screen, and the HMI display component can be processed and edited on the edit screen. The external PC 10 can communicate data with the display device 20 via the common network 60. For example, a user screen created by a drawing editor is transferred to the display device 20 or distributed from the display device 20. The input / output data of the PLC 30 can be collected and processed.

表示器20は、図2で示すように、共通ネットワーク60を介して外部PC10と通信するための通信インターフェース20a、演算や各種制御処理を行うCPU20b、RAM、ROM、フラッシュROM、VRAMなどからなり、ファームウエア等の各種プログラム、その他のデータが格納されるメモリ20c、ユーザー画面表示を行う表示装置20d、表示器20が装備するボタンやスイッチ等からなる入力装置20e、専用ネットワーク70を介してPLC30と通信を行うための通信インターフェース(I/F)20fを有すると共に、図4(a)で示すラダー回路単位の情報(後で詳述)および図4(b)で示す、ラダー回路単位を構成する入・出力接点に対して各御対象ごとに対応したパラメータを付けたパラメータテーブル情報(後で詳述)を記憶する情報メモリ20gを有する。   As shown in FIG. 2, the display device 20 includes a communication interface 20 a for communicating with the external PC 10 via the common network 60, a CPU 20 b for performing calculations and various control processes, a RAM, a ROM, a flash ROM, a VRAM, and the like. Various programs such as firmware, a memory 20c for storing other data, a display device 20d for displaying a user screen, an input device 20e composed of buttons, switches and the like provided in the display 20, and the PLC 30 via a dedicated network 70 It has a communication interface (I / F) 20f for performing communication, and constitutes a ladder circuit unit shown in FIG. 4A (detailed later) and a ladder circuit unit shown in FIG. 4B. Parameter table with parameters corresponding to each target for input / output contacts It has information memory 20g which stores a broadcast (which will be described in detail later).

このような表示器20は、CPU20bにおいてユーザ画面の表示制御、プロトコル変換およびデータ配信の処理を行うために各種のデータ処理を行うことができる。表示器20は、外部PC10の作画エディタで作成されたユーザ画面に基づいてVRAMなどのメモリ20cを用いて表示装置20dの画面上にユーザ画面を描画させることができる。ユーザ画面においては、HMI表示部品等が入・出力デバイス40の動作に応じて動くようになっており、入・出力デバイス40の動作状況が視覚化されている。   Such a display device 20 can perform various types of data processing in order to perform user screen display control, protocol conversion, and data distribution processing in the CPU 20b. The display device 20 can draw a user screen on the screen of the display device 20d using a memory 20c such as a VRAM based on the user screen created by the drawing editor of the external PC 10. On the user screen, the HMI display component and the like move according to the operation of the input / output device 40, and the operation status of the input / output device 40 is visualized.

表示器20は、共通ネットワーク60から送信される外部PC10のデータに含まれる送信先のIPアドレスを解析し、そのIPアドレスが自己のものであれば外部PC10からのデータに含まれるコマンドを読み取り、必要な表示動作を行うことができる。表示器20は、外部PC10からのコマンドに応答して表示動作を行うことができるようになっている。   The display 20 analyzes the IP address of the transmission destination included in the data of the external PC 10 transmitted from the common network 60, and reads the command included in the data from the external PC 10 if the IP address is its own. Necessary display operations can be performed. The display device 20 can perform a display operation in response to a command from the external PC 10.

PLC30は、図3で示すように、表示器20との通信のための通信インターフェース30a、演算や各種制御処理を行うCPU30b、ファームウエア等のプログラムやデータが格納されるメモリ30c、入・出力デバイス40との入・出力を行う入・出力インターフェース30dを具備すると共に、表示器20から転送されてきた図4(a)のラダー回路単位情報および図4(b)のパラメータテーブル情報を記憶する情報メモリ30eを有する。   As shown in FIG. 3, the PLC 30 includes a communication interface 30 a for communication with the display device 20, a CPU 30 b that performs computation and various control processes, a memory 30 c that stores programs and data such as firmware, and input / output devices. 4 includes an input / output interface 30d for performing input / output to / from 40, and information for storing the ladder circuit unit information in FIG. 4A and the parameter table information in FIG. 4B transferred from the display unit 20. A memory 30e is included.

PLC30において、CPU30bは、情報メモリ30eに格納される情報により、入・出力デバイス40との間で入・出力する信号に基づいてコンベアライン装置50を制御する。入・出力デバイス40としては、センサ(温度センサ、光センサなど)、スイッチ(押ボタンスイッチ、リミットスイッチ、圧力スイッチなど)のような入力機器や、アクチュエータ、リレー、電磁弁、などの出力機器が用いられる。これら入・出力デバイス40は、コンベアライン装置50の所要各部に配置される。   In the PLC 30, the CPU 30 b controls the conveyor line device 50 based on a signal input / output to / from the input / output device 40 based on information stored in the information memory 30 e. Input / output devices 40 include input devices such as sensors (temperature sensors, optical sensors, etc.) and switches (pushbutton switches, limit switches, pressure switches, etc.), and output devices such as actuators, relays, solenoid valves, etc. Used. These input / output devices 40 are arranged at required portions of the conveyor line device 50.

以上の構成において本実施の形態によるPLC30のプログラムレス化方法は、表示器20側に、図4(a)のラダー回路単位情報および図4(b)のパラメータテーブル情報を具備させる。この図4(a)に示すラダー回路単位情報は、ラダー回路単位を構成するラダーロジックの回路構成と、その回路構成内の入・出力接点記号とが表示されているが、各入・出力接点記号にはパラメータが記述されていない。そのパラメータに代わり、説明の都合でパラメータが記入される位置を四角破線P1、P2、…で示す。図4(b)のパラメータテーブルでは、テーブル縦方向左端一列に上記破線位置に対応するP1からP9までの記号が表示され、テーブル上端横方向一列に各コンベアライン50−1、50−2、50−3、…とする。   In the configuration described above, the program-less method of the PLC 30 according to the present embodiment includes the ladder circuit unit information shown in FIG. 4A and the parameter table information shown in FIG. In the ladder circuit unit information shown in FIG. 4A, the ladder logic circuit configuration constituting the ladder circuit unit and the input / output contact symbols in the circuit configuration are displayed. The parameter does not describe the symbol. Instead of the parameters, the positions where the parameters are entered are indicated by square broken lines P1, P2,. In the parameter table of FIG. 4 (b), symbols from P1 to P9 corresponding to the broken line positions are displayed on the left column in the vertical direction of the table, and the conveyor lines 50-1, 50-2, 50 are arranged in the horizontal row on the upper end of the table. -3, and so on.

そして、図1で示すコンベアライン50−1に対する図4(a)のラダー回路単位情報内のラダー回路単位に適用するパラメータとしては、図4(b)のパラメータテーブル情報内においてコンベアライン50−1でのパラメータ表示P1からP9までのC1ないしC5、A1、B1、C1、D1がパラメータとされる。   And as a parameter applied to the ladder circuit unit in the ladder circuit unit information of FIG. 4A for the conveyor line 50-1 shown in FIG. 1, the conveyor line 50-1 in the parameter table information of FIG. Parameters C1 to C5, A1, B1, C1, and D1 from P1 to P9 in FIG.

図1で示すコンベアライン50−2に対する図4(a)のラダー回路単位情報内のラダー回路単位に適用するパラメータとしては、図4(b)のパラメータテーブル情報内においてコンベアライン50−2でのパラメータ表示P1からP9までのC11ないしC15、A2、B2、C2、D2がパラメータとされる。   Parameters applied to the ladder circuit unit in the ladder circuit unit information of FIG. 4A for the conveyor line 50-2 shown in FIG. 1 are the parameters in the conveyor line 50-2 in the parameter table information of FIG. 4B. C11 to C15, A2, B2, C2, and D2 from the parameter displays P1 to P9 are used as parameters.

図1で示すコンベアライン50−3に対する図4(a)のラダー回路単位情報内のラダー回路単位に適用するパラメータとしては、図4(b)のパラメータテーブル情報内においてコンベアライン50−3でのパラメータ表示P1からP9までのC21ないしC25、A3、B3、C3、D3がパラメータとされている。   Parameters applied to the ladder circuit unit in the ladder circuit unit information of FIG. 4A for the conveyor line 50-3 shown in FIG. 1 are the parameters in the conveyor line 50-3 in the parameter table information of FIG. 4B. Parameters 21 to C25, A3, B3, C3, and D3 from parameter displays P1 to P9 are used as parameters.

そして、この図4(a)のラダー回路単位情報と図4(b)のパラメータテーブル情報は表示器20からPLC30に転送される。   The ladder circuit unit information in FIG. 4A and the parameter table information in FIG. 4B are transferred from the display unit 20 to the PLC 30.

PLC30側では、表示器20から転送された図4(a)のラダー回路単位情報および図4(b)のパラメータテーブル情報に基づき、コンベアライン50−1、50−2、50−3、…を、図4(a)のラダー回路単位に対して図4(b)のパラメータテーブル情報からのコンベアライン50−1、50−2、50−3、…ごとのパラメータを適用することにより生成されるラダープログラムに基づき、制御する。   On the PLC 30 side, based on the ladder circuit unit information of FIG. 4A and the parameter table information of FIG. 4B transferred from the display 20, the conveyor lines 50-1, 50-2, 50-3,. .., By applying the parameters for the conveyor lines 50-1, 50-2, 50-3,... From the parameter table information of FIG. Control based on the ladder program.

例えばコンベアライン50−1を制御するラダー回路単位は図5(a)に示すものとなり、PLC30ではこの図5で示すラダー回路単位によりコンベアライン50−1を制御する。   For example, the ladder circuit unit for controlling the conveyor line 50-1 is as shown in FIG. 5A, and the PLC 30 controls the conveyor line 50-1 by the ladder circuit unit shown in FIG.

他のコンベアライン50−2を制御するラダー回路単位は同様にして図5(b)に示すものとなる。   The ladder circuit unit for controlling the other conveyor line 50-2 is similarly shown in FIG.

さらに他のコンベアライン50−3を制御するラダー回路単位は同様にして図5(c)に示すものとなる。   Further, the ladder circuit unit for controlling the other conveyor line 50-3 is similarly shown in FIG.

以上説明したように本実施の形態では、PLCには表示器からラダー回路単位情報とパラメータテーブル情報とが転送されることで、複数の制御対象それぞれを制御するラダープログラムを構成することができるようになるので、PLCをラダープログラムレス化することが可能となり、制御対象が多くなった場合に、作成に手間がかかっていたラダープログラムの当該作成手間を大幅に省くことができる。また、PLCにおいては、表示器側からのプログラム転送により、PLC自体にはプログラム内蔵無し、つまりプログラムレス化が可能となるから、表示器側での上記両情報の操作により、PLCによる制御対象の制御動作を容易に変更することができるようになる。   As described above, in the present embodiment, ladder circuit unit information and parameter table information are transferred from the display unit to the PLC, so that a ladder program for controlling each of a plurality of control objects can be configured. Therefore, it is possible to make the PLC less ladder program, and when the number of objects to be controlled increases, it is possible to greatly reduce the labor of creating the ladder program that has taken time to create. Also, in the PLC, the program transfer from the display side allows the PLC itself to have no built-in program, that is, to eliminate the program, so that the control object of the PLC can be controlled by operating both of the above information on the display side. The control operation can be easily changed.

10 外部PC
20 表示器
30 PLC
40 入・出力デバイス
50 コンベアライン装置
50−1,50−2、50−3 コンベアライン
10 External PC
20 Display 30 PLC
40 Input / Output Device 50 Conveyor Line Device 50-1, 50-2, 50-3 Conveyor Line

Claims (2)

表示制御プログラムに従い、PLCのデータメモリに格納される入・出力デバイスのON/OFF情報に基づいてユーザ画面を表示制御するHMI機器としての表示器と、入・出力デバイスをラダープログラムの実行によりシーケンス制御するPLCと、を備えた制御システムにおいて、PLCのプログラムレス化方法であって、
表示器側に、ラダー回路単位の情報およびこのラダー回路単位を構成する入・出力接点に対して各制御対象ごとに対応したパラメータを付けたパラメータテーブル情報を具備するステップと、上記両情報を表示器側からPLC側に転送するステップとを含み、
PLC側では、表示器から転送された上記ラダー回路単位情報およびパラメータテーブル情報に基づき、複数の制御対象を、同一のラダー回路単位に対して上記パラメータテーブル情報からの制御対象ごとのパラメータを適用することにより生成されるラダープログラムに基づき、制御するステップを含むことを特徴とする、PLCのプログラムレス化方法。
According to the display control program, a display as an HMI device that controls the display of the user screen based on the ON / OFF information of the input / output device stored in the PLC data memory, and the input / output device are sequenced by executing the ladder program In a control system comprising a PLC to be controlled, a PLC programless method,
On the display side, the step of providing parameter table information with information corresponding to each control object for the ladder circuit unit information and the input / output contacts constituting this ladder circuit unit, and displaying both the above information Transferring from the device side to the PLC side,
On the PLC side, based on the ladder circuit unit information and parameter table information transferred from the display unit, a plurality of control objects are applied to the same ladder circuit unit, and the parameters for each control object from the parameter table information are applied. A program-less method for a PLC, comprising a step of controlling based on a ladder program generated by the program.
表示制御プログラムに従い、PLCのデータメモリに格納される入・出力デバイスのON/OFF情報に基づいてユーザ画面を表示制御するHMI機器としての表示器と、入・出力デバイスをラダープログラムの実行によりシーケンス制御するPLCと、を備えた制御システムであって、表示器側は、ラダー回路単位の情報およびこのラダー回路単位を構成する入・出力接点に対して各制御対象ごとに対応したパラメータを付けたパラメータテーブル情報を具備し、また、PLC側は、表示器から転送された上記ラダー回路単位情報およびパラメータテーブル情報を具備し、かつ、複数の制御対象を、同一のラダー回路単位に対して上記パラメータテーブル情報からの制御対象ごとのパラメータを適用することにより生成されるラダープログラムに基づき、制御するようになっていることを特徴とする制御システム。   According to the display control program, a display as an HMI device that controls the display of the user screen based on the ON / OFF information of the input / output device stored in the PLC data memory, and the input / output device are sequenced by executing the ladder program A control system including a PLC to be controlled, and the display side attaches parameters corresponding to each control object to information on a ladder circuit unit and input / output contacts constituting the ladder circuit unit. The parameter table information is included, and the PLC side includes the ladder circuit unit information and parameter table information transferred from the display unit, and a plurality of control targets are assigned to the same ladder circuit unit. Ladder program generated by applying parameters for each control target from table information Control system, characterized in that on the basis of the arm, so as to control.
JP2009267630A 2009-11-25 2009-11-25 Control system Active JP5511331B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009267630A JP5511331B2 (en) 2009-11-25 2009-11-25 Control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009267630A JP5511331B2 (en) 2009-11-25 2009-11-25 Control system

Publications (2)

Publication Number Publication Date
JP2011113199A true JP2011113199A (en) 2011-06-09
JP5511331B2 JP5511331B2 (en) 2014-06-04

Family

ID=44235502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009267630A Active JP5511331B2 (en) 2009-11-25 2009-11-25 Control system

Country Status (1)

Country Link
JP (1) JP5511331B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105070163A (en) * 2015-09-06 2015-11-18 黄山学院 Experiment device for virtual object cascade control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1020907A (en) * 1996-06-28 1998-01-23 Nissan Motor Co Ltd Sequence control method and sequence controller
JP2004252920A (en) * 2003-02-18 2004-09-09 Keyence Corp Display setting program for programmable logic controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1020907A (en) * 1996-06-28 1998-01-23 Nissan Motor Co Ltd Sequence control method and sequence controller
JP2004252920A (en) * 2003-02-18 2004-09-09 Keyence Corp Display setting program for programmable logic controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105070163A (en) * 2015-09-06 2015-11-18 黄山学院 Experiment device for virtual object cascade control system

Also Published As

Publication number Publication date
JP5511331B2 (en) 2014-06-04

Similar Documents

Publication Publication Date Title
JP5421425B2 (en) Remote control system for injection molding machine
US20140306643A1 (en) Motion controller and motor control system
TWI681272B (en) Monitoring image generating device, generating program and generating method
JP5785501B2 (en) Ladder program creation device
EP3432098B1 (en) Relay device, control method for relay device, control program, and recording medium
JP2014146070A (en) Control device, control method, and program
JP5295061B2 (en) Programmable controller
WO2021065032A1 (en) Control system, support device, and support program
US11165745B2 (en) Control system, controller, and control method
EP2221680A3 (en) Configurable multivariable control system
JP5511331B2 (en) Control system
JP2010079354A (en) Distributed plc system
KR101869233B1 (en) Operating method of process management system for distributed programmable logic controllers adopting internet-of-things configuration
JP2011108008A (en) Hmi-screen automatic generation method
JP2010079355A (en) Cooperative control system between a plurality of plcs
JP2011062798A (en) Robot control device and robot control method
JP4934288B2 (en) Control system and personal computer
JP2016212802A (en) Screen information generation device
JP2006318362A (en) Test method of display device
TW201701090A (en) Production line system including a display having a priority among multiple devices to display errors
JP2006301729A (en) Picture preparation method and picture preparation device
JP2019045900A (en) Setting device, FA system, control program, and control method of setting device
JP2007065910A (en) Screen preparation device, and screen preparation program, and record medium recording its program
KR20180078679A (en) Manufacturing process management system
JP4478884B2 (en) Programmable display maintenance method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131001

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131129

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: 20140318

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140325

R150 Certificate of patent or registration of utility model

Ref document number: 5511331

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250