JPS6129043Y2 - - Google Patents

Info

Publication number
JPS6129043Y2
JPS6129043Y2 JP16003081U JP16003081U JPS6129043Y2 JP S6129043 Y2 JPS6129043 Y2 JP S6129043Y2 JP 16003081 U JP16003081 U JP 16003081U JP 16003081 U JP16003081 U JP 16003081U JP S6129043 Y2 JPS6129043 Y2 JP S6129043Y2
Authority
JP
Japan
Prior art keywords
time
controlled device
program
data
memory
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
Application number
JP16003081U
Other languages
Japanese (ja)
Other versions
JPS5866401U (en
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 filed Critical
Priority to JP16003081U priority Critical patent/JPS5866401U/en
Publication of JPS5866401U publication Critical patent/JPS5866401U/en
Application granted granted Critical
Publication of JPS6129043Y2 publication Critical patent/JPS6129043Y2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Description

【考案の詳細な説明】 この考案は、予め定めた様々な時刻に各被制御
機器を制御するプログラムタイマに関する。
[Detailed Description of the Invention] This invention relates to a program timer that controls each controlled device at various predetermined times.

従来のプログラムタイマには、複数種のプログ
ラムを内蔵したものがあるが、このようなプログ
ラムタイマではプログラムを切換える際に誤動作
しやすかつた。それは、各プログラムにはメモリ
の容量を節約するために、第1図のプログラムA
でいえば時刻t1に被制御機器を作動させ、時刻t2
にその被制御機器を停止させるというように制御
状態を変化させる時刻とその制御の変化状態とし
か書かれていないからである。すなわち今、プロ
グラムBが、時刻t3(t3<t1)に被制御機器を動作
させ、時刻t4(t4<t2)に被制御機器を停止させる
ものであるとすると、プログラムAから同Bに時
刻t5(t4<t5<t2)に切換えた場合、被制御機器は
本来プログラムBに切換えられたとき既に停止し
ていなければならないにもかかわらず、プログラ
ムBでは停止命令が既に時刻t4で出されているた
め被制御機器には停止命令が供給されず、作動状
態を維持し続け、誤動作するのである。
Some conventional program timers have a plurality of built-in programs, but such program timers tend to malfunction when switching programs. In order to save memory capacity, each program has program A in Figure 1.
In other words, the controlled device is activated at time t 1 , and the controlled device is activated at time t 2 .
This is because it only describes the time at which the control state is changed, such as stopping the controlled device at a certain time, and the state of change in the control. That is, if program B operates the controlled device at time t 3 (t 3 < t 1 ) and stops the controlled device at time t 4 (t 4 < t 2 ), program A When switching from program B to time t 5 (t 4 < t 5 < t 2 ), the controlled equipment should have already stopped when program B is switched, but program B stops it. Since the command has already been issued at time t4 , the stop command is not supplied to the controlled equipment, so it continues to operate and malfunctions.

この考案は、上記のような誤動作を防止できる
プログラムタイマを提供することを目的とする。
The purpose of this invention is to provide a program timer that can prevent the above-mentioned malfunctions.

以下、この考案を第2図及び第3図に示す1実
施例に基づいて説明する。このプログラムタイマ
はA,B2種類のプログラムを有し、これらA,
B2種類のプログラムは、共に16種類の被制御機
器を作動、停止、一定期間作動の3種類に制御す
るものであつて、制御される被制御機器の種類を
定めた被制御機器データ、その被制御機器の制御
状態を定めた制御データ及びその制御を行なう時
刻を定めた時刻データを1組として時刻の早いも
のから順に配列したもので、プログラムAは第2
図に示すメモリ2に、プログラムBは同図に示す
メモリ4に記憶されている。今、切換スイツチ6
によつてメモリ2のプログラムAが指定されてい
るとすると、時刻データが比較部8で計時部10
からの時刻信号と比較され両者が一致すると、比
較部8は一致信号を制御部12に供給する。制御
部12はデコーダ部14に送出信号を発生し、デ
コーダ部14は上記一致した時刻データに対応す
る被制御機器データ及び制御データを解読したも
のをリレー部16に供給し、リレー部16は該当
する被制御機器18を制御する。そして、次の時
刻データが時刻信号に一致したとき同様に制御さ
れる。またメモリ4のプログラムBが指定されて
いる場合にも比較部8、計時部10、制御部1
2、デコーダ部14及びリレー部16によつて同
様に被制御機器18を制御する。
This invention will be explained below based on an embodiment shown in FIGS. 2 and 3. This program timer has two types of programs, A and B.
The B2 types of programs control 16 types of controlled devices in three types: start, stop, and operate for a certain period of time, and include controlled device data that defines the type of controlled device to be controlled, and the controlled device data that defines the type of controlled device to be controlled. Program A is a set of control data that determines the control state of a control device and time data that determines the time at which the control is performed, arranged in descending order of time.
Program B is stored in the memory 2 shown in the figure, and program B is stored in the memory 4 shown in the same figure. Now switch 6
If program A in memory 2 is specified by
When the comparison unit 8 compares the time signal with the time signal from the controller 10 and the time signal from the controller 12, and if the two match, the comparison unit 8 supplies a matching signal to the control unit 12. The control section 12 generates a sending signal to the decoder section 14, and the decoder section 14 supplies the decoded controlled device data and control data corresponding to the matched time data to the relay section 16, and the relay section 16 The controlled device 18 is controlled. Then, when the next time data matches the time signal, the same control is performed. Also, when program B in the memory 4 is specified, the comparison section 8, the clock section 10, and the control section 1
2. Similarly, the controlled device 18 is controlled by the decoder section 14 and the relay section 16.

プログラムAの実行中に切換スイツチ6によつ
てメモリ4のプログラムBに切換えると、状態変
化監視部20が検索開始信号を検索部22に、比
較開始信号を比較部8に供給する。検索開始信号
に基づいて検索部22はプログラムBの被制御機
器データ及び制御データを一番最初から読み込
み、各被制御機器18ごとに分類して検索メモリ
24に読み出す。また比較器8は同時にメモリ2
から順に読み出された時刻データと計時部10か
らの時刻信号とを順次比較し、切換スイツチ6を
切換えてから以後の最も新しい時刻データと時刻
信号とが一致すると検索部22に検索停止信号を
発生し、検索を中止させる。このとき検索メモリ
24には各被制御機器18に対する現在の時刻以
前であつて最も近い制御データが蓄られている。
なお、検索が行なわれている間、デコーダ部14
は制御部12によつて出力が送出されないように
されている。検索が中止されると、検索部22は
検索メモリ24に蓄られた各被制御機器データを
デコーダ部14に供給される。デコーダ部14は
供給されたデータを解読してリレー部16に供給
し、リレー部16は該当する被制御機器18を制
御する。
When program A is switched to program B in memory 4 by switch 6 during execution of program A, state change monitoring section 20 supplies a search start signal to search section 22 and a comparison start signal to comparison section 8. Based on the search start signal, the search unit 22 reads the controlled device data and control data of the program B from the beginning, classifies them for each controlled device 18, and reads them into the search memory 24. Also, the comparator 8 is simultaneously connected to the memory 2.
The time data read out in order from 1 to 3 are compared with the time signal from the clock section 10, and when the latest time data and the time signal match after switching the changeover switch 6, a search stop signal is sent to the search section 22. occurs and causes the search to stop. At this time, the search memory 24 stores the closest control data for each controlled device 18 before the current time.
Note that while the search is being performed, the decoder unit 14
The control section 12 prevents output from being sent out. When the search is stopped, the search unit 22 supplies each controlled device data stored in the search memory 24 to the decoder unit 14. The decoder section 14 decodes the supplied data and supplies it to the relay section 16, and the relay section 16 controls the corresponding controlled device 18.

この動作を或る被制御機器に着目して第3図に
基づいて説明する。今、プログラムAは或る被制
御機器を時刻t1に動作させ、時刻t2に停止させ、
プログラムBはこの被制御機器を時刻t3に動作さ
せ、時刻t4(t4<t2)に停止させるとする。時刻t5
(t4<t5<t2)にプログラムAからプログラムBに
切換えたとすると、検索部22はプログラムBを
検索するが、この検索中に時刻t5以後の時刻デー
タと現在の時刻t6とが一致する。このとき検索メ
モリ24には或る被制御機器を停止させる制御デ
ータが記憶されており、或る被制御機器は時刻t6
に停止させられる。同時に別の被制御機器に対す
る制御も行なわれ、その後プログラムBは通常の
状態で実行される。なお、第3図では時刻t6で一
致した時刻データは、或る被制御機器とは別の被
制御機器に関するものとしたが、或る被制御機器
に関するものであつてもよい。
This operation will be explained based on FIG. 3, focusing on a certain controlled device. Now, program A operates a certain controlled device at time t1 , stops it at time t2 ,
Assume that program B operates this controlled device at time t 3 and stops it at time t 4 (t 4 <t 2 ). time t 5
Suppose that program A is switched to program B at (t 4 < t 5 < t 2 ), the search unit 22 searches for program B, but during this search, time data after time t 5 and the current time t 6 are searched. matches. At this time, the search memory 24 stores control data for stopping a certain controlled device, and the certain controlled device stops at time t 6
be stopped. At the same time, another controlled device is also controlled, and then program B is executed in a normal state. In addition, in FIG. 3, the time data that coincided at time t6 is related to a controlled device different from a certain controlled device, but it may be related to a certain controlled device.

以上のように、この考案によればプログラムA
からプログラムBに切換えた際に、プログラムB
を最初から検索し、その結果に基づいて各被制御
機器を制御してからプログラムBを続行していく
ので従来のものと異なり誤動作することはない。
As mentioned above, according to this invention, program A
When switching from program B to program B,
Since the program B is searched from the beginning and each controlled device is controlled based on the search results, Program B is continued, unlike conventional programs, there is no possibility of malfunction.

上記の実施例では、プログラムをA,B2種類
としたが、その数は更に増加させるとはできる。
また、プログラムAはメモリ2に、プログラムB
はメモリ4に記憶させたが、1つのメモリに記憶
させてもよい。
In the above embodiment, there are two types of programs, A and B, but the number can be further increased.
Also, program A is stored in memory 2, and program B is stored in memory 2.
is stored in the memory 4, but may be stored in one memory.

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

第1図は従来のプログラムタイマのプログラム
と実際の被制御機器の制御状態を示す図、第2図
はこの考案によるプログラムタイマのブロツク
図、第3図は同プログラムタイマのプログラムと
実際の被制御機器の制御状態を示す図である。 2,4……メモリ、8……比較部、10……計
時部、14……デコーダ部、18……被制御機
器、20……検出部、22……検索部、24……
検索メモリ。
Figure 1 is a diagram showing the program of a conventional program timer and the actual control status of the controlled device, Figure 2 is a block diagram of the program timer according to this invention, and Figure 3 is the program of the program timer and the actual control status of the controlled device. FIG. 3 is a diagram showing a control state of the device. 2, 4... Memory, 8... Comparison unit, 10... Time measurement unit, 14... Decoder unit, 18... Controlled device, 20... Detection unit, 22... Search unit, 24...
Search memory.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 制御される被制御機器を定めた被制御機器デー
タとその被制御機器の制御データとその制御を行
なう時刻を定めた時刻データとを1組として順に
配列したプログラムの複数種類を記憶しているメ
モリ部と、時刻信号を発生する計時部と、上記複
数種類のプログラムのうち指定された種類のもの
の上記時刻データが上記時刻信号に一致すると一
致信号を発生する比較部と、上記一致信号に基づ
いて上記メモリ部または検策メモリからの上記被
制御機器データ及び制御データを解読し該当する
被制御機器に制御信号を供給するデコーダ部と、
上記複数種類のプログラムのうちの1種類の実行
中に他の種類のプログラムに切換えられたことを
検出する検出器と、この検出器の検出信号に基づ
いて各被制御機器に対する上記切換えられたプロ
グラムの現在の時刻以前であつて最も近い時刻デ
ータに対応する制御データを検索し上記検索メモ
リに記憶させる検索部とからなるプログラムタイ
マ。
A memory that stores multiple types of programs in which controlled device data defining a controlled device to be controlled, control data for the controlled device, and time data determining the time at which the control is performed are arranged in sequence as a set. a timekeeping unit that generates a time signal; a comparison unit that generates a coincidence signal when the time data of a specified type of the plurality of programs matches the time signal; a decoder unit that decodes the controlled device data and control data from the memory unit or test memory and supplies a control signal to the corresponding controlled device;
A detector that detects that one of the plurality of programs is switched to another type of program during execution, and the switched program for each controlled device based on the detection signal of this detector. a search unit that searches for control data corresponding to the closest time data before the current time of , and stores it in the search memory.
JP16003081U 1981-10-26 1981-10-26 program timer Granted JPS5866401U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16003081U JPS5866401U (en) 1981-10-26 1981-10-26 program timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16003081U JPS5866401U (en) 1981-10-26 1981-10-26 program timer

Publications (2)

Publication Number Publication Date
JPS5866401U JPS5866401U (en) 1983-05-06
JPS6129043Y2 true JPS6129043Y2 (en) 1986-08-28

Family

ID=29952460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16003081U Granted JPS5866401U (en) 1981-10-26 1981-10-26 program timer

Country Status (1)

Country Link
JP (1) JPS5866401U (en)

Also Published As

Publication number Publication date
JPS5866401U (en) 1983-05-06

Similar Documents

Publication Publication Date Title
KR890007157A (en) Data processor
JPS6011394B2 (en) data processing system
US5305447A (en) Multi-task operating system for a disc drive
JPS6129043Y2 (en)
EP0134610A2 (en) Domestic electrical appliance
JPS6031643A (en) Storage circuit of state history
JP2523796B2 (en) Dehydration combined washing machine controller
SU962956A1 (en) Device for restarting computing complex at detecting malfanctions
JPS6017123B2 (en) Unmanned operation device for data processing equipment
JPH0619233Y2 (en) Communication node
JPH01258263A (en) Magnetic disk controller
JPS59153209A (en) Programmable controller
JPH0517743U (en) Redundant computer system
JPS5914054A (en) System for controlling switching of spare console
JP2738738B2 (en) Control devices such as showcases
JPS5935588A (en) Motor control system for ship
JPS5922149A (en) Alternation control system of history storage device
JPS61226820A (en) Data processing resuming system by power restoration
JPH036542B2 (en)
JPS5660188A (en) Stand-by switching system
JPH05241852A (en) Interruption generating device for information processing system
JPS6011946A (en) Programmable controller
JPS59113801U (en) automatic manual switching device
JPS5914053A (en) System for controlling restart of computer system
JPS58222637A (en) Power supply controller of terminal in on-line system