JPH08161006A - Program control unit - Google Patents

Program control unit

Info

Publication number
JPH08161006A
JPH08161006A JP30407894A JP30407894A JPH08161006A JP H08161006 A JPH08161006 A JP H08161006A JP 30407894 A JP30407894 A JP 30407894A JP 30407894 A JP30407894 A JP 30407894A JP H08161006 A JPH08161006 A JP H08161006A
Authority
JP
Japan
Prior art keywords
input
output port
output
program
port
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
Application number
JP30407894A
Other languages
Japanese (ja)
Inventor
Ryoichi Ichikawa
良一 市川
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP30407894A priority Critical patent/JPH08161006A/en
Publication of JPH08161006A publication Critical patent/JPH08161006A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Debugging And Monitoring (AREA)
  • Programmable Controllers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE: To switch a virtual input/output and a physical input/output port without modifying a program by providing a central arithmetic unit and a port switching means which selectively switches the transmission of input and output signals to the virtual input/output port or physical input/output port. CONSTITUTION: With a command from the central arithmetic unit 11, the program which is previously stored on an external storage device 13 is transferred to a main memory 12 and executed. As the execution of this program is advanced, the central arithmetic unit 11 sends an input/output command to the port switching means 14 which selectively switches the transmission of input and output signals to the virtual input/output port 15 or physical input/ output port 17. This input/output command is transmitted to a simulator 16 on the side of the virtual input/output port 15 to perform the simulating operation of production facilities 2 and on the side of the physical input/output port 17, the production facilities 2 operate corresponding to the input/output command. Therefore, the output ports can be switched without modifying the program.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、生産設備等の制御を行
うためのプログラム制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program control device for controlling production equipment and the like.

【0002】[0002]

【従来の技術】[Prior art]

<従来技術の構成>従来技術としては、特開平5−22
4978号に開示されたプログラム制御装置が開示され
ている。
<Constitution of Prior Art> As a conventional technique, Japanese Patent Laid-Open No. 5-22
The program control device disclosed in Japanese Patent No. 4978 is disclosed.

【0003】このプログラム制御装置(ライン制御装
置)30は、中央演算装置31と、プログラムやデータ
を保存するためのメインメモリ32と、プログラムやデ
ータをフロッピーディスク等の媒体に記憶する外部記憶
装置33と、中央演算装置31と制御対象である生産設
備2との信号のやりとりを仲介する物理入出力ポート3
4と、中央演算装置31と生産設備2との信号のやりと
りを仲介するための物理入出力ポート34と、生産設備
2の模擬動作を行うシミュレータ36と、中央演算装置
31とシミュレータ36との信号のやりとりを仲介する
仮想入出力ポート35とを具備している。
This program control device (line control device) 30 has a central processing unit 31, a main memory 32 for storing programs and data, and an external storage device 33 for storing the programs and data in a medium such as a floppy disk. And the physical input / output port 3 that mediates the exchange of signals between the central processing unit 31 and the production facility 2 to be controlled.
4, a physical input / output port 34 for mediating the exchange of signals between the central processing unit 31 and the production facility 2, a simulator 36 for simulating the production facility 2, and signals between the central processing unit 31 and the simulator 36. And a virtual input / output port 35 that mediates the exchange of information.

【0004】<従来技術の作用>まず、中央演算装置3
1によって、外部記憶装置33からプログラムがメイン
メモリ32に格納される。次にメインメモリ32に格納
されたプログラムが、中央演算装置31によって実行さ
れる。プログラム上で入出力ポート34の選択が仮想入
出力ポート35となっている場合は、この仮想入出力ポ
ート35を介してシミュレータ36に制御指令が伝えら
れる。制御指令を受けたシミュレータ36は生産設備2
の模擬動作を行い、プログラムが正しく作られているか
どうかを視覚的に表示する。そして、このシミュレータ
36においてプログラムの正当性が十分に確認された後
に、プログラム上の入出力ポートの選択を物理入出力ポ
ート34に切り替えて生産設備2を制御できるようにす
る。
<Operation of Prior Art> First, the central processing unit 3
1, the program is stored in the main memory 32 from the external storage device 33. Next, the program stored in the main memory 32 is executed by the central processing unit 31. When the virtual input / output port 35 is selected on the program as the virtual input / output port 35, a control command is transmitted to the simulator 36 via the virtual input / output port 35. The simulator 36 that received the control command is the production facility 2
Simulate the operation of and visually display whether or not the program is created correctly. Then, after the simulator 36 sufficiently confirms the correctness of the program, the selection of the input / output port on the program is switched to the physical input / output port 34 so that the production facility 2 can be controlled.

