JP2020181383A - Programmable logic controller, information processing system, and program - Google Patents
Programmable logic controller, information processing system, and program Download PDFInfo
- Publication number
- JP2020181383A JP2020181383A JP2019084238A JP2019084238A JP2020181383A JP 2020181383 A JP2020181383 A JP 2020181383A JP 2019084238 A JP2019084238 A JP 2019084238A JP 2019084238 A JP2019084238 A JP 2019084238A JP 2020181383 A JP2020181383 A JP 2020181383A
- Authority
- JP
- Japan
- Prior art keywords
- control program
- programmable logic
- logic controller
- unit
- instruction
- 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.)
- Pending
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、プログラマブルロジックコントローラを制御するための技術に関する。 The present invention relates to a technique for controlling a programmable logic controller.
プログラマブルロジックコントローラ(以下、PLCともいう。)は、例えばラダープログラムのような制御プログラムを用いて制御される。ラダープログラムは、PLCと通信可能なパーソナルコンピュータ等の情報処理装置を使用して編集される。PLCは、編集されたラダープログラムに対応する論理回路を構成し、実行する。 The programmable logic controller (hereinafter, also referred to as PLC) is controlled by using a control program such as a ladder program. The ladder program is edited using an information processing device such as a personal computer capable of communicating with the PLC. The PLC configures and executes the logic circuit corresponding to the edited ladder program.
例えば、特許文献1には、ラダープログラムによるプログラム開発の際に、特定の行をコメントアウト可能なPLCの制御プログラムの作成方法が提案されている。特許文献1に記載の発明において、ラダープログラムの特定の行のコメントアウトの設定及び解除は、ラダープログラミングツールを用いて行われる。
For example,
上述のようにラダープログラム等の制御プログラムは、パーソナルコンピュータ又は専用の端末を用いて編集される。制御プログラムの一部を無効にする場合、制御プログラムの一部を無効化(コメントアウト)して編集した後に、コンパイルしてPLCにダウンロードする必要がある。逆に制御プログラムの一部を有効にする場合も、同様に制御プログラムの編集後に、コンパイルしてPLCにダウンロードする必要がある。 As described above, the control program such as the ladder program is edited by using a personal computer or a dedicated terminal. To disable a part of the control program, it is necessary to disable (comment out) a part of the control program, edit it, compile it, and download it to the PLC. Conversely, when enabling a part of the control program, it is also necessary to compile and download it to the PLC after editing the control program.
そこで、本発明の目的は、制御プログラムをダウンロードすることなく、特定の処理単位を有効又は無効にできるプログラマブルロジックコントローラ、情報処理システム、及びプログラムを提供することにある。 Therefore, an object of the present invention is to provide a programmable logic controller, an information processing system, and a program capable of enabling or disabling a specific processing unit without downloading a control program.
この発明のプログラマブルロジックコントローラは、プログラマブルロジックコントローラを制御するための制御プログラムに対応するコードを受信する受信部と、前記コードを記憶する記憶部と、前記記憶部に記憶された前記コードに基づいて、前記制御プログラムに対応する論理回路を構成し、実行する演算部と、を備え、前記記憶部は、前記制御プログラムにおける特定の処理単位の実行を有効又は無効にするための仮想スイッチと、該仮想スイッチのオン/オフを定義するためのレジスタと、を有し、前記受信部は、前記特定の処理単位を有効又は無効にする指示を受信し、前記演算部は、前記受信部で前記指示を受信すると、対応する前記レジスタの値を変更して、前記仮想スイッチをオン又はオフすることを特徴とする。 The programmable logic controller of the present invention is based on a receiving unit that receives a code corresponding to a control program for controlling the programmable logic controller, a storage unit that stores the code, and the code stored in the storage unit. The storage unit includes a calculation unit that configures and executes a logic circuit corresponding to the control program, and the storage unit includes a virtual switch for enabling or disabling the execution of a specific processing unit in the control program. It has a register for defining on / off of a virtual switch, the receiving unit receives an instruction to enable or disable the specific processing unit, and the arithmetic unit receives the instruction at the receiving unit. Is received, the value of the corresponding register is changed to turn the virtual switch on or off.
この構成では、制御プログラムにおける特定の処理単位の実行を有効又は無効にするための仮想スイッチを有する。演算部は、受信部が受信する指示に基づいて、仮想スイッチのオン/オフを定義するレジスタの値を変更する。レジスタの値が変更されると、レジスタに対応する仮想スイッチがオン又はオフに切り替えられる。この場合、制御プログラム自体は変更されない。これにより、制御プログラムにおける特定の処理単位の実行を有効又は無効にするために、制御プログラムを再度ダウンロードする必要がない。 In this configuration, a virtual switch is provided to enable or disable the execution of a specific unit of processing in the control program. The arithmetic unit changes the value of the register that defines the on / off of the virtual switch based on the instruction received by the receiving unit. When the value of a register is changed, the virtual switch corresponding to the register is turned on or off. In this case, the control program itself is not changed. This eliminates the need to re-download the control program in order to enable or disable the execution of a particular unit of processing in the control program.
また、前記特定の処理単位は、複数の処理単位を含み、前記記憶部は、前記複数の処理単位を範囲指定するための範囲指定レジスタを有し、前記演算部は、前記受信部で前記指示を受信すると、前記範囲指定レジスタの値を変更し、変更後の前記範囲指定レジスタの値に基づいて、前記仮想スイッチをオン又はオフしてもよい。 Further, the specific processing unit includes a plurality of processing units, the storage unit has a range designation register for designating the range of the plurality of processing units, and the calculation unit has the instruction in the receiving unit. Is received, the value of the range designation register may be changed, and the virtual switch may be turned on or off based on the changed value of the range designation register.
この構成では、範囲指定レジスタの値を変更することで、範囲指定レジスタに対応する制御プログラムにおける特定の処理単位の実行を有効又は無効にできる。 In this configuration, the execution of a specific processing unit in the control program corresponding to the range specification register can be enabled or disabled by changing the value of the range specification register.
また、前記受信部は、前記複数の処理単位を有効又は無効にする範囲指定を受信し、前記演算部は、前記範囲指定に基づいて、前記範囲指定レジスタの指定範囲を変更してもよい。 Further, the receiving unit may receive a range designation that enables or invalidates the plurality of processing units, and the arithmetic unit may change the designated range of the range designation register based on the range designation.
この構成では、ユーザは、複数の処理単位に亘って有効又は無効にする範囲指定を一度に設定することができる。例えば、ユーザは、1〜10行目の範囲のような複数の行に亘る処理単位を設定し変更できる。これにより、ユーザは、特定の処理単位を1単位毎に指定することがないため、切り替え操作が簡易になる。
In this configuration, the user can set a range specification to be valid or invalid over a plurality of processing units at one time. For example, the user can set and change a processing unit over a plurality of lines such as a range of
また、前記制御プログラムを表示する表示器と、前記制御プログラムの前記特定の処理単位を有効又は無効にする操作を受け付けるユーザインタフェースと、をさらに備えてもよい。 Further, a display for displaying the control program and a user interface for accepting an operation of enabling or disabling the specific processing unit of the control program may be further provided.
この構成では、ユーザは、表示器に表示される制御プログラムを確認しながら、ユーザインタフェースを介して特定の処理単位を有効又は無効にする操作を行うことができる。これにより、ユーザは、他の情報処理装置を用いることなく、プログラマブルロジックコントローラのみで特定の処理単位を有効又は無効にすることができる。 In this configuration, the user can perform an operation of enabling or disabling a specific processing unit through the user interface while checking the control program displayed on the display. As a result, the user can enable or disable a specific processing unit only with the programmable logic controller without using another information processing device.
この発明の情報処理システムは、前記プログラマブルロジックコントローラと、前記プログラマブルロジックコントローラに接続される情報処理装置と、を備え、前記情報処理装置は、前記制御プログラムを表示する表示器と、前記制御プログラムの前記特定の処理単位を有効又は無効にする操作を受け付けるユーザインタフェースと、前記操作に基づいて前記指示を前記プログラマブルロジックコントローラに送信する送信部と、を備えてもよい。 The information processing system of the present invention includes the programmable logic controller and an information processing device connected to the programmable logic controller, and the information processing device includes a display for displaying the control program and the control program. It may include a user interface that accepts an operation of enabling or disabling the specific processing unit, and a transmission unit that transmits the instruction to the programmable logic controller based on the operation.
この構成では、情報処理装置及びプログラマブルロジックコントローラは、互いに接続されている。ユーザは、情報処理装置の表示器に表示される制御プログラムを確認しながら、ユーザインタフェースを介して特定の処理単位を有効又は無効にする指示を入力することができる。この場合も、情報処理装置からプログラマブルロジックコントローラへ制御プログラムを再度ダウンロードする必要がない。 In this configuration, the information processing device and the programmable logic controller are connected to each other. The user can input an instruction to enable or disable a specific processing unit through the user interface while checking the control program displayed on the display of the information processing apparatus. In this case as well, it is not necessary to download the control program from the information processing device to the programmable logic controller again.
この発明によれば、制御プログラムを再度ダウンロードすることなく、制御プログラムの一部の無効又は有効を切り替えることができる。 According to the present invention, it is possible to disable or enable a part of the control program without downloading the control program again.
図1は、プログラマブルロジックコントローラ10を使用した実施形態に係る情報処理システム1の主要構成を示すブロック図である。図2(A)は、情報処理システム1でラダープログラムを使用する場合の表示器21の表示態様の一例を示す図である。図2(B)は、情報処理システム1でラダープログラムの特定の行を有効又は無効にする指示を説明するための図である。図2(C)は、PLC10で構成される実際の論理回路を示す図である。
FIG. 1 is a block diagram showing a main configuration of an
図1に示すように、情報処理システム1は、情報処理装置20と、PLC10とを備える。情報処理装置20は、PLC10と通信可能に接続されている。
As shown in FIG. 1, the
情報処理装置20は、例えばパーソナルコンピュータ、又はプログラミングコンソール等である。情報処理装置20は、表示器21、ユーザインタフェース(ユーザI/F)22、送信部23、メモリ24、CPU(CentralProcessing Unit)25、RAM(Random Access Memory)26、及びバス29を備える。バス29は、表示器21、ユーザインタフェース(ユーザI/F)22、送信部23、メモリ24、CPU25、及びRAM26を接続している。
The
CPU25は、情報処理装置20の動作を制御する制御部である。CPU25は、記憶媒体であるメモリ24に記憶された所定のプログラムをRAM26に読み出して実行することにより各種の動作を行なう。
The
図2(A)に示すように、表示器21は、PLC10を制御するための制御プログラムを開発(編集)する支援ツール210を表示する。制御プログラムは、例えばラダープログラム、ファンクションブロックダイアグラム、シーケンシャルファンクションチャート、インストラクションリスト、又はストラクチャードテキスト等を含む。本実施形態においては、一例としてラダープログラムを制御プログラムとして使用する場合について説明する。すなわち、PLC10は、ラダープログラムを用いて制御される。
As shown in FIG. 2A, the
ラダープログラムは、支援ツール210で編集される。支援ツール210は、プログラム表示領域211を備える。ラダープログラムは、プログラム表示領域211に表示される。ユーザは以下で説明するユーザI/F22により、支援ツール210に入力できる。
The ladder program is edited by the
ラダープログラムは、PLC10で実行する論理回路を表したものである。ラダープログラムは、論理回路を複数の行として表す。ラダープログラムの各行は、本発明の「処理単位」の一例である。
The ladder program represents a logic circuit executed by the
例えば、図2(A)では、一行目は、スイッチM0000がオンになると、コイルM2000が作動する論理回路を示している。支援ツール210で編集されたラダープログラムは、PLC10で読み込まれるようにコードにコンパイルされる。これにより、ラダープログラムは、対応するコードにコンパイルされる。また、情報処理装置20は、ラダープログラムに対応するコードをPLC10に転送する。PLC10は、ラダープログラムに対応するコードをダウンロードして、論理回路を構成し、実行する。
For example, in FIG. 2A, the first line shows a logic circuit in which the coil M2000 operates when the switch M0000 is turned on. The ladder program edited by the
ユーザI/F22は、例えばマウスやキーボード、タッチパネル等の入力装置である。ユーザI/F22は、ユーザから操作を受け付ける。例えば、ユーザI/F22は、ラダープログラムの特定の行を有効又は無効にする指示を受け付ける。例えば、ユーザは、マウス操作により図2(A)に示す画面上の二行目の行にカーソルを合わせて選択することにより、二行目の行を無効にする指示の入力ができる。
The user I /
二行目の行を無効にすると、図2(B)に示すように、表示器21は、ラダープログラム二行目の行を薄く表示する。これにより、ユーザは、ラダープログラムの二行目の行を無効にする指示を入力したことを確認できる。また、無効の行の表示の仕方は、ラダープログラム特定の行を薄く表示するのみに限らない。表示器21は、ラダープログラムの特定の行が有効であるか、又は無効であるかがユーザに解るように表示の仕方を変えればよい。例えば、表示器21は、特定の行を破線で表示する、特定の行の色を変えて表示する、又は特定の行を消してもよい。
When the second line is disabled, the
送信部23は、ユーザがユーザI/F22へ入力した操作に基づいて、ラダープログラムの特定の行を有効又は無効にする指示をPLC10に送信する。上述の例の場合、送信部23は、ラダープログラムの二行目の行を無効にする指示を送信する。
The
PLC10は、受信部11、記憶部12、演算部13、及びバス19を備える。バス19は、受信部11、記憶部12、及び演算部13を接続している。
The
受信部11は、ラダープログラムに対応するコードを受信する。記憶部12は、受信部11で受信したコードを記憶する。記憶部12は、レジスタ15を有する。レジスタ15は、スイッチ122、コイル123、及び仮想スイッチ14を有する。なお、図2(A)で、スイッチ122、コイル123、及び仮想スイッチ14は、それぞれ代表的に一つしか表されていない。実際は、スイッチ122、コイル123、及び仮想スイッチ14は、ラダープログラムに基づいた論理回路に使用する数だけ存在している。例えば、仮想スイッチ14は、ラダープログラムの行の数だけ存在する。
The receiving
演算部13は、記憶部12に記憶されたコードに基づいて、ラダープログラムに対応する論理回路を構成する。演算部13は、構成した論理回路を実行する。
The
仮想スイッチ14は、ラダープログラムにおける全ての行の先頭に定義されている。すなわち、図2(C)に示すように、実際仮想スイッチ14は、ラダープログラムの各行の先頭に配置されている。図2(C)に示すスイッチM7000からスイッチM7999が、各仮想スイッチ14に相当する。しかし、仮想スイッチ14は、通常図2(A)に示すように表示器21では表示されない。なお、仮想スイッチ14は、ラダープログラムの一部の行に定義されていてもよく、又は全ての行の先頭に定義されていてもよい。
The
レジスタ15は、仮想スイッチ14を定義し、かつそのオン又はオフを定義する。レジスタ15の値が1の時、仮想スイッチ14はオンである。また、レジスタ15の値が0の時、仮想スイッチ14はオフである。このように、PLC10は、レジスタ15の値を変更することにより、仮想スイッチ14のオン又はオフを切り替えることができる。
情報処理装置20の送信部23がPLC10へラダープログラムの特定の行を有効又は無効にする指示を送信すると、受信部11は該指示を受信する。受信部11が該指示を受信すると、演算部13は、ラダープログラムの特定の行の仮想スイッチ14に対応するレジスタ15の値を変更する。
When the transmitting
例えば、受信部11がラダープログラムの二行目の行を無効にする指示を受信すると、演算部13は、ラダープログラムの二行目の行の仮想スイッチ14に対応するレジスタ15の値を指示に基づいて0に変更する。すると、ラダープログラムの二行目の行の仮想スイッチ14に対応するスイッチM7001がオフになる。二行目の行の先頭にあるスイッチM7001がオフになると、ラダープログラムの二行目の行のスイッチM7001の後段は、すべて無効とみなされる。これにより、ラダープログラムの二行目が無効になる。
For example, when the receiving
このとき、ラダープログラムの二行目が無効とみなされるが、ラダープログラムの二行目をコメントアウトしているわけではない。すなわち、ラダープログラム自体は、変更されていない。従って、ラダープログラムにおける特定の行の実行を有効又は無効にするために、情報処理装置20からPLC10へ再度ラダープログラムをダウンロードし直す必要がない。これにより、ユーザはラダープログラムをダウンロードし直すことなく、容易にラダープログラムの特定の行の有効又は無効を切り替えることができる。
At this time, the second line of the ladder program is considered invalid, but the second line of the ladder program is not commented out. That is, the ladder program itself has not changed. Therefore, it is not necessary to re-download the ladder program from the
PLCは、一般的に安定性が要求される。例えばPLCが工場で大型の装置の制御に使用される場合、安全上の理由からPLCは常に同じ制御をすることが要求される。このため、PLC用の制御プログラムは書き換えられないことが好ましい。本実施形態においては、ラダープログラムは変更されないため、PLCの安定性が確保される。また、ラダープログラムの行数が多い場合、PLC10へのダウンロードは長い時間を要する。本実施形態においては、情報処理装置20からPLC10へ再度ラダープログラムをダウンロードし直す必要がないため、ユーザは迅速にラダープログラムの特定の行の有効又は無効を切り替えることができる。さらに、ユーザは予め有効又は無効を切り替える可能性のあるラダープログラムの行を予想して、先頭に内部リレーを入れておく必要もない。
PLCs are generally required to be stable. For example, when a PLC is used in a factory to control a large device, the PLC is required to always have the same control for safety reasons. Therefore, it is preferable that the control program for PLC is not rewritten. In the present embodiment, the ladder program is not changed, so that the stability of the PLC is ensured. Also, if the number of lines in the ladder program is large, downloading to PLC10 will take a long time. In the present embodiment, since it is not necessary to download the ladder program from the
なお、本実施形態においてラダープログラムの特定の行が一行のみ選択される例について説明したが、複数の行が選択されてもよい。 Although the example in which only one specific line of the ladder program is selected in the present embodiment has been described, a plurality of lines may be selected.
次に、PLC10の変形例1について説明する。図3は、PLC10の変形例1に係るPLC30を示すブロック図である。図4(A)及び図4(B)は、PLC30で所定の範囲を有効又は無効にする指示を説明するための図である。PLC30の説明については、PLC10と異なるところについてのみ説明を行い、後は省略する。
Next, a
図3に示すように、PLC30の記憶部12は、範囲指定レジスタ16を有する。範囲指定レジスタ16は、所定の範囲の複数の行を範囲指定する。図4(A)に示すように、ユーザは表示器21の画面上の不図示のツールバーから、「範囲指定」の欄を選択する。「範囲指定」の欄が選択されると、表示器21は、ユーザが所定の範囲の複数の行を範囲指定するためのボックス42を表示する。ユーザは、ラダープログラムの行を範囲指定し、該当する行の実行が有効/無効であるかを選択する。
As shown in FIG. 3, the
例えば、ユーザは、ボックス42の範囲指定欄に2と10とを入力し、無効のラジオボタンを選択する。このように、ユーザは、ラダープログラムの2から10行目を範囲指定して無効にする指示を情報処理装置20に入力することができる。なお、行の範囲指定は、ボックス42のように数字を入力する入力欄を設けてもよく、又はプルダウン式のリストメニューを設けてもよい。
For example, the
その後、ユーザがOKボタンを押すことにより、送信部23がPLC10へ指示を送信する。演算部13は、ラダープログラムの2から10行目の行の仮想スイッチ14に対応する範囲指定レジスタ16の値を指示に基づいて0に変更する。これにより、ラダープログラムの2から10行目に対応する仮想スイッチ14はオフになる。図4(B)に示すように、表示器21は、ラダープログラムの2から10行目を薄く表示する。また、表示器21は、無効として選択された行の表示欄43を表示してもよい。これにより、無効となった行が多い場合、ユーザは範囲を一度に把握することができる。
After that, when the user presses the OK button, the
このように、ユーザは、範囲指定レジスタ16の値を変更することで、ラダープログラムの特定の範囲の行の実行を有効又は無効にできる。なお、ユーザは、1行のみを指定することもできる。また、変形例1において、ラダープログラムの特定の範囲が一つである例を挙げたが、複数であってもよい。これにより、ユーザは複数の範囲の実行を一度に有効又は無効にできる。
In this way, the user can enable or disable the execution of a specific range of rows in the ladder program by changing the value of the
また、演算部13は、さらに範囲指定レジスタ16の範囲指定を変更してもよい。受信部11は、所定の範囲の複数の行を有効又は無効にする範囲指定を受信する。例えば、ユーザは、ラダープログラムの1から10行目の範囲指定をラダープログラムの101から110行目に変更することができる。これにより、ラダープログラムの1から10行目に対応する仮想スイッチ14はオンになり、ラダープログラムの101から110行目に対応する仮想スイッチ14はオフになる。これにより、ユーザは、複数の行に亘って有効又は無効にする範囲指定を一度に設定し変更することができる。従って、ユーザは、ラダープログラムを1行毎に指定する必要が省けるため、切り替え操作が簡易になる。
Further, the
次に、PLC10の変形例2について説明する。図5は、PLC10の変形例2に係るPLC50を示すブロック図である。PLC50の説明については、PLC10と異なるところについてのみ説明を行い、後は省略する。
Next, a
PLC50は、ラダープログラムを表示する表示器21と、ラダープログラムの特定の行を有効又は無効にする操作を受け付けるユーザI/F22と、をさらに備える。バス19は、受信部11、記憶部12、演算部13、表示器21、及びユーザI/F22を接続している。
The
この構成では、ユーザは、表示器21に表示されるラダープログラムを確認しながら、PLC50が配置されている現場でユーザI/F22を介して特定の行を有効又は無効にする操作を行うことができる。これにより、ユーザは、他の情報処理装置を用いることなく、PLC50のみでラダープログラムの特定の行を有効又は無効にすることができる。
In this configuration, the user can perform an operation of enabling or disabling a specific line via the user I / F22 at the site where the PLC50 is arranged while checking the ladder program displayed on the
上述の実施形態の説明は、すべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述の実施形態ではなく、特許請求の範囲によって示される。さらに、本発明の範囲には、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。 The description of the embodiments described above should be considered exemplary in all respects and not restrictive. The scope of the present invention is indicated by the scope of claims, not by the above-described embodiment. Furthermore, the scope of the present invention is intended to include all modifications within the meaning and scope equivalent to the claims.
1…情報処理システム
10,30,50…プログラマブルロジックコントローラ(PLC)
11…受信部
12…記憶部
13…演算部
14…仮想スイッチ
15…レジスタ
16…範囲指定レジスタ
19,29…バス
20…情報処理装置
21…表示器
23…送信部
24…メモリ
25…CPU
26…RAM
42…ボックス
43…表示欄
122…スイッチ
123…コイル
210…支援ツール
211…プログラム表示領域
1 ...
11 ...
26 ... RAM
42 ...
Claims (6)
前記コードを記憶する記憶部と、
前記記憶部に記憶された前記コードに基づいて、前記制御プログラムに対応する論理回路を構成し、実行する演算部と、
を備え、
前記記憶部は、前記制御プログラムにおける特定の処理単位の実行を有効又は無効にするための仮想スイッチと、該仮想スイッチのオン/オフを定義するためのレジスタと、を有し、
前記受信部は、前記特定の処理単位を有効又は無効にする指示を受信し、
前記演算部は、前記受信部で前記指示を受信すると、対応する前記レジスタの値を変更して、前記仮想スイッチをオン又はオフする、
プログラマブルロジックコントローラ。 A receiver that receives the code corresponding to the control program for controlling the programmable logic controller,
A storage unit that stores the code and
A calculation unit that configures and executes a logic circuit corresponding to the control program based on the code stored in the storage unit.
With
The storage unit has a virtual switch for enabling or disabling the execution of a specific processing unit in the control program, and a register for defining on / off of the virtual switch.
The receiving unit receives an instruction to enable or disable the specific processing unit, and receives an instruction.
When the receiving unit receives the instruction, the arithmetic unit changes the value of the corresponding register to turn on or off the virtual switch.
Programmable logic controller.
前記記憶部は、前記複数の処理単位を範囲指定するための範囲指定レジスタを有し、
前記演算部は、前記受信部で前記指示を受信すると、前記範囲指定レジスタの値を変更し、変更後の前記範囲指定レジスタの値に基づいて、前記仮想スイッチをオン又はオフする、
請求項1に記載のプログラマブルロジックコントローラ。 The specific processing unit includes a plurality of processing units.
The storage unit has a range specification register for specifying a range of the plurality of processing units.
When the receiving unit receives the instruction, the arithmetic unit changes the value of the range designation register and turns on or off the virtual switch based on the changed value of the range designation register.
The programmable logic controller according to claim 1.
前記演算部は、前記範囲指定に基づいて、前記範囲指定レジスタの指定範囲を変更する、
請求項2に記載のプログラマブルロジックコントローラ。 The receiving unit receives a range specification that enables or invalidates the plurality of processing units, and receives the range designation.
The arithmetic unit changes the designated range of the range designation register based on the range designation.
The programmable logic controller according to claim 2.
前記制御プログラムの前記特定の処理単位を有効又は無効にする操作を受け付けるユーザインタフェースと、
をさらに備えた、
請求項1乃至請求項3のいずれか1項に記載のプログラマブルロジックコントローラ。 An indicator that displays the control program and
A user interface that accepts operations that enable or disable the specific processing unit of the control program.
With more
The programmable logic controller according to any one of claims 1 to 3.
前記プログラマブルロジックコントローラに接続される情報処理装置と、
を備え、
前記情報処理装置は、
前記制御プログラムを表示する表示器と、
前記制御プログラムの前記特定の処理単位を有効又は無効にする操作を受け付けるユーザインタフェースと、
前記操作に基づいて前記指示を前記プログラマブルロジックコントローラに送信する送信部と、
を備えた、
情報処理システム。 The programmable logic controller according to any one of claims 1 to 3.
An information processing device connected to the programmable logic controller and
With
The information processing device
An indicator that displays the control program and
A user interface that accepts operations that enable or disable the specific processing unit of the control program.
A transmitter that transmits the instruction to the programmable logic controller based on the operation,
With,
Information processing system.
前記制御プログラムの編集を受け付ける処理と、
前記制御プログラムに対応するコードをプログラマブルロジックコントローラに送信する処理と、
を情報処理装置に実行させるプログラムであって、
前記制御プログラムの特定の処理単位を有効又は無効にする操作を受け付ける処理と、
前記操作に基づいて前記特定の処理単位を有効又は無効にする指示を送信する処理と、
を前記情報処理装置に実行させ、
前記指示は、前記プログラマブルロジックコントローラに対して、前記特定の処理単位の実行を有効又は無効にするための仮想スイッチを定義するためのレジスタの値を変更させて、前記仮想スイッチをオン又はオフさせるための指示である、
プログラム。 The process of displaying the control program for controlling the programmable logic controller on the display, and
The process of accepting the editing of the control program and
The process of sending the code corresponding to the control program to the programmable logic controller,
Is a program that causes an information processing device to execute
A process that accepts an operation that enables or disables a specific processing unit of the control program, and
The process of transmitting an instruction to enable or disable the specific processing unit based on the operation, and
Is executed by the information processing apparatus
The instruction causes the programmable logic controller to turn the virtual switch on or off by causing the programmable logic controller to change the value of a register for defining a virtual switch to enable or disable execution of the particular processing unit. Instructions for
program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019084238A JP2020181383A (en) | 2019-04-25 | 2019-04-25 | Programmable logic controller, information processing system, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019084238A JP2020181383A (en) | 2019-04-25 | 2019-04-25 | Programmable logic controller, information processing system, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2020181383A true JP2020181383A (en) | 2020-11-05 |
Family
ID=73024646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019084238A Pending JP2020181383A (en) | 2019-04-25 | 2019-04-25 | Programmable logic controller, information processing system, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2020181383A (en) |
-
2019
- 2019-04-25 JP JP2019084238A patent/JP2020181383A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10838390B2 (en) | Program creation support apparatus, control method for program creation support apparatus, and control program for program creation support apparatus | |
US4200915A (en) | Program loader for programmable controller | |
US9557897B2 (en) | Apparatus and method for inputting cutting shape using interactive program in computer numerical control machine tool | |
JP2008282363A (en) | Programmable controller, program creation support device, computer program and programmable logic controller (plc) system | |
JP2006268836A (en) | Parameter setting device | |
US9727442B2 (en) | Engineering tool, program editing device, and program editing system | |
CN107407922B (en) | Programmable logic controller, method of controlling the same, and recording medium | |
CN104903798A (en) | Automated input simulation for simulated programmable logic controller | |
JP6514252B2 (en) | Robot data setting system, data setting method and program | |
JP5849592B2 (en) | Programmable controller system, programming device thereof, programmable controller, program, and debugging method | |
JP2007095107A (en) | Parameter setting device | |
JP2020181383A (en) | Programmable logic controller, information processing system, and program | |
US10802470B2 (en) | Control system | |
KR101456812B1 (en) | System design device | |
JP2007102384A (en) | Debugging device | |
JP6529680B1 (en) | Data management system, data management method and data management program | |
JP4381793B2 (en) | PROGRAMMABLE DISPLAY, DISPLAY CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
JP3356530B2 (en) | Data creation support device for display control device | |
WO2014091623A1 (en) | Programmable controller system, programmable display therefor, assistance device, and program | |
CN111324088A (en) | Information processing apparatus | |
US6145093A (en) | Debugging method and method of displaying information for data processing for use in programmable display device | |
JP4372739B2 (en) | PROGRAMMABLE DISPLAY, CONTROL PROGRAM, RECORDING MEDIUM RECORDING THE PROGRAM, SCREEN CREATION DEVICE, SCREEN CREATION PROGRAM, AND RECORDING MEDIUM RECORDING THE PROGRAM | |
JP4387288B2 (en) | Display device for control, editor device, program, and recording medium | |
JP2776443B2 (en) | Programmable controller | |
US11360462B2 (en) | Support device and support program |