JP2006277770A - Control device - Google Patents
Control device Download PDFInfo
- Publication number
- JP2006277770A JP2006277770A JP2006186367A JP2006186367A JP2006277770A JP 2006277770 A JP2006277770 A JP 2006277770A JP 2006186367 A JP2006186367 A JP 2006186367A JP 2006186367 A JP2006186367 A JP 2006186367A JP 2006277770 A JP2006277770 A JP 2006277770A
- Authority
- JP
- Japan
- Prior art keywords
- control device
- command
- instruction
- communication port
- communication
- 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.)
- Withdrawn
Links
Images
Landscapes
- Manipulator (AREA)
- Programmable Controllers (AREA)
Abstract
Description
本発明は外部装置の指令を受けて産業用の機器等を制御する制御装置に関する。 The present invention relates to a control device that controls industrial equipment and the like in response to a command from an external device.
従来の産業用の制御装置は、図2のロボット制御装置1の例に示すように、複数の外部装置と接続されて通信する通信ポートS1〜S4を備えているが、特定の通信ポートを介して上位制御装置の命令を受けることが一般的であった(例えば特許文献1参照)。本例では通信ポートS1はシリアル通信回線3を利用して上位の計算機4と接続され、通信ポートS4はシリアル通信回線5を利用してティーチボックス6と接続されている。上位計算機4からロボットの動作指令等の命令が送られると、通信部2によってその命令が取り込まれ、命令解釈部7が所定の規則によってその命令を解読し、実際のロボット9の動作が命令実行部8によって実行される。
ところが、従来の制御装置は特定の通信ポートを介して外部装置の命令を受けとっていたため、特定の外部装置の命令しか受けとることができず、作業に応じて命令を受けとる外部装置を切替えることができないという問題があった。本発明は、複数の外部装置の命令を異なった通信ポートを介して入力出来るようにすることを目的とする。 However, since the conventional control device receives the command of the external device via the specific communication port, it can only receive the command of the specific external device and cannot switch the external device that receives the command according to the work. There was a problem. It is an object of the present invention to allow commands of a plurality of external devices to be input via different communication ports.
上記課題を解決するため、本発明は、外部機器と接続可能な複数の通信ポートと、その通信ポートを介して取り込まれた前記外部機器の命令を所定の規則に従って解読する命令解釈部と、解読された命令を実行する命令実行部からなり、前記外部機器の命令を受けて産業用機器を制御する制御装置において、前記命令解釈部は、タスクとして複数生成されるとともに、外部機器が接続された前記通信ポートの何れかに接続されることを特徴としている。
また、前記通信ポートと前記命令解釈部の接続を許可する接続許可テーブルを備え、この接続許可テーブルで接続が許可された通信ポートだけが前記命令解釈部と接続され、前記タスクは、前記通信ポートの接続を許可された前記命令解釈部の数だけ起動され、前記命令解釈部は前記接続許可テーブルで許可された通信ポートの何れかに接続され、前記接続許可テーブルは当該制御装置が立ち上がって初期化をした後に調べられる。
また、前記通信ポートは汎用の通信ポートであり、RS232CとLAN用インターフェースの何れかであり、前記LAN用インターフェースは外部装置の接続要求に応じて接続を複数確立し、確立した複数の通信路に対して前記命令解釈部の接続を許可する。
さらに、前記命令解釈部は、前記割当許可テーブルの設定を参照または変更する命令をもっており、当該制御装置の立上時以外でも任意のポートとの接続を許可あるいは切断することができる。このようになっているため、各通信ポートが接続要求を受けると、通信部は命令解釈部をその通信ポートに接続する。接続要求を受け付けない通信ポートについては制御装置の起動時に命令解釈部が接続される。この結果、接続された外部機器毎に命令解釈部が接続されることになり、複数の外部機器の命令を入力して実行することが可能になる。外部機器に指令を出す場合や固有の通信プロトコルで通信する場合には、そのような機器との通信ポートに対して命令解釈部を接続しないようにする必要がある。通信部は命令解釈部の接続に際して、接続許可テーブルを参照し、許可された通信ポートのみに命令解釈部を接続する。
In order to solve the above-described problems, the present invention provides a plurality of communication ports connectable to an external device, an instruction interpreter that decodes an instruction of the external device fetched via the communication port according to a predetermined rule, and a decoding In a control device that controls an industrial device in response to an instruction from the external device, a plurality of the instruction interpretation units are generated as tasks and connected to the external device. It is connected to any one of the communication ports.
In addition, a connection permission table for permitting connection between the communication port and the command interpreting unit is provided, and only a communication port permitted to be connected in the connection permission table is connected to the command interpreting unit, and the task is configured to transmit the communication port. The number of command interpreting units that are permitted to connect is activated, the command interpreting unit is connected to one of the communication ports permitted in the connection permission table, and the connection permission table is initialized by the control device starting up. It is examined after making it.
The communication port is a general-purpose communication port, and is either RS232C or a LAN interface. The LAN interface establishes a plurality of connections in response to a connection request of an external device, and connects to the established communication paths. On the other hand, the connection of the command interpreter is permitted.
Further, the command interpreting unit has a command for referring to or changing the setting of the allocation permission table, and can permit or disconnect the connection with an arbitrary port even when the control device is not started up. Thus, when each communication port receives a connection request, the communication unit connects the command interpreting unit to the communication port. For communication ports that do not accept connection requests, a command interpreter is connected when the control device is activated. As a result, a command interpreter is connected to each connected external device, and it becomes possible to input and execute commands from a plurality of external devices. When issuing a command to an external device or communicating with a specific communication protocol, it is necessary not to connect the command interpreter to a communication port with such a device. When connecting the command interpreting unit, the communication unit refers to the connection permission table and connects the command interpreting unit only to the permitted communication port.
本発明によると、制御装置に接続されている任意の外部機器から命令を受けとることが可能になり、ある上位装置から受けた命令を実行中に別の装置から動作プログラムをロードしたり、現状状態のモニタをする等のことが容易に実現できるという効果がある。また、制御装置内部の設定やプログラムを修正することなしに、外部機器を任意の通信ポートに接続できるという点で、システム構成の修正が容易になるという効果もある。 According to the present invention, it becomes possible to receive an instruction from an arbitrary external device connected to the control device, and an operation program is loaded from another device while executing an instruction received from a higher-level device, or the current state It is possible to easily realize such as monitoring. In addition, the system configuration can be easily corrected in that the external device can be connected to an arbitrary communication port without correcting the settings and programs in the control device.
以下、本発明の実施の形態について図を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は本発明を適用したロボット制御装置1のブロック図である。汎用通信ポートとして、RS232Cの通信ポートS1、S2、S3、S4を持ち、さらに、TCP/IPプロトコルのLAN用インターフェース(イーサネット(登録商標))EIを持つ。本例では、S1ポートにはロボットの動作指令を生成する上位計算機4が接続され、S2ポートにはハンド制御装置10、S3ポートにはティーチボックス6、S4ポートにはモニタ用の計算機11が接続されている。また、LANを介して複数の外部装置(計算機)12と通信可能である。本実施例における通信ポートの接続許可テーブルの内訳の例を図3に示す。この内訳によると、通信ポートS2以外の通信ポートS1、S3、S4、S5の接続が許可されることが示されている。制御装置が立ち上がると、初期化の後、接続許可テーブルが調べられる。
そして、外部からの接続要求を受け付けることができない通信ポートが接続許可テーブルで許可になっていれば命令解釈部7a〜7dのいずれかが接続される。この例は、RS232Cの通信ポートは全て外部からの接続要求を受け付けないので,立ち上げ時にS2を除く各ポートに命令解釈部7a〜7dが接続される。命令解釈部7a〜7dは接続許可テーブルの設定を参照、あるいは変更する機能を持っており、制御装置の立ち上げ時以外でも任意のポートと命令解釈部の接続と切断をすることができる。
FIG. 1 is a block diagram of a
And if the communication port which cannot accept the connection request from the outside is permitted in the connection permission table, any one of the
LANインターフェースに関しては、外部装置12の接続要求に応じて接続を確立するとともに、確立した通信路と命令解釈部7dを接続する。この方法によりLAN上の任意の装置の命令要求を受け付けることができる。命令解釈部7と通信ポートの接続は、命令解釈プログラムを別タスクとして起動することによって行われる。このとき、命令の入力先を示す通信ポート記述子がタスク起動のパラメータとして渡される。命令解釈プログラムのタスクは、命令解釈部7が接続された通信ポートの数だけ起動される。このため、複数の外部装置12の命令を同時に受けて実行することもできる。もちろん、同時実行できる命令は互いに干渉しない命令だけであり、移動命令等のロボットの実動作を伴う命令はその実行が排他制御される。また、命令解釈部7a〜7dはロボットの基本命令を実行するだけでなく、複数のロボット動作プログラムのロードやセーブ、実行も行う。命令実行部8は単一のタスクとして起動されており、複数の命令解釈部7のタスクから実行指令のメッセージが渡される。このような複数タスクとの通信は、通常のリアルタイムOSが持つタスク間のメッセージ通信機能を使って容易に実現できる。
Regarding the LAN interface, a connection is established in response to a connection request from the
実施例において、上位計算機4はロボットの動作命令を連続的に出力して常時ロボットを制御する。モニタ用計算機11は現在姿勢や動作状況のモニタ及び、動作プログラムの編集やロード、セーブを行う。
ティーチボックス6はロボットのティーチングとロボットプログラムの簡単な編集を行う。これらには、全く同一の命令解釈部7が接続されており、通信ポートの物理的なインターフェースの整合性さえとれれば、どの通信ポートも全く等価に使うことができる。ハンド制御装置10はロボットハンドの制御を行ない、本ロボット制御装置1から作業命令を受けとる。このため、接続許可テーブルにて、命令解釈部7の接続が禁止されている。また、LANに接続された任意の外部装置12からも全く同様に命令を受け取ることができるので、不特定の装置からロボットの監視や制御をすることが可能である。
In the embodiment, the
The
本実施例ではロボット制御装置1を例として示したが、工作機械制御装置やシーケンス制御装置等の外部装置2の指令を入力する制御装置全般に適用可能であることはいうまでもない。
In the present embodiment, the
1 ロボット制御装置 2 通信部
3 シリアル通信回線 4 上位制御装置
5 シリアル通信回線 6 ティーチボックス
7 命令解釈部 8 命令実行部
9 ロボット 10 ハンド制御装置
11 モニタ用の計算機 12 計算機
S1、S2、S3、S4 汎用通信ポート
EI TCP/IPプロトコルのLAN用インターフェース(イーサネット(登録商標))
1
DESCRIPTION OF
Claims (8)
前記命令解釈部は、タスクとして複数生成されるとともに、外部機器が接続された前記通信ポートの何れかに接続されることを特徴とする制御装置。 A plurality of communication ports connectable to an external device, an instruction interpreting unit that decodes an instruction of the external device fetched via the communication port according to a predetermined rule, and an instruction execution unit that executes the decoded command A control device for controlling industrial equipment in response to an instruction from the external equipment,
A plurality of the command interpretation units are generated as tasks, and are connected to any one of the communication ports to which an external device is connected.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006186367A JP2006277770A (en) | 2006-07-06 | 2006-07-06 | Control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006186367A JP2006277770A (en) | 2006-07-06 | 2006-07-06 | Control device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28446095A Division JP3944752B2 (en) | 1995-10-04 | 1995-10-04 | Command input device of control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006277770A true JP2006277770A (en) | 2006-10-12 |
Family
ID=37212395
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006186367A Withdrawn JP2006277770A (en) | 2006-07-06 | 2006-07-06 | Control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006277770A (en) |
-
2006
- 2006-07-06 JP JP2006186367A patent/JP2006277770A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5011474B2 (en) | Multiple robot system, method for controlling multiple robot controllers, and system for communicating between multiple programmable robot controllers and multiple teaching devices | |
US9869984B2 (en) | Process controller and updating method thereof | |
US10105840B2 (en) | Robot system including plurality of controllers connected via network | |
US9889560B2 (en) | Robot system for operating robot from plurality of teaching devices | |
EP2783808A2 (en) | Robot system, method for controlling robot, and method for producing to-be-processed material | |
WO2015136960A1 (en) | Controller | |
JP6265158B2 (en) | Electronics | |
JP4172490B2 (en) | Programmable controller | |
JP5895420B2 (en) | Robot control device and robot system | |
US9413607B2 (en) | Updating parameters in a network | |
US20190268300A1 (en) | Communication device and method of controlling communication device | |
JP2007221364A (en) | Expansion method of controller, control system, and control device | |
JP2006277770A (en) | Control device | |
CN109491331B (en) | Control system, sub-control device, and control method | |
JP2008134774A (en) | Protocol conversion device | |
US11226611B2 (en) | Control device, control method, and control program | |
Wruetz et al. | A wireless multi-robot network approach for industry 4.0 using RoBO2L | |
JP4671056B2 (en) | Programmable controller and communication unit | |
JP6633415B2 (en) | Controller and control method thereof | |
JP7163657B2 (en) | Support device, setting method and setting program | |
JPH09101806A (en) | Instruction input device for controller | |
JP7424028B2 (en) | robot operation terminal | |
JP2013066963A (en) | Robot control device, and robot system | |
KR101229911B1 (en) | Method for communication between upper controller for controlling movement of robot arm and main controller for driving many articulations of robot arm | |
JP2011227597A (en) | Method for monitoring and operating programmable display device, monitoring and operating program and programmable display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Effective date: 20060706 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A132 Effective date: 20090415 |
|
A761 | Written withdrawal of application |
Effective date: 20090423 Free format text: JAPANESE INTERMEDIATE CODE: A761 |