【0005】[0005]

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

<従来技術の欠点>従来技術では、仮想入出力ポート3
5と物理入出力ポート34を切り替える方法としてプロ
グラム上の入出力ポートのアドレスを書き直している。
この方法の場合、最低限の修整で済むが、やはりプログ
ラムの修整が必要であり、これに付随するプログラムの
コンパイルやリンクの作業も必要となる。よってプログ
ラム修整によるミスや、付随作業により作業性が悪くな
る。
<Disadvantages of Prior Art> In the prior art, the virtual input / output port 3
5 and the physical input / output port 34 are switched, the address of the input / output port on the program is rewritten.
With this method, the minimum modification is required, but the modification of the program is still necessary, and the work of compiling and linking the program accompanying this is also necessary. Therefore, workability deteriorates due to mistakes due to program modification and accompanying work.

【0006】<発明の目的>本発明は、上記従来技術の
欠点に着目し、プログラムの修整をすることなしに、仮
想入出力ポートと物理入出力ポートを切り替えることが
可能なプログラム制御装置を提供することを目的として
いる。
<Object of the Invention> The present invention focuses on the above-mentioned drawbacks of the prior art, and provides a program control device capable of switching between a virtual input / output port and a physical input / output port without modifying the program. The purpose is to do.

【0007】[0007]

【課題を解決するための手段】請求項1記載のプログラ
ム制御装置は、生産設備等を制御するための制御プログ
ラムを実行するための中央演算装置と、制御プログラム
やデータを格納する主記憶手段と、制御プログラムやデ
ータをファイルとして格納するための外部記憶装置と、
生産設備等の動作を模擬的に実行するシミュレータと、
このシミュレータと中央演算装置との入出力信号の伝送
を媒介する仮想入出力ポートと、生産設備等と中央演算
装置との入出力信号の伝送を媒介する物理入出力ポート
とを備えたプログラム制御装置において、前記中央演算
装置と、仮想入出力ポート又は物理入出力ポートとの間
の入出力信号の伝送を選択的に切り替えるポート切替え
手段を設けたことを特徴とするものである。
According to a first aspect of the present invention, there is provided a program control device, which comprises a central processing unit for executing a control program for controlling production equipment and the like, and a main storage means for storing the control program and data. An external storage device for storing the control program or data as a file,
A simulator that simulates the operation of production equipment,
A program control device having a virtual input / output port that mediates transmission of input / output signals between the simulator and the central processing unit, and a physical input / output port that mediates transmission of input / output signals between the production facility and the central processing unit In the above, a port switching means for selectively switching input / output signal transmission between the central processing unit and the virtual input / output port or the physical input / output port is provided.

【0008】請求項2記載のプログラム制御装置は、前
記ポート切替え手段を、前記中央演算装置と、仮想入出
力ポート又は物理入出力ポートとの間の入出力信号の伝
送を選択的に切り替えるスイッチにより構成したもので
ある。請求項3記載のプログラム制御装置は、前記ポー
ト切替え手段を前記制御プログラムに仮想入出力ポート
又は物理入出力ポート用に交換可能に付加したデバイス
ドライバにより構成したものである。
According to a second aspect of the present invention, there is provided a program control device, wherein the port switching means is a switch for selectively switching transmission / reception of an input / output signal between the central processing unit and a virtual input / output port or a physical input / output port. It is composed. According to a third aspect of the present invention, in the program control device, the port switching means is constituted by a device driver in which the control program is exchangeably added for a virtual input / output port or a physical input / output port.

【0009】[0009]

【作用】請求項1の作用を図1の概念図を参照して以下
に説明する。
The operation of claim 1 will be described below with reference to the conceptual diagram of FIG.

