JPS63131098A - Program timer having response function to input - Google Patents

Program timer having response function to input

Info

Publication number
JPS63131098A
JPS63131098A JP61276350A JP27635086A JPS63131098A JP S63131098 A JPS63131098 A JP S63131098A JP 61276350 A JP61276350 A JP 61276350A JP 27635086 A JP27635086 A JP 27635086A JP S63131098 A JPS63131098 A JP S63131098A
Authority
JP
Japan
Prior art keywords
time
input
timer
control
external
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
JP61276350A
Other languages
Japanese (ja)
Inventor
Masaaki Okazaki
岡崎 正昭
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.)
SUMIKURA DENKI SANGYO KK
Original Assignee
SUMIKURA DENKI SANGYO KK
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 SUMIKURA DENKI SANGYO KK filed Critical SUMIKURA DENKI SANGYO KK
Priority to JP61276350A priority Critical patent/JPS63131098A/en
Publication of JPS63131098A publication Critical patent/JPS63131098A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PURPOSE:To facilitate the setting of a long-time program, by arranging a pattern registering section which has operation pattern grouped per day for a timer and a data registering section which allots which to be executed per day among the patterns. CONSTITUTION:A controller 5 always compares the current time extracted from a calendar timepiece 6 with a timer operation time stored 3 and opens or closes a control output circuit 8 according to a set operation when the current time coincides with a set time. Moreover, a validity/non-validity selection program is stored 3 for an external input to be applied to an external input circuit 2 from individual sensors or the like and as long as being within an effective time, the external input is controlled with the device 5 so that the circuit 8 is opened or closed to executed a response to the external input only for a fixed time. With regard to the control of the response to the external input, information is inputted into the device 5 when an input from a sensor is applied to the circuit 2 due to an external factor within a valid time under the control of a timer operation and a sequence stored 4 is taken out with the device 5 while the circuit 8 is opened or closed according to the contents thereof.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、現金自動受は払い機設置室のように、利用時
間を予じめ設定した状態のもとに、機械および設置室等
をプログラムに従い動作させるように制御するプログラ
ムタイマについて、長期間例えば1年間にわたるプログ
ラムを設定することができるようにするほか、予じめ設
定したプログラム外の事象に対応して各機器を時間に従
って制御することができるようにした多入力に対し応答
機能を有するプログラムタイマに関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides an automatic cash receiving machine, such as a dispensing machine installation room, where the machine and the installation room, etc. Regarding the program timer, which is controlled to operate according to a program, it is possible to set a program for a long period of time, for example, one year, and also to control each device according to time in response to events outside the preset program. This invention relates to a program timer that has a response function for multiple inputs.

〔従来技術およびその問題点〕[Prior art and its problems]

従来のプログラムタイマは、概ね予じめ設定されたプロ
グラムに従って定められた時刻に外部機器に対し作動も
しくは停止するようにしたものであって、外部からの入
力に対して応答する付加機能を有するものについても、
単に外部機器の開閉の禁止あるいは現状を継続させる程
度の機能を有するだけである。
Conventional program timers operate or stop external devices at predetermined times according to generally preset programs, and have an additional function of responding to external inputs. Regarding,
It simply has the function of prohibiting the opening and closing of external equipment or allowing the current status to continue.

多数の入力があり、それにより多数の出力機器を時間に
従って制御しようとする場合、例えば現金自動受は払い
機およびその関連施設について、現金自動受は払い機自
体の電源、室内の照明、ドア開閉機の電源、看板燈、警
備機器の電源等の開閉(ON−OFF)等、諸機器を時
間的に個々に制御する場合、パーソナルコンピュータに
時計装置を接続し、使用目的に合致する専用の制御プロ
グラムを開発する必要があり、このようなコンピュータ
システムを利用するようにした多入力応答機能を有する
プログラムタイマシステムにおいては機器が大規模かつ
著しく高価となるばかりでなく、プログラムの開発にも
多くの時間並びに費用を必要とする。
If there are a large number of inputs and you want to control a large number of output devices according to time, for example, an automatic cash register may be used to control a dispensing machine and related facilities; When controlling various devices individually over time, such as turning on and off (ON-OFF) power for machines, signboard lights, security equipment, etc., connect a clock device to a personal computer and use a dedicated control that matches the purpose of use. It is necessary to develop a program, and in a program timer system that uses a computer system and has a multi-input response function, not only is the equipment large-scale and extremely expensive, but also a lot of time is required to develop the program. It requires time and money.

