JPH10326184A - Interface method of programmable controller - Google Patents

Interface method of programmable controller

Info

Publication number
JPH10326184A
JPH10326184A JP13349497A JP13349497A JPH10326184A JP H10326184 A JPH10326184 A JP H10326184A JP 13349497 A JP13349497 A JP 13349497A JP 13349497 A JP13349497 A JP 13349497A JP H10326184 A JPH10326184 A JP H10326184A
Authority
JP
Japan
Prior art keywords
card
programmable controller
card module
setting file
software
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
JP13349497A
Other languages
Japanese (ja)
Inventor
Kazuhiko Sato
和彦 佐藤
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP13349497A priority Critical patent/JPH10326184A/en
Publication of JPH10326184A publication Critical patent/JPH10326184A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it possible to change settings on a PC card module side according to the kind of a PC card by loading a starting software and setting files, read out of a floppy disk, in the PC card module through a programmable controller. SOLUTION: A general computer 1 and the programmable controller 2 are connected by a signal line and the starting software and setting files to be loaded are recorded on the floppy disk 4 in advance. The starting software and setting files are read out of the floppy disk by the general computer 1 and installed in the PC card module 3 through the programmable controller 2. Consequently, the settings on the PC card module side can be changed according to the kind of the PC card (memory card).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラマブルコ
ントローラとパーソナルコンピュータ等の汎用のコンピ
ュータとが接続するプログラマブルコントローラのイン
タフェース方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller interface method for connecting a programmable controller to a general-purpose computer such as a personal computer.

【0002】[0002]

【従来の技術】プログラマブルコントローラは予め作成
したシーケンスプログラムに基づき電子機器を自動制御
する制御機器として知られている。シーケンスプログラ
ムはローダと呼ばれる専用のプログラミング装置により
作成され、プログラマブルコントローラに転送される。
昨今のパーソナルコンピュータの普及により、パーソナ
ルコンピュータをプログラミング装置として使用できる
ようになってきた。
2. Description of the Related Art A programmable controller is known as a control device for automatically controlling an electronic device based on a sequence program created in advance. The sequence program is created by a dedicated programming device called a loader and transferred to the programmable controller.
With the recent spread of personal computers, personal computers can be used as programming devices.

【0003】そこで、PCカード(メモリカード)を専
用的に読み書きするPCカードモジュールをプログラマ
ブルコントローラに接続し、PCカードに情報、たとえ
ば、シーケンス自動制御に関する各種情報を記憶してP
Cカードモジュールに読み取らせ、プログラマブルコン
トローラに情報を転送するプログラマブルコントローラ
システムが提案されている。
Therefore, a PC card module for reading and writing a PC card (memory card) exclusively is connected to a programmable controller, and information such as various kinds of information relating to automatic sequence control is stored in the PC card.
2. Description of the Related Art A programmable controller system that allows a C card module to read and transfer information to a programmable controller has been proposed.

【0004】[0004]

【発明が解決しようとする課題】従来この種システムで
は予め使用が予想されるPCカードの動作に必要なソフ
トおよび設定内容をPCカードモジュールに搭載し、装
着されたカードを認識した際に上記ソフトを起動させて
いる。
Conventionally, in this type of system, software and setting contents necessary for operation of a PC card expected to be used in advance are mounted on a PC card module, and the software is used when the mounted card is recognized. Is running.

【0005】しかしながら、上記従来例では、PCカー
ドモジュールに対してPCカードに関する設定が行われ
てしまうと、場合によっては種類の異なるPCカードが
動作できないことがある。
[0005] However, in the above-mentioned conventional example, if a PC card module is set for a PC card module, different types of PC cards may not be operated in some cases.

【0006】そこで、本発明の目的は、上述の点に鑑み
て、PCカードの種類に応じてPCカードモジュール側
の設定を変更することができるプログラマブルコントロ
ーラのインタフェース方法を提供することにある。
In view of the above, an object of the present invention is to provide an interface method for a programmable controller that can change the settings of a PC card module according to the type of a PC card.

【0007】[0007]

【課題を解決するための手段】このような目的を達成す
るために、請求項1の発明は、汎用コンピュータにより
PCカードに対して情報を書き込み、該PCカードをP
Cカードモジュールにより読み取り、当該読み取った情
報を信号線を介してプログラマブルコントローラに転送
すると共に、前記PCカードモジュールはPCカードモ
ジュールに搭載された起動ソフトおよび設定ファイルに
より前記PCカードの動作を制御するプログラマブルコ
ントローラのインタフェース方法において、前記汎用コ
ンピュータと前記プログラマブルコントローラとを信号
線により接続し、搭載対象の前記起動ソフトおよび設定
ファイルを予めフロッピーディスクに記録しておき、該
フロッピーディスクに記録された搭載対象の起動ソフト
および設定ファイルを前記汎用コンピュータにより読み
取り、当該読み取った起動ソフトおよび設定ファイルを
前記プログラマブルコントローラを介して前記PCカー
ドモジュールに搭載することを特徴とする。
In order to achieve the above object, according to the first aspect of the present invention, information is written to a PC card by a general-purpose computer, and the PC card is stored in a PC card.
The PC card module reads the information by a C card module and transfers the read information to a programmable controller via a signal line, and the PC card module controls the operation of the PC card by a start-up software and a setting file mounted on the PC card module. In the controller interface method, the general-purpose computer and the programmable controller are connected by a signal line, the start-up software and a setting file to be mounted are recorded on a floppy disk in advance, and the mounting target recorded on the floppy disk is recorded. The startup software and the setting file are read by the general-purpose computer, and the read startup software and the setting file are mounted on the PC card module via the programmable controller. Characterized in that it.

