JPH07200046A - I / O controller - Google Patents

I / O controller

Info

Publication number
JPH07200046A
JPH07200046A JP5355121A JP35512193A JPH07200046A JP H07200046 A JPH07200046 A JP H07200046A JP 5355121 A JP5355121 A JP 5355121A JP 35512193 A JP35512193 A JP 35512193A JP H07200046 A JPH07200046 A JP H07200046A
Authority
JP
Japan
Prior art keywords
input
output
confirmation
communication information
external 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.)
Pending
Application number
JP5355121A
Other languages
Japanese (ja)
Inventor
Masashi Yagisawa
正史 八木澤
Yukihiro Umehara
幸浩 梅原
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.)
Nittoseiko Co Ltd
Original Assignee
Nittoseiko Co Ltd
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 Nittoseiko Co Ltd filed Critical Nittoseiko Co Ltd
Priority to JP5355121A priority Critical patent/JPH07200046A/en
Publication of JPH07200046A publication Critical patent/JPH07200046A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Control By Computers (AREA)

Abstract

(57)【要約】 (修正有) 【目的】 主制御装置と独立してデバッグ動作ができる
機能を入出力装置に持たせて先に組上がった外部機器か
ら順に動作確認を安全かつ完全に行う入出力用制御装置
を提供する。 【構成】 制御部6は模擬駆動用通信情報に基づいて外
部機器を構成する各機器の駆動信号を作成してこれを一
時記憶部8に記憶して並列入出力回路10に出力し、一
定時間ごとに並列入出力回路10に入力する各機器の動
作状態の確認信号を読み込んでこれに基づいて作成され
る確認用通信情報とともに一時記憶部8に記憶して、た
だちにあるいは前記確認信号、確認用通信情報変化時に
これらの送信指令をデバッグ用通信手段13に送信す
る。
(57) [Summary] (Modified) [Purpose] Safely and completely confirm the operation in order from the external device that was assembled first by giving the input / output device a function that enables debug operation independently of the main controller. Provide an input / output control device. [Configuration] The control unit 6 creates a drive signal for each device that constitutes an external device based on the simulated drive communication information, stores the drive signal in the temporary storage unit 8 and outputs the drive signal to the parallel input / output circuit 10 for a predetermined time. Each time, the confirmation signal of the operating state of each device, which is input to the parallel input / output circuit 10, is read and stored in the temporary storage unit 8 together with the confirmation communication information created based on the confirmation signal. These transmission commands are transmitted to the debug communication means 13 when the communication information changes.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、産業用ロボット本体か
ら独立して設置される主制御装置を補助してセンサ、電
磁弁等の入、出力を担う入出力用制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output control device for assisting a main control device installed independently of an industrial robot main body and for inputting and outputting sensors, solenoid valves and the like.

【0002】[0002]

【従来の技術】近年、多品種小量生産における部品の挿
入、組立等の作業に汎用性に富む産業用ロボットの使用
が増大している。このロボットの主制御装置はロボット
本体から独立して配置される自立型が多く、またロボッ
ト本体に付設される外部機器も複数の独立した部分から
構成される場合が多い。その場合、主制御装置と外部機
器とを結ぶ配線が膨大になり、その結果配線工程が増大
するので、それを避けるために各種外部機器が接続でき
る入出力用制御装置(以下、入出力装置という)を独立
した外部機器ごとに複数個取付け、各入出力装置と主制
御装置とを通信ケーブルで接続し、主制御装置との間で
入出力情報の授受を行うという方法が用いられている。
2. Description of the Related Art In recent years, the use of industrial robots, which are highly versatile in the work of inserting and assembling parts in high-mix low-volume production, has been increasing. The main controller of this robot is often a self-supporting type that is arranged independently of the robot body, and in many cases the external equipment attached to the robot body is also composed of multiple independent parts. In that case, the wiring connecting the main control device and the external device becomes enormous, and as a result, the wiring process increases, so in order to avoid this, various input / output control devices (hereinafter referred to as input / output devices) can be connected. ) Is attached to each independent external device, each input / output device and the main control device are connected by a communication cable, and input / output information is exchanged with the main control device.

【0003】[0003]

