JP5786385B2 - Operation terminal, program and control system - Google Patents

Operation terminal, program and control system Download PDF

Info

Publication number
JP5786385B2
JP5786385B2 JP2011056378A JP2011056378A JP5786385B2 JP 5786385 B2 JP5786385 B2 JP 5786385B2 JP 2011056378 A JP2011056378 A JP 2011056378A JP 2011056378 A JP2011056378 A JP 2011056378A JP 5786385 B2 JP5786385 B2 JP 5786385B2
Authority
JP
Japan
Prior art keywords
connection
operation terminal
port
communication
determined
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.)
Active
Application number
JP2011056378A
Other languages
Japanese (ja)
Other versions
JP2012194630A (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.)
Omron Corp
Original Assignee
Omron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp filed Critical Omron Corp
Priority to JP2011056378A priority Critical patent/JP5786385B2/en
Priority to PCT/JP2011/073814 priority patent/WO2012124202A1/en
Publication of JP2012194630A publication Critical patent/JP2012194630A/en
Application granted granted Critical
Publication of JP5786385B2 publication Critical patent/JP5786385B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25166USB, firewire, ieee-1394

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Description

本発明は、操作端末、プログラムおよび制御システムに関し、特に、通信のためのポートに繋がれた機器の接続形態に従って、機器と操作端末とを自動で接続するための技術に関する。   The present invention relates to an operation terminal, a program, and a control system, and more particularly, to a technique for automatically connecting a device and an operation terminal according to a connection form of the device connected to a port for communication.

自動化された工場などにおいて製造機械の制御装置として用いられるプログラマブルロジックコントローラ(PLC)が知られている。たとえば、プログラマブルロジックコントローラは、ツールと呼ばれるソフトウェアがインストールされたコンピュータ(市販のパーソナルコンピュータなど)またはプログラマブルロジックコントローラの設定などに用いられる表示器を用いて管理される。   2. Description of the Related Art A programmable logic controller (PLC) used as a control device for a manufacturing machine in an automated factory or the like is known. For example, the programmable logic controller is managed using a computer (such as a commercially available personal computer) in which software called a tool is installed, or a display used for setting the programmable logic controller.

プログラマブルロジックコントローラ、コンピュータおよび表示器は、特開2007−243825号公報(特許文献1)に記載のように、たとえばイーサネット(登録商標)を利用したネットワークを介して接続される。   The programmable logic controller, the computer, and the display are connected via a network using, for example, Ethernet (registered trademark) as described in Japanese Patent Application Laid-Open No. 2007-243825 (Patent Document 1).

特開2007−243825号公報JP 2007-243825 A

プログラマブルロジックコントローラとコンピュータとは、イーサネット(登録商標)以外にも、USB(Universal Serial Bus)等を用いたシリアル通信により接続される場合もある。特に、プログラマブルロジックコントローラとコンピュータとを1対1で接続する場合、USB等のシリアル通信を用いることが多い。この場合、独自の通信プロトコルを利用して通信することが一般的である。一方、イーサネット(登録商標)による通信では、TCP/IP(Transmission Control Protocol/Internet Protocol)のように、ソケットに基いた通信が一般的になりつつある。このような状況において、プログラマブルロジックコントローラとコンピュータとの接続がイーサネット(登録商標)およびUSBの両方をサポートするには、複数の通信プロトコルをコンピュータに実装する必要がある。そのため、開発者にとって煩わしいものであった。   In addition to Ethernet (registered trademark), the programmable logic controller and the computer may be connected by serial communication using USB (Universal Serial Bus) or the like. In particular, when a programmable logic controller and a computer are connected one-to-one, serial communication such as USB is often used. In this case, it is common to communicate using a unique communication protocol. On the other hand, in communication using Ethernet (registered trademark), communication based on sockets is becoming common, such as TCP / IP (Transmission Control Protocol / Internet Protocol). In such a situation, in order for the connection between the programmable logic controller and the computer to support both Ethernet (registered trademark) and USB, it is necessary to implement a plurality of communication protocols in the computer. Therefore, it was troublesome for developers.

上記のように複数の通信形式をサポートする場合、ネットワークの種別毎に別々の設定をする必要があるため、ユーザが行なうべき設定も煩雑になり得る。また、ネットワーク毎に異なる態様で通信が制約され得る。そのため、ユーザの利便性が損なわれ得る。   When a plurality of communication formats are supported as described above, since it is necessary to make separate settings for each type of network, settings to be performed by the user can be complicated. Further, communication may be restricted in a different manner for each network. Therefore, user convenience may be impaired.

したがって、FTP(File Transfer Protocol)、Telnet(Telecommunication network)を、イーサネット(登録商標)上のアプリケーションとしてイーサネットポートを介して実行するのと同様の通信がUSB回線上で実現できると便利である。   Therefore, it is convenient that communication similar to executing FTP (File Transfer Protocol) and Telnet (Telecommunication network) as an application on the Ethernet (registered trademark) via the Ethernet port can be realized on the USB line.

その他、TCP・UDP(Transmission Control Protocol・User Datagram Protocol)を用いたユーザプログラムや、HTTP(HyperText Transfer Protocol)などをUSB回線上で利用できると便利である。   In addition, it is convenient if a user program using TCP / UDP (Transmission Control Protocol / User Datagram Protocol) or HTTP (HyperText Transfer Protocol) can be used on the USB line.

さらに、USBをシリアルとして利用するとポートを1つのアプリケーションで占有してしまうと、他のアプリケーションでは使えなくなるため、別途、共有のための仕組みを構築する必要があるが、イーサネット(登録商標)のソケットとして提供すれば、複数のアプリケーション間での共有が容易になる。   Furthermore, if the USB is used as a serial port and the port is occupied by one application, it cannot be used by another application. Therefore, it is necessary to construct a separate sharing mechanism, but an Ethernet (registered trademark) socket If it is provided as, it becomes easy to share among multiple applications.

PPP(Point-to-Point Protocol)の利用は、シリアル通信回線上でイーサネット(登録商標)のプロトコルを構築し、稼動させるための方法の1つである。PPPを用いることにより、シリアル通信回線を利用してモデム接続を実行するとともに、モデム接続上でイーサネット(登録商標)に基いた通信を実行できる。   The use of PPP (Point-to-Point Protocol) is one of the methods for constructing and operating an Ethernet (registered trademark) protocol on a serial communication line. By using PPP, a modem connection can be performed using a serial communication line, and communication based on Ethernet (registered trademark) can be performed on the modem connection.

通常、PPPに基いた接続を実行する場合、電話回線を用いた接続を想定した上で種々の設定がユーザによりなされる。したがって、接続先の電話番号、または電話番号に相当する接続先のアドレスなどをユーザが指定するとともに、ユーザの操作により接続を開始することが一般的である。   Normally, when performing connection based on PPP, various settings are made by the user on the assumption of connection using a telephone line. Therefore, it is common for the user to specify the telephone number of the connection destination or the connection destination address corresponding to the telephone number, and to start the connection by the user's operation.

しかしながら、コンピュータの接続先は、USBケーブルなどによって直接コンピュータに繋がれたプログラマブルロジックコントローラ等である。したがって、接続のための煩わしい手続きをせずに、コンピュータとプログラマブルロジックコントローラとを接続することが望まれる。   However, the computer is connected to a programmable logic controller or the like directly connected to the computer by a USB cable or the like. Therefore, it is desirable to connect the computer and the programmable logic controller without performing a troublesome procedure for connection.

