JPS5947327B2 - sequence controller - Google Patents
sequence controllerInfo
- Publication number
- JPS5947327B2 JPS5947327B2 JP4882676A JP4882676A JPS5947327B2 JP S5947327 B2 JPS5947327 B2 JP S5947327B2 JP 4882676 A JP4882676 A JP 4882676A JP 4882676 A JP4882676 A JP 4882676A JP S5947327 B2 JPS5947327 B2 JP S5947327B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- selection control
- control
- processing unit
- central processing
- 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.)
- Expired
Links
Landscapes
- Control By Computers (AREA)
- Programmable Controllers (AREA)
Description
【発明の詳細な説明】
本発明はストアトプログラム方式が採用されるシーケン
スコントローラに関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a sequence controller that employs a stored program method.
近時従来のリレー盤にかわる制御装置として、コンピュ
ータにおけるストアトプログラム方式を採用する制御装
置があられれ、発展をみている。In recent years, control devices employing a stored program method in computers have been developed as control devices to replace conventional relay boards.
その主な理由は、この種の装置ではプログラムはコアあ
るいは半導体メモリ中に格納され、そのプ・ ログラム
を変更すれは制御仕様が変更されるのであるが、その変
更が従来のリレー間の結線を変更するのに比べて、極め
て迅速簡単に行えることによる。しかし、この種のシー
ケンスコントローラにおいても、前述のプログラムを作
成あるいは変更をするためには、それなりの訓練あるい
は熟練を必要とする。The main reason for this is that in this type of device, the program is stored in the core or semiconductor memory, and changing the program changes the control specifications, which changes the conventional connection between relays. This is because it is extremely quick and easy to change. However, even in this type of sequence controller, a certain amount of training or skill is required to create or change the above-mentioned program.
したがつて、制御仕様の変更があつた場合、それに応じ
たプログラムをあらためて追加なりするというのでは、
いわゆる現場の操作者に過剰の負担をかけることになり
、好しくない。一方、時折仕様の変更を必要とする例と
して、例えば織物工場における織機制御についてみれば
、横糸打込み動作を管理する等不可欠の基本的制御とあ
わせて、多色織制御あるいは縦糸張力制御等いわばオプ
シヨン制御が必要である。ところがこのオプシヨン制御
は、工場全体で数百台にもおよぶ織機全部が常に必要と
する訳ではなく、たとえば、そのうちの数十台だけがオ
プシヨン制御も行われながら稼動される場合が多い。し
かもいずれの織機がオプシヨン制御を必要とするかは事
前に確定している訳ではない。したがつて、このような
場合には、オプシヨン制御に必要な制御装置を前述の例
えは数十台分だけ設けておき、これを必要に応じて織機
制御部に追加配置すれば、制御仕様が追加変更されるよ
うに構成するのが合理的である。Therefore, if there is a change in the control specifications, it is not necessary to add a new program according to the change.
This is not desirable because it places an excessive burden on the so-called on-site operators. On the other hand, if we look at loom control in a textile factory as an example where specifications need to be changed from time to time, in addition to essential basic controls such as managing weft thread driving operations, optional controls such as multi-color weaving control or warp tension control are provided. Control is required. However, this option control is not always necessary for all of the hundreds of looms in an entire factory; for example, only a few dozen of them are often operated with option control also performed. Furthermore, it is not determined in advance which looms require option control. Therefore, in such a case, the control specifications required for option control can be achieved by providing only a few dozen control devices necessary for option control, and placing them additionally in the loom control section as necessary. It is reasonable to configure it so that additional changes can be made.
しかも、このような操作は現場で行われるのであるから
、操作が簡単であることが望まれる。本発明は、上述の
ような点を考慮してなされたもので、制御仕様の変更の
ための操作が簡単で、しかもそれが現場レベルでも確実
に行えるストアトプログラム方式を採用したシーケンス
コントローラを提供することを目的とする。Moreover, since such operations are performed on-site, it is desirable that the operations be easy. The present invention has been made in consideration of the above-mentioned points, and provides a sequence controller that employs a stored program method that allows easy operation for changing control specifications and can be performed reliably even at the field level. The purpose is to
以下図面にもとずいて本発明の実施例を説明する。Embodiments of the present invention will be described below based on the drawings.
第1図は実施例システムのプロツク図を示す。FIG. 1 shows a block diagram of an embodiment system.
1は基本制御装置で、メモリ2,3,4中のプログラム
をCPU5で解読・実行することより、被制御装置6(
制御対象機器)を管理し制御する。Reference numeral 1 denotes a basic control device, which decodes and executes programs in memories 2, 3, and 4 with a CPU 5, and controls a controlled device 6 (
control target equipment).
基本制御装置1申のメモリ2は、被制御装置6に制御す
るに最低限必要なプログラムが格納されており、このプ
ログラムを実行することによつて被制御装置6の基本動
作を確保する。被制御装置6と基本制御装置1との信号
の授受はインターフエイス回路(1/Fと呼ぶ。)7を
介して行われる。CPU5にはバス8を介して選択制帥
装置9,10が連結される。The memory 2 of the basic control device 1 stores the minimum necessary programs to control the controlled device 6, and the basic operation of the controlled device 6 is ensured by executing this program. Signals are exchanged between the controlled device 6 and the basic control device 1 via an interface circuit (referred to as 1/F) 7. Selection controllers 9 and 10 are connected to the CPU 5 via a bus 8.
選択制御とは基本制御に付加される仕様に関する制御で
、被制御装置6の制御仕様に応じて、施されたりしなか
つたりする。選択制御装置9(あるいは10)中には、
付加仕様のための制御回路がI/Fll(あるいは12
)に内蔵されている。この制御回路への信号は、メモリ
3(あるいは4)収納のプログラムをCPU5で実行す
ることにより、CPU5より与えられる。I/Fll(
あるいは12)の制御状態は被制御装置6に伝えられる
。又、選択制御回路9(あるいは10)は出力するだけ
でなく、被制御装置6の稼動状況等をCPU5に伝える
入力制御も行う。このシステムにおいては、選択制御回
装9あるいは10が実装されているか否かに応じて制御
規模が増減するが、この増減を管理するプログラムは、
基本制御装置1のいわば中央側メモリ2に格納されてい
る。The selection control is a control related to specifications that is added to the basic control, and may or may not be applied depending on the control specifications of the controlled device 6. In the selection control device 9 (or 10),
The control circuit for additional specifications is I/Fll (or 12
) is built in. A signal to this control circuit is given by the CPU 5 by executing a program stored in the memory 3 (or 4). I/Fll(
Alternatively, the control state of 12) is transmitted to the controlled device 6. Further, the selection control circuit 9 (or 10) not only outputs output, but also performs input control for transmitting the operating status of the controlled device 6 to the CPU 5. In this system, the control scale increases or decreases depending on whether the selection control circuit 9 or 10 is installed, but the program that manages this increase or decrease is
It is stored in a so-called central memory 2 of the basic control device 1.
このメモリ2中のプログラムにつき、第2図のフローチ
ヤートおよび第3図のプロツク図をもとに説明.する。The program in memory 2 will be explained based on the flowchart in FIG. 2 and the block diagram in FIG. do.
ここで、プログラムはいずれもCPU5で実行されるも
のであつて、第2図の1ないし5で示される部分は基本
制御装置1中には存在しない点には注意を要する。又、
第4図には、本実施例が実施された装置の見取図を示す
。It should be noted here that all programs are executed by the CPU 5, and the parts indicated by 1 to 5 in FIG. 2 do not exist in the basic control device 1. or,
FIG. 4 shows a sketch of the apparatus in which this embodiment is implemented.
筐体13には電源14、CPU基板15、メモリ基板1
6、被制御装置6の基本動作の制御に必要な各種回路が
実装される制御基板17、被制御装置6とのインターフ
エース(以下1/F)基板18および19が配置される
。筐体13の他の部分には、付加的な仕様に応じるため
選択制御用プリント基板(選択制御装置)20を配置す
るためのスペースが設けられる。この選択制御用プリン
ト基板20には、制御回路を構成する各種回路部品21
とともに半導体メモリLSI22が実装されている。こ
の選択制御用プリント基板20には色々な種類があり、
このプリント基板20を増減あるいは選択することによ
り、被制(財)装置6に対する制御内容が変更される。
第3図には、第1図システムの詳細を示す。この図と第
4図との対応を示せば CPU基板15,メモリ基板1
6、制御基板17、I/F基板18,19が基本制御装
置1を構成し、選択制御用プリント基板20の各々が選
択制御装置9ないし10を構成する。続いて、制御の進
行を第2図によつて説明する。The housing 13 includes a power supply 14, a CPU board 15, and a memory board 1.
6. A control board 17 on which various circuits necessary for controlling the basic operations of the controlled device 6 are mounted, and interface (hereinafter referred to as 1/F) boards 18 and 19 with the controlled device 6 are arranged. In another part of the housing 13, a space is provided for arranging a selection control printed circuit board (selection control device) 20 in order to meet additional specifications. This selection control printed circuit board 20 includes various circuit components 21 constituting the control circuit.
A semiconductor memory LSI 22 is also mounted thereon. There are various types of this selection control printed circuit board 20.
By increasing/decreasing or selecting the number of printed circuit boards 20, the control content for the controlled device 6 is changed.
FIG. 3 shows details of the system shown in FIG. The correspondence between this figure and Figure 4 is as follows: CPU board 15, memory board 1
6. The control board 17 and the I/F boards 18 and 19 constitute the basic control device 1, and each of the selection control printed circuit boards 20 constitutes the selection control devices 9 to 10. Next, the progress of the control will be explained with reference to FIG.
CPU5の制御が開始されると、まずプログラムルーチ
ンSPlが実行される。このルーチンSPlで制御条件
の登録・記憶等の初期処理がなされた後、CPU5の制
御は、選択制御の取捨を管理する管理プログラムに移さ
れる。そこでルーチンSP2においては、第1の追加仕
様である選択制御1を行う必要性について判定が行われ
る。この判定がどのようにしてなされるか、第5図によ
つて詳細に説明する。この判定は、追加仕様に関するプ
ログラムが格納された選択制御用プリント基板20(第
1,3図でいえば選択制御装置9あるいは10)が実装
されたとき、その基板20中の半導体メモリ22がアク
セスされることにもとづいて行われる。即ち、プログラ
ムルーチンSP2では、まず該当する選択制御用プリン
ト基板20上のメモリ22の先頭番地をアクセスして、
その番地の内容を読みとる。今、SP2に関する選択制
御のためのプログラムはメモリ3(第5図)に格納され
ているとすると、前述の先頭番地は「AOO]番地とな
る。そこでこの[AOOl番地がアクセスされると、C
PU5のアキユムレータ(図示せず)には、「0101
0101」のパターンがセツトされる。このようなパタ
ーンが読込まれたことを条件に、該当する選択制御装置
9が実装され、追加仕様の制御が要求されていることが
判る。この事情をハード的に説明すると、ルーチンSP
2では、「AOO」番地の内容を読取れというロード命
令がまず実行される。When control of the CPU 5 is started, a program routine SP1 is first executed. After initial processing such as registration and storage of control conditions is performed in this routine SP1, the control of the CPU 5 is transferred to a management program that manages selection control. Therefore, in routine SP2, a determination is made regarding the necessity of performing selection control 1, which is the first additional specification. How this determination is made will be explained in detail with reference to FIG. This determination is made when the selection control printed circuit board 20 (selection control device 9 or 10 in FIGS. 1 and 3) in which a program related to additional specifications is stored is mounted, and the semiconductor memory 22 in the board 20 is accessed. It is done based on what is done. That is, in the program routine SP2, first, the starting address of the memory 22 on the corresponding selection control printed circuit board 20 is accessed, and
Read the contents of that address. Now, assuming that the program for selection control regarding SP2 is stored in the memory 3 (FIG. 5), the above-mentioned starting address is the "AOO" address.When this "AOOl" address is accessed, the C
The accumulator (not shown) of PU5 has “0101
0101'' pattern is set. On the condition that such a pattern is read, it can be seen that the corresponding selection control device 9 is installed and control of additional specifications is required. To explain this situation in terms of hardware, the routine SP
In step 2, a load instruction to read the contents of address "AOO" is first executed.
これに伴つてアドレスバス81にアドレスデータ「AO
O」が出力され、メモリ3の先頭番地「AOO]の内容
がデータバス82を介してCPU5に伝えられる。今仮
に、選択制御装置9が実装されていないとすると、アド
レスデータが送出されてもメモリ3はアクセスされない
のであるからデータバス82には全ビツト「1」(回路
仕様によつては、逆に全ビツト「0」の場合もある)が
伝えられる。一方、装置9が実装されていると、「01
010101」が伝えられる。そこで、ルーチンSP2
で、つづいて11アキユムレータの内容は全ビツト「1
」でないかV1という内容の命令を実行すると、選択制
ノ御装置9が配置されている場合はその判定結果は「Y
ES」となり、逆の場合は[NO」となり、選択制御装
置9の実装の有無すなわち選択制御の要否が判定できる
ことになる。Along with this, the address data “AO” is sent to the address bus 81.
"O" is output, and the contents of the first address "AOO" of the memory 3 are transmitted to the CPU 5 via the data bus 82.If the selection control device 9 is not installed, even if the address data is sent out, Since the memory 3 is not accessed, all bits ``1'' are transmitted to the data bus 82 (depending on the circuit specifications, all bits may be ``0''). On the other hand, if device 9 is installed, “01
010101” is transmitted. Therefore, routine SP2
Next, the contents of the 11th accumulator are all bits "1".
” or V1 is executed, and if the selection control device 9 is installed, the judgment result is “Y”.
In the opposite case, the result is "NO", and it is possible to determine whether or not the selection control device 9 is installed, that is, whether or not selection control is necessary.
この判別は、。アキユムレータの内容が「010101
01」か1iという偶然には発生しにくい−パターンに
ついて判定検出することによつて、判定精度の向上を図
ることも可能である。又、前述のように先頭番地に限ら
ず、該プログラム中の適当な番地(通常そこには「1」
パターンは記憶されていない)をアクセスすることによ
つて、選択制御の要否を判定するようにし、1番地では
あるがメモリ容量の減縮をはかることも可能である。い
ずれにせよ、選択制御装置自体を操作して、該装置の実
装の有無を判定するようにして、判別の信頼度を高く維
持することが重要である。This determination is. The content of the accumulator is “010101”
It is also possible to improve the determination accuracy by performing determination detection on patterns such as "01" or 1i, which are unlikely to occur by chance. Also, as mentioned above, it is not limited to the first address, but any appropriate address in the program (usually there is a "1"
It is also possible to determine whether or not selection control is necessary by accessing the pattern (the pattern is not stored), thereby reducing the memory capacity, albeit at one address. In any case, it is important to maintain high reliability of the determination by operating the selection control device itself to determine whether or not the device is installed.
さて、このようにしてルーチンSP2での判定結果が「
YES」となると、制御は第2図1で示すルーチンSR
lに移る。このプログラムルーチンSRlには、第1の
追加仕様に関するプログラムが記憶されており、このプ
ログラムが順次CPU5で実行されることにより、被制
御装置6に追加仕様の制御が施される。このルーチンS
Plの実行が終了すると、CPU5の制御は再びメイン
メモリ2中のルーチンSP3に移される6ルーチンSP
3においては、ルーチンSP2におけるのと同様、今度
は「BOO」番地の内容が全ビツト「1」でないかどう
かを判定し、第2の選択制御を必要とするかどうかを判
定する。その判定結果が「NO」であれば第2の選択制
御に関するプログラムルーチンSR2は実行されず、次
の選択制御の必要の有無を判定するプログラムを実行す
ることになる。このようにして、ルーチンSP2からS
Pnまでの選択制御の要否を判定するプログラムの実行
および選択されたルーチンSRlないしSRnのプログ
ラムが実行されると、制御は、被制御装置6の基本的な
動作を制御するためのプログラムが収納されたルーチン
SPmに移る。Now, in this way, the determination result in routine SP2 is "
If the answer is “YES”, the control goes to the routine SR shown in FIG.
Move to l. This program routine SRl stores a program related to the first additional specification, and by sequentially executing this program by the CPU 5, the controlled device 6 is controlled according to the additional specification. This routine S
When the execution of Pl is completed, the control of the CPU 5 is transferred again to the routine SP3 in the main memory 2.
In step 3, as in routine SP2, it is determined whether the contents of the address "BOO" are not all bits "1", and it is determined whether the second selection control is required. If the determination result is "NO", the program routine SR2 regarding the second selection control is not executed, and a program for determining whether the next selection control is necessary is executed. In this way, from routine SP2 to S
Execution of a program to determine whether or not selection control is necessary up to Pn and selected routines When the programs SRl to SRn are executed, the control is executed by storing a program for controlling the basic operations of the controlled device 6. The routine then moves to SPm.
このルーチンSPmのプログラムの実行が終了すると、
制御は再びルーチンSP2に移される。CPU5は、こ
のようにしてメモリ2あるいは選択され実装されたメモ
リ3ないし4中のプログラムを順次実行することによつ
て、被制御装置6を、監視し制御する。次に第3図にも
とづいて、本実施例システムのハード的側面について略
説する。When the program execution of this routine SPm is finished,
Control is again transferred to routine SP2. The CPU 5 thus monitors and controls the controlled device 6 by sequentially executing programs in the memory 2 or the selected and installed memories 3 or 4. Next, based on FIG. 3, the hardware aspect of the system of this embodiment will be briefly explained.
中央側メモリ2、基本制御インターフエース7および選
択制御メモリ3・制御用1/Ellを含む選択制御装置
9はいずれも、アドレスバス81・データバス82・コ
ントロール信号ライン83からなるバスライン8によつ
て、CPU5に連結されている。The central memory 2, the basic control interface 7, and the selection control device 9 including the selection control memory 3 and control 1/Ell are all connected to a bus line 8 consisting of an address bus 81, a data bus 82, and a control signal line 83. It is connected to the CPU 5.
今、アドレスバス81は12ビツト構成であり、データ
バスは8ビツト構成であるとする。It is now assumed that the address bus 81 has a 12-bit configuration and the data bus has an 8-bit configuration.
従つて、1CR0Mで構成されるICメモリ24は、8
ビツトで1ワードを形成し、256ワードで1プロツク
となつている。この256ワード申に第1の選択制御用
プログラム即ち前述のルーチンSRlが格納されている
。コントロール信号ライン83からは、CPU5と各周
辺機器:メモリ2,3,1/F7,ll,l2;との同
期をとるためのタイミング信号が出力される。なお、こ
のクイミング信号はアドレスバスあるいはデータバスを
使用して情報取扱う場合、ゲート信号の役目をはたすも
ので、その作用は周知であるので詳説はさける。又、メ
モリ3中にはICメモリ24を制御するためのデコーダ
25、アドレス制御器26およびICメモリ24の出力
をバツフアしてデータバス82に伝えるバツフア回路2
7が収納される。アドレス制御器26にはアドレス情報
(12ビツト)の下位8ビツトが入力され、これによつ
てCメモリ24中の256ワードを各別にアクセスする
。アドレス情報の上位4ビツトはデコーダ25に入力さ
れ、そのビツトパターンによつてアドレス制御器26お
よびバツフア回路27の動・不動を制制する。このよう
なICメモリ24のアドレス制御を、通常使用される言
葉で表現するならば、「Cメモリ24の256ワードは
1ページを形 J成し、各ページの選択はデコーダ25
で行なわれる。]ということになる。従つて、今1Cメ
モリ24に2560番地から2815番地に割当てられ
ていたとすると、デコーダ25に2進データで[101
0」(16進表示の″A”)のパターン ηが入力され
たとき、アドレス制御器26はオンされ、下位8ビツト
で指定された番地の内容(命令)がバツフア回路27を
介してデータバス82に伝えられ、CPU5に取込まれ
、実行される。ノ次に制御1/Fllの動作について説
明する。Therefore, the IC memory 24 composed of 1CR0M has 8
One word is made up of bits, and one block is made up of 256 words. The first selection control program, that is, the aforementioned routine SRl, is stored in these 256 words. A timing signal for synchronizing the CPU 5 and each peripheral device: memories 2, 3, 1/F7, 11, 12; is output from the control signal line 83. Note that this quimming signal serves as a gate signal when information is handled using an address bus or a data bus, and since its function is well known, a detailed explanation will be omitted. Also, in the memory 3, there is a decoder 25 for controlling the IC memory 24, an address controller 26, and a buffer circuit 2 that buffers the output of the IC memory 24 and transmits it to the data bus 82.
7 is stored. The lower 8 bits of the address information (12 bits) are input to the address controller 26, which allows each of the 256 words in the C memory 24 to be accessed individually. The upper four bits of the address information are input to the decoder 25, and the movement or immobility of the address controller 26 and buffer circuit 27 is controlled depending on the bit pattern. To express such address control of the IC memory 24 in commonly used words, ``256 words of the C memory 24 form one page, and each page is selected by the decoder 25.''
It will be held in ]It turns out that. Therefore, if addresses 2560 to 2815 are currently allocated to the 1C memory 24, the decoder 25 will receive binary data [101
When the pattern η of "0"("A" in hexadecimal notation) is input, the address controller 26 is turned on, and the contents (command) of the address specified by the lower 8 bits are transferred to the data bus via the buffer circuit 27. 82, taken into the CPU 5, and executed. Next, the operation of control 1/Fll will be explained.
今CPU5でプログラムが進行し、制御7↑11を制御
する命令(入出力命令)が実行されたとする。この入出
力命令に伴つて、アドレスバス81にはこのI/Fll
を特定する(すなわち選択制制装置9)アドレスデータ
が出力される。このアドレスデータは、I/O制御回路
28で解読され、1/Oゲート29を駆動する。前述の
命令が出力命令の場合は、データバス82を介して与え
られる情報が出力要素(通常フリツプフロツプ)30に
伝えられ、D/Aコンバータ31やリレー32が駆動さ
れる。又、入力命令である場合は、被制伍装置6の状態
信号が、フオトカプラ34を介して入力要素35に伝え
られ、CPU5に状態信号が取込まれる。(ここでI/
Fを特定するアドレスデータとメモリ番地を示すアドレ
スデータとの相違はコントロール信号83にて与えられ
る。Assume that the program is currently progressing on the CPU 5 and an instruction (input/output instruction) for controlling control 7↑11 is executed. Along with this input/output command, the address bus 81 is connected to this I/Fll.
(ie, the selection control device 9) address data is output. This address data is decoded by the I/O control circuit 28 and drives the 1/O gate 29. When the above-mentioned command is an output command, information given via data bus 82 is transmitted to output element (usually a flip-flop) 30, and D/A converter 31 and relay 32 are driven. If it is an input command, the status signal of the controlled device 6 is transmitted to the input element 35 via the photocoupler 34, and the status signal is taken into the CPU 5. (Here I/
The difference between the address data specifying F and the address data indicating the memory address is given by a control signal 83.
)続いて、第2図に示すフローチヤートがハード的には
どのように実行されるのかを略説する。) Next, we will briefly explain how the flowchart shown in FIG. 2 is executed in terms of hardware.
ルーチンSPlで、第1の選択制御が必要であることが
判ると、CPU5は第1の選択制御のプログラム即ちル
ーチンSRlの先頭番地(例えば16進表示で「AOl
」)に制向jを移すJump命令を実行する。このJu
mp命令が実行されると、アドレスバスには「AOl]
(16進表示。以下同じ)のデータが伝えられるので、
上位の「A」によつてデコーダ25は出力を出しアドレ
ス制御器26が能動化される。これによつて、ICメモ
リ24の「01]番地の内容がCPU5に伝えられ、そ
の内容すなわち命令に応じた?Hlllllが実行され
る。ついで「02]番地の命令が実行される。このよう
にして一連の命令即ちルーチンSRlが実行される。こ
のルーチンSRlで、D/A変換器33に出力を与える
命令が実行されると、前述のように、アドレスバス81
上の情報で出力要素30が指定され、データバス82上
の情報が出力要素30にセツトされる。D/A変換器3
3は、上記データに応じたアナログ信号を発生し、被制
御装置6を制御する。以上主に、選択制御装置9につい
て説明を行つてきたが、これは選択制御装置10の場合
についでも同様であるが、説明が重複するので削除する
。When it is determined that the first selection control is necessary in the routine SPl, the CPU 5 selects the first selection control program, that is, the starting address of the routine SRl (for example, "AOl" in hexadecimal notation).
'') executes a Jump instruction to shift control j to . This Ju
When the mp instruction is executed, “AOl” is placed on the address bus.
(Displayed in hexadecimal, the same applies hereafter) is transmitted, so
The upper "A" causes the decoder 25 to output an output and the address controller 26 to be activated. As a result, the contents of the address "01" of the IC memory 24 are transmitted to the CPU 5, and ?Hllllll according to the contents, that is, the command, is executed.Then, the command of the address "02" is executed. A series of instructions, that is, a routine SRl is executed.In this routine SRl, when an instruction to provide an output to the D/A converter 33 is executed, the address bus 81 is
The above information specifies the output element 30, and the information on the data bus 82 is set to the output element 30. D/A converter 3
3 generates an analog signal according to the above data to control the controlled device 6. The description above has mainly been about the selection control device 9, but the same applies to the selection control device 10, but since the description is redundant, it will be omitted.
又、上述の実施例システムでは選択制御のプログラムル
ーチンSRlないしSRnは、全プログラム中1個所で
しか使用されない例を示した。しかも、ルーチンSRl
を一連のプログラム中で何回も使用したほうが、プログ
ラム全体が圧縮され合理的な場合もある。このような場
合には、そのルーチンSRlがサブルーチンとして取扱
われるようにする必要がある。以上の実施例システムの
理解を助けるため、第6図に本発明が織機システムに実
施された例を簡単に説明する。Furthermore, in the above embodiment system, the selection control program routines SR1 to SRn are used only at one place in the entire program. Moreover, routine SRl
In some cases, it may be more reasonable to use multiple times in a series of programs to compress the entire program. In such a case, it is necessary to treat the routine SRl as a subroutine. In order to facilitate understanding of the above embodiment system, an example in which the present invention is implemented in a loom system will be briefly described in FIG.
第6図において、CPU等第1図、第3図に示したシス
テムと同様な機能をはたす部分については共通の参照符
号を付す。In FIG. 6, parts such as the CPU that perform the same functions as the systems shown in FIGS. 1 and 3 are given the same reference numerals.
被制御装置は、織機本体61と、各種設定器(図示せず
)を含む入出力制御部(1/F)62からなる。The controlled device includes a loom main body 61 and an input/output control section (1/F) 62 including various setting devices (not shown).
織機本体61では供給ローラ63から供給される縦糸6
4に横糸65を打込んで布を織り、巻取ローラ66に巻
取る。織布動作を監視するため、横糸検出器67、縦糸
断検出器68等が設けられる。織機61の横糸打込み動
作を示すタイミング信号TはI/F62を介してCPU
5に伝えられ、その回数が積算される。その積算値が所
定値に達すると織機61は停止させられる。又、縦糸断
が検出されたり、横糸ぬけが多発したような場合も、織
機は停止させられる。このような織機システム60の基
本動作の管理・制御は中央側メモリ2に内蔵されたプロ
グラム(第2図によれはルーチンSPm)をCPU5で
実行することによつてなされる。今、縦糸の張力も制御
して特別仕様の犠布が必要になつたとする。In the loom main body 61, the warp threads 6 are supplied from the supply rollers 63.
A weft thread 65 is inserted into 4 to weave the cloth, and the cloth is wound onto a winding roller 66. A weft yarn detector 67, a warp yarn breakage detector 68, etc. are provided to monitor the weaving operation. The timing signal T indicating the weft driving operation of the loom 61 is sent to the CPU via the I/F 62.
5, and the number of times is added up. When the integrated value reaches a predetermined value, the loom 61 is stopped. The loom is also stopped if a warp thread breakage is detected or weft threads are frequently pulled out. The basic operations of the loom system 60 are managed and controlled by the CPU 5 executing a program (routine SPm in FIG. 2) stored in the central memory 2. Suppose now that you need a specially designed sacrificial cloth that also controls the tension of the warp threads.
この場合、追加仕様の制御回路が実装された選択制御装
置9を筐体に配置する。この基板9を配置した後、制御
を開始すると、織機1/F62からは縦糸の張力に関す
る情報が1/Fllに伝えられる。CPU5では、メモ
リ3中のタテ糸張力制御プログラムを実行することによ
つて、たとえばD/A変換器を駆動しタテ糸張力が所望
の範囲に維持されるようにモータ69の回転速度を制御
する。又、多色織をする必要が生じたとする。In this case, the selection control device 9 in which a control circuit with additional specifications is mounted is placed in the casing. When control is started after placing this board 9, information regarding the warp tension is transmitted from the loom 1/F62 to the loom 1/Fll. By executing the warp thread tension control program in the memory 3, the CPU 5 controls the rotational speed of the motor 69 so that, for example, a D/A converter is driven and the warp thread tension is maintained within a desired range. . Also, assume that it becomes necessary to make a multicolor weave.
この織機の管理者は、多色織に関する選択制御装置10
を配置する。前述のように、多色織制御に関するプログ
ラムが格納されるメモリ4の先頭番地が読込まれ、制御
の必要性が検出されると、CPU5で、メモリ4中の多
色織制御プログラムが実行され、設定条件に応じて各種
ソレノイドが制御され、所望の多色織がなされる。この
ように織機の管理者は必要に応じて、あらかじめ用意さ
れている制御基板あるいは装置(この内に特殊制御のた
めのプログラムが内蔵されていることは言うまでもない
。The manager of this loom uses the selection control device 10 for multicolor weaving.
Place. As mentioned above, when the first address of the memory 4 in which the program related to multicolor weave control is stored is read and the necessity of control is detected, the multicolor weave control program in the memory 4 is executed by the CPU 5. Various solenoids are controlled according to the setting conditions to create the desired multicolor weave. In this way, the loom administrator can select a control board or device prepared in advance (which, of course, has a built-in program for special control) as needed.
)を選択配置することによつて、制御仕様の変更を簡単
に行なえるのである。選択制御基板があらかじめ用意さ
れている点に言及するならば、これは工場における全て
の織磯について追加制御用基板が用意されるのではない
。すなわち、織機工場には通常数百台もの織機が設置さ
れており、これら織機の全てが追加仕様の制御を行なう
ということはまずありえない。してみれば数十台分位に
ついてのみ追加制御用の基板をストツクしておき、必要
に応じて、選択的に配置するとしても十分役立つのであ
る。又、一般に制御仕様の変更はしばしば行なわれるも
のではなく、さらに、仕様変更に伴う機器の調整あるい
はメインテナンス作業は必ず行なわれるものであり、基
板あるいは装置の再配置のための数分間というものは問
題とするにたりない。), control specifications can be easily changed. Regarding the point that the selection control board is prepared in advance, this does not mean that additional control boards are prepared for all the weaving cloths in the factory. That is, a loom factory usually has several hundred looms installed, and it is highly unlikely that all of these looms are controlled according to additional specifications. In other words, it would be quite useful to stock up on additional control boards for only a few dozen units and then selectively place them as needed. In addition, control specifications are generally not changed often, and equipment adjustment or maintenance work is always required due to specification changes, and a few minutes spent relocating a board or device is not a problem. It's not worth it.
追加仕様のための制御装置は、その制御規模により数枚
以上のプリント基板で構成されることもあるが、そのよ
うな場合各仕様毎に特別の目印なりをつけて、その識別
が容易となるよう工夫しておくほうがよい。又実装を確
実にするための別の手段としては、数枚の基板を機構的
に一体化しておき、このプロツクにCPUとの連結用の
コネクタを別設し、このコネクタを第4図に示すような
形で筐体に差込まれるようにするのもよい。以上のよう
に本発明によれば、中央処理装置で解読・実行されるプ
ログラムを中央側だけに集中して設けるのではなく、所
定の選択制御プログラムが格納されたメモリを必要に応
じて、追加あるいは削除すれば、制御仕様が変更される
ようにしたので、プログラムの変更がきわめて容易とな
り、融通性に富んたシステムが構成できる。又、本発明
は、前記選択制御プログラムを収納したメモリは制御回
路と一体化して構成するので、それが実装される装置は
機械的な強度も十分得ることができ、したがつて少々乱
暴な取扱いもD」能となり、現場レベルで仕様の変更が
要求されるようなシステムには特に好適である。さらに
本発明において重要なことは、制御装置と一体に構成さ
れプログラムが収納されるメモリ自体を、そのプログラ
ムを解読実行する中央処理装置でアクセスし、これに対
し該メモリが応答しアクセスされたか否かを検出して、
追加仕様の制御の必要性を判別するようにしている点に
ある。The control device for additional specifications may consist of several or more printed circuit boards depending on the control scale, but in such cases, a special mark is attached to each specification to make it easy to identify. It is better to devise ways to do so. Another method for ensuring reliable mounting is to mechanically integrate several boards and separately provide a connector for connection to the CPU, as shown in Figure 4. It is also a good idea to insert it into the housing in a similar way. As described above, according to the present invention, the programs to be decoded and executed by the central processing unit are not concentrated only in the central side, but the memory in which the predetermined selection control program is stored is added as necessary. Alternatively, if it is deleted, the control specifications can be changed, so it is extremely easy to change the program, and a highly flexible system can be configured. Further, in the present invention, since the memory storing the selection control program is integrated with the control circuit, the device in which it is mounted can have sufficient mechanical strength, and therefore, it can be handled less roughly. It is particularly suitable for systems where changes in specifications are required at the field level. Furthermore, what is important in the present invention is that the memory itself, which is integrated with the control device and stores the program, is accessed by the central processing unit that decodes and executes the program, and the memory responds to determine whether or not it has been accessed. Detect the
The point is that the necessity of controlling additional specifications is determined.
すなわち、本発明によれば、前記メモリがアクセスされ
たときは、それに関連した制御回路も実装されているこ
とはほぼ確実であるのであるから、システム全体の信頼
性も高くなる。又、いわば制御装置を各種バスラインに
コネクタ接続だけでよいのであるから、その操作は極め
て簡単であり、操作ミスもおこりにくく現場レベルで制
御仕様の変更が要求されるようなシステム構成の場合特
に好適である。That is, according to the present invention, when the memory is accessed, it is almost certain that the related control circuit is also installed, so the reliability of the entire system is increased. In addition, since all that is needed is to connect the control device to the various bus lines using connectors, the operation is extremely simple, and operational errors are less likely to occur, especially when the system configuration requires changes in control specifications at the field level. suitable.
第1図は実施例のプロツク図、第2図はフローチヤート
、第3図は実施例の詳細なプロツク図、第4図は実施例
装置の見取図、第5図はメモリの詳細を示す図、第6図
は織機システムのプロツク図である。
1・・・・・・基本制御装置、2・・・・・・甲央側メ
モリ、3,4・・・・・・メモリ、5・・・・・・CP
Ul6・・・・・・被制御装置、9,10・・・・・・
選択制御装置。1 is a block diagram of the embodiment, FIG. 2 is a flowchart, FIG. 3 is a detailed block diagram of the embodiment, FIG. 4 is a sketch of the embodiment device, and FIG. 5 is a diagram showing details of the memory. FIG. 6 is a block diagram of the loom system. 1... Basic control device, 2... Central side memory, 3, 4... Memory, 5... CP
Ul6...Controlled device, 9,10...
Selection control device.
Claims (1)
で実行して被制御装置を制御をするシーケンスコントロ
ーラにおいて、被制御装置に所定の選択制御を施すため
の選択制御プログラムが格納されたメモリおよび前記選
択制御に際し被制御装置との信号の授受を行うための制
御回路;を一体に構成した選択制御装置の前記中央処理
装置への追加連結を可能とし、前記中央処理装置は前記
メモリアをアクセスする信号を出力し、該アクセス信号
に該メモリが応答したことを検出して前記選択制御の要
否を判別する構成を有し、これによつて前記選択制御装
置の中央処理装置への連結の加減によつて制御仕様が変
更されるとともに、前記アクセス信号に対する該当メモ
リの応答有をもつて該メモリの実装される選択制御装置
の連結有が識別されるようになつていることを特徴とす
るシーケンスコントローラ。 2 前記アクセス信号の出力および前記選択制御の要否
の判別は、前記中央処理装置とともに中央側に設けられ
る中央側メモリに格納された管理プログラムが前記中央
処理装置で実行されることによつて行われる特許請求の
範囲第1項記載のシーケンスコントローラ。 3 前記中央処理装置は前記メモリをアクセスして該メ
モリの特定番地の内容を取込み、その内容が所定のパタ
ーン以外のパターンであることを確認し、前記選択制御
装置が連結されていることを検出する特許請求の範囲第
1項又は第2項記載のシーケンスコントローラ。 4 前記中央処理装置は前記メモリをアクセスして該メ
モリの特定番地の内容を取り込み、その内容が所定のパ
ターンであることを確認し、前記選択制御装置が連結さ
れていることを検出する特許請求の範囲第1項又は第2
項記載のシーケンスコントローラ。 5 前記選択制御装置は1枚のプリント基板で構成され
ている特許請求の範囲第1項、第2項、第3項又は第4
項記載のシーケンスコントローラ。[Scope of Claims] 1. In a sequence controller that controls a controlled device by executing a program stored in a memory device in a central processing unit, a selection control program for performing predetermined selection control on the controlled device is stored. and a control circuit for transmitting and receiving signals with the controlled device during the selection control, the selection control device can be additionally connected to the central processing unit, and the central processing unit It has a configuration that outputs a signal for accessing a memoria, detects that the memory has responded to the access signal, and determines whether or not the selection control is necessary, thereby transmitting the information to the central processing unit of the selection control device. The control specifications are changed depending on the degree of connection of the memory, and the presence or absence of connection of the selection control device in which the memory is implemented is identified by the response of the memory to the access signal. Sequence controller with special features. 2. The output of the access signal and the determination of whether or not the selection control is necessary are performed by the central processing unit executing a management program stored in a central memory provided centrally together with the central processing unit. A sequence controller according to claim 1. 3. The central processing unit accesses the memory, reads the contents of a specific address in the memory, confirms that the contents are a pattern other than a predetermined pattern, and detects that the selection control device is connected. A sequence controller according to claim 1 or 2. 4. A patent claim in which the central processing unit accesses the memory, reads the contents of a specific address of the memory, confirms that the contents are a predetermined pattern, and detects that the selection control device is connected. Range 1 or 2
Sequence controller described in section. 5. Claims 1, 2, 3, or 4, wherein the selection control device is constituted by one printed circuit board.
Sequence controller described in section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4882676A JPS5947327B2 (en) | 1976-04-28 | 1976-04-28 | sequence controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4882676A JPS5947327B2 (en) | 1976-04-28 | 1976-04-28 | sequence controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS52132283A JPS52132283A (en) | 1977-11-05 |
| JPS5947327B2 true JPS5947327B2 (en) | 1984-11-19 |
Family
ID=12814021
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4882676A Expired JPS5947327B2 (en) | 1976-04-28 | 1976-04-28 | sequence controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5947327B2 (en) |
-
1976
- 1976-04-28 JP JP4882676A patent/JPS5947327B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS52132283A (en) | 1977-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5566335A (en) | Method and apparatus for firmware upgrades in embedded systems | |
| JP3962394B2 (en) | Dynamic detection of hot-pluggable problematic components and reallocation of system resources from problematic components | |
| JP3976275B2 (en) | Non-interventional dynamic hot plug and hot removal of server nodes in SMP | |
| US4414627A (en) | Main memory control system | |
| JPS63231560A (en) | data processing system | |
| JPS5947327B2 (en) | sequence controller | |
| EP0164158A1 (en) | Computer system with at least one work station and a reserve battery supply | |
| JPH0776932B2 (en) | Data transmission method | |
| JPS5947326B2 (en) | sequence controller | |
| JPS6250944A (en) | Loading system for micro program | |
| JPS5827530B2 (en) | Program loading method | |
| JPS63104167A (en) | Deciding system for boot strap processor | |
| JPS5926043B2 (en) | sequence controller | |
| US5263170A (en) | Monitor circuit for detecting noise conditions through input output coincidence comparison | |
| KR100232880B1 (en) | How to update application program of exchange system | |
| JPS6238746B2 (en) | ||
| JP2023105615A (en) | electronic controller | |
| JPS6013494B2 (en) | Self-diagnosis method | |
| JP2554942B2 (en) | Information processing device | |
| JP2006155303A (en) | Control device | |
| JP2986997B2 (en) | Data transfer device for elevator control board | |
| JPH02244358A (en) | Physical slot switching processing method for information processing equipment | |
| JPS6143857A (en) | Method for automatic blocking of terminal equipment | |
| JPH08202573A (en) | Storage method of RAS information in duplex system | |
| JPS6240855A (en) | Duplex structure system diagnosing system |