【発明が解決しようとする課題】ところが、従来の入出
力装置1は、図5に示すように、各種ブログラムが記憶
されたプログラムメモリ7から入出力を制御するプログ
ラムを読み出してこれを実行する制御部6を有し、主制
御装置(図示せず)からの外部機器の動作指令を通信手
段9で受信すると、動作指令に含まれる駆動用通信情報
を一時記憶部8に記憶し、この駆動用通信情報に応じて
外部機器(図示せず)を構成する各機器の駆動信号を作
成して並列入出力回路10に出力し、並列入出力回路1
0から外部機器を駆動する電圧レベルの駆動信号を各機
器に供給し、外部機器を駆動するように構成されている
に過ぎない。そのため、外部機器の一部が先に組上がっ
ても、すべての外部機器が組上がって配線が完了した状
態でないと、主制御装置を使って外部機器の動作確認が
できず、外部機器の確認は外部機器すべてが完成して組
上がる状態まで待つこととなり、機械の組立てに要する
期間が長くなる等の欠点が生じている。また、これを解
決するため、外部機器の一部が完成すると、その都度外
部機器に設けられたオンオフスイッチ(図示せず)を使
用して外部機器4を駆動し、その動作確認を行っている
が、その都度外部機器に接近しなければならず、危険を
伴うばかりか、外部機器のうちセンサ類の動作確認や配
線の確認はできず、完全な外部機器の動作確認ができな
い等の欠点が生じている。
However, as shown in FIG. 5, the conventional input / output device 1 reads a program for controlling input / output from a program memory 7 in which various programs are stored and executes the program. When the communication unit 9 has a control unit 6 and receives an operation command for an external device from a main control unit (not shown), the communication information for driving included in the operation command is stored in the temporary storage unit 8 and the driving is performed. A drive signal for each device that constitutes an external device (not shown) is created according to the communication information for use, and is output to the parallel input / output circuit 10.
It is only configured to supply a drive signal having a voltage level of 0 to drive an external device to each device to drive the external device. Therefore, even if some of the external devices are assembled first, unless all the external devices have been assembled and wiring is completed, the operation of the external devices cannot be confirmed using the main control unit, and the external device confirmation Has to wait until all the external devices are completed and assembled, which causes a drawback such as a longer period of time for assembling the machine. In order to solve this problem, when a part of the external device is completed, the on / off switch (not shown) provided in the external device is used to drive the external device 4 each time to check the operation. However, it is necessary to approach the external device each time, and it is not only dangerous, but it is not possible to check the operation of the sensors and wiring of the external device, and it is not possible to completely check the operation of the external device. Has occurred.

【0004】本発明は、上記欠点を除去し、外部機器全
体が組上がらなくても、主制御装置と独立してデバッグ
動作ができる機能を入出力装置に持たせることで、先に
組上がった外部機器から順に動作確認を安全かつ完全に
行うことができる入出力用制御装置を提供することを目
的とするものである。
The present invention was completed before by eliminating the above-mentioned drawbacks and providing an input / output device with a function capable of performing a debug operation independently of the main controller even if the entire external equipment is not assembled. It is an object of the present invention to provide an input / output control device capable of performing safe and complete operation confirmation sequentially from an external device.

【0005】[0005]

【課題を解決するための手段】入出力用制御装置は、主
制御装置からの外部機器の動作指令に含まれる外部機器
の駆動用通信情報を一時記憶部で記憶させる主通信手
段、前記駆動用通信情報に基づいて外部機器を構成する
各機器の駆動信号を作成してこれを一時記憶部に記憶し
て並列入出力回路に出力するとともに並列入出力回路に
入力する各機器の動作状態を確認する確認信号を読み込
んでこれに基づいて作成される確認用通信情報とともに
一時記憶部に記憶する制御部、制御部からの各機器の駆
動信号に応じて外部機器を駆動するとともに外部機器の
動作状態を確認する確認信号が入力する並列入出力回路
から構成されている。
An input / output control device is a main communication means for storing communication information for driving an external device included in an operation command of the external device from the main control device in a temporary storage unit, Create a drive signal for each device that makes up an external device based on communication information, store it in a temporary storage unit, output it to the parallel input / output circuit, and check the operating status of each device that inputs it to the parallel input / output circuit. The control unit that reads the confirmation signal and stores it in the temporary storage unit together with the confirmation communication information created based on the confirmation signal, drives the external device according to the drive signal of each device from the control unit, and operates the external device. It is composed of a parallel input / output circuit to which a confirmation signal for confirming is input.

【0006】また、前記入出力用制御装置にはパソコン
が接続される通信用コネクタを有しかつパソコンからの
外部機器の模擬駆動用通信情報を含むデバッグ指令を制
御部に送信する機能と、制御部から送信される外部機器
の動作状態を確認する確認信号、これから作成される確
認用通信情報をパソコンに送信する機能とを備えたデバ
ッグ用通信手段が設けられている。
Further, the input / output control device has a communication connector to which a personal computer is connected, and has a function of transmitting a debug command including communication information for simulating driving of an external device from the personal computer to the control section. There is provided a debug communication means having a confirmation signal for confirming the operation state of the external device transmitted from the unit, and a function for transmitting the confirmation communication information to be generated to the personal computer.

【0007】さらに、前記制御部はデバッグ指令に含ま
れる模擬駆動用通信情報に基づいて外部機器を構成する
各機器の駆動信号を作成してこれを一時記憶部に記憶し
て並列入出力回路に出力し、一定時間ごとに並列入出力
回路に入力する各機器の動作状態の確認信号を読み込ん
でこれに基づいて作成される確認用通信情報とともに一
時記憶部に記憶してただちにあるいは前記確認信号の変
化時にこれらをデバッグ用通信手段に送信するように構
成されている。
Further, the control unit creates a drive signal for each device constituting the external device based on the simulated drive communication information included in the debug command, stores the drive signal in the temporary storage unit, and stores it in the parallel input / output circuit. The confirmation signal of the operating state of each device that is output and input to the parallel input / output circuit at a fixed time is read and stored in the temporary storage unit together with the confirmation communication information created based on this signal immediately or It is configured to send them to the debug communication means upon change.

【0008】[0008]

