JPS62107304A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPS62107304A
JPS62107304A JP60248340A JP24834085A JPS62107304A JP S62107304 A JPS62107304 A JP S62107304A JP 60248340 A JP60248340 A JP 60248340A JP 24834085 A JP24834085 A JP 24834085A JP S62107304 A JPS62107304 A JP S62107304A
Authority
JP
Japan
Prior art keywords
address
simulation
input
peripheral equipment
switching element
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
JP60248340A
Other languages
Japanese (ja)
Inventor
Yoshio Kasai
葛西 由夫
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60248340A priority Critical patent/JPS62107304A/en
Publication of JPS62107304A publication Critical patent/JPS62107304A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE:To constitute the titled controller so that a dummy input for a simulation can be switched automatically in accordance with an address of a peripheral equipment which has been registered in advance, by comparing and discriminating the addresses, when a CPU has executed a read-out operation of the address of its peripheral equipment, and sending out a discriminating signal to a switching element, when they are equal. CONSTITUTION:An address of a peripheral equipment for executing a dummy input is registered in advance in a registration address memory 7 for simulation. Also, with respect to an address of the peripheral equipment for a simulation, information of on and off is written in an image memory 4 for input. Subsequently, when a CPU 1 executes an operation for reading out the address of its peripheral equipment, an output from a registration address memory 7 for simulation which has been registered already, and the address of the peripheral equipment which has been designated by the CPU 1 are compared and discriminated by a comparing element 8, and when they are the same, a discriminating signal (called an equal signal) of its fact is outputted. This equal signal is inputted to a select input terminal S of a switching element 9, an in[put terminal A of the switching element 9 becomes effective, and said signal becomes an input data of the CPU 1 through an output terminal Y of the same switching element 9.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は一プログラマブルコントローラlと関し、特
に1周辺装置からの模擬人力ζこよりシュミレーション
する機能を備えたプログラマブルコントローラに関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a programmable controller l, and more particularly to a programmable controller having a function of simulating human power from a peripheral device.

〔従来の技術〕[Conventional technology]

第2図は従来のシュミレーション機能をxするプログラ
マブルコン)o−ラのブロック回路図である。
FIG. 2 is a block circuit diagram of a programmable controller that performs conventional simulation functions.

図において、1は中央演X装置!!(以下+ CPUと
略記する。)、2はOR論理素子、3はプロセス入力、
4は入力用イメージメモリ、5はアドレスバス、6はチ
ー ’) ハ、;’、 1? 、り ル。
In the figure, 1 is the central performance X device! ! (hereinafter abbreviated as + CPU), 2 is an OR logic element, 3 is a process input,
4 is input image memory, 5 is address bus, 6 is Qi') Ha, ;', 1? , Riru.

次に、上記第2図に示す従来のプログラマブルコントロ
ーラの動作について説明する。
Next, the operation of the conventional programmable controller shown in FIG. 2 will be explained.

図のプロセス人力3がオフのとき+ CPUIよリアド
レスバス5を介して入力用イメージメモリ4ヘオン信号
を与えれば−OR論理素子2.データバス6を介してC
PUIにオン信号が模擬人力される。一方、入力用イメ
ージメモリ4をオフさせれば、同じ<OR論理素子2.
データバス6を介してCPUIにオフ信号が模擬入力さ
れる。
When the process input 3 shown in the figure is off, if the + CPU inputs the ON signal to the input image memory 4 via the rear address bus 5, -OR logic element 2. C via data bus 6
A simulated on signal is applied to the PUI. On the other hand, if the input image memory 4 is turned off, the same <OR logic element 2.
A simulated off signal is input to the CPUI via the data bus 6.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来ノプログラマブルコントローラは上記のよう−こ構
成されているので、プロセス人力3がオンのときにはC
PUIに模擬入力できないという問題点があった。
Conventional programmable controllers are configured as described above, so when process power 3 is on, C
There was a problem that simulated input could not be performed on the PUI.