【0010】まず、中央演算装置11からの指令により
外部記憶装置13に記憶されたプログラムおよびデータ
がメインメモリ12上に読み出される。次に、前記中央
演算装置11によって、メインメモリ12上のプログラ
ムが順次実行される。プログラムの実行過程で入出力処
理が発生した場合は、中央演算装置11から出された入
出力指令が、ポート切り替え手段14を通して仮想入出
力ポート15または物理入出力ポート17に伝達され
る。この際、ポート切り替え手段14が中央演算装置1
1からの入出力指令を仮想入出力ポート15側に伝達す
る様に設定していれば、前記入出力指令は仮想入出力ポ
ート15を介してシミュレータ16に伝達される。上記
入出力指令を受けたシミュレータ16は生産設備2の模
擬動作を行う。また、ポート切り替え手段14が前記入
出力指令を物理入出力ポート17側に伝達する様に設定
していれば、入出力指令は、物理入出力ポート17を介
して、外部の生産設備2に伝達され、入出力指令に応じ
た動作を行う。
First, a program and data stored in the external storage device 13 are read out onto the main memory 12 by a command from the central processing unit 11. Next, the programs on the main memory 12 are sequentially executed by the central processing unit 11. When input / output processing occurs during the execution of the program, the input / output command issued from the central processing unit 11 is transmitted to the virtual input / output port 15 or the physical input / output port 17 through the port switching means 14. At this time, the port switching means 14 makes the central processing unit 1
If the input / output command from 1 is set to be transmitted to the virtual input / output port 15 side, the input / output command is transmitted to the simulator 16 via the virtual input / output port 15. The simulator 16 which receives the input / output command simulates the production facility 2. If the port switching means 14 is set to transmit the input / output command to the physical input / output port 17, the input / output command is transmitted to the external production facility 2 via the physical input / output port 17. Then, the operation according to the input / output command is performed.

【0011】請求項2記載のプログラム制御装置によれ
ば、前記ポート切替え手段14を、前記中央演算装置1
1と、仮想入出力ポート15又は物理入出力ポート17
との間の入出力信号の伝送を選択的に切り替えるスイッ
チを用いて構成したものであるから、プログラムの調整
を伴うこと無く、しかも、安価な構成で仮想入出力ポー
ト15と物理入出力ポート17との切り替えを行う事が
できる。請求項3記載のプログラム制御装置によれば、
前記ポート切替え手段を、前記制御プログラムに仮想入
出力ポート又は物理入出力ポート用に交換可能に付加し
たデバイスドライバにより構成したものであるから、ハ
ードウェア的変更なしで既存のシステムを生かしつつ仮
想入出力ポート15と物理入出力ポート17との切り替
えを行う事ができる。
According to the program control apparatus of the second aspect, the port switching means 14 is provided in the central processing unit 1.
1 and virtual input / output port 15 or physical input / output port 17
Since it is configured by using a switch that selectively switches input / output signal transmission between the virtual input / output port 15 and the physical input / output port 17 without a program adjustment and with an inexpensive configuration. You can switch between and. According to the program control device of claim 3,
Since the port switching means is configured by a device driver that is replaceably added to the control program for the virtual input / output port or the physical input / output port, the virtual input can be performed while utilizing the existing system without changing the hardware. It is possible to switch between the output port 15 and the physical input / output port 17.

【0012】[0012]

【実施例】以下に本発明の実施例を詳細に説明する。EXAMPLES Examples of the present invention will be described in detail below.

【0013】[第1実施例] (構成)上述した図1と同様な図2を参照して本発明の
第1実施例を説明する。
[First Embodiment] (Structure) A first embodiment of the present invention will be described with reference to FIG. 2 similar to FIG. 1 described above.