【作 用】本発明の入出力用制御装置では、複数個の入
出力用制御装置がそれぞれ主制御装置に接続され、各入
出力装置に独立した各外部機器が接続される。この時、
いずれかの外部機器が他の外部機器よりも早く組上がっ
て配線が完了すると、この外部機器が接続される入出力
用制御装置にはパソコンが接続される。このパソコンか
らデバッグモード指令が送信されると、デバッグ用通信
手段がパソコンからの模擬駆動用通信情報を含むデバッ
グ指令を待つ。デバッグ指令の受信により、前記模擬駆
動用通信情報に基づいて外部機器を構成する各機器の駆
動信号が作成されて一時記憶部で記憶されるとともに、
これが並列入出力回路に出力される。そのため、並列入
出力回路から各機器に駆動可能な電圧レベルの駆動信号
が出力され、外部機器を構成する希望の機器が駆動され
る。その後、一定時間ごとに並列入出力回路にする各機
器の動作状態を確認する確認信号が一時記憶部で記憶さ
れ、ただちにあるいは確認信号の変化時にこの確認信号
とこれから作成される確認用通信情報がデバッグ用通信
手段に送信される。デバッグ用通信手段は、ただちにこ
の確認信号および確認用通信情報をパソコンに送信す
る。その結果として、パソコンからの動作指令に応じた
外部機器の動作状態を確認する確認信号および確認用情
報を一定時間ごとあるいは前記確認信号の変化時にバソ
コンの画面上で確認でき、外部機器を構成する各種駆動
源、センサ類の異常動作の有無ならびにこれらの配線を
確認することができる。
[Operation] In the input / output control device of the present invention, a plurality of input / output control devices are respectively connected to the main control device, and each external device is connected to each input / output device. This time,
When one of the external devices is assembled earlier than the other external devices and wiring is completed, a personal computer is connected to the input / output control device to which the external device is connected. When the debug mode command is transmitted from this personal computer, the debug communication means waits for the debug command including the simulated drive communication information from the personal computer. Upon receipt of the debug command, a drive signal for each device constituting the external device is created based on the simulated drive communication information and stored in the temporary storage unit,
This is output to the parallel input / output circuit. Therefore, the parallel input / output circuit outputs a drive signal of a voltage level capable of being driven to each device, and a desired device forming the external device is driven. After that, a confirmation signal that confirms the operating state of each device to be connected to the parallel input / output circuit is stored in the temporary storage unit at regular intervals, and this confirmation signal and the confirmation communication information created from this confirmation signal immediately or when the confirmation signal changes. Sent to the debug communication means. The debug communication means immediately sends the confirmation signal and the confirmation communication information to the personal computer. As a result, a confirmation signal for confirming the operation state of the external device according to the operation command from the personal computer and confirmation information can be confirmed on the screen of the VasoCon at regular intervals or when the confirmation signal changes, and the external device is configured. It is possible to check the presence or absence of abnormal operation of various drive sources and sensors and the wiring of these.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面に基づき説明
する。図1および図2において、1は産業用ロボット
(図示せず)の主制御装置2に通信用ケーブル5を介し
て並列型に接続される複数個の入出力用制御装置(以
下、入出力装置という)であり、各入出力装置1には入
出力端子台3を介して外部機器4を構成する各種機器
(図示せず)が接続されている。前記主制御装置2は、
入出力装置1に通常入出力モード指令と、外部機器4の
各機器の駆動用通信情報を含む動作指令とを送信可能に
構成されており、入出力装置1の電源投入後、後記デバ
ッグモード指令よりも先に通常入出力モード指令を送信
し、動作指令を送信できるように構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. 1 and 2, reference numeral 1 denotes a plurality of input / output control devices (hereinafter, input / output devices) connected in parallel to a main control device 2 of an industrial robot (not shown) via a communication cable 5. That is, each of the input / output devices 1 is connected to various devices (not shown) constituting the external device 4 via the input / output terminal block 3. The main controller 2 is
The normal input / output mode command and the operation command including the communication information for driving each device of the external device 4 are configured to be transmitted to the input / output device 1, and after the power of the input / output device 1 is turned on, a debug mode command to be described later. The normal input / output mode command is transmitted before the operation command is transmitted.

【0010】前記入出力装置1は、いずれも同一構造を
なしており、前記機器が接続される入力端子の動作状態
を表示するLED表示部3aを備えた入出力端子台3、
通常入出力用プログラムおよびデバッグ用プログラムを
記憶するプログラムメモリ7、これらプログラムを実行
する制御部6、各種情報を一時記憶する一時記憶部8、
主通信手段の一例の通信用コネクタ9aを有する高速通
信手段9、並列入出力回路10、各部に5ボルトの電圧
を供給する電源回路11から構成されている。
The input / output device 1 has the same structure, and the input / output terminal block 3 is provided with an LED display section 3a for displaying the operating state of the input terminal to which the device is connected.
A program memory 7 for storing a normal input / output program and a debug program, a control unit 6 for executing these programs, a temporary storage unit 8 for temporarily storing various information,
It is composed of a high speed communication means 9 having a communication connector 9a which is an example of the main communication means, a parallel input / output circuit 10, and a power supply circuit 11 which supplies a voltage of 5 V to each part.