この発明は、上記のような問題点を解決するため1・こ
なされたもので−シュミレーションのための模擬入力が
、あらかじめ登録された周辺装置のアドレスに対応して
自動的lこ切替えて人力できるプログラマブルコントロ
ーラを得ることを目的とする。
This invention was made in order to solve the above-mentioned problems: 1) The simulated input for simulation can be done manually by automatically switching between inputs according to the addresses of peripheral devices registered in advance. The purpose is to obtain a programmable controller.

〔間:隠点を解決するための手段〕[Pause: Means for solving hidden points]

この発明に係るプログラマブルコントローラは。 A programmable controller according to this invention.

模擬人力する周辺装置のアドレスをあらかじめ登録して
おくシュミレーション用登録アドレスメモjJと、この
シュミレーション用登録アドレスメモリからの出力とC
PUが指定した周辺装置のアドレスとを比較2判別する
ための比較素子と、この比較素子からの判別信号により
プロセス入力と人力用イメージメモリとを自動的に切替
えるための切替素子とを備えたものである。
A simulation registration address memo jJ in which addresses of peripheral devices to be simulated are registered in advance, and an output from this simulation registration address memory and C.
It is equipped with a comparison element for comparing and determining the address of the peripheral device designated by the PU, and a switching element for automatically switching between the process input and the manual image memory based on the determination signal from the comparison element. It is.

〔作用〕[Effect]

この発明のプログラマブルコントローラにおいては、シ
ュミレーション用登録アドレスメモリに。
In the programmable controller of the present invention, the registration address memory for simulation.

模擬入力する周辺装置のアドレスをあらかじめ登録して
おき+ CPUがその周辺装置のアドレスを読み出す動
作を行うと、すでに登録されたシュミレーション用登録
アドレスメモリからの出力と。
The address of the peripheral device to be simulated input is registered in advance, and when the CPU performs an operation to read the address of the peripheral device, it is output from the already registered simulation registration address memory.

CPUが指定した周辺装置のアドレスとを比fi素子で
比較2判別し、それらが同じとき0判別信号を切替素子
に送る。切替素子はこの判別信号に基づき、自動的にプ
ロセス信号と入力用イメージメモリとを切替え、CPU
への入力データとする。
The address of the peripheral device designated by the CPU is compared with the address of the peripheral device using the fi element, and when they are the same, a 0 determination signal is sent to the switching element. Based on this discrimination signal, the switching element automatically switches between the process signal and the input image memory, and the CPU
As input data to.

〔実施例〕〔Example〕

第1図はこの発明の一実施例であるプログラマブルコン
トローラのブロック回路図であり、第2図の従来のプロ
グラマブルコントローラと同−一または相当部分には、
同一符号が付しである。
FIG. 1 is a block circuit diagram of a programmable controller that is an embodiment of the present invention, and the same or equivalent parts as the conventional programmable controller shown in FIG.
The same symbols are attached.

図において、7は模擬入力する周辺装置のアドレスをあ
らかじめ登録しておくシュミレーション用登録アドレス
メモリ、8はこのシュミレーション用登録アドレスメモ
リ7からの出力とCPUIが指定した周辺itのアドレ
スとを比較9判別するための比1咬素子、9はこの比較
素子−8からの判別13号によりプロセス入力と入力用
イメージメモリとを自動的に切替えるための切替素子で
ある。
In the figure, 7 is a registration address memory for simulation in which addresses of peripheral devices to be simulated input are registered in advance, and 8 is a comparison of the output from this registration address memory 7 with the address of the peripheral IT designated by the CPU 9. The ratio 1-bit element 9 is a switching element for automatically switching between the process input and the input image memory based on the determination No. 13 from the comparison element-8.

欠に、上記プログラマブルコントローラの動作について
、j発明する。
In particular, I would like to invent about the operation of the programmable controller.