本発明は、上述の課題を解決するためになされたものであり、その目的は、接続に関する利便性を向上することである。   The present invention has been made to solve the above-described problems, and an object thereof is to improve convenience related to connection.

ある実施例において、通信のためのポートが設けられた操作端末は、ポートに機器が繋がれると、ポートに繋がれた機器から、機器の接続形態を示す情報を取得するための取得手段と、ポートに繋がれた機器の接続形態に従って、機器と操作端末とを接続するための接続手段とを備える。   In an embodiment, an operation terminal provided with a port for communication, when a device is connected to the port, an acquisition unit for acquiring information indicating a connection form of the device from the device connected to the port; According to the connection form of the device connected to the port, a connection means for connecting the device and the operation terminal is provided.

ある実施例において、プログラムは、通信のためのポートが設けられた操作端末に、ポートに機器が繋がれると、ポートに繋がれた機器から、機器の接続形態を示す情報を取得するステップと、ポートに繋がれた機器の接続形態に従って、機器と操作端末とを接続するステップとを実行させる。   In one embodiment, the program obtains information indicating a connection form of the device from the device connected to the port when the device is connected to the operation terminal provided with the port for communication. The step of connecting the device and the operation terminal is executed according to the connection form of the device connected to the port.

ある実施例において、制御システムは、通信のためのポートが設けられた操作端末と、ポートに繋がれる機器とを備える。操作端末は、ポートに機器が繋がれると、ポートに繋がれた機器から、機器の接続形態を示す情報を取得するための取得手段と、ポートに繋がれた機器の接続形態に従って、機器と操作端末とを接続するための接続手段とを含む。   In one embodiment, the control system includes an operation terminal provided with a port for communication and a device connected to the port. When a device is connected to a port, the operation terminal operates with the device according to an acquisition means for acquiring information indicating the connection form of the device from the device connected to the port, and the connection form of the device connected to the port. Connection means for connecting the terminal.

ポートに機器が繋がれると、機器の接続形態に従って自動的に機器と操作端末とが接続される。そのため、ユーザが煩わしい設定をしなくても、機器と操作端末との間の通信が可能となる。よって、接続に関する利便性が向上する。   When a device is connected to the port, the device and the operation terminal are automatically connected according to the connection form of the device. Therefore, communication between the device and the operation terminal is possible without the user having to make troublesome settings. Therefore, convenience related to connection is improved.

1台のコンピュータに対して、2台のプログラマブルロジックコントローラおよび1台のHMIが繋がれた制御システムを示す図である。It is a figure which shows the control system with which two programmable logic controllers and one HMI were connected with respect to one computer. 1台のコンピュータに対して、1台のプログラマブルロジックコントローラが繋がれた制御システムを示す図である。It is a figure which shows the control system with which one programmable logic controller was connected with respect to one computer. コンピュータのハードウェア構成と、プログラマブルロジックコントローラのハードウェア構成とを示す図である。It is a figure which shows the hardware constitutions of a computer, and the hardware constitutions of a programmable logic controller. コンピュータ、プログラマブルロジックコントローラおよびHMIの機能を示す図である。It is a figure which shows the function of a computer, a programmable logic controller, and HMI. コネクションマネージャのエージェントマネージャおよびエージェントを示す図である。It is a figure which shows the agent manager and agent of a connection manager. 動作仕様定義を示す図である。It is a figure which shows operation | movement specification definition. エージェント定義を示す図である。It is a figure which shows an agent definition. グループ動作定義を示す図である。It is a figure which shows group operation | movement definition. コンピュータの通信ドライバ(USBドライバ)、プログラマブルロジックコントローラの通信ドライバ(USBドライバ)、エージェントマネージャおよびエージェントの動作を示す図である。It is a figure which shows operation | movement of the communication driver (USB driver) of a computer, the communication driver (USB driver) of a programmable logic controller, an agent manager, and an agent. エージェントマネージャが実行する処理のフローチャートである。It is a flowchart of the process which an agent manager performs. エージェントが実行する処理のフローチャートである。It is a flowchart of the process which an agent performs. PPP接続処理のフローチャートである。It is a flowchart of a PPP connection process. 診断処理のフローチャートである。It is a flowchart of a diagnostic process.

図1を参照して、本実施の形態に係る制御システム10について説明する。制御システム10は、プログラマブルロジックコントローラ(以下、コントローラと記載する)100と、HMI(Human Machine Interface)102と、コントローラ104と、コンピュータ200とを備える。コンピュータ200に繋がれる機器の数は3つに限られず、1台以上であればいくつでもよい。たとえば、図2に示すように、1台のコンピュータ200に1台のコントローラ100のみを繋ぐようにしてもよい。   A control system 10 according to the present embodiment will be described with reference to FIG. The control system 10 includes a programmable logic controller (hereinafter referred to as a controller) 100, an HMI (Human Machine Interface) 102, a controller 104, and a computer 200. The number of devices connected to the computer 200 is not limited to three and may be any number as long as it is one or more. For example, as shown in FIG. 2, only one controller 100 may be connected to one computer 200.

図1に戻って、コントローラ100は製造機械に繋がれ、コントローラ100は、工作機械の制御装置としての機能を有する。HMI102には、たとえばプログラマブル表示器が用いられる。コンピュータ200は、ユーザが操作する操作端末として用いられる。   Returning to FIG. 1, the controller 100 is connected to a manufacturing machine, and the controller 100 has a function as a control device of the machine tool. For the HMI 102, for example, a programmable display is used. The computer 200 is used as an operation terminal operated by a user.

コントローラ100、HMI102およびコントローラ104は、コンピュータ200の3つのUSBポート201,202,203にそれぞれ繋がれる。コントローラ104は、モデム301,302を介してコンピュータ200に繋がれる。   The controller 100, the HMI 102, and the controller 104 are connected to three USB ports 201, 202, and 203 of the computer 200, respectively. The controller 104 is connected to the computer 200 via modems 301 and 302.

コンピュータ200は、USBポート201,202,203を介した通信機能のほか、イーサネット(登録商標)のためのポートならびにイーサネット(登録商標)を利用した通信機能を有する。コンピュータ200は、たとえば市販されているパーソナルコンピュータである。コンピュータ200は、ノートブックコンピュータ、デスクトップコンピュータ、携帯情報端末(PDA:Personal Digital Assistant)など、任意の形式のコンピュータが用いられ得る。   The computer 200 has a communication function via the USB ports 201, 202, and 203, a port for Ethernet (registered trademark), and a communication function using the Ethernet (registered trademark). The computer 200 is a commercially available personal computer, for example. The computer 200 can be any type of computer such as a notebook computer, a desktop computer, or a personal digital assistant (PDA).

コンピュータ200には、コンピュータ200に所望の機能を実行させるためのプログラムであるエンジニアリングツールがインストールされる。ユーザは、コンピュータ200を操作することによって、コントローラ100、HMI102およびコントローラ104の設定を変更したり、確認したりすることなどが可能である。   The computer 200 is installed with an engineering tool which is a program for causing the computer 200 to execute a desired function. The user can change or confirm the settings of the controller 100, the HMI 102, and the controller 104 by operating the computer 200.