【0011】前記高速通信手段9は、レシーバドライバ
ICとシリアルコントローラICを内蔵し、通信情報の
直列〜並列変換を行い、640Kbpsの通信速度で通
信を行うRS422A通信規格を用いて、主制御装置2
との間で通信が行われるように構成されている。この高
速通信手段9は、外部機器4の動作指令を受信すると、
これに含まれる駆動用通信情報をDMA(ダイレクト
メモリ アクセス)コントローラ(図示せず)により一
時記憶部8で一時記憶させて制御部6に読み込み完了指
令を送信するように構成されている。また、この高速通
信手段9は制御部6からの送信指令を待ってDMAコン
トローラにより一時記憶部8から後記する各機器の駆動
用通信情報、駆動信号、各機器の動作状態を確認する確
認信号および確認用通信情報を読み込み、主制御装置2
に送信するように構成されている。
The high-speed communication means 9 incorporates a receiver driver IC and a serial controller IC, performs serial-to-parallel conversion of communication information, and uses the RS422A communication standard for performing communication at a communication speed of 640 Kbps.
Is configured to communicate with. When the high-speed communication means 9 receives the operation command of the external device 4,
The drive communication information included in this is DMA (direct
A memory access controller (not shown) is used to temporarily store the data in the temporary storage unit 8 and send a read completion command to the control unit 6. Further, the high-speed communication means 9 waits for a transmission command from the control section 6 and causes the DMA controller to drive communication information for each device, a drive signal, and a confirmation signal for confirming the operating state of each device, which will be described later, from the temporary storage section 8. Main communication unit 2 reads the communication information for confirmation
Configured to send to.

【0012】前記制御部6は、電源投入後主制御装置2
からの通常入出力モード指令あるいは後記するパソコン
12からのデバッグモード指令を待って、プログラムメ
モリ7から通常入出力用プログラム、後記するデバッグ
用プログラムを読み出して実行するように構成されてい
る。この通常入出力モード指令およびデバッグモード指
令はスイッチ(図示せず)を入出力装置1に付加してこ
れから各指令を入出力装置1に認識させるようにするこ
ともできる。
The control unit 6 is a main control unit 2 after the power is turned on.
After waiting for a normal input / output mode command from the computer or a debug mode command from the personal computer 12 to be described later, the normal input / output program and the debug program to be described later are read from the program memory 7 and executed. A switch (not shown) may be added to the input / output device 1 for the normal input / output mode command and the debug mode command so that the input / output device 1 can recognize each command.

【0013】前記プログラムメモリ7には、通常入出力
用プログラム、その他説明は省略するが、モニタ用プロ
グラムが記憶されている。前記通常入出力用プログラム
は、図3に示すように、 1)高速通信手段からの読み込み完了指令を待つ(割り
込み指令として)。 2)一時記憶部から駆動用通信情報を読み込み、これに
基づき外部機器を構成する各機器を駆動する駆動信号を
作成して、これを一時記憶部に記憶し、さらに並列入出
力回路に出力する。 3)各機器の動作状態を確認する確認信号を並列入出力
回路から読み込み、これを一時記憶部に記憶するととも
に、この確認信号から確認用通信情報を作成してこれを
一時記憶部に記億する。 4)高速通信手段に一時記憶部内の確認信号および確認
用通信情報の送信指令を送信し、1)に戻る。 ように構成されている。
The program memory 7 stores a normal input / output program and a monitor program, although other explanations are omitted. The normal input / output program, as shown in FIG. 3, 1) waits for a read completion command from the high speed communication means (as an interrupt command). 2) Read the driving communication information from the temporary storage unit, create a driving signal for driving each device constituting the external device based on this, store it in the temporary storage unit, and further output it to the parallel input / output circuit. . 3) A confirmation signal for confirming the operation state of each device is read from the parallel input / output circuit, stored in the temporary storage unit, and the confirmation communication information is created from the confirmation signal and stored in the temporary storage unit. To do. 4) The confirmation signal in the temporary storage unit and the transmission command of the confirmation communication information are transmitted to the high-speed communication means, and the process returns to 1). Is configured.

【0014】前記一時記憶部8は、主制御装置2から送
信される動作指令に含まれる駆動用通信情報、駆動信
号、外部機器4の確認信号および確認用通信情報を一時
記憶するように構成されている。
The temporary storage unit 8 is configured to temporarily store the driving communication information, the driving signal, the confirmation signal of the external device 4 and the confirmation communication information included in the operation command transmitted from the main controller 2. ing.

【0015】前記並列入出力回路10は、制御部6から
の外部機器4の駆動信号を外部機器4を構成する複数の
機器を駆動可能な電圧レベルの駆動信号に変換してこれ
を各機器が接続される前記入出力端子台3の出力端子に
出力するとともに、前記各機器からの動作状態を確認す
る確認信号を前記入出力端子台3の入力端子から受けて
これを制御レベルの確認信号に変換するように構成され
ている。また、この並列入出力回路10は前記駆動信号
をバッファ回路(図示せず)で一時記憶しており、外部
機器4への信号転送時において同期をとるように構成さ
れている。
The parallel input / output circuit 10 converts a drive signal of the external device 4 from the control unit 6 into a drive signal of a voltage level capable of driving a plurality of devices forming the external device 4, and each device converts the drive signal. It outputs to the output terminal of the connected input / output terminal block 3 and receives a confirmation signal for confirming the operating state from each device from the input terminal of the input / output terminal block 3 and uses this as a control level confirmation signal. It is configured to convert. Further, the parallel input / output circuit 10 is configured to temporarily store the drive signal in a buffer circuit (not shown) so as to be synchronized when the signal is transferred to the external device 4.