【0014】図2に示すプログラム制御装置1は、制御
対象である生産設備2等を制御するための制御プログラ
ムを実行するための中央演算装置11と、制御プログラ
ムやデータを格納する主記憶手段であるRAMを用いた
複数のICからなるメインメモリ12と、制御プログラ
ムやデータをファイルとして格納するハードディスク装
置、フロッピーディスク装置等からなる外部記憶装置1
3と、生産設備2等の動作を模擬的に実行する表示器を
備えパソコンと同等な機能のシミュレータ16と、この
シミュレータ16と中央演算装置11との入出力信号の
伝送を媒介する入出力用のICで構成された仮想入出力
ポート15と、生産設備2等と中央演算装置11との入
出力信号の伝送を媒介する入出力用のICで構成された
物理入出力ポート17と、前記中央演算装置11と、仮
想入出力ポート15又は物理入出力ポート17との間の
入出力信号の伝送を選択的に切り替えるポート切替え手
段14とを有している。
The program control device 1 shown in FIG. 2 comprises a central processing unit 11 for executing a control program for controlling the production equipment 2 and the like to be controlled, and a main storage means for storing the control program and data. A main memory 12 including a plurality of ICs using a certain RAM, and an external storage device 1 including a hard disk device and a floppy disk device for storing control programs and data as files.
3 and a simulator 16 equipped with a display device for simulating the operation of the production facility 2 and the like and having a function equivalent to that of a personal computer, and for input / output for mediating transmission of input / output signals between the simulator 16 and the central processing unit 11. Virtual input / output port 15 formed of an IC, a physical input / output port 17 formed of an input / output IC for mediating transmission of input / output signals between the production facility 2 and the central processing unit 11, It has a processor 11 and a port switching means 14 for selectively switching the transmission of input / output signals between the virtual input / output port 15 and the physical input / output port 17.

【0015】前記ポート切替え手段14は、図3に示す
ように、アドレスバスb1とデータバスb2と入出力制
御信号線b3の3種類の信号線を備えており、アドレス
バスb1とデータバスb2は、ポート切り替え手段14
上で二方向に分岐して仮想入出力ポート15と物理入出
力ポート17の両方へ常時接続されている。また、入出
力制御信号線b3はスイッチ(機械的又は電気的スイッ
チ)b4により仮想入出力ポート15または物理入出力
ポート17のどちらか一方を選択して接続できる構成と
なっている。
As shown in FIG. 3, the port switching means 14 has three kinds of signal lines, that is, an address bus b1, a data bus b2 and an input / output control signal line b3, and the address bus b1 and the data bus b2 are , Port switching means 14
It branches in two directions above and is always connected to both the virtual input / output port 15 and the physical input / output port 17. Further, the input / output control signal line b3 is configured so that either the virtual input / output port 15 or the physical input / output port 17 can be selected and connected by a switch (mechanical or electrical switch) b4.

【0016】(作用)次に、前記プログラム制御装置1
の作用を説明する。
(Operation) Next, the program controller 1
The operation of will be described.

【0017】まず、中央演算装置11からの指令により
外部記憶装置13に予め格納されていたプログラムがメ
インメモリ12上に転送され実行される。プログラムの
実行が進むと中央演算装置11からポート切り替え手段
14に対して入出力指令が発行される。入出力指令を受
けたポート切り替え手段14では、上述したようにアド
レスバスb1の信号とデータバスb2の信号は仮想入出
力ポート15と物理入出力ポート17の双方に伝送され
る。そして、入出力制御信号線b3の信号はスイッチb
4で選択された仮想入出力ポート15又は物理入出力ポ
ート17のどちらか一方に伝えられる。
First, a program previously stored in the external storage device 13 is transferred to the main memory 12 and executed by a command from the central processing unit 11. When the execution of the program progresses, the central processing unit 11 issues an input / output command to the port switching means 14. In the port switching means 14 which has received the input / output command, the signal of the address bus b1 and the signal of the data bus b2 are transmitted to both the virtual input / output port 15 and the physical input / output port 17 as described above. The signal on the input / output control signal line b3 is the switch b.
It is transmitted to either the virtual I / O port 15 or the physical I / O port 17 selected in 4.

【0018】前記ポート切り替え手段14のスイッチb
4が仮想入出力ポート15側に設定されていた場合は、
入出力制御信号の全て、即ち、アドレスバスb1の信号
とデータバスb2の信号と入出力制御信号線b3の信号
は、仮想入出力ポート15に伝達される。そして、仮想
入出力ポート15では、入出力制御信号線b3の指示に
従いシミュレータ16に対するデータの出力または入力
が行われる。
Switch b of the port switching means 14
When 4 is set on the virtual input / output port 15 side,
All the input / output control signals, that is, the signal of the address bus b1, the signal of the data bus b2, and the signal of the input / output control signal line b3 are transmitted to the virtual input / output port 15. Then, in the virtual input / output port 15, data is output or input to the simulator 16 according to the instruction of the input / output control signal line b3.