コンピュータ200の代わりに、もしくは加えて、プログラマブル表示器を用いてもよい。すなわち、操作端末としてプログラマブル表示器を用いてもよい。プログラマブル表示器は、たとえば、コントローラ100、HMI102およびコントローラ104の作動状態および設定内容などを表示する。プログラマブル表示器は、たとえばタッチパネルを有する。ユーザは、タッチパネルを操作することによって、コントローラ100、HMI102、コントローラ104の設定を変更したり、確認したりすることなどが可能である。   A programmable display may be used instead of or in addition to the computer 200. That is, you may use a programmable display as an operation terminal. The programmable display displays, for example, the operation states and setting contents of the controller 100, the HMI 102, and the controller 104. A programmable display has a touch panel, for example. The user can change or confirm the settings of the controller 100, the HMI 102, and the controller 104 by operating the touch panel.

図3を参照して、コントローラ100、HMI102、コントローラ104、およびコンピュータ200のハードウェア構成について説明する。   With reference to FIG. 3, the hardware configurations of the controller 100, the HMI 102, the controller 104, and the computer 200 will be described.

図3においては、コントローラ100、HMI102、コントローラ104のうち、コントローラ100のみを示す。HMI102およびコントローラ104の主要なハードウェア構成は、コントローラ100のハードウェア構成と同じ、もしくは略同じであるため、ここではその詳細な説明は繰り返さない。   In FIG. 3, only the controller 100 among the controller 100, the HMI 102, and the controller 104 is shown. Since the main hardware configuration of HMI 102 and controller 104 is the same as or substantially the same as the hardware configuration of controller 100, detailed description thereof will not be repeated here.

コントローラ100(HMI102、コントローラ104)は、演算装置400、不揮発性記憶装置410、揮発性記憶装置420、通信装置430および通信ポート440を含む。   The controller 100 (HMI 102, controller 104) includes an arithmetic device 400, a nonvolatile storage device 410, a volatile storage device 420, a communication device 430, and a communication port 440.

演算装置400は、たとえばCPUである。演算装置400は、オペレーティングシステム(OS)を含む、種々のソフトウェア(プログラム)を実行する。不揮発性記憶装置410は、たとえばROM(Read Only Memory)またはHDD(Hard disk drive)である。不揮発性記憶装置410は、演算装置400が実行するソフトウェアの実行モジュールを格納する。   Arithmetic device 400 is, for example, a CPU. The arithmetic device 400 executes various software (programs) including an operating system (OS). The nonvolatile storage device 410 is, for example, a ROM (Read Only Memory) or a HDD (Hard disk drive). The nonvolatile storage device 410 stores an execution module of software executed by the arithmetic device 400.

揮発性記憶装置420は、たとえばRAM(Random Access Memory)である。揮発性記憶装置420は、たとえば各々のソフトウェアが必要とするワーク領域などを保持するために用いられる。   The volatile storage device 420 is, for example, a RAM (Random Access Memory). The volatile storage device 420 is used to hold a work area required by each software, for example.

通信装置430は、通信を制御するために用いられる。通信装置430は、コントローラ100の外部の機器であってもよい。通信ポート440は、コントローラ100の外部の機器とコントローラ100との間の通信のためのポートである。通信ポート440は、USBポート450およびイーサネットポート460を含む。その他の種類の通信ポートを設けてもよい。   The communication device 430 is used for controlling communication. The communication device 430 may be a device external to the controller 100. The communication port 440 is a port for communication between a device external to the controller 100 and the controller 100. The communication port 440 includes a USB port 450 and an Ethernet port 460. Other types of communication ports may be provided.

コンピュータ200は、演算装置500、不揮発性記憶装置510、揮発性記憶装置520、通信装置530、表示装置540および通信ポート550を含む。演算装置500、不揮発性記憶装置510、揮発性記憶装置520および通信装置530は、それぞれ、演算装置400、不揮発性記憶装置410、揮発性記憶装置420および通信装置430と同じ、もしくは略同じである。したがって、ここではその詳細な説明は繰り返さない。   The computer 200 includes an arithmetic device 500, a nonvolatile storage device 510, a volatile storage device 520, a communication device 530, a display device 540, and a communication port 550. The arithmetic device 500, the nonvolatile storage device 510, the volatile storage device 520, and the communication device 530 are the same as or substantially the same as the arithmetic device 400, the nonvolatile storage device 410, the volatile storage device 420, and the communication device 430, respectively. . Therefore, detailed description thereof will not be repeated here.

表示装置540は、種々の情報を表示する。表示装置540には一般的なモニターなどが用いられる。   The display device 540 displays various information. A general monitor or the like is used for the display device 540.

通信ポート550は、コンピュータ200の外部の機器とコンピュータ200との間の通信のためのポートである。通信ポート550は、USBポート201,202,203およびイーサネットポート552を含む。その他の種類の通信ポートを設けてもよい。   The communication port 550 is a port for communication between a device external to the computer 200 and the computer 200. Communication port 550 includes USB ports 201, 202, 203 and Ethernet port 552. Other types of communication ports may be provided.

図4を参照して、コントローラ100、HMI102、コントローラ104、およびコンピュータ200の機能について説明する。なお、以下に説明する機能は、ソフトウェアにより実現されるが、ハードウェアにより実現してもよく、ハードウェアとソフトウェアとの協働により実現してもよい。   With reference to FIG. 4, functions of the controller 100, the HMI 102, the controller 104, and the computer 200 will be described. The functions described below are realized by software, but may be realized by hardware, or may be realized by cooperation of hardware and software.

コントローラ100は、通信ドライバ110と、PPPサーバ120とを含む。通信ドライバ110は、たとえばUSBドライバ、USBシリアルドライバ、モデルドライバ等であって、USBポート450を介した通信を実現するために、物理的な通信ポート等を制御する。PPPサーバ120は、PPPを利用してイーサネット(登録商標)上で通信を行なうためのサーバであって、ソフトウェアにより実現される。通信ドライバ110およびPPPサーバ120には、周知の技術を利用すればよいため、ここではその詳細な説明は繰り返さない。   The controller 100 includes a communication driver 110 and a PPP server 120. The communication driver 110 is, for example, a USB driver, a USB serial driver, a model driver, or the like, and controls a physical communication port or the like in order to realize communication via the USB port 450. The PPP server 120 is a server for performing communication on the Ethernet (registered trademark) using PPP, and is realized by software. Since the communication driver 110 and the PPP server 120 may use a known technique, detailed description thereof will not be repeated here.

HMI102は、通信ドライバ112と、シリアル通信機能122とを含む。通信ドライバ112は、たとえばUSBドライバであって、USBポート452を介した通信を実現するために、物理的な通信ポート等を制御する。シリアル通信機能122は、シリアル通信を行なうための機能である。通信ドライバ112およびシリアル通信機能122には、周知の技術を利用すればよいため、ここではその詳細な説明は繰り返さない。   The HMI 102 includes a communication driver 112 and a serial communication function 122. The communication driver 112 is a USB driver, for example, and controls a physical communication port or the like in order to realize communication via the USB port 452. The serial communication function 122 is a function for performing serial communication. Since the communication driver 112 and the serial communication function 122 may use a known technique, detailed description thereof will not be repeated here.