【0016】前記入出力端子台3のLED表示部3a
は、5ボルト電源を利用して点灯し、例えば、各種機器
の一例のセンサからの信号が入出力端子台3に入力する
と、その信号によりセンサに対応するLEDが点灯する
ように構成されている。
LED display section 3a of the input / output terminal block 3
Is lit by using a 5 volt power supply, and, for example, when a signal from a sensor of an example of various devices is input to the input / output terminal block 3, the LED corresponding to the sensor is lit by the signal. .

【0017】また、前記入出力装置1はパソコン12が
接続可能な通信コネクタ13aを持つデバッグ用通信手
段13を有しており、9600bpsの通信速度で通信
を行うRS232C通信規格を用いた通信ケーブル14
を介してパソコン12との間で入出力情報の通信を行え
るように構成されている。このデバッグ用通信手段13
は、レシーバICとシリアルコントローラICを内蔵し
ており、通信情報の直列〜並列変換を行うように構成さ
れており、パソコンからのデバッグ指令、デバッグエン
ド指令、外部機器4の模擬駆動用通信情報を含む後記す
るデバッグ指令を制御部6に送信する機能と制御部6か
ら送信される外部機器の動作状態を確認する確認信号、
これから作成される確認用通信情報をパソコン12に送
信する機能とを備えている。前記パソコン12は汎用タ
イプで、後記するデバッグ用プログラムで動作し、キー
ボードあるいはマウスなどのポインティングデバイスの
入力指示によりデバッグモード指令、デバッグエンド指
令あるいはデバッグ指令を入出力装置1に送信したり、
前記デバッグ用通信手段13から所定の情報を受信する
と、これを所定の様式で表示したり、また表示中止指令
によりその表示を中止するように構成されている。
Further, the input / output device 1 has a debug communication means 13 having a communication connector 13a to which the personal computer 12 can be connected, and a communication cable 14 using the RS232C communication standard for performing communication at a communication speed of 9600 bps.
The input / output information can be communicated with the personal computer 12 via the. This debugging communication means 13
Has a built-in receiver IC and serial controller IC, and is configured to perform serial-to-parallel conversion of communication information. The debug command, the debug end command, and the simulated drive communication information from the external device 4 are transmitted from the personal computer. A function of transmitting a debug command to be described later to the control unit 6 including a confirmation signal for confirming the operating state of the external device transmitted from the control unit 6,
It has a function of transmitting the confirmation communication information to be created to the personal computer 12. The personal computer 12 is of a general-purpose type and operates with a debugging program to be described later, and transmits a debug mode command, a debug end command or a debug command to the input / output device 1 in response to an input instruction of a pointing device such as a keyboard or a mouse.
When the predetermined information is received from the debug communication means 13, the predetermined information is displayed in a predetermined format, or the display is stopped by a display stop command.

【0018】さらに、前記プログラムメモリ7にはデバ
ッグ用プログラムが記憶されており、このデバッグ用プ
ログラムは、図4に示すように、 1)一時記億部内の確認信号を読み込む。 2)確認信号の変化の有無を判別し、変化のない時、
4)にジャンプする。 3)前記確認信号を読み込むとともに、これから確認用
通信情報を作成して、確認信号および確認用通信情報を
デバッグ用通信手段に送信する。 4)デバッグ用通信手段がパソコンから指令を受信して
いるか否かを判断し、何らの指令も受信してない時、
1)に戻る。 5)デバッグエンド指令か否かを判断し、デバッグエン
ド指令の時、8)にジャンプする。 6)デバッグ指令に含まれる模擬駆動用通信情報を一時
記憶部に記憶するとともに、この模擬駆動用通信情報に
基づき外部機器を構成する各機器の駆動信号を作成して
一時記憶部で記憶し、さらにこれを並列入出力回路に出
力する。 7)並列入出力回路で受信した外部機器の動作状態を確
認する確認信号を読み込み、これを一時記憶部に記憶し
て、1)に戻る。 8)エンド となるように構成されている。なお、確認信号および確
認用通信情報を一定時間ごとにデバッグ用通信手段に送
信するようにしてもよい。
Further, a debug program is stored in the program memory 7, and the debug program, as shown in FIG. 4, 1) reads a confirmation signal in the temporary memory. 2) Determine whether there is a change in the confirmation signal, and when there is no change,
Jump to 4). 3) Read the confirmation signal, create confirmation communication information from this, and transmit the confirmation signal and the confirmation communication information to the debug communication means. 4) Judging whether or not the debug communication means has received a command from the personal computer, and when no command has been received,
Return to 1). 5) Judge whether it is a debug end command, and when it is a debug end command, jump to 8). 6) The simulated driving communication information included in the debug command is stored in the temporary storage unit, and the driving signal of each device that constitutes the external device is created based on the simulated driving communication information and stored in the temporary storage unit, Further, this is output to the parallel input / output circuit. 7) The confirmation signal for confirming the operating state of the external device received by the parallel input / output circuit is read, this is stored in the temporary storage unit, and the process returns to 1). 8) It is configured to be the end. The confirmation signal and the confirmation communication information may be transmitted to the debug communication means at regular intervals.