まず、模擬人力する周辺装置のアドレスをあらかじめン
ユミレーション用ff1fiアドレスメモリ7に登録し
ておく。また、シュミレー7ヨンする周辺裟1のアドレ
スにオン、オフの情報を入力用イメージメモリ4Iこ−
3き込む。
First, the address of the peripheral device to be simulated manually is registered in advance in the ff1fi address memory 7 for simulation. In addition, the image memory 4I for inputting on/off information to the address of the peripheral 1 to be simulated.
3.

次に+ CPUIがその周辺装置のアドレスを読み出す
動作を行うと、すでに登録されたシュミレーション用登
録アドレスメモリ7からの出力と。
Next, when the + CPUI performs an operation to read the address of the peripheral device, the output from the already registered simulation registration address memory 7 is read.

CPUIが指定した周辺装置のアドレスとを比較素子8
が比軟2刊別し−それらが同じとき、その旨の判別信号
(イコー1し信号とrる。)を出力Cる。このイコール
信号は、切替素子9のセレクト入力端子Sに入り、切替
素子9の入力端子Aが有効となって、同じく切替素子9
の出力端子Yを介してCPUIの入力データとなる。
Compare element 8 with the address of the peripheral device specified by the CPUI.
If they are the same, a discrimination signal to that effect (equal signal) is output. This equal signal enters the select input terminal S of the switching element 9, and the input terminal A of the switching element 9 becomes valid.
It becomes the input data of the CPUI via the output terminal Y of the .

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

以上のように、この発明ζこよれば、シュミレーション
用登録アドレスメモリにあらかじめ模擬入力する周辺装
置のアドレスを登録しておキ、CPUがその周辺装置の
′アドレスの読み出し動作を行った際に、それらを比欲
素子で比較2判別し、それらが等しい場合には判別信号
を切替素子に送出して、この切替素子イこより自動的l
こプロセス入力と入力用イメージメモリとを切替え得る
ようにしたので、シュミレーションのだめの模擬入力が
あらかじめ登録された周辺装置のアドレスに対応して自
動的に切替えることができるなどの優れた効果を奏する
ものでちる。
As described above, according to the present invention, the address of a peripheral device to be simulated input is registered in advance in the registration address memory for simulation, and when the CPU performs an operation to read the address of the peripheral device, They are compared and discriminated by the comparative element, and if they are equal, a discrimination signal is sent to the switching element, and the switching element automatically
Since the process input and the input image memory can be switched, the simulation input can be automatically switched in accordance with the pre-registered peripheral device address. Dechiru.

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

第1図はこの発明の一実施例であるプログラマブルコン
トローラのブロック回路図、第2図は従来のプログラマ
ブルコントローラのブロック回路図である。 図において、1・・・CPU−3・・・プロセス入力。 4・・・入力用イメージメモリ、5・・・アドレスバス
。 6・・・データバス、7・・・シュミレーション用登録
アドレスメモリ、8・・・比11i12素子、9・・・
切替素子である。 なお、各図中、同一符号は同一、または相当部汁を示す
。 代J」人 大岩増雄 第1図。 6:・2テ゛−7バス
FIG. 1 is a block circuit diagram of a programmable controller according to an embodiment of the present invention, and FIG. 2 is a block circuit diagram of a conventional programmable controller. In the figure, 1...CPU-3...process input. 4...Image memory for input, 5...Address bus. 6...Data bus, 7...Registered address memory for simulation, 8...11i12 elements, 9...
It is a switching element. In each figure, the same reference numerals indicate the same or equivalent parts. Dai J” person Masuo Oiwa Figure 1. 6:・2-7 bus

Claims (1)