【0008】請求項2の発明は、請求項1に記載のプロ
グラマブルコントローラのインタフェース方法におい
て、前記汎用コンピュータは前記PCカードモジュール
を認識可能であり、該汎用コンピュータは前記プログラ
マブルコントローラを前記PCカードモジュールの一部
とみなして、前記起動ソフトおよび設定ファイルを該プ
ログラマブルコントローラに転送することを特徴とす
る。
According to a second aspect of the present invention, in the interface method of the programmable controller according to the first aspect, the general-purpose computer can recognize the PC card module, and the general-purpose computer connects the programmable controller to the PC card module. The starting software and the setting file are transferred to the programmable controller as a part.

【0009】請求項3の発明は、請求項2に記載のプロ
グラマブルコントローラのインタフェース方法におい
て、前記汎用コンピュータは認識したPCカードモジュ
ールを図形または文字の形態で可視表示することを特徴
とする。
According to a third aspect of the present invention, in the interface method of the programmable controller according to the second aspect, the general-purpose computer visually displays the recognized PC card module in a graphic or character form.

【0010】請求項4の発明は、汎用コンピュータによ
りPCカードに対して情報を書き込み、該PCカードを
PCカードモジュールにより読み取り、当該読み取った
情報を信号線を介してプログラマブルコントローラに転
送すると共に、前記PCカードモジュールはPCカード
モジュールに搭載された起動ソフトおよび設定ファイル
により前記PCカードの動作を制御するプログラマブル
コントローラのインタフェース方法において、プログラ
ミング装置と前記プログラマブルコントローラとを信号
線により接続し、搭載対象の前記起動ソフトおよび設定
ファイルを予めフロッピーディスクに記録しておき、該
フロッピーディスクに記録された搭載対象の起動ソフト
および設定ファイルを前記汎用コンピュータにより読み
取り、当該読み取った起動ソフトおよび設定ファイルを
前記汎用コンピュータによりPCカードに記録し、該P
Cカードを前記PCカードモジュールに装着し、前記プ
ログラミング装置から前記プログラマブルコントローラ
を介して前記PCカードモジュールにダウンロードの指
示を与え、該指示に応じて前記PCカードモジュールは
装着された前記PCカードから前記起動ソフトおよび設
定ファイルを読み出し、内部に搭載することを特徴とす
る。
According to a fourth aspect of the present invention, information is written to a PC card by a general-purpose computer, the PC card is read by a PC card module, and the read information is transferred to a programmable controller via a signal line. The PC card module is an interface method of a programmable controller that controls the operation of the PC card by a start-up software and a setting file mounted on the PC card module, wherein a programming device and the programmable controller are connected by a signal line, The starting software and the setting file are recorded in advance on a floppy disk, and the starting software and the setting file to be mounted, which are recorded on the floppy disk, are read by the general-purpose computer. The startup software and configuration files recorded on the PC card by the general-purpose computers, the P
A C card is mounted on the PC card module, a download instruction is given from the programming device to the PC card module via the programmable controller, and in accordance with the instruction, the PC card module is loaded from the mounted PC card. The boot software and the setting file are read out and mounted inside.

【0011】[0011]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を詳細に説明する。図1および図2は本実施の
形態の接続構成を示す。図1においてパーソナルコンピ
ュータ(PCと称する)1とプログラマブルコントロー
ラ2とはRS232Cのようなインタフェースで接続さ
れている。プログラマブルコントローラ2とPCカード
モジュール3とは専用の通信インタフェースで接続され
る。なお、PCカードモジュール3は後述するがPCカ
ードを脱着可能である。
Embodiments of the present invention will be described below in detail with reference to the drawings. 1 and 2 show a connection configuration according to the present embodiment. In FIG. 1, a personal computer (referred to as a PC) 1 and a programmable controller 2 are connected by an interface such as RS232C. The programmable controller 2 and the PC card module 3 are connected by a dedicated communication interface. The PC card module 3 is detachable, as will be described later.

【0012】このような接続構成で、PC1に装着され
たフロッピーディスク4に記録された情報、この場合、
PCカード用の起動ソフト、その設定ファイル等をPC
1→プログラマブルコントローラ2→PCカードモジュ
ール3の経由で、転送することが可能である。従来で
は、ローダと呼ばれるプログラミング装置により、プロ
グラマブルコントローラ2経由でPCカードモジュール
3内のハードディスク記憶装置等の記憶装置に起動ソフ
トおよび設定ファイルそのものを書き込みしていた点に
留意されたい。
With such a connection configuration, information recorded on the floppy disk 4 mounted on the PC 1, in this case,
Startup software for PC card, its setting file, etc.
The transfer can be performed via 1 → programmable controller 2 → PC card module 3. It should be noted that conventionally, the startup software and the setting file itself are written in a storage device such as a hard disk storage device in the PC card module 3 via the programmable controller 2 by a programming device called a loader.