コントローラ104は、通信ドライバ114と、PPPサーバ124とを含む。通信ドライバ114は、たとえばUSBドライバであって、USBポート454を介した通信を実現するために、物理的な通信ポート等を制御する。PPPサーバ124は、PPPを利用してイーサネット(登録商標)上で通信を行なうためのサーバである。コントローラ104がハードウェアであるのに対し、PPPサーバ124はソフトウェアにより実現される。通信ドライバ114およびPPPサーバ124には、周知の技術を利用すればよいため、ここではその詳細な説明は繰り返さない。   The controller 104 includes a communication driver 114 and a PPP server 124. The communication driver 114 is a USB driver, for example, and controls a physical communication port or the like in order to realize communication via the USB port 454. The PPP server 124 is a server for performing communication on Ethernet (registered trademark) using PPP. While the controller 104 is hardware, the PPP server 124 is realized by software. Since the communication driver 114 and the PPP server 124 may use a known technique, detailed description thereof will not be repeated here.

コンピュータ200は、通信ドライバ210と、通信アプリケーション220と、通信プロトコルスタック230と、コネクションマネージャ240とを含む。   The computer 200 includes a communication driver 210, a communication application 220, a communication protocol stack 230, and a connection manager 240.

通信ドライバ210は、たとえばUSBドライバであって、USBポート201,202,203を介した通信を実現するために、物理的な通信ポート等を制御する。   The communication driver 210 is a USB driver, for example, and controls a physical communication port or the like in order to realize communication via the USB ports 201, 202, and 203.

通信アプリケーション220は、実際に通信機能を利用するアプリケーションである。通信アプリケーション220の一例は、エンジニアリングツールである。   The communication application 220 is an application that actually uses a communication function. An example of the communication application 220 is an engineering tool.

通信プロトコルスタック230は、アプリケーションに、イーサネット通信機能およびシリアル通信機能などの通信機能を提供する。通信プロトコルスタック230の一例は、PPPクライアントである。   The communication protocol stack 230 provides communication functions such as an Ethernet communication function and a serial communication function to an application. An example of the communication protocol stack 230 is a PPP client.

コネクションマネージャ240は、本願発明の特徴的な機能である。コネクションマネージャ240は、接続先の機器(コントローラ100、HMI102またはコントローラ104)の情報に基いて、通信プロトコルの選択、起動および状態遷移などを制御する。コネクションマネージャ240の一例は、USBポート201,202,203を介した通信のためのUSBコネクションマネージャである。   The connection manager 240 is a characteristic function of the present invention. The connection manager 240 controls communication protocol selection, activation, state transition, and the like based on information of a connection destination device (the controller 100, the HMI 102, or the controller 104). An example of the connection manager 240 is a USB connection manager for communication via the USB ports 201, 202, and 203.

本実施の形態において、USBコネクションマネージャとしてのコネクションマネージャ240は、USBポート201,202,203に機器が繋がれると、USBポート201,202,203に繋がれた機器から、機器の接続形態(たとえばPPP直接接続、シリアル接続およびモデム接続等)を示す情報(たとえばデバイスディスクリプタ)を取得する。さらに、コネクションマネージャ240(USBコネクションマネージャ)は、USBポート201,202,203に繋がれた機器の接続形態に従って、機器とコンピュータ200とを接続する。   In the present embodiment, when a device is connected to the USB ports 201, 202, 203, the connection manager 240 as a USB connection manager starts from the device connected to the USB ports 201, 202, 203 to the device connection form (for example, Information (for example, device descriptor) indicating PPP direct connection, serial connection, modem connection, etc.) is acquired. Furthermore, the connection manager 240 (USB connection manager) connects the device and the computer 200 in accordance with the connection form of the device connected to the USB ports 201, 202, and 203.

なお、本実施の形態において「接続」とは、機器とコンピュータ200との間で通信可能な状態にすることを意味する。「繋がれた」とは、たとえばUSBケーブルによって、機器とコンピュータ200とが物理的に繋がれたことを意味する。   Note that “connection” in this embodiment means that communication between the device and the computer 200 is enabled. “Connected” means that the device and the computer 200 are physically connected by, for example, a USB cable.

図5を参照して、コネクションマネージャ240についてさらに説明する。コネクションマネージャ240は、エージェントマネージャ250と、エージェント260とを含む。   The connection manager 240 will be further described with reference to FIG. The connection manager 240 includes an agent manager 250 and an agent 260.

エージェントマネージャ250は、通信ドライバ210(例えばUSBドライバ)、通信アプリケーション220(たとえばエンジニアリングツール)および通信プロトコルスタック230(例えばPPPクライアント)から発せられたイベントに応答して、エージェント260を生成(起動)するとともに、エージェント260にイベントを通信する。   The agent manager 250 generates (activates) the agent 260 in response to an event emitted from the communication driver 210 (for example, USB driver), the communication application 220 (for example, engineering tool), and the communication protocol stack 230 (for example, PPP client). At the same time, the event is communicated to the agent 260.

エージェントマネージャ250は、コンピュータ200に接続された機器の種類、およびその機器の接続形態によって特定される動作条件に対応したエージェント260を生成する。たとえば、接続形態がPPP接続である場合、PPP接続エージェントが生成される。接続形態がシリアル接続である場合、シリアル接続エージェントが生成される。接続形態がモデム接続である場合、モデム接続エージェントが生成される。   The agent manager 250 generates an agent 260 corresponding to the operation condition specified by the type of device connected to the computer 200 and the connection form of the device. For example, when the connection form is a PPP connection, a PPP connection agent is generated. When the connection form is serial connection, a serial connection agent is generated. When the connection form is a modem connection, a modem connection agent is generated.

エージェント260は、動作条件に応じて動作および状態遷移を実行する。たとえば、接続形態がPPP接続である場合、コンピュータ200と機器とがPPP接続される。接続形態がシリアル接続である場合、コンピュータ200と機器とがシリアル接続される。接続形態がモデム接続である場合、コンピュータ200と機器とがモデム接続される。   The agent 260 performs an operation and a state transition according to the operation condition. For example, when the connection form is PPP connection, the computer 200 and the device are PPP-connected. When the connection form is serial connection, the computer 200 and the device are serially connected. When the connection form is a modem connection, the computer 200 and the device are connected by modem.

動作条件は、コンピュータ200の不揮発性記憶装置510または揮発性記憶装置520に記憶された動作仕様定義270から特定される。図6に動作仕様定義270の一例を示す。動作仕様定義270は、図7に示すエージェント定義272および図8に示すグループ動作定義274から構成される。なお、動作仕様定義270はこれに限定されない。   The operation condition is specified from the operation specification definition 270 stored in the nonvolatile storage device 510 or the volatile storage device 520 of the computer 200. FIG. 6 shows an example of the operation specification definition 270. The operation specification definition 270 includes an agent definition 272 shown in FIG. 7 and a group operation definition 274 shown in FIG. The operation specification definition 270 is not limited to this.