更に、前記現金自動受は払い機の電源の大切の場合のよ
うに時間的要因だけにより制御すればよい機器の場合に
は、それに応じたプログラムを設定することにより目的
を達するが、例えば屋外に設置する看板燈のように季節
により点燈する時刻を変更することが望ましい機器につ
いては、その点燈時刻の変更をプログラムにより対応さ
せるには著しく複雑となるばかりでなく、天候の変化に
より暗くなった場合等のように時間とは無関係の外部要
因に基づく制御が必要な場合に対応することができない
不利不便がある。
Furthermore, if the automatic cash register is a device that only needs to be controlled based on time factors, such as the power supply of a dispensing machine, the purpose can be achieved by setting a program accordingly. For devices such as billboard lights that are installed, where it is desirable to change the lighting time depending on the season, it is not only extremely complicated to change the lighting time using a program, but also because the lighting time changes due to changes in the weather. This method has the disadvantage that it cannot cope with cases where control based on external factors unrelated to time is required, such as when a situation arises.

〔発明の目的〕[Purpose of the invention]

本発明は、一般的なプログラムタイマと同程度の価格の
もとK、多数の外部入力に対する応答機能を有すると共
に、特殊なプログラム記憶方式の採用により1日毎に制
御機器に対する時間的な操作を簡易なキー人力により設
定することができ、しかも多数の入力に対する応答につ
いても簡易に設定することができるようにしたプログラ
ムタイマを提供することを目的とするものである。
The present invention has a response function to a large number of external inputs at a price comparable to that of a general program timer, and uses a special program storage method to simplify temporal operations on control equipment on a daily basis. It is an object of the present invention to provide a program timer which can be set manually using simple keys, and which can also easily set responses to a large number of inputs.

〔問題解決のための手段〕[Means for problem solving]

本発明は、上記目的を達成するため、タイマ動作用記憶
装置を、iイマの1日分の動作パターンが複数種類集合
したパターン登録部と、365日等の長期間の各1日に
対してどの動作パターンを実行するかを割り付ける日付
登録部とから構成して、複雑かつ長期間のプログラムを
簡単に設定することができるようにするほか、希望の時
間帯に複数の外部入力の個々に対して有効/無効のいず
れにするかを記憶装置に予じめ設定した状態のもとに制
御装置により外部入力に対する応答を一定時間内に限っ
て実行させるようにしたことを主要特徴とするものであ
る。
In order to achieve the above object, the present invention includes a timer operation storage device, a pattern registration section in which a plurality of types of i-ima operation patterns for one day are collected, and a timer operation storage device for each day of a long period of time such as 365 days. It consists of a date registration section that assigns which operation pattern to execute, and allows you to easily set up complex and long-term programs. The main feature is that the control device only responds to external input within a certain period of time based on the state in which the storage device is set in advance to enable or disable the external input. be.

〔実施例〕〔Example〕

以下、本発明を図面に示す実施例に基づいて詳細に説明
する。
Hereinafter, the present invention will be described in detail based on embodiments shown in the drawings.

図示の実施例は、本発明のプログラムタイマを金融機関
における現金自動受は払い機設置室に適用する場合であ
るが、適用対象としてはこれに限らず自動販売機、自動
両替機等の自動取引機あるいは無人店舗その他これに類
する施設であってもよいこと轟然である。
The illustrated embodiment is a case in which the program timer of the present invention is applied to a room in which an automatic cash receiving machine is installed in a financial institution, but the application is not limited to this. It is of course possible to use machines, unmanned stores, and other similar facilities.

第1図は、一実施例における本発明のプログラムタイマ
の概略を示すブロック線図であって、図中の符号1はタ
イマ動作およびセンサ入力に対する応答をプログラムす
るだめのキー入力装置、2はセンサ等の外部機器からの
信号を受は取る外部入力回路、3はタイマ動作用記憶装
置、4は入力応答シーケンス用記憶装置、5は制御装置
、6は水晶振動子を使用した水晶式カレンダ時計、7は
表示器、8は制御出力回路、9は制御装置5の制御プロ
グラム、10は停電時における電源の自動切換回路、1
1は電池等を使用したバックアップ用DC’i!源、1
2は電源装置である。
FIG. 1 is a block diagram schematically showing a program timer of the present invention in one embodiment, in which reference numeral 1 is a key input device for programming timer operations and responses to sensor inputs, and 2 is a sensor input device. 3 is a memory device for timer operation, 4 is a memory device for input response sequence, 5 is a control device, 6 is a crystal calendar clock using a crystal oscillator, 7 is a display, 8 is a control output circuit, 9 is a control program for the control device 5, 10 is an automatic power supply switching circuit during a power outage, 1
1 is a backup DC'i! using batteries etc. Source, 1
2 is a power supply device.

