JPS60176106A - Sequence controller - Google Patents
Sequence controllerInfo
- Publication number
- JPS60176106A JPS60176106A JP3455784A JP3455784A JPS60176106A JP S60176106 A JPS60176106 A JP S60176106A JP 3455784 A JP3455784 A JP 3455784A JP 3455784 A JP3455784 A JP 3455784A JP S60176106 A JPS60176106 A JP S60176106A
- Authority
- JP
- Japan
- Prior art keywords
- data
- register
- memory
- block
- stored
- 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
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Information Transfer Systems (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
く技術分野〉
本発明はシーケンスコントローラ(プログラマブルコン
トローラ)に関するものである。DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a sequence controller (programmable controller).
〈従来技術〉
シーケンスコントローラは、外部からの種々の入力を受
入れるための入力カードや、外部へ出力するための出力
カードとバスにて接続されデータの伝送を行う入出カメ
モリ(入出力リレー)を備えている。<Prior art> A sequence controller is equipped with an input card for accepting various inputs from the outside, and an input/output memory (input/output relay) that is connected via a bus to an output card for outputting data to the outside and transmits data. ing.
又、シーケンスコントローラは内部にバッテリバックア
ップされたレジスタを有しており、そこにシーケンスプ
ログラムを格納する。ところで、前記レジスタは有限で
拡張性に乏しく、通常は固定されている。Further, the sequence controller has an internal battery-backed register in which the sequence program is stored. By the way, the registers are limited, have poor expandability, and are usually fixed.
〈発明の目的〉
本発明は、上記シーケンスコントローラのレジスタを基
本にして上記入出カメモリにてデータ伝送の制御を行う
ことにより該レジスタの格納データを、一旦、特別に設
定した他のメモリに記憶させ、前記レジスタに再び他の
格納データを入れる様にすることにより、前記レジスタ
を2倍、3倍或いはそれ以上に利用することを目的とす
る。<Object of the Invention> The present invention controls data transmission in the input/output memory based on the register of the sequence controller, thereby temporarily storing data stored in the register in another memory specially set. The purpose of the present invention is to double, triple, or more utilize the register by storing other stored data in the register again.
〈実施例〉 以下、本発明の構成を図面を参照しつつ述べる。<Example> Hereinafter, the configuration of the present invention will be described with reference to the drawings.
第1図は本発明の適用可能なシーケンスコントローラの
システム構成を示すもので、lはシーケンスコントロー
ラ本体を、2は入出力カードを表わしている。そして、
前記シーケンスコントローラ本体lはユーザメモリla
、入出カメモリ1b及びレジスタlcを備え、該入出力
メモIJ1bは前記入出力カード2のカードn。+nl
l”2 1nB 、 n4 ’+ n5又はn6とバ
ス3にて電気的に接続されている。FIG. 1 shows the system configuration of a sequence controller to which the present invention can be applied, where l represents the sequence controller main body and 2 represents an input/output card. and,
The sequence controller main body l has a user memory la
, an input/output memory 1b, and a register lc, and the input/output memo IJ1b is the card n of the input/output card 2. +nl
l''2 1nB, n4'+n5 or n6 is electrically connected to bus 3.
さて、本実施例においては、上記入出力カード2の7枚
のカードのうち任意のカードにレジスタを有するメモ!
J(RAM又はROM)を設置する。Now, in this embodiment, any card among the seven cards of the input/output card 2 has a register!
Install J (RAM or ROM).
そして、前記メモリは少なくとも前記シーケンスコント
ローラ1のレジスタICの記憶容量の整数倍の記憶容量
即ち整数倍のビット数を具備しておす、該シーケンスコ
ントローラ1のレジスタlcの異なる格納データを記憶
することができる。The memory has a storage capacity that is at least an integral multiple of the storage capacity of the register IC of the sequence controller 1, that is, a number of bits that is an integral multiple of the storage capacity of the register IC of the sequence controller 1, and is capable of storing different stored data of the register lc of the sequence controller 1. can.
具体的に、この特定に設定したメモリを第2図にて解説
しよう。Specifically, let's explain this specific memory setting with reference to Figure 2.
同図にて、lcは前記シーケンスコントローラ本体のレ
ジスタでアドレスは5000乃至5377となっている
。該レジスタ1cには第1工程データA、第2工程デー
タB、第1工程データNが格納される(柄納されるのは
いずれか1つの工程データのみである。)。In the figure, lc is a register of the main body of the sequence controller, and the addresses are 5000 to 5377. The register 1c stores first process data A, second process data B, and first process data N (only one of the process data is stored).
又、図中、4が特別に設定したメモリである。Further, in the figure, 4 is a specially set memory.
なお、このメモリ4は内蔵電池(図示せず)でバックア
ップされている。Note that this memory 4 is backed up by a built-in battery (not shown).
そして、前記入出カメモリlbはメモリアドレスCウメ
モリデータDの他にブロック識別E及びライト、リード
指令F情報を持っている。これ鉢、前記メモリ4を4分
割し、分割されたブロック4a、4b、4c、4dのど
の領域にデータを収納するかということ及び該領域に9
データの書込み若しくは読出しを指令することのために
存する。The input/output memory lb has, in addition to memory address C and memory data D, block identification E and write/read command F information. In this case, the memory 4 is divided into four parts, and it is necessary to decide in which area of the divided blocks 4a, 4b, 4c, and 4d the data will be stored, and in which area the data will be stored.
Exists for instructing data writing or reading.
同図にて、前記レジスタlc(第1工程データA)、前
記入出力メモIJ 1 b及び前記メモリ4(ブロック
4a)を結ぶ実線は、該第1工程データAを該ブロック
4aに入力するラインであり、同図にて、前記レジスタ
lc(第2工程データB)、前記入出カメモリ1b及び
前記メモリ4(ブロック4b)を結ぶ破線は、該第2工
程データBを該ブロック4bに入力するラインである。In the figure, the solid line connecting the register lc (first process data A), the input/output memo IJ1b, and the memory 4 (block 4a) is a line for inputting the first process data A to the block 4a. In the figure, the broken line connecting the register lc (second process data B), the input/output memory 1b, and the memory 4 (block 4b) indicates that the second process data B is input to the block 4b. It's a line.
なお、メモリ4のどの領域にデータを格納するかは、ブ
ロック識別Eで決定するわけで、本実施例の場合、該ブ
ロック識別Eに「O○」があればブロック4aに、「O
l」があればブロック4bに、「02」があればブロッ
ク4Cに、「03」があればブロック4dに収納される
。Note that the area in the memory 4 in which data is stored is determined by the block identification E. In this embodiment, if the block identification E contains "O○", the block 4a is stored with "O○".
If there is "l", it is stored in block 4b, if "02" is stored in block 4C, and if "03" is stored in block 4d.
こうして、まずレジスタlcのアドレス5000乃至5
377にブロック4aに格納すべきデータを書込み、ブ
ロック指定バイトによりブロック4aを指定しメモリア
ドレスCによりデータをメモI74に格納する。次に、
該レジスタlcのアドレス5000乃至5377のデー
タを書き替えて同様にブロック4bに格納する。In this way, first, addresses 5000 to 5 of register lc are
377, the data to be stored in the block 4a is written, the block 4a is designated by the block designation byte, and the data is stored in the memory I74 by the memory address C. next,
The data at addresses 5000 to 5377 of the register lc is rewritten and similarly stored in block 4b.
逆にデータを取り出す場合は、リード指令をメモリ4に
与えると、ブロック識別信号、メモリアドレス及びデー
タがシーケンスコントローラ本体に送られる。このメモ
リアドレスをポインタとして前記アドレス5000乃至
5877のレジスタにデータを再格納するのである。Conversely, when data is to be retrieved, a read command is given to the memory 4, and the block identification signal, memory address, and data are sent to the sequence controller main body. Using this memory address as a pointer, data is stored again in the registers at addresses 5000 to 5877.
具体的な入出力信号割当を第3図に示した。同図にて、
Gはデータポイント(リレーコ、100)、Hはデータ
(リレーコ、101)、■はデータ識別(リレーコ、1
02)及びHはライト、リード指令(リレーコ、108
)である。FIG. 3 shows specific input/output signal assignments. In the same figure,
G is data point (Relayco, 100), H is data (Relayco, 101), ■ is data identification (Relayco, 1)
02) and H are write and read commands (Relayco, 108
).
そして、実際のシーケンスコントローラのプログラムを
2例掲げておく。第4図が書込みプログラムであり、第
5図が読出しプログラムである。Two examples of actual sequence controller programs are listed below. FIG. 4 is a write program, and FIG. 5 is a read program.
く効果〉
以上の様に本発明のシーケンスコントローラにおいては
、本体のレジスタ数が制限されている関係上上位コンピ
ュータデータリンク等によりレジスタの不足分を補う必
要がなく、出校的安価にデータバック的な利用が可能で
近時の少量多品種の生産には有利となる。もちろん、カ
セット等によるデータの保存時の煩雑さもなく簡単に操
作できる。Effects> As described above, in the sequence controller of the present invention, since the number of registers in the main body is limited, there is no need to compensate for the lack of registers with a host computer data link, etc., and data backing can be performed at low cost. It can be used in various ways, which is advantageous for the recent production of a wide variety of products in small quantities. Of course, it can be easily operated without the hassle of storing data using a cassette or the like.
第1図は本発明の適用可能なシーケンスコントローラの
システム構成図、第2図は本発明の実施例に係るシーケ
ンスコントローラのブロック図、第3図は前記本発明の
実施例に係るシーケンスコントローラの信号の説明に供
する図、第4図及び第5図はシーケンスプログラムのラ
ダー図である。
代理人 弁理士 福 士 愛 彦(他2名)第 l[2
I
第2図
第3図
第4図
第5図FIG. 1 is a system configuration diagram of a sequence controller to which the present invention can be applied, FIG. 2 is a block diagram of a sequence controller according to an embodiment of the present invention, and FIG. 3 is a signal diagram of the sequence controller according to the embodiment of the present invention. 4 and 5 are ladder diagrams of sequence programs. Agent Patent Attorney Aihiko Fukushi (and 2 others) No. 1[2]
I Figure 2 Figure 3 Figure 4 Figure 5
Claims (1)
トローラであって、 前記入出カメモリと接続されたところの前記レジスタの
複数種の格納データを記憶する記憶手段を設け、 前記レジスタと前記記憶手段の間でデータの転送を行う
様にしたことを特徴とするシーケンスコントローラ。[Scope of Claims] 1. A sequence controller having an input/output memory and a register, comprising a storage means for storing a plurality of types of data stored in the register connected to the input/output memory, the register and the register being connected to the input/output memory. A sequence controller characterized in that data is transferred between storage means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3455784A JPS60176106A (en) | 1984-02-22 | 1984-02-22 | Sequence controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3455784A JPS60176106A (en) | 1984-02-22 | 1984-02-22 | Sequence controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS60176106A true JPS60176106A (en) | 1985-09-10 |
Family
ID=12417611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3455784A Pending JPS60176106A (en) | 1984-02-22 | 1984-02-22 | Sequence controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60176106A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0452906A (en) * | 1990-06-20 | 1992-02-20 | Sharp Corp | Programmable controller system |
-
1984
- 1984-02-22 JP JP3455784A patent/JPS60176106A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0452906A (en) * | 1990-06-20 | 1992-02-20 | Sharp Corp | Programmable controller system |
JP2603356B2 (en) * | 1990-06-20 | 1997-04-23 | シャープ株式会社 | Programmable controller system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS63288384A (en) | Memory card | |
JPS60176106A (en) | Sequence controller | |
JP2968636B2 (en) | Microcomputer | |
JPS6367702B2 (en) | ||
JPH0496840A (en) | Semiconductor file memory device | |
JP2699482B2 (en) | Data transfer control device | |
JPS6217879Y2 (en) | ||
JPS6143367A (en) | Register control system | |
JPH06161676A (en) | Ic card | |
JPH04160549A (en) | Personal computer system | |
JPS6037753Y2 (en) | Memory card configuration | |
JPH02299058A (en) | Communication system between computer systems | |
JPS62151955A (en) | Memory addressing system | |
JPS58179977A (en) | Memory controller | |
JPH02307149A (en) | Direct memory access control method | |
JPH01282940A (en) | Memory clear method | |
JPS6211753B2 (en) | ||
JPS62147557A (en) | Data transfer system between memories | |
JPH0516615B2 (en) | ||
JPS63144496A (en) | Write control system for storage device | |
JPS6133555A (en) | RAM write prevention circuit | |
JPH056905B2 (en) | ||
JPH04152489A (en) | Ic card | |
JPS59147236U (en) | Interface control device | |
JPS6121557A (en) | Bus changeover device |