JP3944752B2 - Command input device of control device - Google Patents
Command input device of control device Download PDFInfo
- Publication number
- JP3944752B2 JP3944752B2 JP28446095A JP28446095A JP3944752B2 JP 3944752 B2 JP3944752 B2 JP 3944752B2 JP 28446095 A JP28446095 A JP 28446095A JP 28446095 A JP28446095 A JP 28446095A JP 3944752 B2 JP3944752 B2 JP 3944752B2
- Authority
- JP
- Japan
- Prior art keywords
- command
- instruction
- communication
- communication port
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Control By Computers (AREA)
Description
【0001】
【産業上の利用分野】
本発明は外部装置からの指令を受け付ける機能を持った工作機械制御装置、ロボット制御装置、シーケンス制御装置等の産業用制御装置の命令入力装置に関する。
【0002】
【従来の技術】
従来の産業用制御装置は、図2のロボット制御装置1の例に示すように、通信部2に複数の外部装置との通信ポートS1〜S4を持っているが、特定の通信ポートを介して上位制御装置からの命令を受け付けることが一般的であった。本例では通信ポートS1はシリアル通信回線3を利用して上位の計算機4と接続され、通信ポートS4はシリアル通信回線5を利用してティーチボックス6と接続されている。上位計算機4からロボットの動作指令等の命令が送られると、通信部2によってその命令が取り込まれ、命令解釈部7によってその命令が解読され、実際のロボット9の動作が命令実行部8によって実行される。
【0003】
【発明が解決しようとする課題】
従来の制御装置は特定の通信ポートを介してしか命令を受けとることができなかったため、特定の外部装置からしか命令を受けとることができず、作業に応じて命令を受けとる外部装置を切替えることができないという問題があった。本発明は異なった通信ポートを介して複数の外部装置からの命令を入力出来るようにすることを目的とする。
【0004】
【課題を解決するための手段】
上記課題を解決するため、本発明は、命令解釈部をタスクとして複数生成し、外部機器が接続された通信ポート毎に前記生成された命令解釈部を割り当て、
前記通信ポートから取り込まれた外部機器からの命令をその通信ポートに割り当てられた命令解釈部に解読させることを特徴とするものである。
また、前記通信部の通信ポート毎に命令解釈部の割り当てを許可あるいは拒否する割当許可テーブルを持ち、この割当許可テーブルに従って、割当が許可された通信ポートに対してのみ、前記命令解釈部の生成と通信ポートへの割り当てを行うことを特徴とするものである。
【0005】
【作用】
各通信ポートに接続要求が入ると通信部は命令解釈部をその通信ポートに割り当てる。
接続手続きを持たせない通信ポートに関しては、制御装置の起動時に命令解釈部を割り当てる。この結果、接続された外部機器毎に命令解釈部が割り当てられることになり、複数の外部機器から命令を入力し実行することが可能になる。外部機器に対して指令を出す場合や固有の通信プロトコルで通信する場合には、そのような機器との通信ポートに対して命令解釈部を割り当てないようにする必要がある。通信部は命令解釈部の割り当てに際して、割当許可テーブルを参照し、許可された通信ポートのみに命令解釈部を割り当てる。
【0006】
【実施例】
以下、本発明を実施例に基づいて具体的に説明する。図1に本発明によるロボット制御装置1のブロック図を示す。汎用通信ポートとして、RS232Cの通信ポートS1、S2、S3、S4を持ち、さらに、TCP/IPプロトコルのLAN用インタフェース(イーサネット)EIを持つ。本例では、S1ポートにはロボットの動作指令を生成する上位計算機4が接続され、S2ポートにはハンド制御装置10、S3ポートにはティーチボックス6、S4ポートにはモニタ用の計算機11が接続されている。また、LANを介して複数の外部装置(計算機)12と通信可能である。本実施例における命令解釈部の割当許可テーブルの内訳の例を図3に示す。この内訳によるとS2ポート以外の命令解釈部7a〜7dの割当が許可されることが示されている。制御装置が立ち上がると、初期化の後、割当許可テーブル(図1では示していない)を調べる。
そして、接続手続きを持たないインタフェースに対して、割当許可テーブルのエントリが許可であれば命令解釈部7a〜7dを割当る。この例は、RS232Cの通信ポートは全て接続手続きを持たないので、立ち上げ時に命令解釈部7a〜7dがS2を除く各ポートに割り当てられる。命令解釈部7a〜7dは割当許可テーブルの設定を参照、あるいは変更する命令を持っており、制御装置の立ち上げ時以外でも、任意のポートに命令解釈部の割当と解除を行うことができる。
【0007】
LANインタフェースに関しては、外部装置12からの接続要求に応じて接続を確立するとともに、確立した通信路に対して命令解釈部7dを割り当てる。この方法により、LAN上の任意の装置からの命令要求を受け付けることができる。命令解釈部7の割り当ては、命令解釈プログラムを別タスクとして起動することによって行う。このとき、命令を受けとる通信ポート記述子をパラメータとして渡す。命令解釈プログラムのタスクは、命令解釈部7が割り当てられた通信ポートの数だけ起動される。このため、複数の外部装置12からの命令を同時に受け付けて実行することもできる。もちろん、同時実行できる命令は互いに干渉しない命令だけで、移動命令等のロボットの実動作を伴う命令はその実行が排他制御される。また、命令解釈部7a〜7dはロボットの基本命令を実行するだけでなく、複数のロボット動作プログラムのロードやセーブ、実行も行う。命令実行部8は単一のタスクとして起動されており、複数の命令解釈部7のタスクから実行指令のメッセージが渡される。このような複数タスクとの通信は、通常のリアルタイムOSが持つタスク間のメッセージ通信機能を使って容易に実現できる。
【0008】
実施例において、上位計算機4はロボットの動作命令を連続的に出力して常時ロボットを制御する。モニタ用計算機11は現在姿勢や動作状況のモニタ及び、動作プログラムの編集やロード、セーブを行う。
ティーチボックス6はロボットのティーチングとロボットプログラムの簡単な編集を行う。これらには、全く同一の命令解釈部7が割り当てられており、通信ポートの物理的なインタフェースの整合性さえとれれば、どの通信ポートも全く等価に使うことができる。
ハンド制御装置10はロボットハンドの制御を行ない、本ロボット制御装置1から作業命令を受けとる。このため、割当許可テーブルにて、命令解釈部7の割当が禁止されている。また、LANに接続された任意の外部装置12からも全く同様に命令を受け取ることができるので、不特定の装置からロボットの監視や制御が可能である。
【0009】
本実施例ではロボット制御装置1を例として示したが、本発明は工作機械制御装置やシーケンス制御装置等の外部装置2からの指令を入力する制御装置全般に適用可能であることはもちろんである。
【0010】
【発明の効果】
以上述べたように本発明によれば、制御装置に接続されている任意の外部機器から命令を受けとることが可能になり、ある上位装置からの命令を実行中に、別の装置から動作プログラムのロードや現状状態のモニタ等が容易に実現できるという効果がある。また、制御装置内部の設定やプログラムを修正することなしに、外部機器を任意の通信ポートに接続できるという点で、システム構成の修正が容易になるという効果もある。
【図面の簡単な説明】
【図1】本発明の具体的実施例を示すブロック図
【図2】従来の制御装置のブロック図
【図3】命令解釈部の割当を制御する割当許可テーブルの内訳の例を示す図
【符号の説明】
1 ロボット制御装置 2 通信部
3 シリアル通信回線 4 上位制御装置
5 シリアル通信回線 6 ティーチボックス
7 命令解釈部 8 命令実行部
9 ロボット 10 ハンド制御装置
11 モニタ用の計算機12 計算機
S1、S2、S3、S4 汎用通信ポート
EI TCP/IPプロトコルのLAN用インタフェース(イーサネット)[0001]
[Industrial application fields]
The present invention relates to a command input device for an industrial control device such as a machine tool control device, a robot control device, or a sequence control device having a function of receiving a command from an external device.
[0002]
[Prior art]
As shown in the example of the
[0003]
[Problems to be solved by the invention]
Since conventional control devices can only receive commands via a specific communication port, they can only receive commands from specific external devices and cannot switch external devices that receive commands according to work. There was a problem. It is an object of the present invention to input commands from a plurality of external devices via different communication ports.
[0004]
[Means for Solving the Problems]
In order to solve the above problems, the present invention generates a plurality of command interpreting units as tasks , assigns the generated command interpreting unit to each communication port to which an external device is connected ,
The command interpreter assigned to the communication port is made to decode the command from the external device fetched from the communication port .
Moreover, Chi lifting permission or deny allocation permission table allocation instruction interpreting unit for each communication port of the communication unit, in accordance with the allocation permission table assignment only to authorized communication ports, the instruction interpreting unit Generation and assignment to a communication port are performed .
[0005]
[Action]
When a connection request is input to each communication port, the communication unit assigns a command interpretation unit to the communication port.
For a communication port that does not have a connection procedure, a command interpreter is assigned when the control device is activated. As a result, a command interpreter is assigned to each connected external device, and commands can be input and executed 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 assign a command interpreter to a communication port with such a device. The communication unit refers to the allocation permission table when allocating the command interpretation unit, and allocates the command interpretation unit only to the permitted communication port.
[0006]
【Example】
Hereinafter, the present invention will be specifically described based on examples. FIG. 1 shows a block diagram of a
Then, if the entry in the allocation permission table is permitted for the interface having no connection procedure, the
[0007]
Regarding the LAN interface, a connection is established in response to a connection request from the
[0008]
In the embodiment, the
The
The
[0009]
In the present embodiment, the
[0010]
【The invention's effect】
As described above, according to the present invention, it is possible to receive a command from an arbitrary external device connected to the control device, and while executing a command from a certain host device, an operation program from another device can be received. There is an effect that loading, monitoring of the current state, etc. can be easily realized. 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.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a specific embodiment of the present invention. FIG. 2 is a block diagram of a conventional control apparatus. FIG. 3 is a diagram showing an example of a breakdown of an assignment permission table for controlling assignment of an instruction interpreter. Explanation of]
DESCRIPTION OF
Claims (2)
その通信部によって取り込まれた外部機器の命令を予め定められた構文に従って解読する命令解釈部と、
解読された命令を実行する命令実行部からなる産業用機器の制御装置において、
前記命令解釈部をタスクとして複数生成し、
外部機器が接続された通信ポート毎に前記生成された命令解釈部を割り当て、
前記通信ポートから取り込まれた外部機器からの命令をその通信ポートに割り当てられた命令解釈部に解読させる
ことを特徴とする制御装置の命令入力装置。A communication unit that can be connected to a plurality of external devices via a plurality of communication ports;
A command interpreter that decodes a command of the external device captured by the communication unit according to a predetermined syntax ;
In a control device for industrial equipment consisting of an instruction execution unit for executing decoded instructions,
A plurality of the instruction interpretation units are generated as tasks,
Assign the generated command interpretation unit for each communication port to which an external device is connected ,
An instruction input device for a control device, wherein an instruction interpretation unit assigned to the communication port interprets an instruction from an external device fetched from the communication port .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28446095A JP3944752B2 (en) | 1995-10-04 | 1995-10-04 | Command input device of control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28446095A JP3944752B2 (en) | 1995-10-04 | 1995-10-04 | Command input device of control device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006186367A Division JP2006277770A (en) | 2006-07-06 | 2006-07-06 | Control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH09101806A JPH09101806A (en) | 1997-04-15 |
JP3944752B2 true JP3944752B2 (en) | 2007-07-18 |
Family
ID=17678828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28446095A Expired - Lifetime JP3944752B2 (en) | 1995-10-04 | 1995-10-04 | Command input device of control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3944752B2 (en) |
-
1995
- 1995-10-04 JP JP28446095A patent/JP3944752B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH09101806A (en) | 1997-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3832517B2 (en) | Robot controller and control method thereof | |
CN107741737B (en) | Process controller | |
EP1288748B1 (en) | Controller and operating system | |
EP3048523B9 (en) | Programmable display | |
EP3361328A1 (en) | Heterogeneous field devices control management system based on industrial internet operating system | |
WO2015136960A1 (en) | Controller | |
CN102880064A (en) | Control system of a robot | |
JP3944752B2 (en) | Command input device of control device | |
CN207209640U (en) | A kind of elevator remote monitoring system | |
JP2015215669A (en) | Numerical control device and control system | |
KR20190029977A (en) | A control system for device and process for operationg the control system | |
WO2021033356A1 (en) | Control system and control method | |
EP0620512A1 (en) | Numeric controller | |
JP2006277770A (en) | Control device | |
JP2001313659A (en) | Field device communication apparatus in distributed control system | |
JP2667042B2 (en) | Elevator group management system | |
US20220413459A1 (en) | Method and automation system for controlling and/or monitoring a machine and/or installation | |
JP7230353B2 (en) | Equipment control device | |
JP2008108123A (en) | Module execution device, and modularization program | |
JP2023049531A (en) | Control device | |
JPH03288255A (en) | Network control system for multiprocessor | |
JP3997410B2 (en) | Communications system | |
JPH05265977A (en) | Input/output control system | |
JPH0662080A (en) | Control system for information transmission equipment | |
JPH01258061A (en) | Backup system for decentralized control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050706 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050808 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060511 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060706 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070201 |
|
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: 20070315 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070328 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100420 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110420 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120420 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120420 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130420 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140420 Year of fee payment: 7 |
|
EXPY | Cancellation because of completion of term |