【0013】従来と異なる点は、起動ソフトおよび設定
ファイルが記録されたフロッピーディスク4からユーザ
が使用したい起動ソフトおよび設定ファイルをPC1に
読み出して、PCカードモジュール3に転送可能である
点および、PC1側がPCカードモジュール3をたとえ
ば、外付きのハードディスク記憶装置のように認識でき
る点である。これによりユーザはあたかも外付きのハー
ドディスク記憶装置に起動ソフトおよび設定ファイルを
記憶する感覚でPCカードモジュール3内の記憶装置の
所定領域に起動ソフトおよび設定ファイルをコピー記憶
させることができる。以後、PCカードモジュール3は
従来と同様、PCカードが装着された場合にはコピー記
憶された起動ソフトおよび設定ファイルを使用してPC
カードの動作を制御する。
The difference from the prior art is that the startup software and the setting file that the user wants to use are read out from the floppy disk 4 on which the startup software and the setting file are recorded to the PC 1 and can be transferred to the PC card module 3. The point is that the side can recognize the PC card module 3 as, for example, an external hard disk storage device. This allows the user to copy and store the startup software and the setting file in a predetermined area of the storage device in the PC card module 3 as if the startup software and the setting file were stored in an external hard disk storage device. Thereafter, when the PC card is inserted, the PC card module 3 uses the copy-stored start-up software and setting file as in the related art.
Control the operation of the card.

【0014】他の接続構成を図2に示す。図2におい
て、図1と同様の機器には同一の符号を付している。図
2に示す接続構成ではPC1によりPCカード5のフロ
ッピーディスク4に記録されている起動ソフトおよび設
定ファイルをPCカード5にコピーし、PCカードモジ
ュール3によりPCカード5から上記起動ソフトおよび
設定ファイル(記録情報)を読み出し、内部のシステム
メモリにインストールする。PCカードモジュール3は
インストール後、搭載された起動ソフトおよびその設定
ファイルにより、装着されたPCカード5を制御する。
なお、ローダと呼ばれる専用のプログラミング装置6が
プログラマブルコントローラ2に接続されており、ロー
ダ6から上記PCカードの記録情報の読み出し(ダウン
ロード)の指示がプログラマブルコントローラ2を介し
てPCカードモジュール3に与えられる。
FIG. 2 shows another connection configuration. In FIG. 2, the same devices as those in FIG. 1 are denoted by the same reference numerals. In the connection configuration shown in FIG. 2, the PC 1 copies the start-up software and the setting file recorded on the floppy disk 4 of the PC card 5 to the PC card 5, and the PC card module 3 copies the start-up software and the setting file (from the PC card 5). Record information) and installs it in the internal system memory. After the PC card module 3 is installed, the installed PC card 5 is controlled by the installed boot software and its setting file.
Note that a dedicated programming device 6 called a loader is connected to the programmable controller 2, and an instruction to read (download) the recording information of the PC card is given from the loader 6 to the PC card module 3 via the programmable controller 2. .

【0015】上述の2つの接続構成を可能とするプログ
ラマブルコントローラシステムにおけるパーソナルコン
ピュータ1の内部構成を図3に示す。なお、パーソナル
コンピュータ1のハードそのものは周知の汎用のものを
使用できるので、説明は簡単に留める。図3において、
CPU11は、たとえば、マイクロソフト社のWIND
OWS95のようなOS(オペレーティングシステム)
を使用して、フロッピーディスクの読み取り、アプリケ
ーションプログラムの実行、接続の周辺機器(この場
合、プログラムコントローラ2)、との情報の通信を行
う。アプリケーションプログラムの中にはプログラマブ
ルコントローラ2が実行するシーケンスプログラム(ラ
ダー図)を作成するためのプログラムが含まれている。
FIG. 3 shows the internal configuration of the personal computer 1 in the programmable controller system that enables the above two connection configurations. Note that the hardware itself of the personal computer 1 can use a well-known general-purpose hardware, and thus the description will be briefly omitted. In FIG.
The CPU 11 is, for example, a Microsoft WIND.
OS (Operating System) such as OWS95
To read a floppy disk, execute an application program, and communicate information with a connected peripheral device (in this case, the program controller 2). The application program includes a program for creating a sequence program (ladder diagram) executed by the programmable controller 2.

【0016】システムメモリ12はROMおよびRAM
からなり、上記OSの一部およびCPU11に対する入
出力情報を記憶する。ハードディスク記憶装置(HD
D)13は上記OSおよびアプリケーションプログラム
およびその他、保存用のファイル、例えば、作成したラ
ダー図を格納する。入出力インタフェース(I/O)1
4はプログラマブルコントローラ2と接続して、情報の
転送を行う。I/O14にはRS232Cと呼ばれるイ
ンタフェースを使用することができる。
The system memory 12 is a ROM and a RAM
And stores input / output information for a part of the OS and the CPU 11. Hard disk storage (HD
D) 13 stores the OS and application programs and other files for storage, for example, the created ladder diagram. Input / output interface (I / O) 1
Reference numeral 4 is connected to the programmable controller 2 to transfer information. For the I / O 14, an interface called RS232C can be used.

【0017】キーボード15はCPU11に対するシス
テム動作の指示、アプリケーションが要求する文字、数
字等の情報を入力する。マウスのようなポインティング
デバイス16はCRT(陰極線管表示器)18の表示画
面上の位置を指定することにより、CPU11に対する
動作指示や各種の情報を入力する。
The keyboard 15 is used to input system operation instructions to the CPU 11 and information such as characters and numbers required by the application. A pointing device 16 such as a mouse inputs an operation instruction to the CPU 11 and various information by designating a position on a display screen of a cathode ray tube display (CRT) 18.