【0019】ここで、データの出力が行われる場合は、
上記アドレスバスb1の信号で指定された特定のポート
へ、データバスb2で指定された信号が入出力制御信号
線b3の指示に従い仮想入出力ポート15から出力され
次の出力指令がくるまで出力した値は保持される。ま
た、データの入力が行われる場合は、シミュレータ16
側に接続された入力用のポートのうち、アドレスバスb
1で指定されたポートのデータを入力し、入出力制御信
号線b3が有効である間だけデータバスb2に伝達され
る。そして、データバスb2に伝達された入力データ
は、ポート切り替え手段14を介して中央演算装置11
に伝達される。このようにして、中央演算装置11とシ
ミュレータ16との間で入出力信号がやりとりされるこ
とになる。シミュレータ16は、中央演算装置11から
の入出力信号を受けとるとこれに応じて生産設備2の働
きを画面上で行ったり、仮想入出力ポート15にデータ
を出力したりして、生産設備2の模擬動作を行う。
Here, when data is output,
The signal specified by the data bus b2 is output to the specific port specified by the signal of the address bus b1 from the virtual input / output port 15 according to the instruction of the input / output control signal line b3 until the next output command comes. The value is retained. If data is input, the simulator 16
Address bus b among the input ports connected to the side
The data of the port designated by 1 is input and transmitted to the data bus b2 only while the input / output control signal line b3 is valid. Then, the input data transmitted to the data bus b2 is sent to the central processing unit 11 via the port switching means 14.
Is transmitted to In this way, input / output signals are exchanged between the central processing unit 11 and the simulator 16. When the simulator 16 receives an input / output signal from the central processing unit 11, the simulator 16 performs the function of the production facility 2 on the screen in response to the input / output signal, or outputs the data to the virtual input / output port 15 to generate the data. Simulate.

【0020】また、前記ポート切り替え手段14のスイ
ッチb4により入出力指令が生産設備2側に伝達される
ように選択されている場合も、同様に、中央演算装置1
1からの入出力指令は、物理入出力ポート17を介して
生産設備2に伝えられる。この場合、中央演算装置11
からの入出力指令は生産設備2を制御するように作用す
る。
Also, when the input / output command is selected to be transmitted to the production equipment 2 side by the switch b4 of the port switching means 14, the central processing unit 1 is similarly operated.
The input / output command from 1 is transmitted to the production facility 2 via the physical input / output port 17. In this case, the central processing unit 11
The input / output commands from the control unit control the production equipment 2.

【0021】(効果)スイッチb4により入出力制御信
号線b3だけを切り替えることで、切り替えるべき信号
線の本数を最小限に抑えることができ、装置を安価に構
成することができる。
(Effect) By switching only the input / output control signal line b3 by the switch b4, the number of signal lines to be switched can be minimized, and the device can be constructed at low cost.

【0022】次に、本発明の第2実施例を図4乃至図6
を参照して説明する。
Next, a second embodiment of the present invention will be described with reference to FIGS.
Will be described with reference to.

【0023】[第2実施例] (構成)本実施例の構成は、第1実施例の構成からポー
ト切り替え手段14を取り除いて、構成上は従来技術と
同様にしているが、前記メインメモリ12のプログラム
構成を変更したことが特徴である。即ち、メインメモリ
12上のプログラムのイメージは、図5に示すように制
御プログラムの他に仮想入出力ポート15専用のデバイ
スドライバと、図6に示すように制御プログラムの他に
物理入出力ポート17専用のデバイスドライバとがあ
り、シミュレーション時と生産設備制御時で前記各デバ
イスドライバを差し替えて使用するようになっている。
[Second Embodiment] (Structure) The structure of this embodiment is the same as that of the prior art except that the port switching means 14 is removed from the structure of the first embodiment. The feature is that the program configuration of is changed. That is, the image of the program on the main memory 12 is, as shown in FIG. 5, a device driver dedicated to the virtual input / output port 15 in addition to the control program, and a physical input / output port 17 in addition to the control program as shown in FIG. There is a dedicated device driver, and each device driver is used by being replaced during simulation and during control of production equipment.