キー入力装置1は、数字10種と機能キー6種とからな
る16個のキーを具備し、キーに対する操作により、カ
レンダ時計6の時刻の設定および修正と、タイマ動作用
記憶装置3に対するタイマ動作の設定と、入力応答シー
ケンス用記憶装置4に対して各外部入力に対する応答シ
ーケンスを設定することができるように構成されている
The key input device 1 is equipped with 16 keys consisting of 10 types of numbers and 6 types of function keys, and by operating the keys, the time of the calendar clock 6 can be set and corrected, and the timer operation for the timer operation storage device 3 can be performed. , and a response sequence for each external input can be set in the input response sequence storage device 4.

表示器7は、発光ダイオードあるいは液晶等を使用した
表示器であって、通常は前記カレンダ時計6が現に計数
している時刻の年9月9日。
The display device 7 is a display device using a light emitting diode or a liquid crystal, and normally displays the time that the calendar clock 6 is currently counting, which is September 9, 2017.

週、曜日9時1分と、制御出力の状態と、外部入力とし
てのセンサ入力の状態とをキー入力装置1に対するキー
操作により切り換えて表示することができるように構成
する。
It is configured such that the week, day of the week, 9:01, the state of control output, and the state of sensor input as external input can be switched and displayed by key operation on the key input device 1.

制御装置5は、タイマ動作および入力応答の各動作を制
御するもので、4〜8ビット程度のマイクロコンピュー
タLSIとその制御プログラム9によって安価に構成す
ることができる。この制御装置5においては、タイマ動
作につばで、カレンダ時計6から取り出した現在時刻と
タイマ動作用記憶装置3に記憶されたタイマ動作の時間
とを比較手段により常時比較し、設定時刻と現在時刻と
が一致した時点において設定された動作に従って開閉手
段により制御出力回路8を開閉するのであり、更にタイ
マ動作については、前記制御出力回路8を開閉制御する
ほか、外部入力回路2に印加される個々のセンサ等によ
る外部入力に対する有効/無効の選択プログラムをタイ
マ動作用記憶装置3に設定しておき、有効時間内に限り
外部入力を制御装置5において制御して開閉手段により
制御出力回路8を開閉し、外部入力に対する応答を一定
時間内に限り実行させることができるようにするのであ
って、要するに各外部入力に対する応答を行なうか否か
を時間によりプログラム管理するようにする。
The control device 5 controls each operation of a timer operation and an input response, and can be constructed at low cost by a microcomputer LSI of about 4 to 8 bits and its control program 9. In this control device 5, the current time taken out from the calendar clock 6 and the timer operation time stored in the timer operation storage device 3 are constantly compared by the comparison means, and the set time and the current time are used for timer operation. The control output circuit 8 is opened and closed by the opening/closing means according to the set operation at the time when the above coincides with the control output circuit 8. Furthermore, regarding the timer operation, in addition to controlling the opening and closing of the control output circuit 8, the A selection program for validating/invalidating external inputs from sensors, etc. is set in the timer operation storage device 3, and the external inputs are controlled by the control device 5 and the control output circuit 8 is opened and closed by the opening/closing means only within the valid time. However, responses to external inputs can be executed only within a certain period of time, and in short, whether or not to respond to each external input is managed by the program based on time.

前記外部入力に対する応答の制御については、タイマ動
作による管理のもとに有効とされる時間内に外部入力回
路2に外的要因によって・センサから入力が与えられた
場合、その情報は制御装置5に入力され、入力応答シー
ケンス用記憶装置4に設定したシーケンスを制御装置5
が取り出すと共に、その内容に従って制御出力回路8を
開閉させるのであり、入力応答シーケンスの動作中にお
いては、制御出力回路8の開閉は、タイマ動作による制
御出力よりも入力応答シーケンスを優先させ、応答シー
ケースの終了と同時にタイマ動作に復帰するようにする
Regarding the control of the response to the external input, if an input is given to the external input circuit 2 from an external factor or from a sensor within the time that is valid under the control of the timer operation, the information is transmitted to the control device 5. The sequence set in the input response sequence storage device 4 is input to the control device 5.
is taken out, and the control output circuit 8 is opened and closed according to its contents. During the operation of the input response sequence, the opening and closing of the control output circuit 8 is given priority to the input response sequence over the control output by the timer operation, and the response sequence is The timer operation will be restored at the same time as the case ends.