たとえば、図8に示すグループ動作定義274において、「動作タイプ」が「接続」であり、「グループ名」が「PLC」であると、「アクションタイプ」が「シングルトン」であると定義されている。その結果、図6のPPP接続の動作仕様定義において、「同一商品グループ」が「PLC」である場合に「接続=シングルトン」と定義される。その結果、1台のコンピュータ200に対して接続されるプログラマブルロジックコントローラは1台のみに制限される。   For example, in the group operation definition 274 illustrated in FIG. 8, when the “operation type” is “connection” and the “group name” is “PLC”, the “action type” is defined as “singleton”. . As a result, in the operation specification definition of the PPP connection in FIG. 6, “connection = singleton” is defined when “same product group” is “PLC”. As a result, the number of programmable logic controllers connected to one computer 200 is limited to one.

一方、図8に示すグループ動作定義274において、「動作タイプ」が「接続」であり、「グループ名」が「HMI」であると、「アクションタイプ」が「IP(Internet Protocol)アサイン」であると定義されている。その結果、図6のPPP接続の動作仕様定義において、「同一商品グループ」が「HMI」である場合に「接続=マルチ」と定義される。その結果、1台のコンピュータ200に対して、複数のHMIが接続され得る。   On the other hand, in the group action definition 274 shown in FIG. 8, when the “action type” is “connection” and the “group name” is “HMI”, the “action type” is “IP (Internet Protocol) assignment”. It is defined as As a result, in the operation specification definition of PPP connection in FIG. 6, when “same product group” is “HMI”, “connection = multi” is defined. As a result, a plurality of HMIs can be connected to one computer 200.

このように、本実施の形態においては、コンピュータ200に繋がれる機器の種類に応じて異なる数の機器とコンピュータ200とが接続される。具体的には、1台のプログラマブルロジックコントローラとコンピュータ200とが接続され得る一方、プログラマブルロジックコントローラは異なる種類である複数のHMIとコンピュータとが接続され得る。   Thus, in the present embodiment, a different number of devices and the computer 200 are connected depending on the type of device connected to the computer 200. Specifically, one programmable logic controller and the computer 200 can be connected, while a plurality of HMIs and computers that are different types of programmable logic controllers can be connected.

図9を参照して、一例としてコンピュータ200のUSBポート201にコントローラ100が繋がれた場合における、コンピュータ200の通信ドライバ210(USBドライバ)、コントローラ100の通信ドライバ110(USBドライバ)、エージェントマネージャ250およびエージェント260の動作について説明する。   Referring to FIG. 9, as an example, when the controller 100 is connected to the USB port 201 of the computer 200, the communication driver 210 (USB driver) of the computer 200, the communication driver 110 (USB driver) of the controller 100, and the agent manager 250. The operation of the agent 260 will be described.

コンピュータ200のUSBポート201にコントローラ100が繋がれたことをコンピュータ200の通信ドライバ210が検出すると、コンピュータ200の通信ドライバ210は、コントローラ100の通信ドライバ110に、コントローラ100の接続形態を示す情報を含むディスクリプタを要求する。   When the communication driver 210 of the computer 200 detects that the controller 100 is connected to the USB port 201 of the computer 200, the communication driver 210 of the computer 200 sends information indicating the connection form of the controller 100 to the communication driver 110 of the controller 100. Request descriptor containing.

コントローラ100の通信ドライバ110は要求を受信すると、コンピュータ200の通信ドライバ210にデバイスディスクリプタを送信する。ここでは、デバイスディスクリプタにより、コントローラ100の接続形態がUSB_PPP直接接続(USBDirect)であることが示されていると想定する。   When the communication driver 110 of the controller 100 receives the request, it transmits a device descriptor to the communication driver 210 of the computer 200. Here, it is assumed that the device descriptor indicates that the connection form of the controller 100 is USB_PPP direct connection (USBDirect).

コンピュータ200の通信ドライバ210がデバイスディスクリプタを受取ると、コンピュータ200の通信ドライバ210は、対応するUSBドライバをロードする。その後、コンピュータ200の通信ドライバ210は、コントローラ100の通信ドライバ110から機種情報を読み出す。コントローラ100の通信ドライバ110は、コンピュータ200の通信ドライバ210に機種情報を返す。ここでは、コントローラ100の機種情報が、「PLC−Model A」であると想定する。   When the communication driver 210 of the computer 200 receives the device descriptor, the communication driver 210 of the computer 200 loads the corresponding USB driver. Thereafter, the communication driver 210 of the computer 200 reads model information from the communication driver 110 of the controller 100. The communication driver 110 of the controller 100 returns model information to the communication driver 210 of the computer 200. Here, it is assumed that the model information of the controller 100 is “PLC-Model A”.

コンピュータ200の通信ドライバ210は、コントローラ100の通信ドライバ110から機種情報を読み出した後、エージェントマネージャ250に接続を通知する。具体的には、コンピュータ200の通信ドライバ210は、受取ったデバイスディスクリプタをエージェントマネージャ250に通知する。   The communication driver 210 of the computer 200 reads the model information from the communication driver 110 of the controller 100 and then notifies the agent manager 250 of the connection. Specifically, the communication driver 210 of the computer 200 notifies the agent manager 250 of the received device descriptor.

エージェントマネージャ250は、デバイスディスクリプタを受取ると、デバイスディスクリプタと動作仕様定義270とを参照してエージェント260を特定する。ここでは、デバイスディスクリプタによってUSB_PPP直接接続が指示されていることから、USBダイレクトエージェントが特定される。さらに、エージェントマネージャ250は、接続先の機種情報を取得する。   Upon receiving the device descriptor, the agent manager 250 refers to the device descriptor and the operation specification definition 270 to identify the agent 260. Here, since the USB_PPP direct connection is instructed by the device descriptor, the USB direct agent is specified. Further, the agent manager 250 acquires model information of the connection destination.

その後、エージェントマネージャ250は、エージェント260をロードするとともに、エージェント260に接続を通知する。具体的には、エージェントマネージャ250は、エージェント260に機種情報を通知する。その後、エージェント260は、状態遷移を開始する。その結果、最終的には、コンピュータ200とコントローラ100とがUSB通信回線上で、PPP接続される。   Thereafter, the agent manager 250 loads the agent 260 and notifies the agent 260 of the connection. Specifically, the agent manager 250 notifies the agent 260 of model information. Thereafter, the agent 260 starts a state transition. As a result, finally, the computer 200 and the controller 100 are PPP-connected on the USB communication line.

図10を参照して、エージェントマネージャ250によって実行される処理について説明する。   Processing executed by the agent manager 250 will be described with reference to FIG.

ステップ(以下、ステップをSと略す)10にて、通信ドライバ210からのケーブル接続イベントの受信を待つ。通信ドライバ210からケーブル接続イベントを受信すると(S12にてYES)、S14にて、動作種別が確定される。動作種別は、たとえば、エージェントマネージャ250において予め定義されたり、接続先のディスクリプタ情報により確定される。その後、S16にて、商品情報から動作グループが取得され、S18にて、取得された動作グループに対応するエージェントがロードされる。   In step (hereinafter, step is abbreviated as S) 10, reception of a cable connection event from communication driver 210 is awaited. When a cable connection event is received from communication driver 210 (YES in S12), the operation type is determined in S14. The action type is, for example, defined in advance in the agent manager 250 or determined by the descriptor information of the connection destination. Thereafter, in S16, an action group is acquired from the product information, and in S18, an agent corresponding to the acquired action group is loaded.