【0018】フロッピーディスクドライブ17はフロッ
ピーディスク4を受け付け、CPU11の制御で、フロ
ッピーディスク4に対して情報の読み書きを行う。CR
T18は、各種の情報を表示するが本発明に係る情報と
しては、ラダー図作成プログラムが実行されているとき
に、PCカードモジュール3がプログラマブルコントロ
ーラ2に接続されていることを示す情報、たとえば、ア
イコン等を表示する。リーダ/ライタ19はPCカード
5を受け付け、CPU11の制御で情報の読み書きを行
う。
The floppy disk drive 17 receives the floppy disk 4 and reads / writes information from / to the floppy disk 4 under the control of the CPU 11. CR
T18 displays various types of information. The information according to the present invention includes, for example, information indicating that the PC card module 3 is connected to the programmable controller 2 when the ladder diagram creating program is executed, for example, Displays icons and the like. The reader / writer 19 receives the PC card 5 and reads and writes information under the control of the CPU 11.

【0019】次にプログラマブルコントローラ2の内部
構成を図4を参照して説明する。図4において、CPU
21はユーザメモリ23に格納されたシーケンスプログ
ラム(ラダー図からCPU21が実行可能に変換された
機器制御用プログラム)を実行して、制御対象の機器に
与える指示を決定し、入出力モジュール26を介して決
定した指示を上記制御対象機器に与える。CPU21は
システムメモリに格納されたシステムプログラムを実行
して、情報転送、メモリに対する情報の読み書きを行
う。本発明に係る処理としては、PC1からPCカード
モジュール3に対して情報の読み書きの要求があったと
きにはその情報をPC1とPCカードモジュール3との
間にあって、転送する。また、PCカードモジュール3
が電気的に接続されている場合にはその接続を自動検知
して、接続の旨をPC1に対して送信する。
Next, the internal configuration of the programmable controller 2 will be described with reference to FIG. In FIG. 4, the CPU
21 executes a sequence program (a device control program converted from a ladder diagram to be executable by the CPU 21) stored in the user memory 23 to determine an instruction to be given to a device to be controlled, and via the input / output module 26 The determined instruction is given to the control target device. The CPU 21 executes a system program stored in the system memory to transfer information and read / write information from / to the memory. In the process according to the present invention, when the PC 1 requests the PC card module 3 to read / write information, the information is transferred between the PC 1 and the PC card module 3. PC card module 3
Is electrically connected, the connection is automatically detected, and the connection is transmitted to the PC 1.

【0020】システムメモリ22はCPU21が実行す
るシステム処理を規定したシステムプログラム(図7参
照)を記憶する。ユーザメモリ23は上述のシステムプ
ログラムを格納する。I/O24はPC1とCPU21
との間にあって、情報の転送を行う。I/O25はPC
カードモジュール3とCPU21との間にあって、情報
の転送を行う。入出力モジュール26はCPU21から
制御機器に送る動作指示をたとえば、デジタル信号から
アナログ信号に変換して転送し、制御機器から送られる
アナログの情報信号をデジタル信号に変換してCPU2
1に転送する。
The system memory 22 stores a system program (see FIG. 7) defining system processing to be executed by the CPU 21. The user memory 23 stores the above-described system program. I / O 24 is PC1 and CPU21
And transfer information. I / O25 is PC
Information is transferred between the card module 3 and the CPU 21. The input / output module 26 converts an operation instruction sent from the CPU 21 to the control device, for example, by converting a digital signal into an analog signal and transfers the converted signal, converts an analog information signal sent from the control device into a digital signal,
Transfer to 1.

【0021】PCカードモジュール3の内部構成を図5
を参照して説明する。CPU31はシステムメモリ32
に格納されたシステムプログラムに基づき情報の入出力
処理、PCカード5、HDD35に対する情報の読み書
き処理を実行する。
FIG. 5 shows the internal configuration of the PC card module 3.
This will be described with reference to FIG. CPU 31 is a system memory 32
The information input / output process and the information read / write process for the PC card 5 and the HDD 35 are executed based on the system program stored in the.

【0022】リーダ/ライタ34はCPU31の制御に
よりPCカード34に対して情報の読み書きを行う。I
/O33はプログラマブルコントローラ2とCPU31
との間にあって、情報の転送を行う。
The reader / writer 34 reads and writes information from and to the PC card 34 under the control of the CPU 31. I
/ O33 is the programmable controller 2 and CPU 31
And transfer information.

【0023】ローダ6はキーボードのキーの中にラダー
図作成用の専用キーを有する他はPC1と同様とするこ
とができる。なお、ローダ6の大きさは携帯可能な大き
さとなっている。
The loader 6 can be the same as the PC 1 except that a special key for creating a ladder diagram is provided among the keys of the keyboard. The size of the loader 6 is portable.

【0024】このようなシステム構成の情報転送処理を
図5〜図7のフローチャートを参照して説明する。図6
はPC1のCPU11の情報通信制御処理手順を示し、
図7はプログラマブルコントローラ2のCPU21の情
報通信制御処理手順を示す。図8はPCカードモジュー
ル3のCPU31が実行する制御処理手順を示す。
The information transfer processing of such a system configuration will be described with reference to the flowcharts of FIGS. FIG.
Indicates an information communication control processing procedure of the CPU 11 of the PC 1;
FIG. 7 shows an information communication control processing procedure of the CPU 21 of the programmable controller 2. FIG. 8 shows a control processing procedure executed by the CPU 31 of the PC card module 3.

【0025】図1の接続構成の場合、電源投入時あるい
は一定周期で、プログラマブルコントローラ2のCPU
21はPCカードモジュール3の接続の有無を確認す
る。確認の方法としては、プログラマブルコントローラ
2からPCカードモジュール3に対して応答送信を要求
し、応答がPCカードモジュール3からあった時に接続
ありと判定することができる(図7のステップS200
のYES判定)。この場合にプログラマブルコントロー
ラ2では、CPU21がPCカードモジュール3が接続
の旨をPC1に送信する(図7のステップS210)。
In the case of the connection configuration shown in FIG. 1, the CPU of the programmable controller 2
21 checks whether the PC card module 3 is connected or not. As a confirmation method, the programmable controller 2 requests the PC card module 3 to transmit a response, and when a response is received from the PC card module 3, it can be determined that there is a connection (step S200 in FIG. 7).
YES determination). In this case, in the programmable controller 2, the CPU 21 transmits to the PC 1 that the PC card module 3 is connected (step S210 in FIG. 7).

【0026】この接続ありの情報を受けたPC1のCP
U11は例えば、アイコンのような図形等あるいは文字
等をCRT18に表示して、ユーザにPCカードモジュ
ール3がプログラマブルコントローラ2に接続されてい
ることを知らせる(図6のステップS60→S70)。
ユーザは次にフロッピーディスク4をPC1に装着し
て、フロッピーディスク4に記録された起動ソフトおよ
び設定ファイルをPCカードモジュール3へコピー転送
するようにキーボード15またはポインティングデバイ
ス16の操作で指示する。この操作は、従来の外付きの
ハードディスク記憶装置へのコピー転送と同じ操作とす
ることができる。
The CP of the PC 1 that has received the information indicating that the connection has been established.
U11 displays, for example, a graphic such as an icon or a character on the CRT 18 to notify the user that the PC card module 3 is connected to the programmable controller 2 (steps S60 → S70 in FIG. 6).
Next, the user attaches the floppy disk 4 to the PC 1 and instructs the keyboard 15 or the pointing device 16 to copy and transfer the boot software and the setting file recorded on the floppy disk 4 to the PC card module 3. This operation can be the same operation as a conventional copy transfer to an external hard disk storage device.

【0027】この指示を検知したPC1のCPU11は
プログラマブルコントローラ2をPCカードモジュール
3の一部と見なして、フロッピーディスク4から起動ソ
フトおよび設定ファイルをシステムメモリ12に一時記
憶した後、書き込み命令と共にプログラマブルコントロ
ーラ2へ転送する(図6のステップS10→S20→S
40)。
Upon detecting this instruction, the CPU 11 of the PC 1 regards the programmable controller 2 as a part of the PC card module 3, temporarily stores the startup software and the setting file from the floppy disk 4 in the system memory 12, and then writes the program together with the write command. Transfer to the controller 2 (Steps S10 → S20 → S in FIG. 6)
40).

【0028】これに応じて、プログラマブルコントロー
ラ2のCPU21はPC1からの書き込み要求(アクセ
ス要求)があったことを確認し(図7のステップS10
0→S130)、次に、アクセスの内容が書き込みであ
ると確認する(図7のステップS140のNO判定)。
プログラマブルコントローラ2のCPU21はPC1か
ら送信される起動ソフトおよび設定ファイルをシステム
メモリ22に一時記憶後、I/O25を介してPCカー
ドモジュール3へ転送する。
In response, the CPU 21 of the programmable controller 2 confirms that there has been a write request (access request) from the PC 1 (step S10 in FIG. 7).
(0 → S130) Then, it is confirmed that the content of the access is writing (NO in step S140 in FIG. 7).
The CPU 21 of the programmable controller 2 temporarily stores the startup software and the setting file transmitted from the PC 1 in the system memory 22, and then transfers the boot software and the setting file to the PC card module 3 via the I / O 25.

【0029】PCカードモジュール3のCPU31では
書き込み命令において指定されている書き込みアドレス
からHDD35に対する書き込みと判定すると(図8の
ステップS300→S320)、HDD35の指定され
たアドレス領域に上記起動ファイルおよび設定ファイル
を記憶する(図8のステップS330)。
When the CPU 31 of the PC card module 3 determines that writing is to be performed on the HDD 35 from the write address specified in the write command (steps S300 → S320 in FIG. 8), the start file and the setting file are stored in the specified address area of the HDD 35. Is stored (step S330 in FIG. 8).

【0030】以上の処理により、PCカードを動作させ
るための起動ソフト、設定ファイルがPCカードモジュ
ール5に搭載され、以後は従来と同様の処理を行う。
With the above processing, the start-up software for operating the PC card and the setting file are mounted on the PC card module 5, and thereafter, the same processing as the conventional one is performed.

【0031】図2の接続構成が取られた場合には、PC
1のCPU11は同様、フロッピーディスクディスク4
に記録されている起動ソフトおよび設定ファイルをPC
カード5にコピー記憶させる(図6のステップS10〜
S80)。2つの記憶媒体間での情報の転送は従来から
行われており、詳細な説明を要しないであろう。
When the connection configuration shown in FIG. 2 is adopted, the PC
Similarly, the CPU 11 of the floppy disk 4
Startup software and setting file recorded in the PC
It is copied and stored in the card 5 (steps S10 to S10 in FIG. 6).
S80). The transfer of information between two storage media is conventional and will not require detailed description.

【0032】ユーザはこのPCカード5をPCカードモ
ジュール3に装着した後、ローダ6からダウンロード
(読み出し命令)の指示を与える。この指示を受けたプ
ログラマブルコントローラ2のCPU21はPCカード
ユニット3のCPU31に対して、読み出しの指示を伝
える。このCPU31がPCカード5から起動ソフトお
よび設定ファイルを読み出し、HDD35の所定の記憶
領域に書き込む。
After the user inserts the PC card 5 into the PC card module 3, the user gives a download (read command) instruction from the loader 6. The CPU 21 of the programmable controller 2 having received this instruction transmits a read instruction to the CPU 31 of the PC card unit 3. The CPU 31 reads out the startup software and the setting file from the PC card 5 and writes them into a predetermined storage area of the HDD 35.

【0033】これにより、起動ソフトおよび設定ファイ
ルがPCカードユニット3に搭載され、以後、従来と同
様にしてPCカード5を動作させることができる。
Thus, the start-up software and the setting file are mounted on the PC card unit 3, and thereafter the PC card 5 can be operated in the same manner as in the related art.

【0034】上述したように、従来では、ユーザがロー
ダ6から起動ソフトおよび設定ファイルを入力しなけれ
ばしなければならなかったのに対し、上述の実施の形態
では、メーカ側で、起動ソフトおよびその設定ファイル
を記録したフロッピーディスク4を用意しておき、ユー
ザはフロッピーディスク4の起動ソフトおよび設定ファ
イルを転送させればよい。
As described above, conventionally, the user had to input the starting software and the setting file from the loader 6, whereas in the above-described embodiment, the starting software and the setting The floppy disk 4 on which the setting file is recorded is prepared, and the user only has to transfer the starting software of the floppy disk 4 and the setting file.

【0035】以上述べた実施形態の他に次の形態を実施
できる。
The following embodiment can be carried out in addition to the above-described embodiment.

【0036】1)上述の実施形態の図1の接続例では、
PC1側がPCカードモジュール3のHDD35を認識
する例であったが、さらに装着されたPCカード5を認
識させるようにしてもよい。
1) In the connection example of FIG. 1 of the above-described embodiment,
Although the example in which the PC 1 recognizes the HDD 35 of the PC card module 3 has been described, the PC card 5 which is further mounted may be recognized.

【0037】2)図1の接続構成において、フロッピー
ディスクの記録情報をPCカードモジュール3に転送す
る場合に、その転送処理をPC1のOSを使用してもよ
いし、シーケンスプログラム作成プログラムの中に情報
転送用のプログラムを含め、シーケンスプログラムで情
報転送を行うようにすることもできる。
2) In the connection configuration shown in FIG. 1, when the recording information of the floppy disk is transferred to the PC card module 3, the transfer processing may be performed by using the OS of the PC 1, or may be performed in the sequence program creation program. Information transfer may be performed by a sequence program including a program for information transfer.

【0038】3)PCカードモジュール内で起動ソフト
および設定ファイルを保存記憶する記憶装置を上述の実
施形態ではハードディスク記憶装置として説明したが、
起動ソフトおよび設定ファイルが小容量の場合には記憶
装置として不揮発性メモリ、たとえば、EEPROMを
使用することができる。
3) Although the storage device for storing the startup software and the setting file in the PC card module has been described as the hard disk storage device in the above embodiment,
When the startup software and the setting file have a small capacity, a nonvolatile memory, for example, an EEPROM can be used as the storage device.

【0039】[0039]

【発明の効果】以上説明したように、請求項1の発明で
は、フロッピーディスクに記録されている起動ソフトお
よび設定ファイルを汎用コンピュータ、プログラマブル
コントローラを介して各種の起動ソフトおよび設定ファ
イルをPCカードモジュールに搭載できるので、PCカ
ード側では、種類やバージョンを意識せず、好適な情報
を記録することができる。また、起動ソフトおよび設定
ファイルのバージョンアップのための修正も新規設定フ
ァイルおよび設定ファイルを入れ替えるだけでできると
いう効果が得られる。
As described above, according to the first aspect of the present invention, the boot software and the setting file recorded on the floppy disk are transferred to the general-purpose computer and various boot software and the setting file are transferred to the PC card module via the programmable controller. Therefore, the PC card can record suitable information without being aware of the type and version. Further, there is an effect that a modification for upgrading the startup software and the setting file can be performed only by replacing the new setting file and the setting file.

【0040】請求項2の発明では、汎用コンピュータと
PCカードモジュールの間にプログラマブルコントロー
ラが介在しても、汎用コンピュータ側ではプログラマブ
ルコントローラをPCカードモジュールの一部とみな
す。これにより汎用コンピュータ側では、汎用コンピュ
ータに直接接続された周辺機器への通信に使用される従
来の通信プロトコルを使用して起動ソフトおよび設定フ
ァイルをプログラマブルコントローラへ転送できる。ま
た、プログラマブルコントローラは、従来から使用され
ているPCカードモジュール用の通信プロトコルを使用
して、上記起動ファイルおよび設定ファイルをPCカー
ドモジュールに転送することができる。
According to the second aspect of the present invention, even if the programmable controller is interposed between the general-purpose computer and the PC card module, the general-purpose computer regards the programmable controller as a part of the PC card module. This allows the general-purpose computer to transfer the startup software and the configuration file to the programmable controller using the conventional communication protocol used for communication with the peripheral device directly connected to the general-purpose computer. Further, the programmable controller can transfer the start-up file and the setting file to the PC card module by using a communication protocol for the PC card module which has been conventionally used.

【0041】請求項3の発明では、汎用コンピュータ側
で接続のPCカードモジュールを図形または文字で可視
化することで、ユーザ自身がPCカードモジュールの接
続を目視確認することができる。
According to the third aspect of the invention, the connection of the PC card module can be visually confirmed by the user himself / herself by visualizing the connected PC card module with a graphic or a character on the general-purpose computer side.

【0042】請求項4の発明では、フロッピーディスク
に記録された起動ソフトおよび設定ファイルをPCカー
ドに記録し、PCカードモジュールにオフライン転送す
る。これにより、PCカードでは自己の記録情報に好適
な起動ソフトおよび設定ファイルを記録しているので、
種類の異なるPCカードをPCカードモジュールが取り
扱うことができる。
According to the fourth aspect of the present invention, the start-up software and the setting file recorded on the floppy disk are recorded on the PC card, and transferred off-line to the PC card module. As a result, the PC card records the startup software and the setting file suitable for its own record information.
Different types of PC cards can be handled by the PC card module.

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

【図1】本発明の実施形態の接続構成を示すブロック図
である。
FIG. 1 is a block diagram illustrating a connection configuration according to an embodiment of the present invention.

【図2】本発明の実施形態の他の接続構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing another connection configuration of the embodiment of the present invention.

【図3】パーソナルコンピュータ1の内部構成を示すブ
ロック図である。
FIG. 3 is a block diagram showing an internal configuration of the personal computer 1.

【図4】プログラマブルコントローラ2の内部構成を示
すブロック図である。
FIG. 4 is a block diagram showing an internal configuration of the programmable controller 2.

【図5】PCカードモジュール3の内部構成を示すブロ
ック図である。
FIG. 5 is a block diagram showing an internal configuration of the PC card module 3.

【図6】パーソナルコンピュータ1の処理手順を示すフ
ローチャートである。
FIG. 6 is a flowchart showing a processing procedure of the personal computer 1.

【図7】プログラマブルコントローラ2の処理手順を示
すフローチャートである。
FIG. 7 is a flowchart illustrating a processing procedure of the programmable controller 2;

【図8】PCカードモジュール3の処理手順を示すフロ
ーチャートである。
FIG. 8 is a flowchart illustrating a processing procedure of the PC card module 3;

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