【0019】上記入出力装置は、独立した外部機器の数
に応じて増設され、それぞれ並列型に主制御装置2に接
続されるが、すべての外部機器4が組上がって配線も完
了すると、電源投入により入出力装置1は主制御装置2
からの通常入出力モード指令あるいはパソコン12から
のデバッグモード指令を待つ。主制御装置2から通常入
出力モード指令が先に送信されると、制御部6は高速通
信手段9からの読み込み完了指令を待つ。この間、主制
御装置2から外部機器4の駆動内容に応じた駆動用通信
情報を持つ動作指令を高速通信手段9が受信すると、D
MAコントローラにより駆動用通信情報が一時記憶部8
で記憶されるとともに、制御部6に読み込み完了指令が
送信される。制御部6はこの読み込み完了指令により作
動し、駆動用通信情報から制御レベルの駆動信号が作成
されて一時記憶部8で記憶されて、並列入出力回路10
に出力される。前記駆動信号は、並列入出力回路10で
外部機器4を構成する各機器を駆動可能な電圧レベルの
駆動信号に変換されて入出力端子台3の出力端子に出力
され、外部機器4を構成する各機器が駆動される。この
時、各機器から動作状態を確認する確認信号が入力端子
台3の入力端子を介して並列入出力回路10に入力し、
これが外部機器4の動作状態を確認する制御レベルの確
認信号に変換されて一時記憶部8に記憶される。同時
に、この確認信号から確認用通信情報が作成され、これ
が一時記憶部8に記憶される。さらに、この確認信号お
よび確認用通信情報は高速通信手段9、さらに主制御装
置2に送信されて、主制御装置2は外部機器4の動作状
態を知ることができる。
The above-mentioned input / output devices are added according to the number of independent external devices and are connected in parallel to the main control device 2, respectively, but when all the external devices 4 are assembled and wiring is completed, the power supply is turned on. When turned on, the input / output device 1 becomes the main controller 2
Wait for a normal input / output mode command from the computer or a debug mode command from the personal computer 12. When the normal input / output mode command is transmitted from the main control device 2 first, the control unit 6 waits for the read completion command from the high speed communication means 9. During this period, when the high-speed communication means 9 receives an operation command having drive communication information according to the drive content of the external device 4 from the main controller 2, D
The communication information for driving is temporarily stored by the MA controller 8
The read completion command is transmitted to the control unit 6 as well as being stored. The control unit 6 operates in response to the read completion command, a drive signal of a control level is created from the drive communication information, stored in the temporary storage unit 8, and the parallel input / output circuit 10 is operated.
Is output to. The drive signal is converted into a drive signal of a voltage level capable of driving each device constituting the external device 4 by the parallel input / output circuit 10 and output to the output terminal of the input / output terminal block 3 to configure the external device 4. Each device is driven. At this time, a confirmation signal for confirming the operation state from each device is input to the parallel input / output circuit 10 through the input terminal of the input terminal block 3,
This is converted into a control level confirmation signal for confirming the operation state of the external device 4 and stored in the temporary storage unit 8. At the same time, communication information for confirmation is created from the confirmation signal and stored in the temporary storage unit 8. Further, the confirmation signal and the confirmation communication information are transmitted to the high-speed communication means 9 and further to the main control device 2, so that the main control device 2 can know the operating state of the external device 4.

【0020】また、いずれかの入出力装置1に接続され
た外部機器4が他の入出力装置1に接続された外部機器
4よりも早く組上がって配線が完了し、この外部機器4
の動作確認を行う場合、デバッグ用通信手段13の通信
用コネクタ13aに通信ケーブル14を介してパソコン
12を接続して、入出力装置1の電源投入後ただちにこ
のパソコン12からデバッグモード指令がデバッグ用通
信手段13に送信される。そのため、制御部6は一時記
憶部8内の外部機器4の動作状態を確認する確認信号を
読み込み、その変化の有無を判断し、確認信号が変化し
てない時には、さらにデバッグ用通信手段13がパソコ
ン12から何らかの指令を受信しているか否かを判断す
る。この時、デバッグ用通信手段13が何らの指令も受
信してない場合、再度確認信号の変化を判断する。
The external device 4 connected to one of the input / output devices 1 is assembled faster than the external device 4 connected to another input / output device 1 and wiring is completed.
When confirming the operation of, the personal computer 12 is connected to the communication connector 13a of the debug communication means 13 through the communication cable 14, and immediately after the power of the input / output device 1 is turned on, the debug mode command is issued from the personal computer 12 for debugging. It is transmitted to the communication means 13. Therefore, the control unit 6 reads a confirmation signal for confirming the operation state of the external device 4 in the temporary storage unit 8 and determines whether or not there is a change. When the confirmation signal does not change, the debug communication unit 13 further determines. It is determined whether or not any command is received from the personal computer 12. At this time, if the debug communication unit 13 has not received any command, the change of the confirmation signal is determined again.

【0021】前記デバッグ用通信手段が何らかの指令を
受けている場合、これがデバッグエンド指令であれば、
すべての動作を終了するが、デバッグエンド指令でなけ
れば、これをデバッグ指令として、これに含まれる模擬
駆動用通信情報に基づいて外部機器4を構成する各機器
の駆動信号が作成されて一時記憶部8で記憶されるとと
もに、これが並列入出力回路10に出力される。そのた
め、並列入出力回路10から各機器に駆動可能な電圧レ
ベルの駆動信号が出力され、希望の機器が駆動される。
この時、並列入出力回路10には各機器の動作状態を確
認する確認信号が入力し、制御部6がこれを読み込んて
一時記憶部8で記憶される。
If the debug communication means receives any command, if this is a debug end command,
Although all the operations are finished, if it is not a debug end command, this is used as a debug command and drive signals for the respective devices configuring the external device 4 are created based on the simulated drive communication information included therein and temporarily stored. The data is stored in the unit 8 and is output to the parallel input / output circuit 10. Therefore, the parallel input / output circuit 10 outputs a drive signal of a voltage level capable of being driven to each device, and the desired device is driven.
At this time, a confirmation signal for confirming the operating state of each device is input to the parallel input / output circuit 10, which is read by the control unit 6 and stored in the temporary storage unit 8.

【0022】その後、一時記憶部8内の確認信号が再度
読み込まれて前述の動作が繰り返され、確認信号の変化
の有無が判断される。前記確認信号が変化している場
合、これから確認用通信情報が作成されて、確認信号お
よび確認用通信手段がデバッグ用通信手段13に送信さ
れる。そのため、デバッグ用通信手段13により各機器
の動作状態を確認する確認信号および確認用通信情報が
パソコン12に送信され、その結果として、パソコン1
2からの動作指令に応じた外部機器4の動作状態を確認
する確認信号および確認用通信情報を一定時間ごとある
いは前記確認信号変化時にパソコン12の画面上で確認
でき、外部機器4の異常動作の有無を確認することがで
きる。
After that, the confirmation signal in the temporary storage section 8 is read again and the above-mentioned operation is repeated to judge whether or not the confirmation signal has changed. When the confirmation signal has changed, confirmation communication information is created from this, and the confirmation signal and the confirmation communication means are transmitted to the debug communication means 13. Therefore, the debug communication means 13 transmits a confirmation signal for confirming the operating state of each device and confirmation communication information to the personal computer 12, and as a result, the personal computer 1
The confirmation signal for confirming the operation state of the external device 4 according to the operation command from 2 and the confirmation communication information can be confirmed on the screen of the personal computer 12 at regular intervals or when the confirmation signal changes, and the abnormal operation of the external device 4 can be confirmed. You can check the existence.

【0023】[0023]

【発明の効果】以上説明したように、本発明は主制御装
置と関係なくパソコンから外部機器の制御を行うことが
できるので、外部機器が複数台となってそれぞれの外部
機器が入出力用制御装置に接続されるような機械の製作
であっても、早く組上がった外部機器から順に動作テス
トおよび不都合箇所の修正ができる。それゆえ、すべて
の外部機器の組上がりを待つことなく、動作テストおよ
び不都合箇所の修正が可能となり、機械の組立てに要す
る時間を大幅に短縮することができるばかりか、外部機
器の動作確認をセンサ等の外部機器のみならずこれらの
配線も含めてできることとなり、完全な動作確認が可能
となる。また、外部機器に接近する必要もないので、そ
の動作確認を安全に行うことができる。
As described above, according to the present invention, since the external device can be controlled from the personal computer regardless of the main control device, a plurality of external devices are provided and each external device is controlled for input / output. Even when manufacturing a machine that is connected to a device, it is possible to perform an operation test and correct inconvenient parts in order from an assembled external device. Therefore, it is possible to test the operation and correct inconvenient parts without waiting for all the external devices to be assembled, and not only can the time required for assembling the machine be greatly reduced, but the operation confirmation of the external devices can also be checked by the sensor. It is possible to include not only external equipment such as the above, but also these wirings, and it is possible to perform a complete operation check. Moreover, since it is not necessary to approach the external device, the operation can be confirmed safely.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明に係る入出力装置の構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of an input / output device according to the present invention.

【図2】本発明の全体構成を示す概略説明図である。FIG. 2 is a schematic explanatory diagram showing an overall configuration of the present invention.

【図3】本発明に係る通常入出力用プログラムを示すフ
ローチャートである。
FIG. 3 is a flowchart showing a normal input / output program according to the present invention.

【図4】本発明に係るデバッグ用プログラムを示すフロ
ーチャートである。
FIG. 4 is a flowchart showing a debugging program according to the present invention.

【図5】従来例の概略構成を示すブロック図である。FIG. 5 is a block diagram showing a schematic configuration of a conventional example.

【符号の説明】[Explanation of symbols]