【0024】(作用)本実施例では、従来技術と同様に
プログラム上で異なったアドレスを指定することで仮想
入出力ポート15、物理入出力ポート17の選択を行っ
ている。但し、従来技術では制御プログラムの中でアド
レスを変更しているのに対して、本実施例ではデバイス
ドライバを交換する事でこれを実現している。2つのデ
バイスドライバの機能は全く同じであるが、仮想入出力
ポート15専用のデバイスドライバを使用すると仮想入
出力ポート15のアドレスに対して入出力命令を発し、
物理入出力ポート17専用のデバイスドライバを使用す
ると物理入出力ポート17に対して入出力命令を発する
ことになる。
(Operation) In this embodiment, the virtual input / output port 15 and the physical input / output port 17 are selected by designating different addresses on the program as in the prior art. However, in the prior art, the address is changed in the control program, but in the present embodiment, this is realized by replacing the device driver. The functions of the two device drivers are exactly the same, but if a device driver dedicated to the virtual I / O port 15 is used, an I / O command is issued to the address of the virtual I / O port 15,
When a device driver dedicated to the physical input / output port 17 is used, an input / output command is issued to the physical input / output port 17.

【0025】従って、制御プログラムに何の変更も加え
ることなしに、単にデバイスドライバを選択的にメモリ
にロードしておくことで、シミュレータ16での模擬動
作又は生産設備2の制御を選択できる。
Therefore, the simulation operation in the simulator 16 or the control of the production facility 2 can be selected by simply selectively loading the device driver in the memory without making any changes to the control program.

【0026】(効果)ハードウェア的な変更がないの
で、既存のシステムで実現することができる。
(Effect) Since there is no hardware change, it can be realized by an existing system.

【0027】[0027]

【発明の効果】請求項1記載の発明によれば、プログラ
ムの修整をすることなしに、仮想入出力ポートと物理入
出力ポートを切り替えることが可能なプログラム制御装
置を提供することができる。請求項2記載の発明によれ
ば、プログラムの調整を伴うこと無く、しかも、安価な
構成で仮想入出力ポートと物理入出力ポートとの切り替
えを行う事ができるプログラム制御装置を提供すること
ができる。請求項3記載の発明によれば、ハードウェア
的変更なしで既存のシステムを生かしつつ仮想入出力ポ
ート15と物理入出力ポート17との切り替えを行う事
ができるプログラム制御装置を提供することができる。
According to the first aspect of the present invention, it is possible to provide a program control device capable of switching between a virtual input / output port and a physical input / output port without modifying the program. According to the second aspect of the present invention, it is possible to provide a program control device capable of switching between a virtual input / output port and a physical input / output port with an inexpensive configuration without adjusting a program. . According to the invention described in claim 3, it is possible to provide a program control device capable of switching between the virtual input / output port 15 and the physical input / output port 17 while utilizing the existing system without changing the hardware. .

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

【図1】本発明の概念を示すブロツク図である。FIG. 1 is a block diagram showing the concept of the present invention.

【図2】本発明の第1実施例を示すブロツク図である。FIG. 2 is a block diagram showing a first embodiment of the present invention.

【図3】本発明の第1実施例におけるポート切替手段を
示す配線図である。
FIG. 3 is a wiring diagram showing a port switching means in the first embodiment of the present invention.

【図4】本発明の第2実施例を示すブロツク図である。FIG. 4 is a block diagram showing a second embodiment of the present invention.

【図5】本発明の第2実施例における制御プログラムに
仮想入出力ポート用のデバイスドライバを付加した状態
を示すプログラムイメージ図である。
FIG. 5 is a program image diagram showing a state in which a device driver for a virtual input / output port is added to the control program in the second embodiment of the present invention.

【図6】本発明の第2実施例における制御プログラムに
物理入出力ポート用のデバイスドライバを付加した状態
を示すプログラムイメージ図である。
FIG. 6 is a program image diagram showing a state in which a device driver for a physical input / output port is added to the control program in the second embodiment of the present invention.

【図7】従来例のブロツク図である。FIG. 7 is a block diagram of a conventional example.

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