また制御装置5はキー入力装置1における機能キーに対
する操作により表示器7に表示する内容を決定するよう
に構成する。
Further, the control device 5 is configured to determine the content to be displayed on the display 7 by operating a function key on the key input device 1.

制御製置5にマイクロコンピュータを使用した場合には
、タイマ動作用記憶装置3および入力応答シーケンス用
記憶装置4としてはRAMメモリを制御装置5のマイク
ロコンピュータに接続することで構成することができ、
このRAMメモリとして低消費電力型のものを使用し、
停電時に際しては、自動切換回路10によりバックアッ
プ用DC電源11に切り換えて給電することにより、記
憶内容を保持することができるのである。
When a microcomputer is used in the control device 5, the timer operation storage device 3 and the input response sequence storage device 4 can be constructed by connecting a RAM memory to the microcomputer of the control device 5.
Use a low power consumption type RAM memory,
In the event of a power outage, the automatic switching circuit 10 switches to the backup DC power supply 11 to supply power, thereby making it possible to retain the stored contents.

カレンダ時計6は、水晶振動子の撮動を原発振とする電
子式のカレンダ付き水晶時計LSI回路を使用すること
により安価に得ることができるのであり、更にプログラ
ムタイマシステムの停電対策としてカレンダ時計のLS
Iに低消費電力型のものを使用し、前記両記憶装置3お
よび4に使用するRAMメモリにおけると同様に、停電
時に自動切換回路10によりバックアップ用DC電源1
1に切り換え給電し、時計の計数を継続することができ
るのである。
The calendar clock 6 can be obtained at low cost by using an electronic calendar crystal clock LSI circuit whose primary oscillation is the imaging of a crystal resonator. L.S.
A low power consumption type is used for I, and in the same way as in the RAM memory used for both storage devices 3 and 4, the backup DC power supply 1 is switched on by the automatic switching circuit 10 in the event of a power outage.
This allows the clock to continue counting by switching to 1 and supplying power.

次にタイマ動作用記憶装置3の動作を第2図により説明
する。
Next, the operation of the timer operation memory device 3 will be explained with reference to FIG.

タイマ動作用記憶装置3は、パターン登録部と日付登録
部とから構成するのであるが、そのパターン登録部には
■および■に示すように、タイマの1日分の動作パター
ンを必要な数だけ集合した記憶手段であって、パターン
数の最大値は記憶装置の容量によって定まる。
The timer operation storage device 3 consists of a pattern registration section and a date registration section, and the pattern registration section stores the required number of timer operation patterns for one day, as shown in ■ and ■. It is a collection of storage means, and the maximum number of patterns is determined by the capacity of the storage device.

