JPS61282946A - Programmable controller - Google Patents
Programmable controllerInfo
- Publication number
- JPS61282946A JPS61282946A JP12422985A JP12422985A JPS61282946A JP S61282946 A JPS61282946 A JP S61282946A JP 12422985 A JP12422985 A JP 12422985A JP 12422985 A JP12422985 A JP 12422985A JP S61282946 A JPS61282946 A JP S61282946A
- Authority
- JP
- Japan
- Prior art keywords
- change data
- memory
- sequence
- circuit
- program
- 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
Links
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は、複数の異なるシーケンスプログラムの選択機
能を備えたプログラマブルコントローラに関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a programmable controller having a function of selecting a plurality of different sequence programs.
プログラマブルコントローラ(以下PCと呼ぶ)を用い
てシーケンス制御を行うとき、制御対象に応じてシーケ
ンスを変更したいことがある。When performing sequence control using a programmable controller (hereinafter referred to as PC), it may be desirable to change the sequence depending on the object to be controlled.
従来のPCのブロック図を第4図に示す。A block diagram of a conventional PC is shown in FIG.
第4図において、ユーザープログラムはシーケンスプロ
グラムメモリ8に記憶され、システムメモ曹月2に記憶
された手順に従ってCPU (演算処理部)3によって
実行される。In FIG. 4, the user program is stored in a sequence program memory 8 and executed by a CPU (arithmetic processing unit) 3 according to a procedure stored in a system memo 2.
内部データメモリ5はユーザープログラムの実行結果を
一時記憶し、I10パスインタフェース13を介して入
力部14および出力部15とデータの授受を行う。The internal data memory 5 temporarily stores the execution results of the user program, and exchanges data with the input section 14 and the output section 15 via the I10 path interface 13.
デコーダ6はCPU 3から出されたアドレス信号に従
って各メモリに対してメモリ選択信号7を発生する。The decoder 6 generates a memory selection signal 7 for each memory according to the address signal output from the CPU 3.
上記第4図の構成をもった従来のPCにおいて、複数の
シーケンスを選択的に切換えて実行するときのメモリマ
ツプの一例を第5図に示す。FIG. 5 shows an example of a memory map when a plurality of sequences are selectively switched and executed in a conventional PC having the configuration shown in FIG. 4.
すなわち従来はユーザープログラムエリアを例えば3つ
のシーケンスプログラムエリア(A)、 (B)。That is, in the past, the user program area was, for example, three sequence program areas (A) and (B).
(C)に分割し、 プログラム上で互にインタロックを
取りながら1つのシーケンスプログラムを選択して実行
する。(C), and select and execute one sequence program while interlocking each other on the program.
しかしながら上記の方法では、ユーザープログラムエリ
アを複数に分割しているので、個々のシーケンスプログ
ラムの容量が小さくなるとし1う問題があり、またユー
ザープログラム自体もシーケンスプログラムを切換える
ために複雑になる。However, in the above method, since the user program area is divided into a plurality of parts, there is a problem in that the capacity of each sequence program becomes small, and the user program itself becomes complicated due to switching between sequence programs.
これと別な方法として、実行すべきシーケンスプログラ
ムを上位計算機からダウンロードしてPC内のユーザー
プログラムエリアを書替える方法があり、この場合は選
択できるシーケンスの数に制約がなく、PCのメモリ容
量も有効に利用できるが、データ伝送の手段が複雑にな
り、またノイズの影響などによる伝送ミスによってPC
の暴走を招く恐れがあるので信頼性の面で問題がある。Another method is to download the sequence program to be executed from the host computer and rewrite the user program area in the PC. In this case, there is no limit to the number of sequences that can be selected, and the memory capacity of the PC is also limited. Although it can be used effectively, the means of data transmission becomes complicated, and transmission errors due to the influence of noise cause PCs to
This poses a problem in terms of reliability as it may lead to runaway behavior.
本発明は、メモリ容量を有効に利用しながら容易にシー
ケンスプログラムの変更ができる合理的なプログラマブ
ルコントローラを提供することを目的としている。An object of the present invention is to provide a rational programmable controller that can easily change sequence programs while effectively utilizing memory capacity.
〔発明の概要〕
本発明は、メモリ上の同一のアドレス領域に割付けられ
た複数のユーザープログラムメモリと、外部からのプロ
グラム切換要求に応じて上記複数のユーザープログラム
メモリの1つを選択するチップセレクト回路を備え、こ
れによってユーザープログラムのメモリ容量を低下する
ことなくシーケンスプログラムを容易に切換えられるよ
うにしたプログラマブルコントローラである。[Summary of the Invention] The present invention provides a plurality of user program memories allocated to the same address area on a memory, and a chip select that selects one of the plurality of user program memories in response to an external program switching request. This is a programmable controller equipped with a circuit that allows sequence programs to be easily switched without reducing the memory capacity of user programs.
本発明の一実施例を第1図に示す。 An embodiment of the present invention is shown in FIG.
第1図において、シーケンス変更データ1が変更データ
入力回路2に入力されると、入力回路2は変更データ1
をラッチし、異なる変更データが入力されるまで、その
変更データ1を保持する。In FIG. 1, when sequence change data 1 is input to the change data input circuit 2, the input circuit 2 inputs the change data 1.
is latched and the changed data 1 is held until different changed data is input.
続いてCPU3は第2図に示す遷移図のタイミングで変
更データ1を読込み、チップセレクト回路4に送ると共
に、内部データメモリ5を初期化する。Subsequently, the CPU 3 reads the change data 1 at the timing shown in the transition diagram shown in FIG. 2, sends it to the chip select circuit 4, and initializes the internal data memory 5.
チップセレクト回路4はメモリ選択信号発生用デコーダ
6からユーザープログラムエリアのメモリ選択信号を受
取ると、変更データ1に応じてシーケンスプログラムメ
モリ8,9.10のうちのチップセレクト信号11をア
クティブにする。When the chip select circuit 4 receives the memory selection signal for the user program area from the memory selection signal generation decoder 6, it activates the chip select signal 11 of the sequence program memories 8, 9, and 10 in accordance with the change data 1.
これによってシーケンスプログラムメモリ8゜9.10
のうちの1つだけが選択され、そのメモリに記憶されて
いるシーケンスプログラムが実行される。This allows the sequence program memory 8°9.10
Only one of them is selected and the sequence program stored in that memory is executed.
シーケンスプログラムメモリ8,9.10は別々なRO
Mチップとして基板上に実装されているので、第3図に
示すようにユーザープログラムエリアの容量を従来の第
5図の場合に比して3倍にすることができる。Sequence program memories 8, 9 and 10 are separate ROs
Since it is mounted on the board as an M chip, the capacity of the user program area can be tripled as shown in FIG. 3 compared to the conventional case shown in FIG.
またシーケンス変更データに応じてROMチップを切換
えるだけでよく、従来に比してシーケンス切換が容易に
なる。Furthermore, it is sufficient to simply switch the ROM chip according to the sequence change data, making sequence switching easier than in the past.
以上説明したように本発明によれば、複数のシーケンス
プログラムをメモリ容量を有効に利用しながら容易に切
換えられる合理的なプログラマブルコントローラが得ら
れる。As described above, according to the present invention, a rational programmable controller that can easily switch between a plurality of sequence programs while effectively utilizing memory capacity can be obtained.
第1図は本発明の一実施例を示す構成図、第2図は第1
図におけるシステムソフト遷移図、第3図は第1図にお
けるメモリマツプ図、第4図は従来のプログラマブルコ
ントローラの構成図、第5図は従来のメモリマツプ図で
ある。
1 シーケンス変更データ
2 入力回路
3 CPU
4 チップセレクト回路
5 内部データメモリ
6 デコーダ
8〜10 シーケンスプログラムメモリ12
システムメモリ
13 I10バスインタフェース14
人力部
15 出力部
16 アドレスバス
17 データバス
18 I10バス
(8733)代理人 弁理士 猪 股 祥 晃(ほか1
名)第 1 図
第3図
f?
第4図FIG. 1 is a configuration diagram showing one embodiment of the present invention, and FIG.
3 is a system software transition diagram in the figure, FIG. 3 is a memory map diagram in FIG. 1, FIG. 4 is a configuration diagram of a conventional programmable controller, and FIG. 5 is a conventional memory map diagram. 1 Sequence change data 2 Input circuit 3 CPU 4 Chip select circuit 5 Internal data memory 6 Decoders 8 to 10 Sequence program memory 12
System memory 13 I10 bus interface 14
Human resources department 15 Output section 16 Address bus 17 Data bus 18 I10 bus (8733) Agent Patent attorney Yoshiaki Inomata (and 1 others)
Name) Figure 1 Figure 3 f? Figure 4
Claims (1)
ーザープログラムメモリと、外部からのプログラム切換
要求に応じて上記複数のユーザープログラムメモリの1
つを選択するチップセレクト回路を備えたことを特徴と
するプログラマブルコントローラ。Multiple user program memories allocated to the same address area on memory, and one of the multiple user program memories in response to an external program switching request.
A programmable controller characterized by being equipped with a chip select circuit that selects one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12422985A JPS61282946A (en) | 1985-06-10 | 1985-06-10 | Programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12422985A JPS61282946A (en) | 1985-06-10 | 1985-06-10 | Programmable controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61282946A true JPS61282946A (en) | 1986-12-13 |
Family
ID=14880178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP12422985A Pending JPS61282946A (en) | 1985-06-10 | 1985-06-10 | Programmable controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61282946A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009199146A (en) * | 2008-02-19 | 2009-09-03 | Toshiba Mach Co Ltd | Programmable logic controller |
JP2009223736A (en) * | 2008-03-18 | 2009-10-01 | Toshiba Mach Co Ltd | Programmable logic controller |
JP2015210790A (en) * | 2014-04-30 | 2015-11-24 | ファナック株式会社 | Controller that outputs switching notice signal in switching of sequence program |
-
1985
- 1985-06-10 JP JP12422985A patent/JPS61282946A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009199146A (en) * | 2008-02-19 | 2009-09-03 | Toshiba Mach Co Ltd | Programmable logic controller |
JP2009223736A (en) * | 2008-03-18 | 2009-10-01 | Toshiba Mach Co Ltd | Programmable logic controller |
JP2015210790A (en) * | 2014-04-30 | 2015-11-24 | ファナック株式会社 | Controller that outputs switching notice signal in switching of sequence program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4115852A (en) | Microprogrammed controller | |
US7647485B2 (en) | Data processing system for debugging utilizing halts in a parallel device | |
JPS61282946A (en) | Programmable controller | |
US4807178A (en) | Programmable sequence controller having indirect and direct input/output apparatus | |
JP3182906B2 (en) | Microcomputer | |
JPH06324906A (en) | Single chip microcomputer | |
JPH05143447A (en) | Digital processor and control method for the processor | |
JP2982129B2 (en) | Micro program controller | |
US5864691A (en) | Central processing unit with a selector that bypasses circuits where processing is not required | |
JP3117214B2 (en) | Sequencer microprogram control method | |
JP2777133B2 (en) | Central processing unit | |
JP2604203B2 (en) | Debug device for one-chip digital signal processor | |
JPS6041140A (en) | Debugging device of read-only memory built in semiconductor integrated circuit | |
JPS6015969B2 (en) | Microinstruction address generation method | |
JPH0310335A (en) | Emulation chip | |
JPH02293948A (en) | Microcomputer lsi | |
JPS6229813B2 (en) | ||
JPH0778730B2 (en) | Information processing equipment | |
JPH06175871A (en) | Emulator | |
JPH0583937B2 (en) | ||
JPS6362037A (en) | Microprogram controller | |
JPH0855477A (en) | Memory device | |
JPS63229530A (en) | Interruption control system | |
JPH01161541A (en) | Single-chip microcomputer for evaluation | |
JPH0412850B2 (en) |