2 生産設備 11 中央演算装置 12 メインメモリ 13 外部記憶装置 14 ポート切り替え手段 15 仮想入出力ポート 16 シミュレータ 17 物理入出力ポート 2 production equipment 11 central processing unit 12 main memory 13 external storage device 14 port switching means 15 virtual input / output port 16 simulator 17 physical input / output port

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 生産設備等を制御するための制御プログ
ラムを実行するための中央演算装置と、制御プログラム
やデータを格納する主記憶手段と、制御プログラムやデ
ータをファイルとして格納するための外部記憶装置と、
生産設備等の動作を模擬的に実行するシミュレータと、
このシミュレータと中央演算装置との入出力信号の伝送
を媒介する仮想入出力ポートと、生産設備等と中央演算
装置との入出力信号の伝送を媒介する物理入出力ポート
とを備えたプログラム制御装置において、前記中央演算
装置と、仮想入出力ポート又は物理入出力ポートとの間
の入出力信号の伝送を選択的に切り替えるポート切替え
手段を設けたことを特徴とするプログラム制御装置。
1. A central processing unit for executing a control program for controlling production equipment, a main storage means for storing the control program and data, and an external storage for storing the control program and data as a file. Device,
A simulator that simulates the operation of production equipment,
A program control device having a virtual input / output port that mediates transmission of input / output signals between the simulator and the central processing unit, and a physical input / output port that mediates transmission of input / output signals between the production facility and the central processing unit 3. The program control device according to claim 1, further comprising port switching means for selectively switching input / output signal transmission between the central processing unit and the virtual input / output port or the physical input / output port.
【請求項2】 前記ポート切替え手段は、前記中央演算
装置と、仮想入出力ポート又は物理入出力ポートとの間
の入出力信号の伝送を選択的に切り替えるスイッチによ
り構成したものである請求項1記載のプログラム制御装
置。
2. The port switching means comprises a switch for selectively switching input / output signal transmission between the central processing unit and a virtual input / output port or a physical input / output port. The described program control device.
【請求項3】 前記ポート切替え手段は、前記制御プロ
グラムに仮想入出力ポート又は物理入出力ポート用に交
換可能に付加したデバイスドライバにより構成したもの
である請求項1記載のプログラム制御装置。
3. The program control device according to claim 1, wherein the port switching means is constituted by a device driver which is added to the control program in a replaceable manner for a virtual input / output port or a physical input / output port.
JP30407894A 1994-12-07 1994-12-07 Program control unit Withdrawn JPH08161006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30407894A JPH08161006A (en) 1994-12-07 1994-12-07 Program control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30407894A JPH08161006A (en) 1994-12-07 1994-12-07 Program control unit

Publications (1)

Publication Number Publication Date
JPH08161006A true JPH08161006A (en) 1996-06-21

Family

ID=17928769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30407894A Withdrawn JPH08161006A (en) 1994-12-07 1994-12-07 Program control unit

Country Status (1)

Country Link
JP (1) JPH08161006A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007133579A (en) * 2005-11-09 2007-05-31 Hitachi High-Technologies Corp Virtual simulation system and apparatus controller for industrial apparatus
JP2010097603A (en) * 2008-09-18 2010-04-30 Denso Wave Inc Communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007133579A (en) * 2005-11-09 2007-05-31 Hitachi High-Technologies Corp Virtual simulation system and apparatus controller for industrial apparatus
JP2010097603A (en) * 2008-09-18 2010-04-30 Denso Wave Inc Communication system

Similar Documents

Publication Publication Date Title
CN105940384B (en) The universal serial bus of peripheral equipment emulates
JPH0981355A (en) Interactive interface device
JP2008299068A (en) Operation training system and operation training method
JPH08161006A (en) Program control unit
JPH01177609A (en) Simulation system for pc
JP3189793B2 (en) System simulator and system simulation method
JP2791193B2 (en) Plant control device
JPS6265147A (en) Bus tracing system
JPH11296220A (en) Verification device for plant controller
JPS62202904A (en) Boiler controller
JP2003015706A (en) Controller
JPH10154107A (en) Input and output software test method and device therefor
JPS60181957A (en) Adaptor machine number setting system
JPS5949609A (en) Programmable controller equipped with simulation performing function
JPH08328793A (en) Machine controller
JPH04369044A (en) Testing device for computer
JPS5911406A (en) On-line simulator of process computer
JPH031669B2 (en)
JPS62211743A (en) Intelligence i/o simulator
JPH04342290A (en) Simulator for plant device verification
JPH04264983A (en) Printed board automatic wiring device
JPH05224583A (en) Plant simulation device
JPH01131906A (en) Program verifying system
JPH03264981A (en) Simulator for training
JPH02224141A (en) Logical simulation system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020305