1 入出力用制御装置 2 主制御装置 3 入出力端子台 3a LED表示部 4 外部機器 5 通信用ケーブル 6 制御部 7 プログラムメモリ 8 一時記憶部 9 高速通信手段 9a 通信用コネクタ 10 並列入出力回路 11 電源回路 12 パソコン 13 モニタ用通信回路 13a 通信用コネクタ 14 通信用ケーブル 1 Input / output control device 2 Main control device 3 Input / output terminal block 3a LED display unit 4 External device 5 Communication cable 6 Control unit 7 Program memory 8 Temporary storage unit 9 High-speed communication means 9a Communication connector 10 Parallel input / output circuit 11 Power supply circuit 12 Personal computer 13 Monitor communication circuit 13a Communication connector 14 Communication cable

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 主制御装置からの外部機器の動作指令に
含まれる外部機器の駆動用通信情報を一時記憶部で記憶
させる主通信手段、前記駆動用通信情報に基づいて外部
機器を構成する各機器の駆動信号を作成してこれを一時
記憶部に記憶して並列入出力回路に出力するとともに並
列入出力回路に入力する各機器の動作状態の確認信号を
読み込んでこれに基づいて作成される確認用通信情報と
ともに一時記憶部に記憶する制御部、制御部からの各機
器の駆動信号に応じて外部機器を駆動するとともに外部
機器の動作状態を確認する確認信号が入力する並列入出
力回路からなる入出力用制御装置において、 パソコンが接続される通信用コネクタを持ちかつパソコ
ンからの外部機器の模擬駆動用通信情報を含むデバッグ
指令を制御部に送信する機能と制御部から送信される外
部機器の動作状態を確認する確認信号、これから作成さ
れる確認用通信情報をパソコンに送信する機能とを備え
たデバッグ用通信手段を設ける一方、 デバッグ指令に含まれる模擬駆動用通信情報に基づいて
外部機器を構成する各機器の駆動信号を作成してこれを
一時記憶部に記憶して並列入出力回路に出力し、一定時
間ごとに並列入出力回路に入力する各機器の動作状態の
確認信号を読み込んでこれに基づいて作成される確認用
通信情報とともに一時記憶部に記憶して、ただちにこれ
らをデバッグ用通信手段に送信する制御部を設けたこと
を特徴とする入出力用制御装置。
1. A main communication unit for storing, in a temporary storage unit, drive communication information of an external device included in an operation command of the external device from a main control device, and each of the external devices configured based on the drive communication information. Create a drive signal for a device, store it in a temporary storage unit, output it to the parallel input / output circuit, and read the confirmation signal of the operating state of each device, which is input to the parallel input / output circuit, and create it based on this. From the parallel input / output circuit that receives the confirmation signal that drives the external device according to the drive signal of each device from the control unit and the control unit that stores the confirmation communication information in the temporary storage unit and that confirms the operating state of the external device. The input / output control device has a communication connector to which a personal computer is connected, and the function to send a debug command from the personal computer to the control unit including communication information for simulated drive of external equipment. A debug communication means equipped with a confirmation signal for confirming the operating status of the external device sent from the control unit and a function for sending the confirmation communication information created from now on to the personal computer is provided, while the simulated drive included in the debug command is provided. Each device that creates a drive signal for each device that makes up an external device based on the communication information for use, stores this in the temporary storage unit, outputs it to the parallel input / output circuit, and inputs it to the parallel input / output circuit at regular intervals. Is provided with a control unit for reading a confirmation signal of the operating state of the device, storing it in the temporary storage unit together with the confirmation communication information created based on the confirmation signal, and immediately transmitting these to the debug communication unit. Output control device.
【請求項2】 制御部は並列入出力回路に入力する各機
器の動作状態の確認信号の変化時にこれのと確認信号と
これから作成される確認用通信情報をデバッグ用通信手
段に送信するよう構成されたことを特徴とする請求項1
に記載の入出力用制御装置。
2. The control unit is configured to transmit the confirmation signal and the confirmation communication information generated from the confirmation signal to the debug communication unit when the confirmation signal of the operating state of each device input to the parallel input / output circuit changes. Claim 1 characterized in that
The input / output control device described in 1.
JP5355121A 1993-12-28 1993-12-28 I / O controller Pending JPH07200046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5355121A JPH07200046A (en) 1993-12-28 1993-12-28 I / O controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5355121A JPH07200046A (en) 1993-12-28 1993-12-28 I / O controller

Publications (1)

Publication Number Publication Date
JPH07200046A true JPH07200046A (en) 1995-08-04

Family

ID=18442065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5355121A Pending JPH07200046A (en) 1993-12-28 1993-12-28 I / O controller

Country Status (1)

Country Link
JP (1) JPH07200046A (en)

Similar Documents

Publication Publication Date Title
JP3115297B2 (en) Control device for automatic equipment
KR100358038B1 (en) Robot control device
US4935886A (en) Plant control system including plant operation simulator
US6928337B2 (en) Robot simulation apparatus
EP1710642A2 (en) Distributed control apparatus
JPH09198119A (en) Operation board, remote I / O communication control system
JP2001156872A (en) Communication protocol conversion system, monitor device
EP0707251B1 (en) Control system
JPH0262606A (en) Cnc diagnosing system
JPH07200046A (en) I / O controller
WO2008037567A1 (en) A control device for controlling an industrial robot
JP3221502B2 (en) Robot control method
JPH11288310A (en) Robot device
JPH07200045A (en) I / O controller
JP2007310719A (en) Unit-type programmable controller
US6330485B1 (en) High-speed multi-task system
JP4042234B2 (en) FA network and robot controller
KR20030030450A (en) Testing tool system of car controller
JP2006294012A (en) Programmable controller system
JP2019195852A (en) System for operating device
JPH05336208A (en) Input / output device with monitor function
US20250306564A1 (en) Non-transitory computer-readable storage medium storing program and computer
CN214686559U (en) Industrial robot demonstrator and demonstration system
JP2005031876A (en) Display device for control
JP2589599Y2 (en) PC system