JP4562141B2 - Programmable logic controller, information processing apparatus, control program, and table creation program - Google Patents

Programmable logic controller, information processing apparatus, control program, and table creation program Download PDF

Info

Publication number
JP4562141B2
JP4562141B2 JP2006029033A JP2006029033A JP4562141B2 JP 4562141 B2 JP4562141 B2 JP 4562141B2 JP 2006029033 A JP2006029033 A JP 2006029033A JP 2006029033 A JP2006029033 A JP 2006029033A JP 4562141 B2 JP4562141 B2 JP 4562141B2
Authority
JP
Japan
Prior art keywords
display
program
reference table
setting
switch
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
JP2006029033A
Other languages
Japanese (ja)
Other versions
JP2007207196A (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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP2006029033A priority Critical patent/JP4562141B2/en
Publication of JP2007207196A publication Critical patent/JP2007207196A/en
Application granted granted Critical
Publication of JP4562141B2 publication Critical patent/JP4562141B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Description

本発明は、プログラマブルロジックコントローラ、情報処理装置、制御プログラム、およびテーブル作成プログラムに係り、例えば、画面配列が任意に設定可能なプログラマブル表示器を用いた制御に関する。   The present invention relates to a programmable logic controller, an information processing device, a control program, and a table creation program. For example, the present invention relates to control using a programmable display whose screen arrangement can be arbitrarily set.

生産設備等を制御するFA(ファクトリーオートメーション)用の制御装置として、プログラマブルロジックコントローラ(以下、PLCとする)が広い分野で用いられている。
PLCは、センサや機械スイッチなどの入力機器から入力信号を取り込み、予めプログラムされた条件に基づいてソレノイドバルブやモータなどの出力機器を自由に制御する装置である。
PLCは、専用のラダープログラム言語により記述されたソースプログラム(以下、ラダープログラムとする)を直接実行するように構成されている。
2. Description of the Related Art Programmable logic controllers (hereinafter referred to as PLCs) are used in a wide range of fields as FA (factory automation) control devices that control production facilities and the like.
The PLC is a device that takes in an input signal from an input device such as a sensor or a mechanical switch, and freely controls an output device such as a solenoid valve or a motor based on preprogrammed conditions.
The PLC is configured to directly execute a source program (hereinafter referred to as a ladder program) written in a dedicated ladder program language.

近年、このようなPLCの入出力機器として、画面表示された情報を見ながら同一画面上で機械などを制御することができるマン・マシン・インターフェース機能を有するプログラマブル表示器が多用されている。
プログラマブル表示器は、画面配列や動作を、設定により自由に変えることができる表示装置であり、代表的なものにタッチパネルディスプレイなどがある。
PLCに接続されて用いられるプログラマブル表示器の動作制御もまた、ラダープログラムを実行することにより行われている。
In recent years, a programmable display having a man-machine interface function capable of controlling a machine or the like on the same screen while viewing information displayed on the screen has been widely used as such a PLC input / output device.
The programmable display device is a display device that can freely change the screen arrangement and operation by setting, and a typical one includes a touch panel display.
The operation control of the programmable display device used by being connected to the PLC is also performed by executing a ladder program.

ラダープログラムは、シーケンス図を基準にしており、その内容は、シンボル(記号)表示により表現される命令語と、デバイス情報と、を組み合わせることによって記述されている。
このように、ラダープログラムは、専用の記号を用いて記述される言語であるため、プログラムの作成には専門的な知識が必要であり、また、手間の係る作業を要する。
そこで、従来、ラダープログラムの作成を支援し、作業者の負担を軽減するための技術が下記の特許文献に提案されている。
特開平10−161713号公報
The ladder program is based on a sequence diagram, and the contents thereof are described by combining instruction words expressed by symbol (symbol) display and device information.
As described above, since the ladder program is a language described using dedicated symbols, the creation of the program requires specialized knowledge and requires time-consuming work.
Therefore, conventionally, techniques for supporting the creation of ladder programs and reducing the burden on workers have been proposed in the following patent documents.
JP-A-10-161713

特許文献1には、制御対象(出力装置)を制御(駆動)する条件の定義付けを、要素とその要素の状態条件とを示した条件表を作成することによって行い、作成された条件表に基づいてラダーシーケンスプログラムを生成する技術が提案されている。   In Patent Document 1, a condition for controlling (driving) a controlled object (output device) is defined by creating a condition table indicating elements and state conditions of the elements. A technique for generating a ladder sequence program based on this has been proposed.

PLCに接続されるプログラマブル表示器に表示されるオブジェクトの設定内容等に変更が生じた場合には、その都度、上述したような作成ツールを用いてラダープログラムを再作成しなければならない。そのため、変更内容がPLCに反映されるまでに時間が掛かってしまっていた。   When there is a change in the setting contents of the object displayed on the programmable display connected to the PLC, the ladder program must be recreated using the creation tool as described above. For this reason, it takes time for the contents of the change to be reflected in the PLC.

そこで本発明は、プログラマブル表示器に表示されるオブジェクトの設定内容の変更を容易に反映させることができるプログラマブルロジックコントローラ、制御プログラムを提供することを第1の目的とする。
また、プログラマブル表示器の設定内容の変更を容易にPLCに反映させるための参照テーブルを生成することができる情報処理装置およびテーブル作成プログラムを提供することを第2の目的とする。
Therefore, a first object of the present invention is to provide a programmable logic controller and a control program that can easily reflect changes in the setting contents of an object displayed on a programmable display.
It is a second object of the present invention to provide an information processing apparatus and a table creation program capable of generating a reference table for easily reflecting a change in setting contents of a programmable display on a PLC.

請求項1記載の発明では、接続される機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行い、画面配列が任意に設定可能なプログラマブル表示器が接続されるプログラマブルロジックコントローラであって、前記プログラマブル表示器に表示されるオブジェクトと、該オブジェクトに割り当てられる動作処理およびこの動作処理の実行を可能にする動作条件とが対応付けられた参照テーブルを取得する参照テーブル取得手段と、オブジェクトを特定するオブジェクト特定手段と、前記オブジェクト特定手段により特定されたオブジェクトに対応する動作処理を前記参照テーブルに基づいて特定する動作処理特定手段と、前記動作処理特定手段により特定された動作処理が、処理の実行を可能にする動作条件を満たしているか否かを前記参照テーブルに基づいて判断し、前記動作条件を満たしている場合に該動作処理を指示する指示手段と、前記参照テーブルを変更する変更手段と、を備えることにより前記第1の目的を達成する。
請求項2記載の発明では、請求項1記載のプログラマブルロジックコントローラにおいて、前記プログラマブル表示器に表示されるオブジェクトは、スイッチボタンであり、前記参照テーブル取得手段は、スイッチボタンとこのスイッチボタンに割り当てられる動作処理および前記動作処理の実行を可能にする可能条件とが対応付けられた参照テーブルを取得し、前記オブジェクト特定手段は、スイッチボタンを特定し、前記動作処理特定手段は、特定されたスイッチボタンに対応する動作処理を前記参照テーブルに基づいて特定することを特徴とする。
請求項3記載の発明では、請求項2記載のプログラマブルロジックコントローラにおいて、前記参照テーブル取得手段は、スイッチボタンとランプの表示処理動作とが対応付けられた参照テーブルを取得し、前記動作処理特定手段は、スイッチボタンに対応するランプの表示処理動作を前記参照テーブルに基づいて特定し、前記指示手段は、前記動作処理特定手段により特定された表示処理動作を前記プログラマブル表示器に指示することを特徴とする。
請求項4記載の発明では、請求項2または請求項3記載のプログラマブルロジックコントローラにおいて、前記プログラマブル表示器において操作されたスイッチボタンを検出する検出手段を備え、前記オブジェクト特定手段は、前記検出手段により検出されたスイッチボタンを特定することを特徴とする。
請求項5記載の発明では、接続される機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行い、画面配列が任意に設定可能なプログラマブル表示器が接続されるプログラマブルロジックコントローラにおける制御動作時に用いられるデータテーブルを生成する情報処理装置であって、前記プログラマブル表示器に表示されるオブジェクトの情報を取得するオブジェクト情報取得手段と、前記オブジェクト情報取得手段により取得されたオブジェクトに割り付ける動作処理、および、この動作処理の実行を可能にする動作条件を設定する入力画面を表示する入力画面表示手段と、前記入力画面表示手段により表示された入力画面から入力された動作処理および動作条件の設定を受け付ける設定受付手段と、前記設定受付手段により受け付けられた動作処理および動作条件が、オブジェクトに対応付けられた参照テーブルを生成する生成手段と、を備えることにより前記第2の目的を達成する。
請求項6記載の発明では、接続される機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行い、画面配列が任意に設定可能なプログラマブル表示器が接続されるプログラマブルロジックコントローラに、前記プログラマブル表示器に表示されるオブジェクトと、該オブジェクトに割り当てられる動作処理およびこの動作処理の実行を可能にする動作条件とが対応付けられた参照テーブルを取得する参照テーブル取得機能と、オブジェクトを特定するオブジェクト特定機能と、前記オブジェクト特定機能により特定されたオブジェクトに対応する動作処理を前記参照テーブルに基づいて特定する動作処理特定機能と、前記動作処理特定機能により特定された動作処理が、処理の実行を可能にする動作条件を満たしているか否かを前記参照テーブルに基づいて判断し、前記動作条件を満たしている場合に該動作処理を指示する指示機能と、前記参照テーブルを変更する変更機能と、を実現させることにより前記第1の目的を達成する。
請求項7記載の発明では、接続される機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行い、画面配列が任意に設定可能なプログラマブル表示器が接続されるプログラマブルロジックコントローラにおける制御動作時に用いられるデータテーブルを生成する情報処理装置に、前記プログラマブル表示器に表示されるオブジェクトの情報を取得するオブジェクト情報取得機能と、前記オブジェクト情報取得機能により取得されたオブジェクトに割り付ける動作処理、および、この動作処理の実行を可能にする動作条件を設定する入力画面を表示する入力画面表示機能と、前記入力画面表示機能により表示された入力画面から入力された動作処理および動作条件の設定を受け付ける設定受付機能と、前記設定受付機能により受け付けられた動作処理および動作条件が、オブジェクトに対応付けられた参照テーブルを生成する生成機能と、を実現させることにより前記第2の目的を達成する。
In the first aspect of the invention, there is provided a programmable display capable of performing sequence control by sequentially executing a program indicating control contents based on a signal input from a connected device and arbitrarily setting a screen arrangement. A programmable logic controller to be connected, which obtains a reference table in which an object displayed on the programmable display is associated with an operation process assigned to the object and an operation condition that enables execution of the operation process A reference table obtaining unit, an object specifying unit for specifying an object, an operation process specifying unit for specifying an operation process corresponding to the object specified by the object specifying unit based on the reference table, and the operation process specifying unit The action process specified by Whether to satisfy the operating conditions that permit the line is determined based on the reference table, and instructing means for instructing said operating process if you meet the operating conditions, changing means for changing the reference table And achieving the first object.
According to a second aspect of the present invention, in the programmable logic controller according to the first aspect, the object displayed on the programmable display is a switch button, and the reference table acquisition means is assigned to the switch button and the switch button. A reference table in which an action process and a possible condition enabling the execution of the action process are associated is acquired, the object specifying means specifies a switch button, and the action process specifying means is the specified switch button The operation process corresponding to is specified based on the reference table.
According to a third aspect of the present invention, in the programmable logic controller according to the second aspect, the reference table acquisition unit acquires a reference table in which a switch button and a lamp display processing operation are associated with each other, and the operation processing specifying unit Specifies the display processing operation of the lamp corresponding to the switch button based on the reference table, and the instruction means instructs the programmable display device the display processing operation specified by the operation processing specifying means. And
According to a fourth aspect of the invention, in the programmable logic controller according to the second or third aspect of the present invention, the programmable logic controller further comprises a detecting unit that detects a switch button operated in the programmable display, and the object specifying unit is controlled by the detecting unit. The detected switch button is specified.
In the invention according to claim 5, there is provided a programmable display capable of performing sequence control by sequentially executing a program indicating control contents based on a signal input from a connected device and arbitrarily setting a screen arrangement. An information processing apparatus for generating a data table used at the time of a control operation in a connected programmable logic controller, comprising: object information acquisition means for acquiring object information displayed on the programmable display; and the object information acquisition means Input from the input screen displayed by the input screen displaying means and the input screen displaying the input screen for setting the operation processing to be assigned to the acquired object and the operation conditions enabling the execution of the operation processing. Accepting the setting of operation processing and operating conditions Setting a reception unit that, was operational processing and operating conditions accepted by the setting acceptance unit, to achieve the second object by providing a generating means for generating a reference table associated with the object, the.
In the invention according to claim 6, there is provided a programmable display device capable of performing sequence control by sequentially executing a program indicating control contents based on a signal input from a connected device and arbitrarily setting a screen arrangement. Reference for acquiring a reference table in which an object displayed on the programmable display, an operation process assigned to the object, and an operation condition that enables execution of the operation process are associated with the connected programmable logic controller A table acquisition function, an object specifying function for specifying an object, an operation processing specifying function for specifying an operation process corresponding to the object specified by the object specifying function based on the reference table, and an operation processing specifying function Action processing that has been An instruction function for whether to satisfy the operating conditions on the ability to determine on the basis of the reference table, and instructs the said operating process if you meet the operating conditions, the changing function of changing the reference table, By realizing the above, the first object is achieved.
In the invention according to claim 7, there is provided a programmable display capable of performing sequence control by sequentially executing a program indicating control contents based on a signal input from a connected device and arbitrarily setting a screen arrangement. An information processing device that generates a data table used during a control operation in a connected programmable logic controller is acquired by an object information acquisition function for acquiring object information displayed on the programmable display and the object information acquisition function. An input screen display function for displaying an input screen for setting an operation process to be assigned to the object, an operation condition for enabling the execution of the operation process, and an operation input from the input screen displayed by the input screen display function Settings to accept processing and operating condition settings And receiving function, the setting acceptance operation processing and operating conditions received by function, to achieve the second object by realizing a generation function of generating a lookup table associated with the object.

請求項1記載の発明によれば、特定されたオブジェクトに対応する動作処理の特定、および特定された動作処理の実行が可能か否かの判断を参照テーブルに基づいて行うことにより、参照テーブルを書き換えるだけで、容易にプログラマブル表示器に表示されるオブジェクトに定義付けられる動作設定の変更を反映させることが可能なプログラマブルロジックコントローラを提供することができる。
請求項5記載の発明によれば、オブジェクトに割り付ける動作処理、および、この動作処理の実行を可能にする動作条件を設定する入力画面を表示し、この入力画面から入力された動作処理および動作条件に基づいて参照テーブル生成することにより、プログラマブル表示器の設定内容の変更をPLCに反映させるための参照テーブルを容易に生成することが可能な情報処理装置を提供することができる。
請求項6に記載の発明によれば、特定されたオブジェクトに対応する動作処理の特定、および特定された動作処理の実行が可能か否かの判断を参照テーブルに基づいて行うことにより、参照テーブルを書き換えるだけで、容易にプログラマブル表示器に表示されるオブジェクトに定義付けられる動作設定の変更を反映させることが可能な制御プログラムを提供することができる。
請求項7記載の発明によれば、オブジェクトに割り付ける動作処理、および、この動作処理の実行を可能にする動作条件を設定する入力画面を表示し、この入力画面から入力された動作処理および動作条件に基づいて参照テーブル生成することにより、プログラマブル表示器の設定内容の変更をPLCに反映させるための参照テーブルを容易に生成することが可能なテーブル作成プログラムを提供することができる。
According to the first aspect of the present invention, the reference table is obtained by determining the operation process corresponding to the specified object and determining whether or not the specified operation process can be executed based on the reference table. It is possible to provide a programmable logic controller that can easily reflect a change in operation setting defined in an object displayed on a programmable display simply by rewriting.
According to the fifth aspect of the present invention, the operation process assigned to the object, and the input screen for setting the operation condition enabling the execution of the operation process are displayed, and the operation process and the operation condition input from the input screen are displayed. By generating the reference table based on the information processing apparatus, it is possible to provide an information processing apparatus that can easily generate a reference table for reflecting changes in the setting contents of the programmable display device to the PLC.
According to the sixth aspect of the present invention, the reference table is determined based on the reference table by specifying the operation process corresponding to the specified object and determining whether or not the specified operation process can be executed. By simply rewriting, it is possible to provide a control program that can easily reflect changes in operation settings defined for objects displayed on a programmable display.
According to the seventh aspect of the present invention, the operation process assigned to the object and the input screen for setting the operation condition enabling the execution of the operation process are displayed, and the operation process and the operation condition input from the input screen are displayed. By generating the reference table based on the table, it is possible to provide a table creation program capable of easily generating a reference table for reflecting the change in the setting contents of the programmable display device to the PLC.

以下、本発明の好適な実施の形態について、図1〜図9を参照して詳細に説明する。
(1)実施形態の概要
本実施の形態では、特定の入力機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行うPLCおよびPLCに接続される機器で構成されるシーケンス制御システムについて説明する。
PLCには、センサや機械スイッチ等の入力機器、ソレノイドバルブやモータ等の出力機器、および入出力機器として機能するプログラマブル表示器が接続されている。
プログラマブル表示器は、画面配列や動作を、設定により自由に変えることができる表示装置である。
また、PLCには、PLCやプログラマブル表示器の制御動作を実行させるプログラムや各種データ等を作成するためのPCが接続されている。PCで作成されたプログラムやデータは、PLCに内蔵されている記憶装置に格納され、シーケンス制御の実行時に用いられる。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to FIGS.
(1) Outline of Embodiment In the present embodiment, a PLC that performs sequence control by sequentially executing a program indicating control content based on a signal input from a specific input device, and a device connected to the PLC A sequence control system constituted by:
Connected to the PLC are input devices such as sensors and mechanical switches, output devices such as solenoid valves and motors, and programmable displays that function as input / output devices.
The programmable display is a display device that can freely change the screen arrangement and operation by setting.
The PLC is connected to a PC for creating a program for executing a control operation of the PLC and the programmable display, various data, and the like. Programs and data created by the PC are stored in a storage device built in the PLC and used when executing sequence control.

PLCには、PLCのメイン制御を実行する制御動作プログラムの他、プログラマブル表示器の画面配列や動作等の設定を実行する表示設定プログラム、プログラマブル表示器に表示されるオブジェクト(スイッチ等)の動作条件等に割り付けられた変数(動作条件等の設定項目)を定義したスイッチ参照テーブルなどのデータが格納されている。
スイッチ参照テーブルには、表示変更プログラムの実行時に参照されるデータであり、プログラマブル表示器に表示されるオブジェクト(スイッチ等)に割り当てられる出力動作(出力機器の駆動やタスクの実行など)やこの出力動作の実行を許可する(可能にする)動作条件とが対応付けられている。
PLCは、例えば、プログラム表示器に表示されたスイッチ等のオブジェクトが操作された場合、該当するスイッチに割り当てられている出力動作をスイッチ参照テーブルに基づいて特定する。
そして、PLCは、特定された出力動作がスイッチ参照テーブルに定義されている動作条件を満たしているか否かを判断し、条件を満たしている場合に該当する出力動作を実行させる。
本実施の形態によれば、スイッチ参照テーブルにおける変数を変更するだけで、プログラマブル表示器に表示されるオブジェクトの操作に定義付けられている動作設定の変更が容易にできる。
The PLC includes a control operation program that executes the main control of the PLC, a display setting program that performs settings such as the screen arrangement and operation of the programmable display, and operating conditions of objects (switches, etc.) that are displayed on the programmable display. Data such as a switch reference table in which variables (setting items such as operating conditions) assigned to, etc. are defined is stored.
The switch reference table is data that is referred to when the display change program is executed. Output operations (such as driving of output devices and execution of tasks) assigned to objects (switches, etc.) displayed on the programmable display and their outputs. The operation conditions permitting (enabling) the execution of the operation are associated with each other.
For example, when an object such as a switch displayed on the program display is operated, the PLC specifies the output operation assigned to the corresponding switch based on the switch reference table.
Then, the PLC determines whether or not the specified output operation satisfies the operation condition defined in the switch reference table, and executes the corresponding output operation when the condition is satisfied.
According to the present embodiment, it is possible to easily change the operation setting defined for the operation of the object displayed on the programmable display only by changing the variable in the switch reference table.

(2)実施形態の詳細
図1は、本実施の形態に係るシーケンス制御システムの概略構成を示した図である。
図1に示されるように、シーケンス制御システムは、PLC(プルグラマブルロジックコントローラ)1、プログラマブル表示器2、入力機器31、出力機器32およびPC(パーソナルコンピュータ)4を備えている。
(2) Details of Embodiment FIG. 1 is a diagram showing a schematic configuration of a sequence control system according to the present embodiment.
As shown in FIG. 1, the sequence control system includes a PLC (programmable logic controller) 1, a programmable display 2, an input device 31, an output device 32, and a PC (personal computer) 4.

図2は、PLC1の構成および周辺機器の接続状態を示した図である。
図2に示されるように、PLC1は、記憶装置11、演算装置12、制御装置13、入出力I/F(インターフェース)14、入力回路15および出力回路16を備えている。
記憶装置11は、PLC1の制御に用いられるデータやプログラムを格納する装置であり、ROM(リードオンリメモリ)やRAM(ランダムアクセスメモリ)等のメモリ装置により構成されている。
記憶装置11には、制御動作プログラム111、表示設定プログラム112、表示変更プログラム113、通信プログラム114、スイッチ参照テーブル115、タスクプログラム116等のプログラムやデータが格納されている。
FIG. 2 is a diagram illustrating a configuration of the PLC 1 and a connection state of peripheral devices.
As shown in FIG. 2, the PLC 1 includes a storage device 11, an arithmetic device 12, a control device 13, an input / output I / F (interface) 14, an input circuit 15, and an output circuit 16.
The storage device 11 is a device for storing data and programs used for controlling the PLC 1, and is configured by a memory device such as a ROM (Read Only Memory) or a RAM (Random Access Memory).
The storage device 11 stores programs and data such as a control operation program 111, a display setting program 112, a display change program 113, a communication program 114, a switch reference table 115, and a task program 116.

制御動作プログラム111は、PLC1における制御動作を実行するためのプログラムである。
この制御動作プログラム111は、専用のラダープログラム言語により記述されたプログラムであり、シーケンス図をベースとした、シンボル(記号)表示により表現される命令語と、デバイス情報と、を組み合わせることによって記述されている。
表示設定プログラム112は、プログラマブル表示器2の画面配列や動作等の設定を実行するためのプログラムである。
なお、この表示設定プログラム112は、プログラマブル表示器2に内蔵されているメモリ装置に格納し、プログラマブル表示器2側で画面配列や動作等の設定を実行するようにしてもよい。
The control operation program 111 is a program for executing a control operation in the PLC 1.
This control operation program 111 is a program described in a dedicated ladder program language, and is described by combining a command word expressed by symbol (symbol) display based on a sequence diagram and device information. ing.
The display setting program 112 is a program for executing settings such as the screen layout and operation of the programmable display device 2.
Note that the display setting program 112 may be stored in a memory device built in the programmable display device 2, and settings such as screen layout and operation may be executed on the programmable display device 2 side.

表示変更プログラム113は、プログラマブル表示器2に表示されるスイッチやランプ等のオブジェクトの表示動作や、オブジェクトに対応付けられる処理動作の変更を実行、即ちこれらの変更をPLC1に反映させるためのプログラムである。
通信プログラム114は、PLC1に接続されるプログラマブル表示器2、入力機器31、出力機器32、PC4などの周辺装置とPLC1間のデータ(信号)の通信を制御するプログラムである。
The display change program 113 is a program for executing a display operation of an object such as a switch or a lamp displayed on the programmable display 2 and a change of a processing operation associated with the object, that is, reflecting these changes to the PLC 1. is there.
The communication program 114 is a program that controls data (signal) communication between the PLC 1 and peripheral devices such as the programmable display 2, the input device 31, the output device 32, and the PC 4 connected to the PLC 1.

スイッチ参照テーブル115は、表示変更プログラム113の実行時に参照するデータであり、プログラマブル表示器2に表示されるオブジェクト(スイッチ等)に割り当てられた(割り付けられた)変数にアクセスする際に用いられる。
このスイッチ参照テーブル115には、プログラム表示器2に表示されるオブジェクトと、オブジェクトに割り当てられる出力動作処理およびこの出力動作処理の実行を可能にする動作条件との対応関係が表されている。
スイッチ参照テーブル115は、PC4において、専用のプログラムを用いて作成(生成)されたデータテーブルであり、このスイッチ参照テーブル115の内容を変更することにより、プログラマブル表示器2に表示されるスイッチやランプ等のオブジェクトの表示動作や、オブジェクトに対応付けられる処理動作の変更を定義することができる。
The switch reference table 115 is data referred to when the display change program 113 is executed, and is used when accessing a variable assigned (assigned) to an object (switch or the like) displayed on the programmable display 2.
The switch reference table 115 shows the correspondence between the object displayed on the program display 2, the output operation process assigned to the object, and the operation condition that enables the output operation process to be executed.
The switch reference table 115 is a data table created (generated) in the PC 4 using a dedicated program. By changing the contents of the switch reference table 115, switches and lamps displayed on the programmable display 2 are displayed. It is possible to define a display operation of an object such as a change in processing operation associated with the object.

タスクプログラム116は、予め定義されている特定のシーケンス制御動作(タスク)を実行するためのプログラムである。
このタスクプログラム116は、タスクごとに識別子(格納部を示すアドレスなど)が付されており、制御動作プログラム111の実行中にタスクが指定された場合に、該当するタスクを実行するタスクプログラム116を読み出し、実行するように構成されている。
The task program 116 is a program for executing a specific sequence control operation (task) defined in advance.
This task program 116 is assigned an identifier (such as an address indicating a storage unit) for each task. When a task is specified during the execution of the control operation program 111, the task program 116 that executes the corresponding task is displayed. It is configured to read and execute.

演算装置12は、PLC1の中心となって処理を行う装置であり、マイクロコンピュータ等のCPU(中央演算処理装置)により構成されている。
演算装置12では、記憶装置11に格納されている制御動作プログラム111、表示設定プログラム112、表示変更プログラム113、通信プログラム114、タスクプログラム116等のプログラムを実行することにより、内部装置および周辺装置を制御してデータを受け取り、そのデータを演算・加工し、記憶装置11内のRAMに記憶したり、結果を出力したり等の一連の動作を実行する。
また、演算装置12は、内部に数をカウントするレジスタ、即ちカウンタを備えている。なお、レジスタは、データを一時的に保存しておくために用いられる小容量で高速なメモリで構成されている。
制御装置13は、演算装置12と共にPLC1における制御を実行する装置である。
The arithmetic device 12 is a device that performs processing at the center of the PLC 1, and includes a CPU (Central Processing Unit) such as a microcomputer.
The arithmetic device 12 executes programs such as a control operation program 111, a display setting program 112, a display change program 113, a communication program 114, and a task program 116 stored in the storage device 11, thereby enabling internal devices and peripheral devices to be executed. The control unit receives data, calculates and processes the data, stores the data in the RAM in the storage device 11, and outputs a result.
The arithmetic unit 12 includes a register for counting the number, that is, a counter. The register is constituted by a small-capacity and high-speed memory used for temporarily storing data.
The control device 13 is a device that executes control in the PLC 1 together with the arithmetic device 12.

入出力I/F14は、PLC1とPC4間のデータ(信号)の通信を行うためのインターフェースである。PLC1とPC4間のデータ通信は、USB(ユニバーサルシリアルバス)ケーブル等のケーブル通信や赤外線通信等を用いて行うことができる。
入力回路15は、装置や操作盤に設置した様々なセンサや機械スイッチ等の入力機器31から出力される出力信号、またプログラマブル表示器2を介して入力される操作信号など、PLC1の外部装置(周辺装置)からの入力信号を取り込む回路装置である。
The input / output I / F 14 is an interface for performing data (signal) communication between the PLC 1 and the PC 4. Data communication between the PLC 1 and the PC 4 can be performed using cable communication such as a USB (Universal Serial Bus) cable, infrared communication, or the like.
The input circuit 15 is an external device of the PLC 1 such as an output signal output from an input device 31 such as various sensors or mechanical switches installed on the device or the operation panel, or an operation signal input via the programmable display 2 ( This is a circuit device that captures an input signal from a peripheral device.

出力回路16は、演算装置12において実行された、制御動作プログラム111、表示設定プログラム112、表示変更プログラム113、タスクプログラム116等の結果に基づいて出力機器32やプログラマブル表示器2へ制御信号を出力する回路装置である。
このように構成されるPLC1は、入力機器31やプログラム表示器2から入力される信号に基づいて、制御動作プログラム111、表示設定プログラム112、表示変更プログラム113等の制御内容を示したプログラムを逐次実行することによりシーケンス制御を行う。
The output circuit 16 outputs a control signal to the output device 32 and the programmable display 2 based on the results of the control operation program 111, the display setting program 112, the display change program 113, the task program 116, and the like executed in the arithmetic unit 12. Circuit device.
The PLC 1 configured as described above sequentially executes programs indicating control contents such as the control operation program 111, the display setting program 112, and the display change program 113 based on signals input from the input device 31 and the program display 2. Perform sequence control by executing.

図3は、PC4の構成および周辺機器の接続状態を示した図である。
図3に示されるように、PC4は、記憶装置41、演算装置42、入力装置43、出力装置44、制御装置45、入出力I/F46を備えた情報処理装置から構成される。
記憶装置41は、PC4の制御に用いられるデータやプログラムを格納する装置であり、ROMやRAM、ハードディスク等のメモリ装置により構成されている。
記憶装置41には、PC4のシステム管理や基本的な操作環境を提供するOS(オペレーションシステム)を実行するプログラムの他、設定パラメータ411、ラダー作成プログラム412、ラダー変更プログラム413、表示画面設定プログラム414、データ変換プログラム415、通信プログラム416等のプログラムやデータが格納されている。
FIG. 3 is a diagram showing the configuration of the PC 4 and the connection state of peripheral devices.
As shown in FIG. 3, the PC 4 includes an information processing apparatus including a storage device 41, a calculation device 42, an input device 43, an output device 44, a control device 45, and an input / output I / F 46.
The storage device 41 is a device that stores data and programs used for control of the PC 4, and includes a memory device such as a ROM, a RAM, and a hard disk.
In the storage device 41, in addition to a program for executing system management of the PC 4 and an OS (operation system) that provides a basic operating environment, a setting parameter 411, a ladder creation program 412, a ladder change program 413, a display screen setting program 414 In addition, programs and data such as a data conversion program 415 and a communication program 416 are stored.

設定パラメータ411は、PC4で実行される処理に与える種々のデータであり、特定の機能を用いる際に必要となるデータ、命令の機能、オプション指定を行わせるためのデータである。
ラダー作成プログラム412は、PLC1における制御動作を実行するための制御動作プログラム111を作成するためのプログラムである。
ラダー変更プログラム413は、ラダー作成プログラム412により作成された制御動作プログラム111の内容を変更するプログラムである。
The setting parameter 411 is various data given to processing executed by the PC 4, and is data required to specify data, command functions, and options specified when using a specific function.
The ladder creation program 412 is a program for creating the control operation program 111 for executing the control operation in the PLC 1.
The ladder change program 413 is a program that changes the contents of the control operation program 111 created by the ladder creation program 412.

表示画面設定プログラム414は、表示設定プログラム112やプログラマブル表示器2に表示するスイッチやランプ等のオブジェクトの作成(設定)やオブジェクトの画面配列の設定を行うプログラムを作成するプログラムである。
また、表示画面設定プログラム414は、表示変更プログラム113を作成するプログラムとしての機能を有している。
データ変換プログラム415は、PC4の操作者が入力した設定条件に基づいて変換処理を行い、PLC1において表示変更プログラム113を実行する際に用いられるスイッチ参照テーブル115を作成(生成)するプログラムである。
通信プログラム416は、PC4に接続されるPLC1などの周辺装置とPC4間のデータ(信号)の通信を制御するプログラムである。
The display screen setting program 414 is a program for creating a program for creating (setting) objects such as switches and lamps displayed on the display setting program 112 and the programmable display 2 and setting the screen arrangement of the objects.
The display screen setting program 414 has a function as a program for creating the display change program 113.
The data conversion program 415 is a program that performs conversion processing based on setting conditions input by the operator of the PC 4 and creates (generates) a switch reference table 115 that is used when the display change program 113 is executed in the PLC 1.
The communication program 416 is a program for controlling communication of data (signals) between a peripheral device such as the PLC 1 connected to the PC 4 and the PC 4.

演算装置42は、PC4の中心となって処理を行う装置であり、CPU(中央演算処理装置)により構成されている。
演算装置42では、記憶装置41に格納されているOSプログラム、設定パラメータ411、ラダー作成プログラム412、ラダー変更プログラム413、表示画面設定プログラム414、データ変換プログラム415、通信プログラム416等のプログラムのプログラムを実行することにより、内部装置および周辺装置を制御してデータを受け取り、そのデータを演算・加工し、記憶装置41内のRAMに記憶したり、結果を出力したり等の一連の動作を実行する。
The arithmetic device 42 is a device that performs processing at the center of the PC 4, and is configured by a CPU (Central Processing Unit).
In the computing device 42, the OS program, setting parameter 411, ladder creation program 412, ladder change program 413, display screen setting program 414, data conversion program 415, communication program 416, etc. stored in the storage device 41 are stored. By executing this, the internal device and peripheral devices are controlled to receive data, and the data is calculated and processed, stored in the RAM in the storage device 41, and a result is output. .

入力装置43は、PC4へコマンドやデータを入力する装置であり、キーボードやマウス、デジタル・カメラ、スキャナ、タブレット、ジョイスティック、ビデオ入力装置、音声入力装置、バーコード・リーダ等により構成されている。
データをPC4の外部から取り込む(入力する)ことも可能であり、この場合には、データが記憶された記憶媒体を読み込むための読み取り装置が入力装置43として機能する。また、データをインターネットなどのネットワークを介してPC4に取り込む(入力する)ことも可能である。
The input device 43 is a device for inputting commands and data to the PC 4 and includes a keyboard, a mouse, a digital camera, a scanner, a tablet, a joystick, a video input device, a voice input device, a barcode reader, and the like.
It is also possible to take in (input) data from the outside of the PC 4, and in this case, a reading device for reading a storage medium storing the data functions as the input device 43. It is also possible to import (input) data into the PC 4 via a network such as the Internet.

出力装置44は、PC4の処理した結果を外部出力する装置であり、処理結果を人間が認識できる文字や数字、画像などにして出力するディスプレイやプリンタ、またプロッタや音声出力装置などにより構成されている。
本実施の形態では、出力装置44として、ディスプレイが用いられており、このディスプレイの表示画面上に、ラダー作成プログラム412、ラダー変更プログラム413、表示画面設定プログラム414等を実行した際の入力画面が表示される。
PC4の操作者は、ディスプレイに表示された内容に基づいてパラメータ等のデータの入力を行う。
制御装置45は、演算装置42と共にPC4における制御を実行する装置である。
入出力I/F46は、PLC1とPC4間のデータ(信号)の通信を行うためのインターフェースである。PLC1とPC4間のデータ通信は、USB(ユニバーサルシリアルバス)ケーブル等のケーブル通信や赤外線通信等を用いて行うことができる。
The output device 44 is a device that outputs the processing result of the PC 4 to the outside, and is configured by a display, a printer, a plotter, a voice output device, or the like that outputs the processing result as characters, numbers, images, etc. that can be recognized by humans. Yes.
In this embodiment, a display is used as the output device 44, and an input screen when the ladder creation program 412, the ladder change program 413, the display screen setting program 414, etc. are executed on the display screen of this display. Is displayed.
The operator of the PC 4 inputs data such as parameters based on the contents displayed on the display.
The control device 45 is a device that executes control in the PC 4 together with the arithmetic device 42.
The input / output I / F 46 is an interface for performing data (signal) communication between the PLC 1 and the PC 4. Data communication between the PLC 1 and the PC 4 can be performed using cable communication such as a USB (Universal Serial Bus) cable, infrared communication, or the like.

図1の説明に戻り、PLC1に接続されたプログラマブル表示器2は、マン・マシン・インターフェース機能を有し、上述したPLC1の入出力機器として機能する。
プログラマブル表示器2は、表示設定プログラム112で設定された画面を表示するディスプレイであり、本実施の形態では、タッチパネル式の表示装置(以下、タッチパネルとする)が用いられている。
タッチパネルは、感圧式や静電式のパネルを備えることにより、例えば、メニュー項目などが表示されている画面を指で直接触れることでポインティング(選択)を可能とするスクリーン画面を備えた装置である。
なお、プログラマブル表示器2は、タッチパネルの機能を備えていない液晶ディスプレイやCRT(ブラウン管)ディスプレイ等で構成するようにしてもよい。なお、この場合は、表示されるメニュー項目等のスイッチを選択するために、画面上のカーソル(ポインタ)を操作するためのキーボードやマウス等の入力装置を備えておく。
Returning to the description of FIG. 1, the programmable display 2 connected to the PLC 1 has a man-machine interface function and functions as an input / output device of the PLC 1 described above.
The programmable display device 2 is a display that displays a screen set by the display setting program 112. In the present embodiment, a touch panel display device (hereinafter referred to as a touch panel) is used.
A touch panel is a device having a screen screen that enables pointing (selection) by directly touching a screen on which menu items or the like are displayed with a finger, for example, by including a pressure-sensitive or electrostatic panel. .
The programmable display device 2 may be configured by a liquid crystal display or a CRT (CRT) display that does not have a touch panel function. In this case, an input device such as a keyboard and a mouse for operating a cursor (pointer) on the screen is provided to select a switch such as a menu item to be displayed.

図4は、プログラマブル表示器2に表示される表示画面の一例を示した図である。
プログラマブル表示器2は、PLC1またはプログラマブル表示器2に格納されている、画面配列や動作等の設定を実行する表示設定プログラム112を起動することにより、設定された画面がディスプレイ上に表示される。
図4に示されるように、ディスプレイ上には、例えば、PLC1により制御されている製造工程の状況を示す工程図、各燃料の残量を示すインジケータ、押下(選択)することにより燃料の補給やアームの位置調整(アームの移動)等の処理動作の指示(入力)を行うことが可能な複数のスイッチ(スイッチボタン)21、スイッチ21のそれぞれの操作状態を示すランプ22などが表示される。
FIG. 4 is a diagram illustrating an example of a display screen displayed on the programmable display device 2.
The programmable display device 2 displays the set screen on the display by activating the display setting program 112 that is stored in the PLC 1 or the programmable display device 2 and executes settings such as screen arrangement and operation.
As shown in FIG. 4, on the display, for example, a process chart showing the status of the manufacturing process controlled by the PLC 1, an indicator showing the remaining amount of each fuel, fuel supply by pressing (selecting), A plurality of switches (switch buttons) 21 capable of instructing (inputting) processing operations such as arm position adjustment (arm movement) and the like, a lamp 22 indicating the operation state of each switch 21 and the like are displayed.

例えば、「A燃料補給」の処理動作が割り付けられているスイッチ21を操作者が押下(選択)した場合には、図4に示されるように、対応するランプ22が点灯するように構成されている。
点灯するランプ22の色や表示形態(点灯時の輝度や点滅速度など)は、表示設定プログラム112により予め設定されているが、PLC1において表示変更プログラム113が起動されている場合は、表示変更プログラム113において定義された内容、即ち、スイッチ参照テーブル115に示されている設定条件(指示内容)が優先して反映されるように構成されている。
For example, when the operator depresses (selects) the switch 21 to which the processing operation “A fuel supply” is assigned, as shown in FIG. 4, the corresponding lamp 22 is turned on. Yes.
The color of the lamp 22 to be lit and the display form (luminance at the time of lighting, blinking speed, etc.) are set in advance by the display setting program 112, but if the display change program 113 is activated in the PLC 1, the display change program The contents defined in 113, that is, the setting conditions (instruction contents) shown in the switch reference table 115 are reflected with priority.

次に、プログラマブル表示器2に表示されるオブジェクトの表示動作や処理動作の変更を定義する際に用いられるスイッチ参照テーブル115の作成方法について説明する。
なお、本実施の形態では、スイッチ参照テーブル115は、PC4において作成(生成)されたデータがPLC1に送信されるように構成されているため、ここでは、PC4におけるスイッチ参照テーブル115の作成方法について説明する。
PC4において表示画面設定プログラム414を起動し、プログラマブル表示器2に表示されるオブジェクト(スイッチ等)の動作条件の変更を行う変更設定メニューを選択する。
PC4は、例えば、プログラマブル表示器2の画面配列を設定する表示設定プログラム112を読み出し、このプログラムで定義されているオブジェクト(スイッチ21やランプ22等)の情報を取得する。
そしてPC4は、取得した情報に基づいて、オブジェクトごとに割り付けられている動作条件の設定画面(変更画面)をディスプレイに表示させる。
Next, a method for creating the switch reference table 115 used when defining a change in the display operation or processing operation of an object displayed on the programmable display 2 will be described.
In the present embodiment, the switch reference table 115 is configured so that data created (generated) in the PC 4 is transmitted to the PLC 1. Here, a method for creating the switch reference table 115 in the PC 4 is described. explain.
The display screen setting program 414 is activated on the PC 4 and a change setting menu for changing the operating conditions of the objects (switches and the like) displayed on the programmable display 2 is selected.
For example, the PC 4 reads the display setting program 112 that sets the screen arrangement of the programmable display device 2 and acquires information on objects (such as the switch 21 and the lamp 22) defined in the program.
Based on the acquired information, the PC 4 displays on the display a setting screen (change screen) for operating conditions assigned to each object.

図5は、スイッチ番号ごとに動作を設定する画面の一例を示した図である。
本実施の形態では、図4に示されるようなスイッチ21をオブジェクトとして用いた場合について説明する。スイッチ21には、それぞれ識別子として機能するスイッチ番号が付されており、ここでは、スイッチ番号1〜512まで設けることができるようになっている。
また、本実施の形態では、スイッチ21に割り付けられる動作として、出力機器32の一つであるソレノイドバルブを駆動する「Sol」モードと、指定したタスクプログラム116を実行させる「Task」モードが設けられている場合について説明する。
なお、「Sol」モードでは、シングルソレノイドまたはダブルソレノイドの選択設定が可能である。
FIG. 5 is a diagram showing an example of a screen for setting an operation for each switch number.
In the present embodiment, a case where the switch 21 as shown in FIG. 4 is used as an object will be described. Each switch 21 is assigned a switch number that functions as an identifier. Here, switch numbers 1 to 512 can be provided.
In the present embodiment, as an operation assigned to the switch 21, a “Sol” mode for driving a solenoid valve that is one of the output devices 32 and a “Task” mode for executing a designated task program 116 are provided. The case will be described.
In the “Sol” mode, a single solenoid or a double solenoid can be selected and set.

図5に示されるようなフォームを用いて、スイッチ21の設定をスイッチ番号ごとに行う。
操作者は、設定画面のモード設定項目において、スイッチ21に割り付ける動作モードの設定(入力)を行う。
この動作モードの設定は、プルダウンメニューから「Sol」または「Task」のいずれかを選択することにより行うことができる。
図5(a)は、「Sol」モードを選択した場合の表示画面の例を示し、図5(b)は、「Task」モードを選択した場合の表示画面の例を示す。
モード設定項目において「Sol」モードが選択された場合、図5(a)に示されるように、出力の設定、即ち動作させるソレノイドバルブの設定(指示)を入力する項目が表示される。
Using the form as shown in FIG. 5, the switch 21 is set for each switch number.
The operator sets (inputs) the operation mode assigned to the switch 21 in the mode setting item on the setting screen.
This operation mode can be set by selecting either “Sol” or “Task” from the pull-down menu.
FIG. 5A shows an example of the display screen when the “Sol” mode is selected, and FIG. 5B shows an example of the display screen when the “Task” mode is selected.
When the “Sol” mode is selected in the mode setting item, as shown in FIG. 5A, an item for inputting the output setting, that is, the setting (instruction) of the solenoid valve to be operated is displayed.

操作者は、スイッチ21に割り付けるソレノイドバルブの種別(シングルソレノイドまたはダブルソレノイド)、およびソレノイドバルブのアドレス情報を設定(入力)する。
一方、モード設定項目において「Task」モードが選択された場合、図5(b)に示されるように、実行させるタスクの設定(指示)を入力する項目が表示される。
なお、ここで設定されるタスクは、予め専用の言語で記述されたタスクプログラム116としてPLC1の記憶装置11に格納されている。
操作者は、スイッチ21に割り付けるタスクの識別子(タスク番号)およびフラグ等を設定(入力)する。
The operator sets (inputs) the type (single solenoid or double solenoid) of the solenoid valve assigned to the switch 21 and the address information of the solenoid valve.
On the other hand, when the “Task” mode is selected as the mode setting item, an item for inputting the setting (instruction) of the task to be executed is displayed as shown in FIG.
The task set here is stored in the storage device 11 of the PLC 1 as a task program 116 described in advance in a dedicated language.
The operator sets (inputs) an identifier (task number) of a task assigned to the switch 21 and a flag.

また、スイッチ21に、図4に示されるようなランプ22を割り付ける場合には、ランプ設定項目において、割り付けるランプ22の設定を行う。
ランプ設定項目では、表示させるランプ22のアドレス情報や、スイッチ21に割り付けられる動作の実行時における点灯の有無(オン/オフ)等を設定(入力)する。
また、図示されていないが、ランプ設定項目では、拡張機能として、表示させるランプ22の色や表示形態(点灯時の輝度や点滅速度など)の設定ができるように構成されている。
In addition, when the lamp 22 as shown in FIG. 4 is assigned to the switch 21, the lamp 22 to be assigned is set in the lamp setting item.
In the lamp setting item, the address information of the lamp 22 to be displayed, the presence / absence of lighting (on / off) at the time of execution of the operation assigned to the switch 21 and the like are set (input).
Although not shown, the lamp setting item is configured such that the color of the lamp 22 to be displayed and the display form (such as the brightness and the blinking speed) can be set as an extended function.

さらに、モード設定項目において設定されたモードの動作条件を設定(指示)を入力する動作条件設定項目が表示される。
操作者は、動作条件設定項目において、スイッチ21に割り付けられた動作(ソレノイドバルブの駆動またはタスクの実行)を実際に実行可能とする動作条件を設定する。
動作条件の設定は、例えば、入力機器31からの入力信号に基づくAND条件やOR条件、内部制限(インターロックなど)を入力することにより行う。
本実施の形態では、ここで設定された動作条件を満たしていない場合には、該当するスイッチ21が操作された場合であっても、割り付けられた動作が実行できないように構成されている。
なお、このようにして設定されるオブジェクト(スイッチ21)の動作条件等の設定項目は、オブジェクト(スイッチ21)ごとに割り付けられている変数として機能する。
この変数は、表示画面設定プログラム414などのエディタプログラム(編集プログラム)にて割り付けることができる。
Further, an operation condition setting item for inputting (setting) the operation condition of the mode set in the mode setting item is displayed.
In the operation condition setting item, the operator sets an operation condition that can actually execute the operation (solenoid valve drive or task execution) assigned to the switch 21.
For example, the operation condition is set by inputting an AND condition or an OR condition based on an input signal from the input device 31 and an internal restriction (such as an interlock).
In the present embodiment, when the operation condition set here is not satisfied, the assigned operation cannot be executed even when the corresponding switch 21 is operated.
Note that the setting items such as the operating conditions of the object (switch 21) set in this way function as variables assigned to each object (switch 21).
This variable can be assigned by an editor program (editing program) such as the display screen setting program 414.

PC4は、上述した動作条件の設定画面における操作者の設定(入力)をスイッチ番号ごとに受け付け、記憶装置41に格納する。
そして、全てのスイッチ21(または設定を変更するスイッチ21)に関する動作条件の設定が終了した後、PC4においてデータ変換プログラム415を起動する。
そして、記憶装置41に格納された設定(入力)データの変換処理を実行し、スイッチ参照テーブル115を作成(生成)する。
図6は、スイッチ参照テーブル115の一例を示した図である。
操作者により設定された条件設定のデータは、図5に示されるような、スイッチ21に割り付けられた項目の設定(定義データ)がスイッチ番号順に配列された2次元のデータテーブルであるスイッチ参照テーブル115に変換される。
The PC 4 receives the operator setting (input) on the operation condition setting screen described above for each switch number and stores it in the storage device 41.
Then, after the setting of the operation conditions for all the switches 21 (or the switch 21 whose setting is to be changed) is completed, the data conversion program 415 is activated on the PC 4.
Then, the setting (input) data stored in the storage device 41 is converted, and the switch reference table 115 is created (generated).
FIG. 6 is a diagram illustrating an example of the switch reference table 115.
The condition setting data set by the operator is a switch reference table, which is a two-dimensional data table in which the settings (definition data) of items assigned to the switch 21 are arranged in the order of switch numbers as shown in FIG. 115.

スイッチ参照テーブル115における「スイッチ番号」は、プログラマブル表示器2に表示されるスイッチ21に連番で割り付けられたアドレス番号を示し、「モード」は、スイッチ21に割り付けられる動作(「Sol」モードまたは「Task」モード)を示す。「出力先1」「出力先2」は、ソレノイドバルブの駆動信号の出力先のアドレス情報を示し、「ランプ」は、ランプ22の動作信号の出力先のアドレス情報を示す。
なお、図6の波線部(スイッチ番号「17」)は、図5(a)に示される表示画面(「Sol」モードを選択した場合)における条件設定の入力データがテーブルに反映された行を示す。
このようにしてPC4において作成(生成)されたスイッチ参照テーブル115は、入出力I/F14を介してPLC1に送信(転送)される。PLC1は、受信したスイッチ参照テーブル115を記憶装置11に格納する。
“Switch number” in the switch reference table 115 indicates an address number assigned to the switch 21 displayed on the programmable display 2 by a serial number. “Mode” indicates an operation assigned to the switch 21 (“Sol” mode or "Task" mode). “Output 1” and “Output 2” indicate address information of the output destination of the drive signal of the solenoid valve, and “Lamp” indicates address information of the output destination of the operation signal of the lamp 22.
The wavy line portion (switch number “17”) in FIG. 6 is a row in which the input data of the condition setting in the display screen (when “Sol” mode is selected) shown in FIG. Show.
The switch reference table 115 created (generated) in the PC 4 in this way is transmitted (transferred) to the PLC 1 via the input / output I / F 14. The PLC 1 stores the received switch reference table 115 in the storage device 11.

次に、本実施の形態に係るシーケンス制御システムにおいてプログラマブル表示器2に表示されるスイッチ21が操作者により操作された場合のPLC1の制御動作について説明する。
図7は、プログラマブル表示器2に表示されるスイッチ21の操作時におけるPLC1の制御動作の処理手順を示したフローチャートである。
PLC1に電源が投入されると、演算装置12は、記憶装置11から制御動作プログラム111、表示設定プログラム112、表示変更プログラム113を読み出し起動する。
Next, the control operation of the PLC 1 when the switch 21 displayed on the programmable display 2 in the sequence control system according to the present embodiment is operated by an operator will be described.
FIG. 7 is a flowchart showing the processing procedure of the control operation of the PLC 1 when the switch 21 displayed on the programmable display 2 is operated.
When power is turned on to the PLC 1, the arithmetic device 12 reads the control operation program 111, the display setting program 112, and the display change program 113 from the storage device 11 and activates them.

PLC1において各プログラムが実行されると、演算装置12は、プログラマブル表示器2においてスイッチ21の押下(操作)信号が検出されたか否かを判断する(ステップ11)。
プログラマブル表示器2においてスイッチ21が押下(操作)されると、プログラマブル表示器2から該当するスイッチ21の押下信号が入力回路15を介してPLC1に入力される。
演算装置12は、入力回路15にスイッチ21の押下信号が入力されたか否かを判断する。なお、スイッチ21の押下信号が入力されたか否かの判断は、検出手段として機能する。
When each program is executed in the PLC 1, the arithmetic unit 12 determines whether or not a press (operation) signal of the switch 21 is detected in the programmable display 2 (step 11).
When the switch 21 is pressed (operated) in the programmable display 2, a corresponding pressing signal of the switch 21 is input from the programmable display 2 to the PLC 1 via the input circuit 15.
The arithmetic unit 12 determines whether or not a pressing signal of the switch 21 is input to the input circuit 15. It should be noted that the determination as to whether or not a pressing signal for the switch 21 has been input functions as detection means.

スイッチ21の押下信号が検出されない場合(ステップ11:N)、演算装置12は、引き続き信号の検出処理を続行する。
一方、スイッチ21の押下信号が検出された場合(ステップ11:Y)、演算装置12は、入力回路15に入力された押下信号に基づいて、押下されたスイッチ21に付されているスイッチ番号を特定する。なお、このスイッチ番号の特定は、オブジェクト特定手段として機能する。
そして、演算装置12は、記憶装置11に格納されているスイッチ参照テーブル115を参照し(読み出し)、該当するスイッチ番号(特定されたスイッチ番号)に割り付けられている動作条件のデータを取得する(ステップ12)。なお、この動作条件のデータの取得は、動作処理特定手段として機能する。
When the pressing signal of the switch 21 is not detected (step 11: N), the arithmetic unit 12 continues the signal detection process.
On the other hand, when the pressing signal of the switch 21 is detected (step 11: Y), the arithmetic unit 12 determines the switch number assigned to the pressed switch 21 based on the pressing signal input to the input circuit 15. Identify. This switch number specification functions as an object specifying means.
Then, the arithmetic device 12 refers to (reads out) the switch reference table 115 stored in the storage device 11 and acquires the data of the operating condition assigned to the corresponding switch number (specified switch number) ( Step 12). The acquisition of the data of the operation condition functions as an operation process specifying unit.

続いて、演算装置12は、取得した動作条件データに基づいて、該当するスイッチ番号に割り付けられている処理動作(ソレノイドバルブの駆動またはタスクの実行)が可能か否か、即ち、処理動作の動作条件(インターロックなどの内部制限の条件)を満たしているか否かを判断する(ステップ13)。
該当するスイッチ番号に割り付けられている処理動作の動作条件を満たしていない場合、即ち、処理動作の実行が不可能な場合(ステップ13:N)、演算装置12は、引き続き信号の検出処理を続行する。
一方、該当するスイッチ番号に割り付けられている処理動作の動作条件を満たしている場合、即ち、処理動作の実行が可能な場合(ステップ13:Y)、演算装置12は、取得した動作条件データに基づいて、該当するスイッチ番号に割り付けられている処理動作がソレノイドバルブの駆動を示すSolモードであるか否かを判断する(ステップ14)。
Subsequently, the arithmetic unit 12 determines whether or not the processing operation (solenoid valve drive or task execution) assigned to the corresponding switch number is possible based on the acquired operation condition data, that is, the operation of the processing operation. It is determined whether or not a condition (an internal restriction condition such as an interlock) is satisfied (step 13).
When the operation condition of the processing operation assigned to the corresponding switch number is not satisfied, that is, when the processing operation cannot be executed (step 13: N), the arithmetic unit 12 continues the signal detection process. To do.
On the other hand, when the operation condition of the processing operation assigned to the corresponding switch number is satisfied, that is, when the processing operation can be executed (step 13: Y), the arithmetic unit 12 adds the acquired operation condition data to the acquired operation condition data. Based on this, it is determined whether or not the processing operation assigned to the corresponding switch number is the Sol mode indicating the driving of the solenoid valve (step 14).

該当するスイッチ番号に割り付けられている処理動作がSolモードである場合(ステップ14;Y)、演算装置12は、取得した動作条件データに基づいて、駆動信号を出力回路16を介して該当するソレノイドバルブ(出力機器32)に出力し、ソレノイドバルブを駆動させる(ステップ15)。
一方、該当するスイッチ番号に割り付けられている処理動作がSolモードでない場合(ステップ14;N)、即ち該当するスイッチ番号に割り付けられている処理動作がTaskモードである場合、演算装置12は、取得した動作条件データに基づいて、指定されたタスク(動作シーケンス)を実行するタスクプログラム116を起動し、動作シーケンスを実行させる(ステップ16)。
なお、処理動作の動作条件の判断およびソレノイドバルブの駆動または動作シーケンスの実行は、指示手段として機能する。
When the processing operation assigned to the corresponding switch number is the Sol mode (step 14; Y), the arithmetic unit 12 sends the drive signal to the corresponding solenoid via the output circuit 16 based on the acquired operation condition data. Output to the valve (output device 32) to drive the solenoid valve (step 15).
On the other hand, when the processing operation assigned to the corresponding switch number is not the Sol mode (step 14; N), that is, when the processing operation assigned to the relevant switch number is the Task mode, the arithmetic unit 12 acquires Based on the operation condition data, the task program 116 for executing the designated task (operation sequence) is started to execute the operation sequence (step 16).
Note that the determination of the operation condition of the processing operation and the driving of the solenoid valve or the execution of the operation sequence function as instruction means.

続いて、演算装置12は、プログラマブル表示器2が起動中であるか否かを判断する(ステップ17)。プログラマブル表示器2が起動中であるか否かの判断は、例えば、プログラム表示器2における電源の管理状態に基づいて行うことができる。
プログラム表示器2が起動中である場合(ステップ17:Y)、演算装置12は、ステップ11の処理に戻り、引き続き信号の検出処理を続行する。
一方、プログラム表示器2が起動中でない場合(ステップ17:N)、例えば、プログラマブル表示器2における電源の供給が停止状態である場合、そのまま処理を終了する。
Subsequently, the arithmetic device 12 determines whether or not the programmable display device 2 is being activated (step 17). The determination as to whether or not the programmable display 2 is being activated can be made based on, for example, the power management state of the program display 2.
When the program display 2 is activated (step 17: Y), the arithmetic unit 12 returns to the process of step 11 and continues the signal detection process.
On the other hand, when the program display 2 is not activated (step 17: N), for example, when the supply of power to the programmable display 2 is in a stopped state, the processing is ended as it is.

このように、プログラマブル表示器2に表示されるスイッチ21の操作時におけるPLC1の制御動作の処理を実行するプログラム(ラダープログラム)を起動させると、PLC1は、プログラマブル表示器2の状態を監視しながら、スイッチ参照テーブル115の内容を反映した(内容に対応した)制御動作を実行することができる。   As described above, when the program (ladder program) that executes the processing of the control operation of the PLC 1 when the switch 21 displayed on the programmable display 2 is operated, the PLC 1 monitors the state of the programmable display 2. The control operation reflecting the contents of the switch reference table 115 (corresponding to the contents) can be executed.

次に、本実施の形態に係るシーケンス制御システムにおけるプログラマブル表示器2に表示されるスイッチ21に対応付けられた(紐付けされた)ランプ22の表示動作について説明する。
図8は、プログラマブル表示器2に表示されるランプ22の表示動作の処理手順を示したフローチャートである。
ここでは、スイッチ参照テーブル115において定義(設定)されたランプ22の表示動作(オン/オフ動作)をプログラマブル表示器2に反映させる方法について説明する。
Next, the display operation of the lamp 22 associated with (linked to) the switch 21 displayed on the programmable display 2 in the sequence control system according to the present embodiment will be described.
FIG. 8 is a flowchart showing the processing procedure of the display operation of the lamp 22 displayed on the programmable display 2.
Here, a method of reflecting the display operation (ON / OFF operation) of the lamp 22 defined (set) in the switch reference table 115 on the programmable display 2 will be described.

演算装置12は、記憶装置11から表示変更プログラム113を読み出し起動する。
PLC1が起動すると、演算装置12は、はじめに、内蔵されているスイッチ番号をカウントするカウンタのリセット処理、即ち、カウンタ値を「0(ゼロ)」に戻す処理を行う(ステップ21)。
次に、演算装置12は、スイッチ番号のカウンタ値に「1」を足す(加える)カウントアップ処理を実行する(ステップ22)。
続いて、演算装置12は、記憶装置11に格納されているスイッチ参照テーブル115を参照し(読み出し)、カウンタ値に該当するスイッチ番号に割り付けられている動作条件のデータを取得する(ステップ23)。
The arithmetic device 12 reads the display change program 113 from the storage device 11 and activates it.
When the PLC 1 is activated, the arithmetic unit 12 first performs a reset process of a counter that counts a built-in switch number, that is, a process that returns the counter value to “0 (zero)” (step 21).
Next, the arithmetic unit 12 executes a count-up process of adding (adding) “1” to the counter value of the switch number (step 22).
Subsequently, the arithmetic device 12 refers to (reads out) the switch reference table 115 stored in the storage device 11, and acquires the data of the operating condition assigned to the switch number corresponding to the counter value (step 23). .

次に、演算装置12は、カウンタ値に該当するスイッチ番号に割り付けられているランプの表示動作の設定に基づいて、該当するランプ22の制御信号(オン信号またはオフ信号)を出力回路16を介して出力し、プログラマブル表示器2における該当ランプ22の表示動作の設定変更を行う(ステップ24)。
続いて、演算装置12は、プログラマブル表示器2が起動中であるか否かを判断する(ステップ25)。
プログラマブル表示器2が起動中でない場合(ステップ25:N)、例えば、プログラマブル表示器2における電源の供給が停止状態である場合、そのまま処理を終了する。
Next, the arithmetic unit 12 sends the control signal (ON signal or OFF signal) of the corresponding lamp 22 via the output circuit 16 based on the setting of the display operation of the lamp assigned to the switch number corresponding to the counter value. To change the setting of the display operation of the lamp 22 in the programmable display 2 (step 24).
Subsequently, the arithmetic device 12 determines whether or not the programmable display device 2 is being activated (step 25).
If the programmable display 2 is not activated (step 25: N), for example, if the supply of power to the programmable display 2 is in a stopped state, the process is terminated as it is.

一方、プログラマブル表示器2が起動中である場合(ステップ25:Y)、演算装置12は、スイッチ番号のカウンタ値とプログラマブル表示器2に設けられるスイッチ21に付されているスイッチ番号の最大値との比較を行い、スイッチ番号のカウンタ値がスイッチ番号の最大値より小さいか否かを判断する(ステップ26)。
スイッチ番号のカウンタ値がスイッチ番号の最大値より小さい場合(ステップ26:Y)、演算装置12は、引き続きステップ22の処理に戻る。
一方、スイッチ番号のカウンタ値がスイッチ番号の最大値より小さくない場合(ステップ26:N)、即ち、スイッチ番号のカウンタ値がスイッチ番号の最大値に達した場合、演算装置12は、ステップ21の処理に戻り、カウンタのリセット処理から一連の処理を続行する。
On the other hand, when the programmable display 2 is being activated (step 25: Y), the arithmetic unit 12 calculates the switch number counter value and the maximum value of the switch number attached to the switch 21 provided in the programmable display 2. Are compared to determine whether the counter value of the switch number is smaller than the maximum value of the switch number (step 26).
If the counter value of the switch number is smaller than the maximum value of the switch number (step 26: Y), the arithmetic unit 12 continues to return to the process of step 22.
On the other hand, when the counter value of the switch number is not smaller than the maximum value of the switch number (step 26: N), that is, when the counter value of the switch number reaches the maximum value of the switch number, the arithmetic unit 12 Returning to the processing, a series of processing is continued from the counter reset processing.

PLC1では、上述した一連のプログラマブル表示器2に表示されるランプ22の表示動作の処理を、制御動作プログラム111によるPLC1の制御動作や、プログラマブル表示器2に表示されるスイッチ21の操作時におけるPLC1の制御動作(ソレノイドバルブの駆動制御やタスク実行時の動作シーケンス)に関係なく常時ループし、リアルタイムでスイッチ参照テーブル115において設定(変更)されたランプ22の表示動作をプログラマブル表示器2に反映させることができる。
また、本実施の形態では、スイッチ21に割り付けられたランプ22について説明したが、スイッチ21、即ち、オブジェクトに割り付け可能な表示アイテムはこれに限定されるものではない。
例えば、シーケンスのサイクルタイム数の表示画面や生産数の表示画面等を割り付けるようにしてもよい。なおこのようなカウンタを表示させる場合には、対応するオブジェクトを表示させずに、カウンタのみを表示させるようにしてもよい。
In the PLC 1, the processing of the display operation of the lamp 22 displayed on the series of programmable displays 2 described above is performed by the control operation of the PLC 1 by the control operation program 111 or the operation of the switch 21 displayed on the programmable display 2. The display operation of the lamp 22 set (changed) in the switch reference table 115 is reflected in the programmable display 2 in real time regardless of the control operation (solenoid valve drive control or task execution sequence). be able to.
Further, in the present embodiment, the lamp 22 assigned to the switch 21 has been described, but the display item that can be assigned to the switch 21, that is, the object is not limited to this.
For example, a display screen for the number of cycle times of a sequence, a display screen for the number of productions, and the like may be assigned. When displaying such a counter, only the counter may be displayed without displaying the corresponding object.

上述したように、本実施の形態によれば、PC4において、変更設定の内容を示すスイッチ参照テーブル115を、プログラマブル表示器2に表示されるオブジェクト(スイッチ21やランプ22等)と制御動作とを関連付けながら作成することができるため、プログラマブル表示器2の表示内容の追加・変更に対して、柔軟かつ容易に対応することができる。
本実施の形態によれば、スイッチ参照テーブル115における変数を変更するだけで、プログラマブル表示器2の表示設定の変更やオブジェクト(スイッチ21)操作に定義付けられている動作設定の変更ができるため、プログラマブル表示器2における機能の拡張が容易にできる。
As described above, according to the present embodiment, in the PC 4, the switch reference table 115 indicating the contents of the change setting is displayed on the programmable display 2 with objects (such as the switch 21 and the lamp 22) and the control operation. Since they can be created while associating with each other, it is possible to flexibly and easily cope with the addition / change of the display content of the programmable display device 2.
According to the present embodiment, it is possible to change the display setting of the programmable display 2 or the operation setting defined in the object (switch 21) operation only by changing the variable in the switch reference table 115. The function of the programmable display device 2 can be easily expanded.

また、本実施の形態によれば、PC4において、スイッチ参照テーブル115を作成する際に、専用のラダープログラム言語により記述されたプログラムを介さずに、プログラマブル表示器2に表示されるオブジェクトの表示動作や処理動作の設定を行うことができる。従って、スイッチ参照テーブル115を作成する際に、ラダープログラムの専門知識を必要としないため、プログラマブル表示器2の開発を効率よく行うことができる。
本実施の形態によれば、図5に示されるモード設定項目において、指定したタスクプログラム116を実行させる「Task」モードを指定することができるため、タスクプログラムに定義されている細かい制御や複雑な制御と、プログラマブル表示器2に表示されるオブジェクトとを容易に関連付けることができるため、プログラマブル表示器2に対応するソフトウェアの開発期間の短縮化を図ることができる。
Further, according to the present embodiment, when the switch reference table 115 is created in the PC 4, the display operation of the object displayed on the programmable display 2 without using a program written in the dedicated ladder program language. And processing operations can be set. Therefore, when creating the switch reference table 115, the ladder program special knowledge is not required, so that the programmable display device 2 can be developed efficiently.
According to the present embodiment, the “Task” mode for executing the designated task program 116 can be designated in the mode setting items shown in FIG. Since the control and the object displayed on the programmable display 2 can be easily associated with each other, the software development period corresponding to the programmable display 2 can be shortened.

また、本実施の形態によれば、図9に示すような、入力条件X1に対して出力動作Y1が定義されているシーケンス制御、即ち、入力機器の1つの動作(入力信号)に対して、出力機器の1つの出力動作が定義される単純なシーケンス制御をラダープログラムを作成することなくPLC1に実行させることができる。
例えば、プログラマブル表示器2において、スイッチ番号「1」に該当するスイッチ21が押下(操作)された場合に、出力機器32のアドレス「0001」に該当するソレノイドバルブを駆動させたり、スイッチ番号「2」に該当するスイッチ21が押下(操作)された場合に、スイッチ番号「2」に割り付けられているランプ22を点灯させたりなどの動作をPLC1に容易に実行させることができる。
Further, according to the present embodiment, as shown in FIG. 9, for sequence control in which the output operation Y1 is defined for the input condition X1, that is, for one operation (input signal) of the input device, Simple sequence control in which one output operation of the output device is defined can be executed by the PLC 1 without creating a ladder program.
For example, in the programmable display 2, when the switch 21 corresponding to the switch number “1” is pressed (operated), the solenoid valve corresponding to the address “0001” of the output device 32 is driven, or the switch number “2” is selected. When the switch 21 corresponding to "" is pressed (operated), the PLC 1 can easily perform operations such as turning on the lamp 22 assigned to the switch number “2”.

このようなスイッチ参照テーブル115を読み出して行う処理は、PLC1のメイン制御を実行する制御動作プログラム111と並行して行うことが可能である。
そのため、例えば、スイッチ参照テーブル115を読み出して処理を実行する表示変更プログラム113等に優先順位を設けておくことにより、制御動作プログラム111において予め制御動作が定義されている場合であっても、容易に定義内容の変更をPLC1に反映させることができる。
これにより、プログラマブル表示器2に対応するソフトウェアの開発期間の短縮化を図ることができる。
The process performed by reading the switch reference table 115 can be performed in parallel with the control operation program 111 that executes the main control of the PLC 1.
Therefore, for example, by giving priority to the display change program 113 or the like that reads the switch reference table 115 and executes processing, even if the control operation is previously defined in the control operation program 111, it is easy. The change in the definition content can be reflected in PLC1.
Thereby, the development period of software corresponding to the programmable display device 2 can be shortened.

また、本実施の形態によれば、図9に示される出力動作Y1に、指定したアドレスに格納されているタスクプログラム116の起動(実行)を設定することができるため、単純な出力機器32のオン/オフ制御だけでなく、細かいシーケンス制御の動作設定を行うことができる。
さらに、本実施の形態によれば、従来、ラダープログラムにおいてAND/OR条件や内部制限(インターロック条件)等で記述されていた条件設定の内容をスイッチ参照テーブル115に示すことができるため、図9に示される出力動作Y1の動作許可条件(動作条件)をラダープログラムを介さずに設定することができる。これにより、出力動作Y1の詳細な動作許可条件(動作条件)を容易に設定することができる。
In addition, according to the present embodiment, the activation (execution) of the task program 116 stored at the specified address can be set in the output operation Y1 shown in FIG. In addition to on / off control, fine sequence control operation settings can be made.
Furthermore, according to the present embodiment, since the contents of condition settings that have been described in the ladder program with AND / OR conditions, internal restrictions (interlock conditions), etc., can be shown in the switch reference table 115, FIG. The operation permission condition (operation condition) of the output operation Y1 shown in FIG. 9 can be set without using a ladder program. Thereby, detailed operation permission conditions (operation conditions) of the output operation Y1 can be easily set.

本実施の形態に係るシーケンス制御システムの概略構成を示した図である。It is the figure which showed schematic structure of the sequence control system which concerns on this Embodiment. PLCの構成および周辺機器の接続状態を示した図である。It is the figure which showed the structure of PLC and the connection state of a peripheral device. PCの構成および周辺機器の接続状態を示した図である。It is the figure which showed the structure of PC, and the connection state of peripheral devices. プログラマブル表示器に表示される表示画面の一例を示した図である。It is the figure which showed an example of the display screen displayed on a programmable display. スイッチ番号ごとに動作を設定する画面の一例を示した図である。It is the figure which showed an example of the screen which sets operation | movement for every switch number. スイッチ参照テーブルの一例を示した図である。It is the figure which showed an example of the switch reference table. プログラマブル表示器に表示されるスイッチの操作時におけるPLCの制御動作の処理手順を示したフローチャートである。It is the flowchart which showed the processing procedure of the control action of PLC at the time of operation of the switch displayed on a programmable display. プログラマブル表示器に表示されるランプの表示動作の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the display operation | movement of the lamp | ramp displayed on a programmable display. 単純なシーケンス制御のラダー回路を示した図である。It is the figure which showed the ladder circuit of simple sequence control.

符号の説明Explanation of symbols

1 PLC
2 プログラマブル表示器
4 PC
11 記憶装置
12 演算装置
13 制御装置
14 入出力I/F
15 入力回路
16 出力回路
21 スイッチ
22 ランプ
31 入力機器
32 出力機器
41 記憶装置
42 演算装置
43 入力装置
44 出力装置
45 制御装置
46 入出力I/F
111 制御動作プログラム
112 表示設定プログラム
113 表示変更プログラム
114 通信プログラム
115 スイッチ参照テーブル
116 タスクプログラム
411 設定パラメータ
412 ラダー作成プログラム
413 ラダー変更プログラム
414 表示画面設定プログラム
415 データ変換プログラム
416 通信プログラム
1 PLC
2 Programmable display 4 PC
11 Storage Device 12 Arithmetic Device 13 Control Device 14 Input / Output I / F
DESCRIPTION OF SYMBOLS 15 Input circuit 16 Output circuit 21 Switch 22 Lamp 31 Input device 32 Output device 41 Memory | storage device 42 Arithmetic device 43 Input device 44 Output device 45 Control device 46 Input / output I / F
111 Control operation program 112 Display setting program 113 Display change program 114 Communication program 115 Switch reference table 116 Task program 411 Setting parameter 412 Ladder creation program 413 Ladder change program 414 Display screen setting program 415 Data conversion program 416 Communication program

Claims (7)

接続される機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行い、画面配列が任意に設定可能なプログラマブル表示器が接続されるプログラマブルロジックコントローラであって、
前記プログラマブル表示器に表示されるオブジェクトと、該オブジェクトに割り当てられる動作処理およびこの動作処理の実行を可能にする動作条件とが対応付けられた参照テーブルを取得する参照テーブル取得手段と、
オブジェクトを特定するオブジェクト特定手段と、
前記オブジェクト特定手段により特定されたオブジェクトに対応する動作処理を前記参照テーブルに基づいて特定する動作処理特定手段と、
前記動作処理特定手段により特定された動作処理が、処理の実行を可能にする動作条件を満たしているか否かを前記参照テーブルに基づいて判断し、前記動作条件を満たしている場合に該動作処理を指示する指示手段と、
前記参照テーブルを変更する変更手段と、
を備えたことを特徴とするプログラマブルロジックコントローラ。
This is a programmable logic controller that performs sequence control by sequentially executing a program that indicates the contents of control based on a signal input from a connected device, and is connected to a programmable display whose screen arrangement can be arbitrarily set. And
A reference table acquisition means for acquiring a reference table in which an object displayed on the programmable display is associated with an operation process assigned to the object and an operation condition enabling execution of the operation process;
An object identification means for identifying an object;
Action processing specifying means for specifying the action processing corresponding to the object specified by the object specifying means based on the reference table;
Based on the reference table, it is determined whether the operation process specified by the operation process specifying unit satisfies an operation condition that enables execution of the process. An instruction means for instructing
Changing means for changing the reference table;
A programmable logic controller comprising:
前記プログラマブル表示器に表示されるオブジェクトは、スイッチボタンであり、
前記参照テーブル取得手段は、スイッチボタンとこのスイッチボタンに割り当てられる動作処理および前記動作処理の実行を可能にする可能条件とが対応付けられた参照テーブルを取得し、
前記オブジェクト特定手段は、スイッチボタンを特定し、
前記動作処理特定手段は、特定されたスイッチボタンに対応する動作処理を前記参照テーブルに基づいて特定することを特徴とする請求項1記載のプログラマブルロジックコントローラ。
The object displayed on the programmable display is a switch button,
The reference table acquisition means acquires a reference table in which a switch button is associated with an operation process assigned to the switch button and a possible condition for enabling the execution of the operation process,
The object specifying means specifies a switch button,
The programmable logic controller according to claim 1, wherein the operation process specifying unit specifies an operation process corresponding to the specified switch button based on the reference table.
前記参照テーブル取得手段は、スイッチボタンとランプの表示処理動作とが対応付けられた参照テーブルを取得し、
前記動作処理特定手段は、スイッチボタンに対応するランプの表示処理動作を前記参照テーブルに基づいて特定し、
前記指示手段は、前記動作処理特定手段により特定された表示処理動作を前記プログラマブル表示器に指示することを特徴とする請求項2記載のプログラマブルロジックコントローラ。
The reference table acquisition means acquires a reference table in which switch buttons and lamp display processing operations are associated with each other,
The operation processing specifying means specifies the display processing operation of the lamp corresponding to the switch button based on the reference table,
3. The programmable logic controller according to claim 2, wherein the instruction unit instructs the programmable display unit to perform a display processing operation specified by the operation processing specifying unit.
前記プログラマブル表示器において操作されたスイッチボタンを検出する検出手段を備え、
前記オブジェクト特定手段は、前記検出手段により検出されたスイッチボタンを特定することを特徴とする請求項2または請求項3記載のプログラマブルロジックコントローラ。
Detecting means for detecting a switch button operated in the programmable display;
4. The programmable logic controller according to claim 2, wherein the object specifying unit specifies a switch button detected by the detecting unit.
接続される機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行い、画面配列が任意に設定可能なプログラマブル表示器が接続されるプログラマブルロジックコントローラにおける制御動作時に用いられるデータテーブルを生成する情報処理装置であって、
前記プログラマブル表示器に表示されるオブジェクトの情報を取得するオブジェクト情報取得手段と、
前記オブジェクト情報取得手段により取得されたオブジェクトに割り付ける動作処理、および、この動作処理の実行を可能にする動作条件を設定する入力画面を表示する入力画面表示手段と、
前記入力画面表示手段により表示された入力画面から入力された動作処理および動作条件の設定を受け付ける設定受付手段と、
前記設定受付手段により受け付けられた動作処理および動作条件が、オブジェクトに対応付けられた参照テーブルを生成する生成手段と、
を備えたことを特徴とする情報処理装置。
Based on the signal input from the connected device, the sequence control is performed by sequentially executing the program showing the control contents, and the control in the programmable logic controller to which the programmable display whose screen arrangement can be arbitrarily set is connected An information processing apparatus for generating a data table used during operation,
Object information acquisition means for acquiring information of an object displayed on the programmable display;
An input screen display means for displaying an operation screen for assigning an operation process to be assigned to the object acquired by the object information acquisition means and an operation condition for enabling the execution of the operation process;
Setting accepting means for accepting the setting of operation processing and operating conditions input from the input screen displayed by the input screen displaying means;
Generating means for generating a reference table in which the operation process and the operation condition received by the setting receiving means are associated with an object;
An information processing apparatus comprising:
接続される機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行い、画面配列が任意に設定可能なプログラマブル表示器が接続されるプログラマブルロジックコントローラに、
前記プログラマブル表示器に表示されるオブジェクトと、該オブジェクトに割り当てられる動作処理およびこの動作処理の実行を可能にする動作条件とが対応付けられた参照テーブルを取得する参照テーブル取得機能と、
オブジェクトを特定するオブジェクト特定機能と、
前記オブジェクト特定機能により特定されたオブジェクトに対応する動作処理を前記参照テーブルに基づいて特定する動作処理特定機能と、
前記動作処理特定機能により特定された動作処理が、処理の実行を可能にする動作条件を満たしているか否かを前記参照テーブルに基づいて判断し、前記動作条件を満たしている場合に該動作処理を指示する指示機能と、
前記参照テーブルを変更する変更機能と、
を実現させるための制御プログラム。
Based on the signal input from the connected device, the sequence control is performed by sequentially executing the program showing the control contents, and the programmable logic controller to which the programmable display capable of arbitrarily setting the screen arrangement is connected,
A reference table acquisition function for acquiring a reference table in which an object displayed on the programmable display is associated with an operation process assigned to the object and an operation condition that enables execution of the operation process;
An object identification function for identifying objects;
An action process specifying function for specifying an action process corresponding to the object specified by the object specifying function based on the reference table;
Based on the reference table, it is determined whether the operation process specified by the operation process specifying function satisfies an operation condition that enables execution of the process. If the operation process satisfies the operation condition, the operation process is performed. An instruction function to instruct
A change function for changing the reference table;
Control program to realize.
接続される機器から入力される信号に基づいて、制御内容を示したプログラムを逐次実行することによりシーケンス制御を行い、画面配列が任意に設定可能なプログラマブル表示器が接続されるプログラマブルロジックコントローラにおける制御動作時に用いられるデータテーブルを生成する情報処理装置に、
前記プログラマブル表示器に表示されるオブジェクトの情報を取得するオブジェクト情報取得機能と、
前記オブジェクト情報取得機能により取得されたオブジェクトに割り付ける動作処理、および、この動作処理の実行を可能にする動作条件を設定する入力画面を表示する入力画面表示機能と、
前記入力画面表示機能により表示された入力画面から入力された動作処理および動作条件の設定を受け付ける設定受付機能と、
前記設定受付機能により受け付けられた動作処理および動作条件が、オブジェクトに対応付けられた参照テーブルを生成する生成機能と、
を実現させるためのテーブル作成プログラム。
Based on the signal input from the connected device, the sequence control is performed by sequentially executing the program showing the control contents, and the control in the programmable logic controller to which the programmable display whose screen arrangement can be arbitrarily set is connected In an information processing device that generates a data table used during operation,
An object information acquisition function for acquiring information of an object displayed on the programmable display;
An input screen display function for displaying an input screen for setting an operation process to be assigned to the object acquired by the object information acquisition function and an operation condition for enabling the execution of the operation process;
A setting acceptance function for accepting the setting of operation processing and operation conditions input from the input screen displayed by the input screen display function;
A generation function for generating a reference table in which the operation process and the operation condition received by the setting reception function are associated with an object;
A table creation program for realizing
JP2006029033A 2006-02-06 2006-02-06 Programmable logic controller, information processing apparatus, control program, and table creation program Expired - Fee Related JP4562141B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006029033A JP4562141B2 (en) 2006-02-06 2006-02-06 Programmable logic controller, information processing apparatus, control program, and table creation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006029033A JP4562141B2 (en) 2006-02-06 2006-02-06 Programmable logic controller, information processing apparatus, control program, and table creation program

Publications (2)

Publication Number Publication Date
JP2007207196A JP2007207196A (en) 2007-08-16
JP4562141B2 true JP4562141B2 (en) 2010-10-13

Family

ID=38486575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006029033A Expired - Fee Related JP4562141B2 (en) 2006-02-06 2006-02-06 Programmable logic controller, information processing apparatus, control program, and table creation program

Country Status (1)

Country Link
JP (1) JP4562141B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011204202A (en) * 2010-03-26 2011-10-13 Panasonic Electric Works Sunx Co Ltd Display device
JP5783992B2 (en) * 2012-12-06 2015-09-24 三菱電機株式会社 Screen data simulation system and simulation software for programmable display, programmable display
WO2021220516A1 (en) * 2020-05-01 2021-11-04 三菱電機株式会社 Program execution device, program execution method, and computer program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000133107A (en) * 1998-10-30 2000-05-12 Digital Electronics Corp Setting system and setting method for time switch function
JP2002323912A (en) * 2001-04-26 2002-11-08 Fuji Electric Co Ltd Device and method for generating program specification and sequence control system
JP3512658B2 (en) * 1998-12-28 2004-03-31 株式会社デジタル Industrial control device programming method and programming system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62251804A (en) * 1986-04-24 1987-11-02 Fuji Electric Co Ltd Sequence control device
JPS63293604A (en) * 1987-05-27 1988-11-30 Fuji Electric Co Ltd Sequence table type controller
JPH09128014A (en) * 1995-10-30 1997-05-16 Fuji Electric Co Ltd Interlock processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000133107A (en) * 1998-10-30 2000-05-12 Digital Electronics Corp Setting system and setting method for time switch function
JP3512658B2 (en) * 1998-12-28 2004-03-31 株式会社デジタル Industrial control device programming method and programming system
JP2002323912A (en) * 2001-04-26 2002-11-08 Fuji Electric Co Ltd Device and method for generating program specification and sequence control system

Also Published As

Publication number Publication date
JP2007207196A (en) 2007-08-16

Similar Documents

Publication Publication Date Title
JP4388427B2 (en) Numerical control device that can call programs written in script language
JP5875555B2 (en) Image creation system
KR20120085420A (en) Cutting shape input apparatus and method using interactive program in computer numarical control machine tools
JP4562141B2 (en) Programmable logic controller, information processing apparatus, control program, and table creation program
JP2016164721A (en) Numerical control device with processing process management function, and processing process management program
US10838395B2 (en) Information processing device
WO2019235313A1 (en) Simulation device, method for controlling simulation device, and program for simulation device
JP2008071033A (en) Programmable display and picture drawing device
WO2022163590A1 (en) Teaching device
KR102430372B1 (en) Human machine interface device and method for driving the same
JP2010176241A (en) Programmable indicator, apparatus monitoring system, and control program
JP6939662B2 (en) Programming support device, programming support method and program
JP2008077467A (en) Display unit
JP6938234B2 (en) Display system
JP4628967B2 (en) Programmable display, its program and recording medium
WO2024028977A1 (en) Teaching device
US20240028188A1 (en) System, product manufacturing method, information processing apparatus, information processing method, and recording medium
WO2022264369A1 (en) Injection molding control device
US11726453B2 (en) Program creation device, program creation method, and program
WO2024195239A1 (en) Cooperation system, cooperation method, cooperation program, and cooperation assistance program
WO2022254543A1 (en) Teaching device
JP5330321B2 (en) Programmable display
KR20060061001A (en) Cnc system utilizing a central processing unit
JP2007200160A5 (en)
JP3823938B2 (en) Program creation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080917

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100408

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100723

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100723

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees