JPS6093509A - Input and output module of programmable controller - Google Patents

Input and output module of programmable controller

Info

Publication number
JPS6093509A
JPS6093509A JP20183883A JP20183883A JPS6093509A JP S6093509 A JPS6093509 A JP S6093509A JP 20183883 A JP20183883 A JP 20183883A JP 20183883 A JP20183883 A JP 20183883A JP S6093509 A JPS6093509 A JP S6093509A
Authority
JP
Japan
Prior art keywords
input
data
output module
access
signal
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
JP20183883A
Other languages
Japanese (ja)
Inventor
Toru Shigeoka
重岡 徹
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Manufacturing 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 Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP20183883A priority Critical patent/JPS6093509A/en
Publication of JPS6093509A publication Critical patent/JPS6093509A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/04Program control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラマブル・コントローラ(以下PC七
称する)の入出力モジュール、具体的にはPCと該入出
カモジュールとの間でハンドシェイキング(データの送
り出しと受け取りとの間の確認手段)を必要とせずにデ
ータの授受が行える入出力モジュールに関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to handshaking (data transfer) between an input/output module of a programmable controller (hereinafter referred to as PC), specifically, a PC and the input/output module. The present invention relates to an input/output module that can exchange data without requiring confirmation means (between sending and receiving data).

〔背景技術〕[Background technology]

PCシステムの概念図を第1図に示す。従来の、かかる
入出カモジュールにおいては、数値入出力データの場合
、各データ単位にPCとハンドシェイキングを行い、デ
ータを授受していたが、データの授受が行なわれている
間は、PCが待期状態となるので数値入出力データ量が
多い場合、PCの処理効率が低下してしまうという欠点
がめった。
Figure 1 shows a conceptual diagram of the PC system. In conventional input/output modules, in the case of numerical input/output data, data was exchanged by handshaking with the PC for each data unit, but while the data was being exchanged, the PC was on standby. Since the system is in a temporary state, when the amount of numerical input/output data is large, the processing efficiency of the PC often decreases.

そこで、入出カモジュールとPCの間に、入出力データ
を一時保持するだめのRAMを設け、PCから入出力モ
ジュールへデータを出力する場合は前記RAMにデータ
を書き込み、PCが入出力モジュールからデータを取シ
込む場合は前記RAMからデータを読み出すことによっ
て、データの授受を容易に行なおうとすることが考えら
れる。
Therefore, a RAM is provided between the input/output module and the PC to temporarily hold the input/output data, and when outputting data from the PC to the input/output module, the data is written to the RAM, and the PC receives the data from the input/output module. When inputting data, it is conceivable to read the data from the RAM to facilitate data transfer.

このような技術を開示した先行出願として特開昭56−
9804や特開昭57−62414がある。
As an earlier application disclosing such technology, Japanese Patent Application Laid-Open No. 1986-
9804 and JP-A-57-62414.

しかしながら、前者は受送信部間をシリアル信号で行う
形式のものでア〕、パラレル信号のままでデータの授受
がなされる形式のものには適用できないものである。
However, the former method uses a serial signal between the receiving and transmitting sections, and cannot be applied to a method where data is exchanged using parallel signals.

また後者は、前記孔AMをFC側に組み込むものであっ
て、入出力モジュールを特定するだめの手段が必要とな
っている。さらにPCが直接入出力モジュールを駆動す
るのではなく、間接的に駆動するため前記RAMのコピ
ーを別のメモリに持っていないと処理速度の向上がはか
れないという欠点がある。
Furthermore, in the latter case, the hole AM is built into the FC side, and a means for specifying the input/output module is required. Furthermore, since the PC does not directly drive the input/output module but indirectly drives it, there is a drawback that the processing speed cannot be improved unless a copy of the RAM is stored in another memory.

〔発明の目的〕[Purpose of the invention]

本発明は、上記事情に鑑みてなされたもので、ハンドシ
ェキングが不要なデータ授受を可能とし、PCの処理効
率を向上させるもので心って、しかも標準的に使用可能
な入出カモジュールを提供することを目的とする。
The present invention was made in view of the above circumstances, and aims to improve the processing efficiency of a PC by enabling data exchange without handshaking, and to provide an input/output module that can be used as standard. The purpose is to provide.

〔発明の要旨〕[Summary of the invention]

本発明の要旨となるところは、入出カモジュールの中ニ
モジーールプロセノサを備工てモジ−−ルをインテリジ
ェントに構成するとともに、デュアルポート几AMを備
え、該RAMのアクセス優先権をPCにもたせるように
し、しかもFCの前記RAMアクセスが完了すれば、ア
クセス完了信号を発生させて、モジュールプロセッサに
アクセス権をおけわたすようにしてPCのスキャニング
と同期をとるようにしたところにある。
The gist of the present invention is to intelligently configure the module by equipping the input/output module with a nimoji processor, and also to provide a dual port AM and give access priority to the RAM to the PC. Furthermore, when the RAM access of the FC is completed, an access completion signal is generated and the access right is handed over to the module processor, thereby synchronizing with the scanning of the PC.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の具体的実施例を図を参照して説明する。 Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.

第2図は本発明の入出カモジュールでbシ、以下に述べ
る構成となっている。
FIG. 2 shows an input/output module according to the present invention, and has the configuration described below.

1はモジュールプロセッサであり、入出力モジュール全
体の制御をつかさどる。
Reference numeral 1 denotes a module processor, which controls the entire input/output module.

2はモジュールプロセノサ1が実行すべき命令が記憶さ
れているROM、である。
2 is a ROM in which instructions to be executed by the module processor 1 are stored.

3はモジュールプロセノサ1のワーキングエリアのRA
Mである。
3 is the RA of the working area of module processor 1
It is M.

4は外部インターフェースであシ、外部機器からの入力
信号を入出力モジュールで使用できる形式(レベル)に
変換し、またその逆の変換を行うものである。
4 is an external interface that converts input signals from external equipment into a format (level) that can be used by the input/output module, and vice versa.

5はランダムアクセスメモリであシ、入出力データを一
時保持するものである。なお、このことがら以後、Il
o RAMと称する。
5 is a random access memory, which temporarily holds input/output data. Furthermore, after this, Il
o It is called RAM.

6はIlo RAM5のアクセスコントローラであり、
Ilo RAM5のアクセス信号は全てこれが発する。
6 is an access controller for Ilo RAM5;
All access signals for Ilo RAM 5 are generated by this.

7はバスコントローラであり、PCに接続されるデータ
バス8、アドレスバス9の信号を入出カモジュールに入
力させるか否かをコントロールするものである。
A bus controller 7 controls whether or not signals from a data bus 8 and an address bus 9 connected to the PC are input to the input/output module.

10a、10bはデータトランスミツターであシ、ツレ
ツレアクセスコントローラ6、バスコントローラ7が発
する信号を受けて、データの流れる方向を規制するもの
である。
Reference numerals 10a and 10b are data transmitters, which receive signals from the access controller 6 and the bus controller 7 and regulate the direction in which data flows.

11a、llbはゲートであり、それぞれアクセスコン
トローラ6、バスコントローラ7が発する信号を受けて
アドレス信号を伝達したり切シ離したりするものである
Gates 11a and llb receive signals issued by the access controller 6 and bus controller 7, respectively, and transmit or disconnect address signals.

以上のIlo RAM5 、アクセスコントローラ6、
バスコントローラ7、データトランスミツター10a、
10b、ゲートlla、llbで、プーアルボート几A
Mを構成している。
The above Ilo RAM 5, access controller 6,
bus controller 7, data transmitter 10a,
10b, Gates lla and llb, Pu'er boat A
It constitutes M.

なお、図において、きわめて自明な信号線(例えば、モ
ジュールプロセッサ1からROM2に送られるべきコン
トロール信号線)などは省略している。
In the figure, extremely obvious signal lines (for example, a control signal line to be sent from the module processor 1 to the ROM 2) are omitted.

〔動 作〕〔motion〕

次に、具体的動作にしたがってさらに詳しく説明する。 Next, a more detailed explanation will be given according to specific operations.

PCが入出力モジュールのデータを取シ込む場合には、
コントロール信号12でその市指定する。
When the PC imports data from the input/output module,
The city is designated by control signal 12.

コントロール信号12は、具体的にはモジュール指定信
号や、出力指定信号などからなっている。
The control signal 12 specifically includes a module designation signal, an output designation signal, and the like.

モジュール指定信号というのは、一般的にはPC1個に
対し複数個の入出力モジュールが接続されるので、特定
の入出カモジュールを指定するものである。
The module designation signal designates a specific input/output module, since generally a plurality of input/output modules are connected to one PC.

出力指定信号というのは、データの読み出しか、書き込
みかを指定するものである。この場合は、読み出しであ
る。
The output designation signal designates whether data is to be read or written. In this case, it is a read.

このコントロール信号12を受ケタハスコントローラ7
は、アクセスコントローラ6に対しIloRAMのアク
セスを要求する信号13を発する。
This control signal 12 is received by the controller 7.
issues a signal 13 requesting the access controller 6 to access IloRAM.

アクセスコントローラ6はそれに対し、アクセス可能で
あれば応答信号14を返信するとともに、読み出し信号
15をI10几AM5に送出し、読み出し可能の状態に
する。
In response, the access controller 6 returns a response signal 14 if it is accessible, and also sends a read signal 15 to the I10 AM 5 to enable reading.

バスコントローラ7は信号17を送出しゲート11bを
開き、pcからアドレス信号を入力するとともに、信号
18を送出してIlo RAM5からデータがPCへ流
出する送路を開く。
The bus controller 7 sends a signal 17 to open the gate 11b, inputs an address signal from the PC, and sends a signal 18 to open a path for data to flow from the Ilo RAM 5 to the PC.

以上の動作によってIlo RAM5の内容がPCによ
って読み出される。
Through the above operations, the contents of the Ilo RAM 5 are read out by the PC.

また、PCが入出カモジュールへデータを出力する場合
には、読み出しく取込み)と同様に、コントロール信号
12でその旨指定する。データの書き込みが指定される
と、バスコントローラ7はアクセスコントローラ6に対
し、Ilo RAMアクセス要求信号13を発する。ア
クセスコントローラ6は、アクセス可能であれば応答信
号14を返信する。モジュールブロセノサがIlo 几
AMを占有してアクセス不可の場合には、応答信号14
は返らない。これは初期リセット時、モジュールブロセ
ノサがIlo RAMの初期化を行なう場合に、PCが
Ilo RAMをアクセスできなくするために必要な処
置である。PCは、入出力モジュールへは通常どおシア
クセスを行ない、Ilo 几AMへのアクセスが行なわ
れないだけでなく、入出力モジュールの状態に対しては
POld:関与しない。
Furthermore, when the PC outputs data to the input/output module, it designates this using the control signal 12, as in the case of reading/inputting. When data writing is specified, the bus controller 7 issues an Ilo RAM access request signal 13 to the access controller 6. The access controller 6 returns a response signal 14 if access is possible. If the module Brocenosa occupies Ilo AM and cannot be accessed, the response signal 14
won't return. This is necessary to prevent the PC from accessing the Ilo RAM when the module processor initializes the Ilo RAM during initial reset. The PC normally accesses the input/output module, and not only does it not access the Ilo AM but also does not participate in the state of the input/output module.

応答信号14を受け取ったバスコントローラ7は信号1
7を送出し、ゲート1113よりPCからのアドレス信
号をIlo 几AMアドレスバスへ乗せ、且つ信号18
をトランスミッタ10bに与え、PCからのデータをI
lo 凡AMデータバスに乗せる。
Upon receiving the response signal 14, the bus controller 7 transmits the signal 1.
7, the address signal from the PC is transferred from the gate 1113 to the Ilo AM address bus, and the signal 18
is given to the transmitter 10b, and the data from the PC is sent to the transmitter 10b.
lo Ordinarily put on the AM data bus.

さらに、アクセスコントローラ6はIlo llAM5
へ書き込み信号16を送出し、データを団き込む。
Furthermore, the access controller 6 is Ilo ll AM5
A write signal 16 is sent to the host to collect data.

以上の動作によってIlo 几AM5へPCよシデータ
が書き込まれる。
Through the above operations, the PC data is written to the Ilo AM5.

サテ、PCによるIlo RAM5のアクセスが完了す
れば、コン)・ロール信号12中のモジュール指定信号
が切れ、それによってバスコントローラ7は完了信号1
9を発する。この完了信号19によってモジュールプロ
セッサ1がアクセスコントローラ6に信号20を発して
Ilo RAM5のアクセスを開始し、IloRAM5
のデータを読み出してワーキングエリアの几AM3に転
送し、かつ、ワーキングエリアのRAM3のデータをI
llloltA へ転送(書き込み)する。なお、デー
タトランスミノター10a、ゲート11aは、アク−1
=スコントローラ6の信号によって読み出し、書き込み
にしたがって制御される。
When the access to the Ilo RAM 5 by the PC is completed, the module designation signal in the control signal 12 is cut off, and the bus controller 7 outputs the completion signal 1.
Emit 9. In response to this completion signal 19, the module processor 1 issues a signal 20 to the access controller 6 to start accessing the Ilo RAM 5.
The data in RAM 3 in the working area is read out and transferred to the RAM 3 in the working area, and the data in RAM 3 in the working area is transferred to
Transfer (write) to lloltA. Note that the data transmitter 10a and the gate 11a are
= Controlled according to reading and writing by signals from the controller 6.

モジュールプロセッサ1がこのアクセスを行なうのは、
PCのアクセス終了後から、次のPCのスキャンでのア
クセス開始までの間となる。
Module processor 1 performs this access as follows:
This is the period from the end of PC access to the start of access in the next PC scan.

すなわち、これ以外の時間にモジュールプロセッサ1が
Ilo 几AM5をアクセスしようとしても、すでにP
Cがアクセスしているので、PCとI10RAM間のデ
ータの送路を規制する信号18又は18′から分岐した
信号21.21′がアクセスコントローラ6に入力され
ており、これらの信号とモジュールプロセッサ1からの
信号20が同時に入力されると、WA I T信号22
が発せられ、モジュールプロセッサ1のアクセス動作を
一時中止させるようになっているからである。
In other words, even if the module processor 1 attempts to access the Ilo AM 5 at any other time, the P
Since C is accessing, the signals 21 and 21' branched from the signal 18 or 18' that regulate the data transmission route between the PC and the I10RAM are input to the access controller 6, and these signals and the module processor 1 When the signals 20 from the WA I T signal 22 are input simultaneously,
This is because the command is issued and the access operation of the module processor 1 is temporarily stopped.

つまり、Ilo RAM5 のアクセスはPCが優先す
るよう構成されているのである。
In other words, the PC is configured to give priority to accessing the Ilo RAM 5.

このようにすることによυ、従来必要であったへンドシ
エイキング、すなわち入出力モジュールがPCに対しB
U、SY倍信号入出力命令が実行されないようCPUを
WAITさせる信号)を返すことなくデータの授受が可
能となり、I、’ORAMのアクセスがPCのスキャン
に同期できるようになった。
By doing this, the handshaking that was previously required, that is, the input/output module becomes
It is now possible to send and receive data without returning the U,SY double signal (a signal that causes the CPU to wait so that input/output commands are not executed), and I,' ORAM access can now be synchronized with PC scans.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれば、PCと入出力モジ
ュール間でハンドシェイキングを行うことなく、データ
の授受が可能となシ、PCの処理効率が向上するという
効果がるる。しかもデータを特殊な形式に変換しないの
で、標準的に使用可能である。
As described above, according to the present invention, data can be exchanged between the PC and the input/output module without handshaking, and the processing efficiency of the PC can be improved. Moreover, since the data is not converted into a special format, it can be used as a standard.

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

第1図は、PCシステムの概念図、第2図は本発明の具
体的実施例である。 1:モジュールブロセノサ 5 : Ilo 11LA
M第 1 図 手続補正書 1.事件の表示 昭和58年特許願第201838号 2、発明の名称 プログラマブル・コントローラの入出カモジュール3、
補正をする者 事件との関係 特許出願人 住所 福岡県北九州市八幡西区大字藤田2346番地5
、補正により増加する発明の数 0 6、補正の対象 明細書の「発明の詳細な説明」の欄 7、補正の内容 (1)明細内筒3@18iirハンドシエキング」を「
ハンドシエイキング」にET正いたしまづ。 (2)明細書第8頁19行「信号18」を「信号18−
」に訂正いたします。 (3)明細書第8頁7行から15行にかけて、「モジュ
ールプロセッサがIloRAMを・・・・・・・・・・
・の状態に対しては関与しない。」とあるものを削除い
たします。 (4)明細因第10頁19行の後に、 [ところr、入出カモジュールが初期リセツ1一時、モ
ジュールプロセッサがIloRAMの初期化を行なって
いるときにPCが入出カモジュールをアクセスすると、
I10RAMアクセス要求信号13に対して、応答信号
14は返信されずPCによるI10RAMアクセスは禁
止される。 この場合、PCにとって入出)jモジュールは未装着と
同じ状態である。従って、PCの入出力処理に何ら不都
合は生じない。l10RΔMの初期化が完了すると、前
述の手順に従ってPCと入出カモジュール間でデータの
授受が行なわれる。」を挿入いたします。 以上
FIG. 1 is a conceptual diagram of a PC system, and FIG. 2 is a specific embodiment of the present invention. 1: Module Brocenosa 5: Ilo 11LA
M Figure 1 Procedure amendment 1. Display of the case 1988 Patent Application No. 201838 2, Title of Invention Programmable Controller Input/Output Module 3,
Relationship with the case of the person making the amendment Patent applicant address 2346-5 Fujita, Yahatanishi-ku, Kitakyushu, Fukuoka Prefecture
, Number of inventions increased by the amendment 0 6. Column 7 of "Detailed description of the invention" of the specification subject to the amendment, content of the amendment (1) Specification inner cylinder 3 @ 18iir handshaking"
ET Masashi Shimazu on "Handshaking". (2) Change “Signal 18” to “Signal 18-” on page 8, line 19 of the specification.
” will be corrected. (3) From line 7 to line 15 on page 8 of the specification, it is stated that ``The module processor uses IloRAM...
・We are not involved in the situation. ” will be deleted. (4) After page 10, line 19 of the specification, it says: [When the PC accesses the input/output module while the module processor is initializing IloRAM, the input/output module is initial reset 1.
A response signal 14 is not returned in response to the I10RAM access request signal 13, and access to the I10RAM by the PC is prohibited. In this case, the input/output module) to the PC is in the same state as if it were not installed. Therefore, no inconvenience occurs in the input/output processing of the PC. When the initialization of l10RΔM is completed, data is exchanged between the PC and the input/output module according to the procedure described above. ” will be inserted. that's all

Claims (1)

【特許請求の範囲】[Claims] モジュールプロセッサと、デュアルポートRAMを備え
、入出力モジュールとプログラマブル・コントローラと
のデータの授受は前記RAMに書き込み、読み出しを行
うことによって行なわしめるよう構成したプログラマブ
々・コントローラの入出カモジュールにおいて、プログ
ラマブル・コントローラが前記RA Mをアクセスしよ
うとしたときに、前記モジュールプロセッサも前記RA
Mをアクセスしようとするときは、前記モジュールプロ
セッサを一時停止させるとともに、プログラマブル・コ
ントローラが前記RAMのアクセスを完入出カモジュー
ル。
The input/output module of the programmable controller is equipped with a module processor and a dual port RAM, and data is exchanged between the input/output module and the programmable controller by writing to and reading from the RAM. - When the controller attempts to access the RAM, the module processor also accesses the RAM.
When attempting to access M, the module processor is temporarily stopped and the programmable controller completes the access to the RAM.
JP20183883A 1983-10-26 1983-10-26 Input and output module of programmable controller Pending JPS6093509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20183883A JPS6093509A (en) 1983-10-26 1983-10-26 Input and output module of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20183883A JPS6093509A (en) 1983-10-26 1983-10-26 Input and output module of programmable controller

Publications (1)

Publication Number Publication Date
JPS6093509A true JPS6093509A (en) 1985-05-25

Family

ID=16447727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20183883A Pending JPS6093509A (en) 1983-10-26 1983-10-26 Input and output module of programmable controller

Country Status (1)

Country Link
JP (1) JPS6093509A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020090236A1 (en) * 2018-10-31 2020-05-07 株式会社日立製作所 Radiation monitor and radiation measurement method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020090236A1 (en) * 2018-10-31 2020-05-07 株式会社日立製作所 Radiation monitor and radiation measurement method

Similar Documents

Publication Publication Date Title
US4245307A (en) Controller for data processing system
US5404462A (en) Dual bus interface transfer system for central processing module
KR100630071B1 (en) High speed data transmission method using DM in multiprocessor environment and apparatus therefor
US5509127A (en) Transmission logic apparatus for dual bus network
US5566345A (en) SCSI bus capacity expansion controller using gating circuits to arbitrate DMA requests from a plurality of disk drives
US5495585A (en) Programmable timing logic system for dual bus interface
US20060168366A1 (en) Direct memory access control method, direct memory access controller, information processing system, and program
US5444852A (en) I/O device interface having buffer mapped in processor memory addressing space and control registers mapped in processor I/O addressing space
US5761451A (en) Configuration with several active and passive bus users
US5430844A (en) Communication control system for transmitting, from one data processing device to another, data along with an identification of the address at which the data is to be stored upon reception
JPS58109960A (en) data processing system
JPS6093509A (en) Input and output module of programmable controller
US4539656A (en) Memory access selection circuit
JPH05108554A (en) Bus controller operating system built into the main controller
US5566350A (en) Information device for providing fast data transfer with minimum overhead
JP3516422B2 (en) System and method for interfacing peripheral circuits to a RISC bus using another bus template in a data communication adapter
JP3079956B2 (en) Printer
JPH087738B2 (en) Endian conversion method
KR940009830B1 (en) Control logic
JPH0471224B2 (en)
KR950010946B1 (en) Interface apparatus between buses having different data transmission mehtods
KR200296602Y1 (en) Access collision avoidance device between the device board of the exchanger and the device control board
KR890006191Y1 (en) Magnetic tape controler by direct memory access
JPS6120167A (en) Data storage device
JPS63226755A (en) Data transfer circuit