【特許請求の範囲】[Claims] 周辺装置からの模擬入力によりシユミレーシヨンするプ
ログラマブルコントローラにおいて、模擬入力する前記
周辺装置のアドレスをあらかじめ登録しておくシユミレ
ーシヨン用登録アドレスメモリと、このシユミレーシヨ
ン用登録アドレスメモリからの出力と中央演算装置が指
定した前記周辺装置のアドレスとが等しいか否かを比較
、判別するための比較素子と、前記シユミレーシヨン用
登録アドレスメモリからの出力と前記中央演算装置が指
定した前記周辺装置のアドレスとが等しい場合に、前記
比較素子からの判別信号によりプロセス入力と入力用イ
メージメモリとを自動的に切替えるための切替素子とを
備えたことを特徴とするプログラマブルコントローラ。
In a programmable controller that performs simulation by simulated input from a peripheral device, there is a registration address memory for simulation in which the address of the peripheral device to which simulated input is registered in advance, and an output from the registered address memory for simulation and the address specified by the central processing unit. a comparison element for comparing and determining whether or not the addresses of the peripheral device are equal, and when the output from the simulation registration address memory and the address of the peripheral device designated by the central processing unit are equal; A programmable controller comprising: a switching element for automatically switching between a process input and an input image memory based on a discrimination signal from the comparison element.
JP60248340A 1985-11-06 1985-11-06 Programmable controller Pending JPS62107304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60248340A JPS62107304A (en) 1985-11-06 1985-11-06 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60248340A JPS62107304A (en) 1985-11-06 1985-11-06 Programmable controller

Publications (1)

Publication Number Publication Date
JPS62107304A true JPS62107304A (en) 1987-05-18

Family

ID=17176627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60248340A Pending JPS62107304A (en) 1985-11-06 1985-11-06 Programmable controller

Country Status (1)

Country Link
JP (1) JPS62107304A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01131906A (en) * 1987-11-17 1989-05-24 Mitsubishi Electric Corp Program verifying system
US5084895A (en) * 1989-02-24 1992-01-28 Nippon Telegraph Telephone Corporation Semiconductor light emitting system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5427686A (en) * 1977-07-30 1979-03-01 Toyoda Mach Works Ltd Simulating input device in sequence controller
JPS54162078A (en) * 1978-06-13 1979-12-22 Toshiba Corp Input/output simulation device for sequence controller
JPS57130105A (en) * 1981-02-04 1982-08-12 Hitachi Ltd Sequencer
JPS5933041U (en) * 1982-08-24 1984-02-29 株式会社きもと Photosensitive material for plate making having a mask layer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5427686A (en) * 1977-07-30 1979-03-01 Toyoda Mach Works Ltd Simulating input device in sequence controller
JPS54162078A (en) * 1978-06-13 1979-12-22 Toshiba Corp Input/output simulation device for sequence controller
JPS57130105A (en) * 1981-02-04 1982-08-12 Hitachi Ltd Sequencer
JPS5933041U (en) * 1982-08-24 1984-02-29 株式会社きもと Photosensitive material for plate making having a mask layer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01131906A (en) * 1987-11-17 1989-05-24 Mitsubishi Electric Corp Program verifying system
US5084895A (en) * 1989-02-24 1992-01-28 Nippon Telegraph Telephone Corporation Semiconductor light emitting system

Similar Documents

Publication Publication Date Title
JPS62107304A (en) Programmable controller
JPH05233834A (en) Single chip microcomputer
JPS6167148A (en) Microcomputer
JPS6330658B2 (en)
JPS6045862A (en) Shared memory device
JP3341164B2 (en) Programmable controller
JPS60122449A (en) Input and output controller of address variable system
JPH03257504A (en) Sequence controller
JP2884620B2 (en) Digital image processing device
JPH03136120A (en) Input/output circuit of microcontroller
JPS59105109A (en) Input/output unit for programmable controller
JPH04199449A (en) Device controller
JPS62239259A (en) Microcomputer
JPH02293948A (en) Microcomputer lsi
JPH04290139A (en) Data processing system
JPS62219956A (en) Input circuit
JPS59157735A (en) Data bus control system
JPS62256139A (en) Data processor
JPH05165757A (en) Information processing controller
JPS61168059A (en) System for making access to address converting buffer
JPS5822445A (en) Arithmetic device for digital video processing
JPH01286057A (en) Microprocessor
JPS61292739A (en) Memory device
JPS62162754U (en)
JPS6020099U (en) P-ROM writer