たとえば、USB接続により、「Omron USB DirectLine」という情報がコントローラ100から得られると、コンピュータ200にインストールされたWindows(登録商標)が、この情報に対応したUSBドライバをロードする。USBドライバは、コントローラ100と個別情報を交換することによって、商品情報を取得する。さらに、USBドライバは、コネクションマネージャ250に接続を通知する。エージェントマネージャ250は、エージェント定義情報より該当するエージェントを確定し、ロードする。   For example, when information “Omron USB DirectLine” is obtained from the controller 100 by USB connection, Windows (registered trademark) installed in the computer 200 loads a USB driver corresponding to this information. The USB driver acquires product information by exchanging individual information with the controller 100. Further, the USB driver notifies the connection manager 250 of the connection. The agent manager 250 determines and loads the corresponding agent from the agent definition information.

最後に、S20にて、ロードしたエージェントに対して初期イベントが通知される。
図11を参照して、エージェント260によって実行される処理について説明する。以下では、一例として、PPP接続エージェントによって実行される処理について説明する。その他のエージェントにより実行される処理は、PPP接続エージェントによって実行される処理と同様であるため、ここではその詳細な説明は繰り返さない。
Finally, in S20, the initial event is notified to the loaded agent.
Processing executed by the agent 260 will be described with reference to FIG. Hereinafter, as an example, processing executed by the PPP connection agent will be described. Since the processing executed by other agents is the same as the processing executed by the PPP connection agent, detailed description thereof will not be repeated here.

S100にて、エージェント260は、イベントの受信を待つ。エージェントマネージャ250、通信ドライバ210、通信アプリケーション220または通信プロトコルスタック230からイベントを受信すると(S102にてYES)、S104において、イベントと状態とにより、処理内容が決定される。   In S100, agent 260 waits for reception of an event. When an event is received from agent manager 250, communication driver 210, communication application 220, or communication protocol stack 230 (YES in S102), the processing content is determined based on the event and state in S104.

たとえば、PPP接続が要求された場合は、S110にて、PPP接続処理が実行される。USBの規約では、ベンダIDとプロダクトIDとが送付され、このベンダIDとプロダクトIDとからWindows(登録商標)などのOS(Operating System)が該当するドライバを見つけ、ロードする。本実施の形態においては、たとえば、USBDirectLineというドライバがロードされる。OSのUSBドライバは、ロードしたUSBドライバに制御を渡し、以後、ロードされたドライバがコントローラ100と接続処理を行なう。   For example, if PPP connection is requested, PPP connection processing is executed in S110. In the USB protocol, a vendor ID and a product ID are sent, and an OS (Operating System) such as Windows (registered trademark) finds a driver corresponding to the vendor ID and the product ID and loads it. In the present embodiment, for example, a driver called USBDirectLine is loaded. The OS USB driver passes control to the loaded USB driver, and the loaded driver performs connection processing with the controller 100 thereafter.

接続処理自身はUSBの規約で決められているものの、追加で必要な情報がコントローラ100より取得することができる。本実施の形態においては、機種情報などが取得される。   Although the connection process itself is determined by the USB protocol, additional necessary information can be acquired from the controller 100. In the present embodiment, model information and the like are acquired.

取得した機種情報などにより、その接続先がどのグループなのかが判定できる。たとえば、プログラマブルロジックコントローラなのか、HMIなのか、あるいはPPPをサポートしていないデバイスなのかなどの情報が取得される。たとえば、フィールドバス用の通信カプラは、通常はプログラマブルロジックコントローラのユニットとして装着され、プログラマブルロジックコントローラ経由で通信するが、カプラ自身にもUSBポートがついており、このようなカプラにおいて、PPPなどの処理まではコスト、リソースの観点から実装できない場合、シリアルとして通信する必要がある。   Based on the acquired model information, it is possible to determine which group the connection destination is. For example, information such as whether it is a programmable logic controller, an HMI, or a device that does not support PPP is acquired. For example, a fieldbus communication coupler is usually mounted as a unit of a programmable logic controller and communicates via the programmable logic controller, but the coupler itself also has a USB port. In such a coupler, processing such as PPP is performed. Until it is impossible to implement from the viewpoint of cost and resources, it is necessary to communicate as serial.

PLCやHMIのある機種ではPPPをサポートしているので、PPP実行用エージェントを起動し、さらにPLCかHMIかによって1台だけ接続させるのか複数台接続させるのかなどが選択可能である。PPPをサポートしていない機器であれば、別のエージェントを起動し、このエージェントに処理が任される。   Since a model with PLC or HMI supports PPP, it is possible to select whether to connect only one unit or a plurality of units depending on whether it is a PLC or HMI by starting a PPP execution agent. If the device does not support PPP, another agent is started and processing is left to this agent.

PPP接続処理が実行されると、S112にて、状態遷移が実行される。PPP接続が切断された場合は、S120にて、コンピュータ200と他の機器(たとえばコントローラ100)とが再度PPP接続される。診断要求があった場合には、S130にて、診断処理が実行される。モニタ要求があった場合には、S140にて、状態が通知される。   When the PPP connection process is executed, a state transition is executed in S112. When the PPP connection is disconnected, the computer 200 and another device (for example, the controller 100) are again PPP-connected in S120. If there is a diagnosis request, diagnosis processing is executed in S130. If there is a monitor request, the status is notified in S140.

ケーブル(たとえばUSBケーブル)が切断された場合は、S150にて、終了処理が実行される。したがって、たとえばUSBポート201からコントローラ100が物理的に外されると、コントローラ100とコンピュータ200との接続が終了される。   If a cable (for example, a USB cable) is disconnected, an end process is executed in S150. Therefore, for example, when the controller 100 is physically removed from the USB port 201, the connection between the controller 100 and the computer 200 is terminated.

図12を参照して、上述したS110において実行される、PPP接続処理についてさらに説明する。   With reference to FIG. 12, the PPP connection processing executed in S110 described above will be further described.

S200にて、接続先のグループが判定される。接続先のグループがプログラマブルロジックコントローラである場合(S200にてPLC)、S202にて、同一グループ内の別の機器が既に接続済みであるか否かが判定される。すなわち、別のプログラマブルロジックコントローラが既に接続済みであるか否かが判定される。   In S200, a connection destination group is determined. If the connection destination group is a programmable logic controller (PLC in S200), it is determined in S202 whether another device in the same group has already been connected. That is, it is determined whether another programmable logic controller has already been connected.

別のプログラマブルロジックコントローラが接続されていないと(S202にてNO)、S204にて、たとえばユーザによって割り当てられ、予め設定された固定IPアドレスを用いて、コンピュータ200と、コンピュータ200に繋がれたプログラマブルロジックコントローラ、すなわちコントローラ100とを接続する。その後、S206にて、通信プロトコルスタック230(PPPクライアント)に接続要求が送られる。   If another programmable logic controller is not connected (NO in S202), for example, in S204, the computer 200 and the programmable programmable controller connected to the computer 200 using a preset fixed IP address assigned by the user. A logic controller, that is, the controller 100 is connected. Thereafter, in S206, a connection request is sent to the communication protocol stack 230 (PPP client).