1 パーソナルコンピュータ 2 プログラマブルコントローラ 3 PCカードモジュール 4 フロッピーディスク 5 PCカード DESCRIPTION OF SYMBOLS 1 Personal computer 2 Programmable controller 3 PC card module 4 Floppy disk 5 PC card

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 汎用コンピュータによりPCカードに対
して情報を書き込み、該PCカードをPCカードモジュ
ールにより読み取り、当該読み取った情報を信号線を介
してプログラマブルコントローラに転送すると共に、前
記PCカードモジュールはPCカードモジュールに搭載
された起動ソフトおよび設定ファイルにより前記PCカ
ードの動作を制御するプログラマブルコントローラのイ
ンタフェース方法において、 前記汎用コンピュータと前記プログラマブルコントロー
ラとを信号線により接続し、 搭載対象の前記起動ソフトおよび設定ファイルを予めフ
ロッピーディスクに記録しておき、 該フロッピーディスクに記録された搭載対象の起動ソフ
トおよび設定ファイルを前記汎用コンピュータにより読
み取り、 当該読み取った起動ソフトおよび設定ファイルを前記プ
ログラマブルコントローラを介して前記PCカードモジ
ュールに搭載することを特徴とするプログラマブルコン
トローラのインタフェース方法。
1. A general-purpose computer writes information to a PC card, reads the PC card by a PC card module, transfers the read information to a programmable controller via a signal line, and stores the information in the PC card module. An interface method of a programmable controller that controls the operation of the PC card by using startup software and a setting file mounted on a card module, wherein the general-purpose computer and the programmable controller are connected by a signal line, and the startup software and settings to be mounted are provided. The file is recorded on a floppy disk in advance, the boot software and the setting file to be mounted recorded on the floppy disk are read by the general-purpose computer, and the read boot software is read. And interface methods of the programmable controller, characterized by mounting a configuration file to the PC Card module via the programmable controller.
【請求項2】 請求項1に記載のプログラマブルコント
ローラのインタフェース方法において、前記汎用コンピ
ュータは前記PCカードモジュールを認識可能であり、
該汎用コンピュータは前記プログラマブルコントローラ
を前記PCカードモジュールの一部とみなして、前記起
動ソフトおよび設定ファイルを該プログラマブルコント
ローラに転送することを特徴とするプログラマブルコン
トローラのインタフェース方法。
2. The interface method for a programmable controller according to claim 1, wherein the general-purpose computer is capable of recognizing the PC card module.
An interface method for a programmable controller, wherein the general-purpose computer regards the programmable controller as a part of the PC card module, and transfers the boot software and a setting file to the programmable controller.
【請求項3】 請求項2に記載のプログラマブルコント
ローラのインタフェース方法において、前記汎用コンピ
ュータは認識したPCカードモジュールを図形または文
字の形態で可視表示することを特徴とするプログラマブ
ルコントローラのインタフェース方法。
3. The interface method for a programmable controller according to claim 2, wherein the general-purpose computer visually displays the recognized PC card module in a graphic or character form.
【請求項4】 汎用コンピュータによりPCカードに対
して情報を書き込み、該PCカードをPCカードモジュ
ールにより読み取り、当該読み取った情報を信号線を介
してプログラマブルコントローラに転送すると共に、前
記PCカードモジュールはPCカードモジュールに搭載
された起動ソフトおよび設定ファイルにより前記PCカ
ードの動作を制御するプログラマブルコントローラのイ
ンタフェース方法において、 プログラミング装置と前記プログラマブルコントローラ
とを信号線により接続し、 搭載対象の前記起動ソフトおよび設定ファイルを予めフ
ロッピーディスクに記録しておき、 該フロッピーディスクに記録された搭載対象の起動ソフ
トおよび設定ファイルを前記汎用コンピュータにより読
み取り、 当該読み取った起動ソフトおよび設定ファイルを前記汎
用コンピュータによりPCカードに記録し、 該PCカードを前記PCカードモジュールに装着し、 前記プログラミング装置から前記プログラマブルコント
ローラを介して前記PCカードモジュールにダウンロー
ドの指示を与え、 該指示に応じて前記PCカードモジュールは装着された
前記PCカードから前記起動ソフトおよび設定ファイル
を読み出し、内部に搭載することを特徴とするプログラ
マブルコントローラのインタフェース方法。
4. A general-purpose computer writes information to a PC card, reads the PC card by a PC card module, transfers the read information to a programmable controller via a signal line, and stores the information in the PC card module. An interface method for a programmable controller that controls the operation of the PC card by using startup software and a setting file mounted on a card module, comprising: connecting a programming device and the programmable controller by a signal line; Is stored in advance on a floppy disk, and the boot software and setting file to be mounted recorded on the floppy disk are read by the general-purpose computer, and the read boot software is read. And a setting file recorded on a PC card by the general-purpose computer. The PC card is mounted on the PC card module. A download instruction is given from the programming device to the PC card module via the programmable controller. Accordingly, the PC card module reads out the boot software and the setting file from the mounted PC card and mounts the boot software and the setting file inside the PC card module.
JP13349497A 1997-05-23 1997-05-23 Interface method of programmable controller Pending JPH10326184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13349497A JPH10326184A (en) 1997-05-23 1997-05-23 Interface method of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13349497A JPH10326184A (en) 1997-05-23 1997-05-23 Interface method of programmable controller

Publications (1)

Publication Number Publication Date
JPH10326184A true JPH10326184A (en) 1998-12-08

Family

ID=15106089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13349497A Pending JPH10326184A (en) 1997-05-23 1997-05-23 Interface method of programmable controller

Country Status (1)

Country Link
JP (1) JPH10326184A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7715834B2 (en) 2004-12-01 2010-05-11 Borther Kogyo Kabushiki Kaisha Wireless communication system, device, and method of setting up wireless communication adapter
JP5980422B2 (en) * 2014-07-25 2016-08-31 三菱電機株式会社 Engineering tools

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7715834B2 (en) 2004-12-01 2010-05-11 Borther Kogyo Kabushiki Kaisha Wireless communication system, device, and method of setting up wireless communication adapter
JP5980422B2 (en) * 2014-07-25 2016-08-31 三菱電機株式会社 Engineering tools
JPWO2016013111A1 (en) * 2014-07-25 2017-04-27 三菱電機株式会社 Engineering tools

Similar Documents

Publication Publication Date Title
US7068386B2 (en) Image processing system, image data processing method, and storage medium
US6360364B1 (en) System and method for installing an application on a portable computer
US6965953B2 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium storing program for realizing the method
US7631177B2 (en) Information input system, control method thereof, and storage medium
JP2005135389A (en) Automatic printer driver configuration for printer controller
US20040098714A1 (en) Driver upgrading
EP1826663A2 (en) Apparatus, method and computer program for processing information
US20030075599A1 (en) Personal work environment setting method
TWI813869B (en) Data storage device and method for maintaining normal boot operation of data storage device
JP2003114859A (en) Usb connector
JP4513849B2 (en) printer
JPH10326184A (en) Interface method of programmable controller
JP2005182615A (en) Emulation system and emulation method
US20090293015A1 (en) Application Platform
JP2005190075A (en) Removable medium device, its higher level device, program and its recording medium
JP3028055B2 (en) PC card system and program rewriting method
KR20100050098A (en) Image processing apparatus and control method thereof
JP4606009B2 (en) Program processing device
CN112540777A (en) Method and terminal for supporting dynamic read-write of NV (network video) parameters
JP6851836B2 (en) Information processing equipment, information processing methods and programs
JP2006285404A (en) Information processor and method for controlling storage medium
JP2003122581A (en) Information processor, application program starting method, and system program
JP2002269905A (en) Digital data recording device, program for controlling the same, and recording medium with program recorded therein
JP2664168B2 (en) Starting method of information processing device
JP2002108582A (en) Printing device and printing system and printing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20050815

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Effective date: 20050819

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20051209

Free format text: JAPANESE INTERMEDIATE CODE: A02