動作パターンについて、1つのパターンは1日分の24
時間にわたり、出力機器をいつの時点において開閉(0
N−OFF )すべきかについて、その時間と出力機器
の種別と制御の指定(0N−OFF )とを指示する4
のであって、制御を必要とする時間毎に必要数の登録を
行なう。開閉制御の登録については、1回の開閉制御に
ついて第2図の■に示すように3バイトのメモリがあれ
ばよく、1日の機器制御回数を仮りに最大40回とする
と120バイトの容量で1日分の機器の開閉制御を登録
することができるのであり、1日の許容開閉制御数は記
憶装置の容量によって決定される。1回の制御情報は■
に示すとおり制御の種別(ONかOFFか)と入力応答
に対しての有効/無効と制御時間と制御出力の番号と入
力応答チャンネル番号である。制御時間の最小値を分と
することにより、24時間中に1分を最小単位とする任
意の時間に最大128種類の出力機器を制御することが
できる。
Regarding operation patterns, one pattern is 24 times for one day.
At what point in time do output devices open and close (0
4. Instructs the time, type of output device, and control designation (0N-OFF) as to whether to turn it off (ON-OFF).
The required number of registrations is made every time control is required. Regarding the registration of opening/closing control, all that is needed is 3 bytes of memory for one opening/closing control, as shown in ■ in Figure 2. If the number of device controls per day is set to 40 at most, the memory capacity is 120 bytes. One day's worth of device opening/closing controls can be registered, and the number of permissible opening/closing controls for one day is determined by the capacity of the storage device. One time control information is ■
As shown in , the control type (ON or OFF), validity/invalidity for input response, control time, control output number, and input response channel number. By setting the minimum value of the control time to minutes, a maximum of 128 types of output devices can be controlled at any time with the minimum unit of 1 minute during 24 hours.

制御出力の種別はその全てを出力機器の制御に充当する
ことなく、その一部を入力応答の有効/無効の設定に使
用するのであって、これを含めパターン登録部会体の記
憶容量は、1日の制御回数を40回としパターンの数を
10種とした場合、[3バイトX 40 X]O= 1
200Jとなり、僅かに1200バイトである。
The type of control output is not all used to control the output device, but a part of it is used to enable/disable the input response, and the storage capacity of the pattern registration committee including this is 1 If the number of controls per day is 40 and the number of patterns is 10, [3 bytes x 40 x] O = 1
It is 200J, which is only 1200 bytes.

タイマ動作用記憶装置3における日付登録部は、第2図
のIに示すように、1年間の365日の各1日に対して
いずれの動作パターンを実行するかについて割り付ける
記憶手段であって、365バイトの容量があれば足りる
。1日の制御をパターン化し、そのパターン種別を1年
の各日毎に割り付けることにより、全体で1565バイ
トという僅かな記憶容量のもとに多数の機器を1分単位
で1年を通じて制御することができるのである。
The date registration unit in the timer operation storage device 3 is a storage means that allocates which operation pattern is to be executed for each of the 365 days of one year, as shown in I in FIG. A capacity of 365 bytes is sufficient. By patterning the daily control and assigning the pattern type to each day of the year, it is possible to control a large number of devices on a minute-by-minute basis throughout the year with a total storage capacity of only 1565 bytes. It can be done.

実際の動作パターンの割り付けに当っては、1年の36
5日を全て異なる動作パターンにより制御することは稀
であって、一般的には曜日の単位により制御することが
できればよく、10種類程度の動作パターン数でよい。
When assigning actual movement patterns, 36
It is rare to control all five days using different operation patterns, and generally it is sufficient to be able to control each day of the week, and the number of operation patterns may be about 10.

動作パターンの数は記憶容量を増加することにより希望
の数を得ることができること当然である。
It goes without saying that the desired number of operation patterns can be obtained by increasing the storage capacity.

このように、記憶装置をパターン登録部と日付登録部と
に分割構成し、両者のパターンと日付とを割り付けるよ
うにするばかりでなく、曜日等の共通点に基づき割り付
ける等の便法を使用することにより、1年間等の長期間
にわたり1分単位のもとに多数の機器に対するプログラ
ム制御を小容量の記憶装置に拘わらず効率よく行なわせ
ることができるほか、タイマに対する設定作業について
も著しく簡易となるのである。
In this way, the storage device is divided into a pattern registration section and a date registration section, and the patterns and dates of both sections are not only allocated, but also expedient methods such as allocation based on common features such as days of the week are used. This not only makes it possible to efficiently program and control a large number of devices on a minute-by-minute basis over a long period of time, such as a year, even with a small storage device, but also greatly simplifies the setting work for timers. It will become.

タイマ動作用記憶装置3におけるタイマに対する設定に
ついては、先づ必要なパターン数について、24時間の
動作パターンをキー入力装置lにより登録し、次にその
動作パターンを1年の365日のそれぞれの日に希望の
動作パターン番号を割り当てるのであるが、365日の
全てに1日毎に割り当てをすることは非能率的であるか
ら、同一曜日に対しては同一パターンを割り当てる方法
を採用すると、僅かに7回の設定操作のもとに1年分の
パターンの割り当てをすることができる。年末年始ある
いは祭日等の例外的な日については、曜日単位の割り当
ての後、日付単位の再割り付けをすればよいのである。
Regarding the settings for the timer in the timer operation storage device 3, first register the required number of 24-hour operation patterns using the key input device l, and then register the operation patterns for each of the 365 days of the year. However, it is inefficient to assign the desired movement pattern number to each day for all 365 days, so if we adopt a method of assigning the same pattern to the same day of the week, only 7 One year's worth of patterns can be assigned based on one setting operation. For exceptional days such as year-end and New Year holidays or national holidays, all that is needed is to reallocate the dates by date after assigning by day of the week.

入力応答シーケンス用記憶装置4は、第3図のようにタ
イマ動作用記憶装置3におけるパターン登録部とほぼ同
一構成でよく、センサから入力があった場合、その入力
時点からどれだけの時間動作させるかのパターンを必要
数だけ集合した記憶手段であって、通常外部入力機器の
数と同数のパターンがあればよく、センサ入力時点から
の動作時間と出力機器の種別と制御の指定とを指示する
ものである。
The input response sequence storage device 4 may have almost the same configuration as the pattern registration section in the timer operation storage device 3 as shown in FIG. It is a storage means that collects a necessary number of such patterns, and normally it is sufficient to have the same number of patterns as the number of external input devices, and it instructs the operation time from the time of sensor input, the type of output device, and control designation. It is something.

前記タイマ動作用記憶装置3に対するプログラム設定に
おける時間の意味は、1日の始まりを0時とする時間自
体を意味しているが、入力応答シーケンスの設定におけ
る時間の意味は、相対時間即ちセンサが動作してその事
象が外部入力回路2を経て制御装置5に伝えられた時点
を時間0時とする入力作動についての相対時間である。
The meaning of time in the program settings for the timer operation storage device 3 is the time itself with the start of the day being 0:00, but the meaning of time in the input response sequence settings is relative time, that is, the time when the sensor This is a relative time for an input operation, with time 0 o'clock being the time when the event is transmitted to the control device 5 via the external input circuit 2.

入力応答機能が発揮された場合の例を第4図について説
明すると、図は現金自動受は払い機設置室の出入口のド
アに装着した電気錠の開閉並びに通報装置の開閉に関す
るタイムチャートであって、先づタイマ動作記憶装置3
に予じめ設定したプログラムに従い1日の内の店舗の営
業時間に相当する特定時間帯について、制御出力回路8
における第1番目の制御出力により電気錠を開錠状態に
するほか、電気錠の施錠の時間帯は外部入力回路2にお
ける第1番目の入力を有効とし、第1番目の入力には前
記出入口を人が通過した場合に反応する光電センサを接
続すると、光電センサの信号が人の通過の都度外部入力
回路2に入力されるが、電気錠が開錠の時間帯は入力が
無効とされているから、センサからの信号入力に拘わら
ずなんら応答することなく、電気錠が施錠の時間帯には
入力が有効となる関係上、この有効り時間帯に人の通過
により光電センサが反応して第1番目の入力に信号が入
力されると、入力応答シーケンス用記憶装置4に予じめ
設定した応答シーケンスが作動して、制御出力回路8に
おける第2番目の制御出力を経て通報装置を一定時間だ
けONにすることができるのである。
An example of when the input response function is activated will be explained with reference to FIG. 4. The figure is a time chart regarding the opening and closing of the electric lock attached to the entrance door of the cash machine installation room and the opening and closing of the notification device. , first timer operation storage device 3
The control output circuit 8 outputs the control output circuit 8 according to a program preset to
In addition to setting the electric lock in the unlocked state by the first control output at When a photoelectric sensor that reacts when a person passes is connected, the signal from the photoelectric sensor is input to the external input circuit 2 each time a person passes, but the input is invalid during the time when the electric lock is unlocked. Therefore, regardless of the signal input from the sensor, there is no response, and since the input is valid during the period when the electric lock is locked, the photoelectric sensor responds to the passing of a person during this valid period and the When a signal is input to the first input, a response sequence preset in the input response sequence storage device 4 is activated, and the notification device is activated for a certain period of time via the second control output in the control output circuit 8. It is possible to turn it ON.

また、第5図は看板燈の点滅制御のタイムチャートであ
って、先づタイマ動作記憶装置3に′予じめ設定したプ
ログラムに従い1日の内の店舗の営業時間中の夕刻の特
定時間帯だけ制御出力回路8における第3番目の制御出
力により看板燈を点燈するようにするほか、前記夕刻の
特定時間帯を除く店舗の営業時間帯を外部入力回路2に
おける第2番目の入力を有効とし、第2番目の入力には
屋外の明るさを計測して一定程度以下の明るさになった
場合に信号を発する照度センサを接続すると、屋外が一
定程度に暗くなった場合に照度センサの信号が外部入力
回路2における第2番目の入力に印加され、その時刻が
センサ入力の有効時間帯であれば入力応答シーケンス用
記憶装置4に予じめ設定した応答シーケンスが作動して
、制御出力回路8における第3番目の制御出方を経て看
板燈をタイマ動作による点燈が行なわれていない時間帯
であるにも拘わらず一定時間だけ点燈することができる
のであり、なおセンサ信号による看板燈の点燈時間の途
中においてセンサ入力が無効となる時間が到来した場合
は、タイマ動作による制御に復帰するが、図示の例にお
いてはセンナ入力が無効となると同時にタイマ動作によ
る点燈が行なわれることになるのである。
FIG. 5 is a time chart of the blinking control of the signboard lights, which starts with a specific time period in the evening during the business hours of the store according to a program preset in the timer operation storage device 3. In addition to turning on the signboard light by the third control output in the control output circuit 8, the second input in the external input circuit 2 is enabled to set the store's business hours except for the specific time in the evening. If you connect an illuminance sensor to the second input that measures the outdoor brightness and issues a signal when the brightness falls below a certain level, the illuminance sensor will output a signal when the outdoor area becomes dark to a certain level. When a signal is applied to the second input in the external input circuit 2, and if that time is within the effective time period of the sensor input, a response sequence preset in the input response sequence storage device 4 is activated, and the control output is Through the third control output in circuit 8, the signboard light can be turned on for a certain period of time even though the timer operation is not used to turn on the signboard light, and the signboard light can be turned on for a certain period of time even when the timer operation is not performed. If the sensor input becomes invalid during the lighting time of the light, the control returns to the timer operation, but in the illustrated example, the light is turned on by the timer operation at the same time as the sensor input becomes invalid. That's what happens.

第4図および第5図に例示した入力応答シーケンスによ
る動作は、簡単な例として挙げたが、本発明のプログラ
ムタイマによれば、これよりも著しく複雑な入力応答シ
ーケンスについて容易に実行することができるのである
Although the operations according to the input response sequences illustrated in FIGS. 4 and 5 are given as simple examples, the program timer of the present invention can easily perform input response sequences that are significantly more complex than these. It can be done.

〔発明の効果〕 以上説明したように、本発明によれば、タイマ動作用記
憶装置を、タイマの1日分の動作パターンが集合したパ
ターン登録部と長期間の各1日に対していずれのパター
ンを実行するかを割り付ける日付登録部とにより構成し
たことにより、簡単かつ安価な装備のもとに複雑かつ長
期間のプログラムを簡単かつ容易に設定することができ
、またセンサ等の外部入力機器からの入力を有効もしく
は無効のいずれかに選択するプログラムを記憶する記憶
装置を設けて有効時の外部入力を制御装置において制御
してタイマ動作による出力に優先した状態のもとに制御
出力とするようにしだから、これによりタイマ動作によ
り外部機器を制御しつつ外部機器からの入力に基づき一
時的に入力応答シーケンスによる動作に切り換えること
ができ、従って多数の外部出力機器および入力機器が関
連している現金自動受は払い機設置室等のプログラムタ
イマとして好適である。
[Effects of the Invention] As explained above, according to the present invention, the timer operation storage device is connected to the pattern registration section in which one day's worth of timer operation patterns are collected, and which one for each day over a long period of time. By having a date registration section that assigns whether or not to execute a pattern, it is possible to easily set up complex and long-term programs using simple and inexpensive equipment. A storage device is provided to store a program for selecting either valid or invalid input from the external input device, and when the external input is valid, the control device controls the external input and outputs it as a control output with priority given to the output by the timer operation. As a result, it is possible to control the external device through timer operation and temporarily switch to operation based on the input response sequence based on the input from the external device, and therefore a large number of external output devices and input devices are involved. Automatic cash registers are suitable as program timers in rooms where payment machines are installed.

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

図面において、第1図は一実施例における本発明のプロ
グラムタイマの概略を示すブロック線図、第2図はタイ
マ動作用記憶装置の記憶内容説明図、第3図は入力応答
シーケンス用記憶装置の記憶内容説明図、また第4図お
よび第5図はそれぞれ動作状態を各別に例示するタイム
チャートである。 ■・・・キー入力装置 2・・・外部入力回路 3・・・タイマ動作用記憶装置 4・・・入力応答シーケンス用記憶装置5呻・・制御装
置 6−・・カレンダ時計 7・・・表示器 8・・・制御出力回路 9・・・制御プログラム
In the drawings, FIG. 1 is a block diagram showing an outline of the program timer of the present invention in one embodiment, FIG. 2 is an explanatory diagram of the storage contents of the timer operation storage device, and FIG. 3 is an illustration of the storage contents of the input response sequence storage device. The storage contents explanatory diagram and FIGS. 4 and 5 are time charts illustrating each operating state. ■...Key input device 2...External input circuit 3...Storage device for timer operation 4...Storage device for input response sequence 5...Control device 6-...Calendar clock 7...Display Device 8... Control output circuit 9... Control program

Claims (1)

【特許請求の範囲】 多数の外部機器を長期間にわたりプログラムに従い動作
させるようにしたプログラムタイマであつて、 (a)キー入力装置、 (b)水晶式カレンダ時計、 (c)カレンダ時計の表示と、制御出力の状態の表示と
、外部入力の状態の表示とを行なう表示器、 (d)タイマの1日分の動作パターンを必要な数だけ集
合した記憶手段からなるパターン登録部と、長期間中の
各1日に対していずれの動作パターンを実行するかを割
り付ける記憶手段からなる日付登録部とから構成される
タイマ動作用記憶装置、 (e)センサ等の外部入力機器からの入力があつた場合
、入力時点からどれだけの時間動作させるかを指定する
入力応答シーケンス用記憶装置、 (f)マイクロコンピュータとその制御プログラムとか
ら構成され、カレンダ時計から取り出した現在時刻とタ
イマ動作用記憶装置に記憶されたタイマ動作の時間とを
比較する比較手段、設定時刻と現在時刻との一致時点に
おいて設定された動作に従い制御出力回路を開閉する開
閉手段、タイマ動作用記憶装置に記憶された有効/無効
の選択プログラムにより有効時間内に限り外部入力を制
御して入力応答シーケンス用記憶装置に記憶された一定
時間内に限り制御出力回路を開閉する開閉手段、キー入
力装置に対するキー操作により表示器における表示内容
を決定する開閉手段、入力応答シーケンスの動作時にお
ける制御出力回路の開閉をタイマ動作による制御出力よ
りも入力応答シーケンスを優先させる開閉手段、を有す
る制御装置、 (g)センサ等の外部入力機器からの入力を受け取つて
制御装置へ入力する外部入力回路、 (h)制御装置からの出力を外部機器へ印加する制御出
力回路、 を具備した入力に対し応答機能を有するプログラムタイ
マ。
[Scope of Claims] A program timer that operates a large number of external devices according to a program for a long period of time, comprising: (a) a key input device; (b) a crystal calendar clock; (c) a calendar clock display; , a display that displays the status of the control output and the status of external input; (d) a pattern registration section consisting of a storage means that collects the required number of operation patterns for one day of the timer; (e) A timer operation memory device consisting of a date registration section consisting of a memory means for assigning which operation pattern is to be executed for each day of the operation; (f) A storage device for input response sequences that specifies how long the operation should be performed from the input point in time; Comparison means for comparing the timer operation time stored in the timer operation time, opening/closing means for opening and closing the control output circuit according to the set operation when the set time and the current time match, valid/closing means for comparing the timer operation time stored in the timer operation storage device, Opening/closing means that controls external input only within the valid time by an invalid selection program and opens and closes the control output circuit only within a certain period of time stored in the input response sequence storage device, (g) external input such as a sensor; (g) an external input such as a sensor; (h) a control output circuit that applies output from the control device to an external device; and (h) a control output circuit that applies output from the control device to the external device.
JP61276350A 1986-11-19 1986-11-19 Program timer having response function to input Pending JPS63131098A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61276350A JPS63131098A (en) 1986-11-19 1986-11-19 Program timer having response function to input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61276350A JPS63131098A (en) 1986-11-19 1986-11-19 Program timer having response function to input

Publications (1)

Publication Number Publication Date
JPS63131098A true JPS63131098A (en) 1988-06-03

Family

ID=17568209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61276350A Pending JPS63131098A (en) 1986-11-19 1986-11-19 Program timer having response function to input

Country Status (1)

Country Link
JP (1) JPS63131098A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0264497A (en) * 1988-08-31 1990-03-05 Japan Organo Co Ltd Control apparatus of timer and water softening apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0264497A (en) * 1988-08-31 1990-03-05 Japan Organo Co Ltd Control apparatus of timer and water softening apparatus

Similar Documents

Publication Publication Date Title
US4355361A (en) Data processor apparatus for multitariff meter
CA2381789C (en) A programmable timer unit for use in a remote control load management system
US6658303B2 (en) Program timer
US5046157A (en) Time control device for appliances
US4279012A (en) Programmable appliance controller
US5103078A (en) Programmable hot water heater control method
US8738158B2 (en) Apparatus and method for remote configuration of common objects across lighting controllers
US4396844A (en) Method and apparatus for controlling distributed electrical loads
US8415888B2 (en) Illumination control terminal and illumination control system
NL8004133A (en) BREAKER.
JP3757838B2 (en) Program timer unit for remote monitoring and control system
JPS63131098A (en) Program timer having response function to input
JP3213548B2 (en) Electronic time switch
JP4470714B2 (en) Lighting control system
KR950013025B1 (en) Saving box
JP3180022B2 (en) Solar time switch
JP2008047323A (en) Centralized monitoring apparatus of cooling device
JPH02172186A (en) Illumination device
JP2008047322A (en) Centralized monitoring apparatus of cooling device
JPS635042Y2 (en)
JPS61145479A (en) System for controlling power source of copying machine
KR930005705B1 (en) Daily booking control method of home automation system
KR970002378B1 (en) Method for displaying reservation of monitoring system
JPH0535395B2 (en)
JPH082701Y2 (en) Calendar display