一方、接続先のグループがHMIである場合(S200にてHMI)、1台のコンピュータ200に対して複数のHMIを接続することが可能である。1台のコンピュータ200に対して複数のHMIを接続するために、S208にて、各HMIに割り当てられるIPアドレスが生成される。その後、S210にて、通信プロトコルスタック230(PPPクライアント)に接続要求が送られる。   On the other hand, when the connection destination group is an HMI (HMI in S200), a plurality of HMIs can be connected to one computer 200. In order to connect a plurality of HMIs to one computer 200, an IP address assigned to each HMI is generated in S208. Thereafter, in S210, a connection request is sent to the communication protocol stack 230 (PPP client).

図13を参照して、上述したS130において実行される、診断処理についてさらに説明する。   With reference to FIG. 13, the diagnosis process executed in S130 described above will be further described.

S300にて、接続先のグループが判定される。接続先のグループがプログラマブルロジックコントローラである場合(S300にてPLC)、S302にて、プログラマブルロジックコントローラが診断される。一方、接続先のグループがHMIである場合(S300にてHMI)、HMIが診断される。   In S300, a connection destination group is determined. When the connection destination group is a programmable logic controller (PLC in S300), the programmable logic controller is diagnosed in S302. On the other hand, if the connection destination group is HMI (HMI in S300), HMI is diagnosed.

今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

100 コントローラ、102 HMI、104 コントローラ、110,112,114 通信ドライバ、120,124 PPPサーバ、122 シリアル通信機能、200 コンピュータ、201,202,203 USBポート、210 通信ドライバ、220 通信アプリケーション、230 通信プロトコルスタック、240 コネクションマネージャ、250 エージェントマネージャ、260 エージェント、270 動作仕様定義、301,302 モデム、400 演算装置、410 不揮発性記憶装置、420 揮発性記憶装置、430 通信装置、440 通信ポート、450,452,454 USBポート、460 イーサネットポート、500 演算装置、510 不揮発性記憶装置、520 揮発性記憶装置、530 通信装置、540 表示装置、550 通信ポート、552 イーサネットポート。   100 controller, 102 HMI, 104 controller, 110, 112, 114 communication driver, 120, 124 PPP server, 122 serial communication function, 200 computer, 201, 202, 203 USB port, 210 communication driver, 220 communication application, 230 communication protocol Stack, 240 connection manager, 250 agent manager, 260 agent, 270 operation specification definition, 301, 302 modem, 400 arithmetic device, 410 non-volatile storage device, 420 volatile storage device, 430 communication device, 440 communication port, 450, 452 454 USB port, 460 Ethernet port, 500 arithmetic unit, 510 non-volatile storage device, 520 volatile storage device, 530 communication device , 540 display unit, 550 communication ports, 552 Ethernet port.

Claims (15)

通信のためのポートが設けられた操作端末であって、
機器グループ毎に各機器グループに属する機器を示す機器種別を定義する第1の定義情報、および、前記操作端末から要求される動作別に、機器グループ毎に対応付けられる接続アクションを定義する第2の定義情報を保持する記憶手段と、
前記ポートに機器が繋がれると、前記ポートに繋がれた機器から、前記機器の接続形態を示す情報を取得するための取得手段と、
前記ポートに繋がれた機器の接続形態に従って、前記機器と前記操作端末とを接続するための接続手段と、
前記機器から機器種別を取得するとともに、前記第1の定義情報から前記取得した機器種別に基づいて前記機器が属する機器グループを決定し、前記操作端末から何らかの動作の要求を受けると、前記第2の定義情報から前記要求を受けた動作と前記決定された機器グループとに対応する接続アクションを決定する制御手段とを備え、
前記接続手段は、決定された接続アクションに従って接続処理を実行する、操作端末。
An operation terminal provided with a port for communication,
First definition information that defines a device type indicating a device that belongs to each device group for each device group, and a second that defines a connection action associated with each device group for each operation requested from the operation terminal Storage means for holding definition information;
When a device is connected to the port, an acquisition unit for acquiring information indicating a connection form of the device from the device connected to the port;
According to the connection form of the device connected to the port, connection means for connecting the device and the operation terminal;
When the device type is acquired from the device, a device group to which the device belongs is determined based on the acquired device type from the first definition information, and a request for some operation is received from the operation terminal, the second Control means for determining a connection action corresponding to the operation that has received the request from the definition information and the determined device group,
The operation terminal that performs connection processing according to the determined connection action.
前記決定される接続アクションは、1台の機器のみを接続する処理と、複数の機器を接続する処理とを含む、請求項1に記載の操作端末。   The operation terminal according to claim 1, wherein the determined connection action includes processing for connecting only one device and processing for connecting a plurality of devices. 前記決定される接続アクションは、1台のプログラマブルロジックコントローラと前記操作端末とを接続する処理と、複数のプログラマブル表示器と前記操作端末とを接続する処理とを含む、請求項2に記載の操作端末。 Connection action which the determined includes a process for connecting the operation terminal and one of the programmable logic controller, and a plurality of programmable display device and the operation terminal and the Connecting to the process, according to claim 2 Operation terminal. 前記ポートから前記機器が外されると、前記機器と前記操作端末との接続を終了するための手段をさらに備える、請求項1〜3のいずれか1項に記載の操作端末。   The operation terminal according to claim 1, further comprising means for terminating a connection between the device and the operation terminal when the device is removed from the port. 前記ポートは、USBポートである、請求項1〜4のいずれか1項に記載の操作端末。   The operation terminal according to claim 1, wherein the port is a USB port. 前記接続手段は、前記機器の接続形態がPPP接続であると、前記機器と前記操作端末とをPPP接続する、請求項5に記載の操作端末。   The operation terminal according to claim 5, wherein the connection unit makes a PPP connection between the device and the operation terminal when a connection form of the device is a PPP connection. 前記接続手段は、前記機器の接続形態がシリアル接続であると、前記機器と前記操作端末とをシリアル接続する、請求項5に記載の操作端末。   The operation terminal according to claim 5, wherein the connection unit serially connects the device and the operation terminal when a connection form of the device is a serial connection. 通信のためのポートが設けられた操作端末に、
前記ポートに機器が繋がれると、前記ポートに繋がれた機器から、前記機器の接続形態を示す情報を取得するステップと、
前記ポートに繋がれた機器の接続形態に従って、前記機器と前記操作端末とを接続するステップと、
前記機器から機器種別を取得するとともに、機器グループ毎に各機器グループに属する機器を示す機器種別を定義する第1の定義情報から前記取得した機器種別に基づいて前記機器が属する機器グループを決定するステップと、
前記操作端末から何らかの動作の要求を受けると、前記操作端末から要求される動作別に、機器グループ毎に対応付けられる接続アクションを定義する第2の定義情報から前記要求を受けた動作と前記決定された機器グループとに対応する接続アクションを決定するステップとを実行させ、
前記接続するステップは、決定された接続アクションに従って接続処理を実行するステップを含む、プログラム。
To the operation terminal provided with a port for communication,
When a device is connected to the port, obtaining information indicating a connection form of the device from the device connected to the port;
Connecting the device and the operation terminal according to a connection form of the device connected to the port;
A device type is acquired from the device, and a device group to which the device belongs is determined based on the acquired device type from first definition information that defines a device type indicating a device belonging to each device group for each device group. Steps,
When an operation request is received from the operation terminal, the operation is determined to be the operation that has received the request from second definition information that defines a connection action associated with each device group for each operation requested from the operation terminal. Determining a connection action corresponding to the selected device group,
The step of connecting includes a step of executing a connection process according to the determined connection action.
前記決定される接続アクションは、1台の機器のみを接続する処理と、複数の機器を接続する処理とを含む、請求項8に記載のプログラム。   The program according to claim 8, wherein the determined connection action includes processing for connecting only one device and processing for connecting a plurality of devices. 前記決定される接続アクションは、1台のプログラマブルロジックコントローラと前記操作端末とを接続する処理と、複数のプログラマブル表示器と前記操作端末とを接続する処理とを含む、請求項9に記載のプログラム。 Connection action which the determined includes a process for connecting the operation terminal and one of the programmable logic controller, and a plurality of programmable display device and the operation terminal and the Connecting to the process, according to claim 9 Program. 前記ポートから前記機器が外されると、前記機器と前記操作端末との接続を終了するステップを前記操作端末にさらに実行させる、請求項8〜10のいずれか1項に記載のプログラム。   The program according to any one of claims 8 to 10, further causing the operation terminal to further execute a step of terminating the connection between the device and the operation terminal when the device is disconnected from the port. 前記ポートは、USBポートである、請求項8〜11のいずれか1項に記載のプログラム。   The program according to any one of claims 8 to 11, wherein the port is a USB port. 前記機器と前記操作端末とを接続するステップは、前記機器の接続形態がPPP接続であると、前記機器と前記操作端末とをPPP接続するステップを含む、請求項12に記載のプログラム。   The program according to claim 12, wherein the step of connecting the device and the operation terminal includes a step of performing a PPP connection between the device and the operation terminal when the connection form of the device is a PPP connection. 前記機器と前記操作端末とを接続するステップは、前記機器の接続形態がシリアル接続であると、前記機器と前記操作端末とをシリアル接続するステップを含む、請求項13に記載のプログラム。   The program according to claim 13, wherein the step of connecting the device and the operation terminal includes a step of serially connecting the device and the operation terminal when a connection form of the device is a serial connection. 通信のためのポートが設けられた操作端末と、
前記ポートに繋がれる機器とを備え、
前記操作端末は、
機器グループ毎に各機器グループに属する機器を示す機器種別を定義する第1の定義情報、および、前記操作端末から要求される動作別に、機器グループ毎に対応付けられる接続アクションを定義する第2の定義情報を保持する記憶手段と、
前記ポートに機器が繋がれると、前記ポートに繋がれた機器から、前記機器の接続形態を示す情報を取得するための取得手段と、
前記ポートに繋がれた機器の接続形態に従って、前記機器と前記操作端末とを接続するための接続手段と、
前記機器から機器種別を取得するとともに、前記第1の定義情報から前記取得した機器種別に基づいて前記機器が属する機器グループを決定し、前記操作端末から何らかの動作の要求を受けると、前記第2の定義情報から前記要求を受けた動作と前記決定された機器グループとに対応する接続アクションを決定する制御手段とを含み、
前記接続手段は、決定された接続アクションに従って接続処理を実行する、制御システム。
An operation terminal provided with a port for communication;
A device connected to the port,
The operation terminal is
First definition information that defines a device type indicating a device that belongs to each device group for each device group, and a second that defines a connection action associated with each device group for each operation requested from the operation terminal Storage means for holding definition information;
When a device is connected to the port, an acquisition unit for acquiring information indicating a connection form of the device from the device connected to the port;
According to the connection form of the device connected to the port, connection means for connecting the device and the operation terminal;
When the device type is acquired from the device, a device group to which the device belongs is determined based on the acquired device type from the first definition information, and a request for some operation is received from the operation terminal, the second Control means for determining a connection action corresponding to the requested operation from the definition information and the determined device group,
The connection means is a control system that executes connection processing according to the determined connection action.
JP2011056378A 2011-03-15 2011-03-15 Operation terminal, program and control system Active JP5786385B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011056378A JP5786385B2 (en) 2011-03-15 2011-03-15 Operation terminal, program and control system
PCT/JP2011/073814 WO2012124202A1 (en) 2011-03-15 2011-10-17 Operation terminal, program, and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011056378A JP5786385B2 (en) 2011-03-15 2011-03-15 Operation terminal, program and control system

Publications (2)

Publication Number Publication Date
JP2012194630A JP2012194630A (en) 2012-10-11
JP5786385B2 true JP5786385B2 (en) 2015-09-30

Family

ID=46830303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011056378A Active JP5786385B2 (en) 2011-03-15 2011-03-15 Operation terminal, program and control system

Country Status (2)

Country Link
JP (1) JP5786385B2 (en)
WO (1) WO2012124202A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6267105B2 (en) 2014-12-19 2018-01-24 ファナック株式会社 Control device for outputting maintenance diagnosis information and diagnostic information recording / display device
JP7097561B1 (en) * 2021-12-02 2022-07-08 三菱製鋼株式会社 Operation device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172130A (en) * 2004-12-15 2006-06-29 Canon Inc Information processor, external device, information processing program and control program
JP2006317990A (en) * 2005-05-10 2006-11-24 Keyence Corp Programmable logic controller, and communication system
US8190785B2 (en) * 2006-05-26 2012-05-29 Smart Technologies Ulc Plug-and-play device and method for enhancing features and settings in an interactive display system
JP2009089208A (en) * 2007-10-02 2009-04-23 Nippon Hoso Kyokai <Nhk> Dial-up router, and its control program
JP5163522B2 (en) * 2009-01-30 2013-03-13 カシオ計算機株式会社 USB storage device, host computer, USB storage system, and program

Also Published As

Publication number Publication date
WO2012124202A1 (en) 2012-09-20
JP2012194630A (en) 2012-10-11

Similar Documents

Publication Publication Date Title
JP6411003B1 (en) Data collection device, data collection method, and program
CN107272549B (en) Control device, control method, and recording medium
WO2016151856A1 (en) System design assistance device, system design assistance method, and system design assistance program
JP4840352B2 (en) Device management apparatus and program
US20110022978A1 (en) Intelligent device framework
JP2008193217A (en) Automatic scanner connection program
JP5786385B2 (en) Operation terminal, program and control system
US20110153841A1 (en) Operation setting method of relay apparatus, relay apparatus, and storage medium stored with program
WO2012056537A1 (en) Programmable controller
JP4666589B2 (en) USB device, USB system and USB control program
JP5207803B2 (en) Information processing apparatus, information processing method, and program
JP5879706B2 (en) Control system, operation terminal and program
JP5870804B2 (en) Communication control system, communication control method, and communication control program
JP3550677B2 (en) Personal computer and communication method of personal computer
JP6109447B1 (en) Information processing method and information processing apparatus
JP5720330B2 (en) Control system, operation terminal and program
JP5768420B2 (en) Control system, control device, operation terminal and program
JP6020854B2 (en) Computerized machine control system
JP7375360B2 (en) Network system, information processing device, and information processing method
JP5130836B2 (en) Multi-CPU system migration method and CPU system
JP6465314B2 (en) Device server
AU2020429850A1 (en) Monitoring control device and client pc
JP6455759B2 (en) Device server, device usage method, and program,
JP5330321B2 (en) Programmable display
JP2022135371A5 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150331

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150527

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150713

R150 Certificate of patent or registration of utility model

Ref document number: 5786385

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250