JPH0343599B2 - - Google Patents
Info
- Publication number
- JPH0343599B2 JPH0343599B2 JP56009500A JP950081A JPH0343599B2 JP H0343599 B2 JPH0343599 B2 JP H0343599B2 JP 56009500 A JP56009500 A JP 56009500A JP 950081 A JP950081 A JP 950081A JP H0343599 B2 JPH0343599 B2 JP H0343599B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- data
- time
- memory
- block
- 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 - Lifetime
Links
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G15/00—Time-pieces comprising means to be operated at preselected times or after preselected time intervals
- G04G15/006—Time-pieces comprising means to be operated at preselected times or after preselected time intervals for operating at a number of different times
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
Description
【発明の詳細な説明】
この発明は予め定めたスケジユールに従つてオ
ン、オフ等の出力制御を行い、ビルや学校の冷暖
房、時報等を自動化する装置に関し、特に週間の
曜日毎および時刻毎に当該出力制御を行うことの
できる所謂ウイークプログラマーに関するもので
ある。[Detailed Description of the Invention] The present invention relates to a device that performs output control such as on and off according to a predetermined schedule and automates the heating and cooling of buildings and schools, time signals, etc. This invention relates to a so-called weak programmer that can perform the output control.
ウイークプログラマーは一般に複数の出力端子
を備えるとともに、これらの出力端子のそれぞれ
に於いて、週間の曜日毎および時刻毎に出力制御
を行う様予め定めたプログラムを記憶する手段を
備えている。 A weekly programmer is generally equipped with a plurality of output terminals, and each of these output terminals is equipped with means for storing a predetermined program to perform output control for each day of the week and each time of the week.
通常はこの記憶手段としてメモリーが用いられ
るが、操作者の意図に応ずるプログラムが記憶出
来る様メモリーへの書き込み、書き換え手段とし
ての入力装置も同時に設けられている。また、更
にこのウイークプログラマーを構成する要素とし
ては、現在の曜日、時刻に対応した記憶内容を読
み出し、出力するための曜日・時刻カウンターお
よび読み出し回路が必要である。 Normally, a memory is used as this storage means, but an input device is also provided as a means for writing and rewriting the memory so that programs can be stored according to the operator's intentions. Further, as elements constituting this week programmer, a day/time counter and a readout circuit are required for reading and outputting the stored contents corresponding to the current day of the week and time.
これらの要素を中心として構成されるウイーク
プログラマーの概念的ブロツク図を示すと第1図
の様になるが、
メモリー1、入力手段としての入力キー2、曜
日・時刻カウンター3、読み出し回路4の他に表
示回路5と、および図示はしていないがこれらの
要素間の制御を行う制御回路が一般的に付加され
ている。 A conceptual block diagram of a week programmer mainly composed of these elements is shown in Fig. 1, which includes a memory 1, an input key 2 as an input means, a day/time counter 3, a readout circuit 4, and other parts. Generally, a display circuit 5 and a control circuit (not shown) for controlling these elements are added.
第2図はマイクロコンピユーターを利用してこ
の発明の前提となるウイークプログラマーを構成
した場合のブロツク図である。 FIG. 2 is a block diagram of a weak programmer, which is the premise of this invention, configured using a microcomputer.
システムを構成する主要な要素は、マイクロプ
ロセツサ(以下CPUという)10、システムプ
ログラムを格納するROM11、システムワーク
エリアとなるRAM12、曜日・時刻カウンター
13、プログラムメモリー即ち曜日および時刻毎
のスケジユールに従つたデーターを記憶する
RAM14、I/O15〜17、表示器18、出
力端子を含む出力回路19および入力キー20で
ある。なお各要素はアドレス、データー、コント
ロールの各バスから成るシステムバス21によつ
て接続されている。 The main elements that make up the system are a microprocessor (hereinafter referred to as CPU) 10, a ROM 11 that stores system programs, a RAM 12 that serves as a system work area, a day/time counter 13, and a program memory that follows a schedule for each day of the week and time. Memorize ivy data
These are a RAM 14, I/Os 15 to 17, a display 18, an output circuit 19 including an output terminal, and an input key 20. Each element is connected by a system bus 21 consisting of address, data, and control buses.
前記RAM14には、第3図に示す記憶内容を
1ブロツクとして、例えば出力No.順、次いで曜日
順(日、月、火…)の優先順序に従い複数のブロ
ツクが記憶されていて、各ブロツクの内容の変
更、新規ブロツクの書き込み、或いは特定ブロツ
クの消去等が入力キー20の操作によつて行い得
る様になつている。ここで、1ブロツクの記憶内
容は、出力No.、曜日、時刻、出力状態の4個のデ
ーターから成り、出力状態はオン、オフ、若しく
はパルス出力のいずれかに相当するデーターで構
成される。 In the RAM 14, a plurality of blocks are stored, with the memory contents shown in FIG. 3 as one block, in priority order, for example, in order of output number, then in order of days of the week (Sunday, Monday, Tuesday, etc.). It is possible to change the contents, write a new block, erase a specific block, etc. by operating the input key 20. Here, the stored content of one block consists of four pieces of data: output number, day of the week, time, and output status, and the output status is composed of data corresponding to on, off, or pulse output.
特別の状態でない時、曜日・時刻カウンター1
3は現在の曜日、時刻にあり、また、RAM14
内に記憶されている複数のブロツクから、前記カ
ウンター13の曜日、時刻データーに対応するブ
ロツクが常時検索され、該当するブロツクが検索
された時、そのブロツクに記憶されている出力No.
の端子に出力状態領域に記憶される出力データー
を送出する。例えば月曜日の8:00に出力No.
「1」の端子をオン、同日の13:00にオフするス
ケジユールを実行する場合、カウンター13が月
曜日で且つ8:00になつた時、第4図イに示すブ
ロツクが検索され、オンデーターが出力回路19
に送られる一方、カウンター13が月曜日で且つ
13:00になつた時、第4図ロに示すブロツクが検
索され、オフデーターが出力回路19に送られ
る。なお或るブロツクの出力状態領域がパルスを
指定していれば、当該ブロツクの曜日、時刻にな
つた時、一定時間だけのオン出力が出力回路19
に送られる様になされている。 When not in a special state, day/time counter 1
3 is the current day of the week and time, and RAM14
A block corresponding to the day of the week and time data of the counter 13 is always searched from a plurality of blocks stored in the block, and when a corresponding block is searched, the output number stored in that block is searched.
The output data stored in the output status area is sent to the terminal of. For example, output No. at 8:00 on Monday.
When executing a schedule to turn on the terminal "1" and turn it off at 13:00 on the same day, when the counter 13 reaches 8:00 on Monday, the block shown in Figure 4 A is searched and the on-data is Output circuit 19
while counter 13 is on Monday and
At 13:00, the block shown in FIG. Note that if the output state area of a certain block specifies pulse, when the day of the week and time of the block comes, the output circuit 19 outputs an ON signal for a certain period of time.
It is designed to be sent to
以上の様にして任意の出力端子に、予め設定し
たスケジユールに従う出力データーが送出される
様にしている。 As described above, output data is sent to any output terminal according to a preset schedule.
しかしながら、この様なウイークプログラマー
では、オン、オフの出力データーに個々に対応す
る記憶ブロツク(第3図参照)が必要であるた
め、1日の期間内に或る出力端子を繰り返してオ
ン、オフさせたい場合は、その端子および曜日に
対応する記憶ブロツク数だけで相当な数を占る様
になる。特に、省エネルギー運転上、一定のデユ
ーテイサイクルで負荷をオン、オフする場合は同
一出力端子で同一曜日に対応する記憶ブロツク数
が数10個に達することがある。システムコスト、
殊にメモリーコストを低減させる見地からはこの
様な状態が好ましいものでないことはいうまでも
ない。 However, such a weak programmer requires memory blocks (see Figure 3) that individually correspond to on and off output data, so it is possible to repeatedly turn on and off a certain output terminal within a day. If you want to do this, the number of memory blocks corresponding to the terminal and day of the week alone will take up a considerable number of blocks. In particular, when a load is turned on and off at a constant duty cycle for energy-saving operation, the number of memory blocks corresponding to the same day of the week at the same output terminal may reach several dozen. system cost,
It goes without saying that such a state is not desirable, especially from the viewpoint of reducing memory costs.
この発明の主な目的は、上記事情に鑑みて、装
置の機能を低下させることなく使用するメモリー
容量を低減し、メモリー使用効率の向上と装置の
低価格化を図ることにある。 In view of the above circumstances, the main object of the present invention is to reduce the amount of memory used without degrading the functions of the device, thereby improving the memory usage efficiency and reducing the price of the device.
以下この発明の実施例を図面を参照して説明す
る。 Embodiments of the present invention will be described below with reference to the drawings.
第5図はこの発明の実施例であるウイークプロ
グラマーのブロツク図である。 FIG. 5 is a block diagram of a weak programmer which is an embodiment of the present invention.
構成において第2図と異なるのはメモリーに
RAM22が追加されている点と、上限温度セン
サー23、下限温度センサー24を設け、それら
の検出データーをシステムに取り込むためのI/
O25が追加されている点である。また、RAM
14にブロツク単位で記憶される記憶内容も第3
図に示すものと異なる様にされる。第6図にこの
記憶内容を示す。同図に示す様に1ブロツクは、
出力No.、曜日、時刻、出力状態、デユーテイフラ
ツグ、デユーテイパターンNo.、デユーテイパター
ンNo.の加減実行フラグの各要素を記憶する7記憶
領域で構成される。この構成は第3図に示す領域
に更にデユーテイフラツグ領域とデユーテイパタ
ーンNo.領域を付加したものである。後述の説明か
ら明らかな様に、デユーテイフラツグは当該ブロ
ツクの実行においてデユーテイパターンNo.を参照
するか否かを決定するデーターを提供し、例えば
「1」のデーターであれば参照し、「0」のデータ
ーであれば参照しない様に、出力状態領域のデー
ターの内容を実質的に変更する機能を有してい
る。即ち、デユーテイパターンNo.を参照する場合
は当該ブロツクの出力状態領域に記憶されるデー
ターはデユーテイ運転の開始時刻とみなされ、当
時刻において実行する出力データーは別のメモリ
ーに記憶されるデユーテイパターンデーターに置
き換えられる。 The difference in configuration from Figure 2 is in the memory.
RAM 22 is added, an upper limit temperature sensor 23 and a lower limit temperature sensor 24 are provided, and I/O is installed to import the detected data into the system.
The point is that O25 is added. Also, RAM
The memory contents stored in block units in block 14 are also stored in the third block.
It may be different from what is shown in the figure. FIG. 6 shows the contents of this memory. As shown in the figure, one block is
It is composed of seven storage areas for storing each element: output number, day of the week, time, output status, duty flag, duty pattern number, and duty pattern number addition/subtraction execution flag. This configuration has a duty flag area and a duty pattern number area added to the area shown in FIG. As is clear from the explanation below, the duty flag provides data that determines whether or not to refer to the duty pattern number in the execution of the block; for example, if the data is "1", it is not referenced. However, it has a function to substantially change the content of the data in the output status area so that it is not referenced if the data is "0". In other words, when referring to the duty pattern number, the data stored in the output status area of the relevant block is considered to be the start time of duty operation, and the output data to be executed at that time is the data stored in another memory. Replaced by utility pattern data.
第7図は複数のデユーテイパターンデーターの
記憶されるRAM22の記憶内容を示す。 FIG. 7 shows the storage contents of the RAM 22 in which a plurality of duty pattern data are stored.
デユーテイパターンは繰り返し時間を特定する
サイクルタイムと、1サイクル内の出力オン時間
を特定するオンタイムとで決定され、RAM22
にはそれらのパターンを異にした幾つかのデータ
ーが記憶され、それらのパターンにはNo.が付され
ている。例えばデユーテイパターンNo.が「2」の
場合、デユーテイパターンはサイクルタイムが30
分、オンタイムが15分である。もし或るブロツク
のデユーテイフラツグ(第6図参照)に「1」が
記憶され、更にデユーテイパターンNo.「2」が記
憶されているなら、当該ブロツクの実行の際に
は、出力データーがサイクルタイム30分、オンタ
イム15分のパルス状出力データーとなる。この場
合、当該ブロツクの出力状態領域に記憶されるデ
ーターはデユーテイ運転開始時刻となる。 The duty pattern is determined by the cycle time that specifies the repetition time and the on time that specifies the output on time within one cycle.
Several data with different patterns are stored in the , and numbers are assigned to these patterns. For example, if the duty pattern No. is "2", the duty pattern has a cycle time of 30
minutes, on-time is 15 minutes. If "1" is stored in the duty flag (see Figure 6) of a certain block and duty pattern No. "2" is also stored, when the block is executed, The output data is pulsed output data with a cycle time of 30 minutes and an on time of 15 minutes. In this case, the data stored in the output status area of the block becomes the duty operation start time.
また、同じブロツクのデユーテイパターンNo.を
入力キー20によつて「2」→「3」に書き換え
れば、実行デユーテイパターンはRAM22のNo.
「3」パターンに置き換えられ、サイクルタイム
30分、オンタイム20分の出力データーとなる。な
お、デユーテイフラツグを「1」→「0」に書き
換えればデユーテイパターンNo.のデーターに無関
係に出力状態領域のデーターが出力データーとし
て有効づけられることはいうまでもない。 Also, if the duty pattern number of the same block is changed from "2" to "3" using the input key 20, the execution duty pattern will be changed to the number of the RAM 22.
Replaced with “3” pattern, cycle time
Output data is 30 minutes and on-time is 20 minutes. It goes without saying that by rewriting the duty flag from "1" to "0", the data in the output state area is validated as output data regardless of the data in the duty pattern number.
この様にして単一のメモリーブロツクで繰り返
し出力を容意に実行出来ることとなる。 In this way, repeated output can be easily performed with a single memory block.
更に、このウイークプログラマーでは、外部温
度センサーによつて特定のメモリーブロツクに記
憶されるデユーテイパターンNo.を自動的に加減で
きる様になされている。この機能の実現のため
に、RAM22に上述したデユーテイパターンテ
ーブルの他、パターンNo.加減テーブルが記憶され
ている。このテーブルはセンサー23,24の出
力が「1」である場合に、それぞれパターンNo.を
「−1」、「+1」することを示すものである。従
つて、センサー23が「1」となつた時、デユー
テイパターンNo.加減実行フラツグのたつているメ
モリーブロツクのデユーテイパターンNo.が「−
1」され、反対にセンサー24が「1」になつた
時、上記パターンNo.が「+1」される。ここでは
センサー23が上限温度センサー、センサー24
が加減温度センサーであるから、また、パターン
No.が増えるに応じてオンタイムが増える関係にあ
るから(第7図参照)、センサー配置箇所が上限
温度に達した時、特定のメモリーブロツクの実行
出力データーは通常の繰り返しパルスデーターよ
りオンタイムが1ランク短い繰り返しパルスデー
ターに変わり、また下限温度に達した時には、反
対に1ランク長い繰り返しパルスデーターに変わ
る。この様な動作から、例えば空調機を断続運転
する場合に運転のデユーテイを自動的に変えて温
度管理を行うことが可能になる。 Furthermore, this weak programmer is designed to automatically adjust the duty pattern number stored in a specific memory block using an external temperature sensor. In order to realize this function, in addition to the above-described duty pattern table, a pattern number addition/subtraction table is stored in the RAM 22. This table shows that when the outputs of the sensors 23 and 24 are "1", the pattern numbers are incremented by "-1" and "+1", respectively. Therefore, when the sensor 23 becomes "1", the duty pattern number of the memory block whose duty pattern number addition/subtraction execution flag is set becomes "-".
1", and conversely, when the sensor 24 becomes "1", the pattern No. is incremented by "+1". Here, sensor 23 is the upper limit temperature sensor, sensor 24
Since is a temperature sensor, also the pattern
Since the on-time increases as the number increases (see Figure 7), when the sensor location reaches the upper limit temperature, the execution output data of a specific memory block will have a shorter on-time than the normal repeated pulse data. changes to repeated pulse data that is one rank shorter, and when the lower limit temperature is reached, it changes to repeated pulse data that is one rank longer. Such an operation makes it possible to automatically change the operating duty and perform temperature control when, for example, an air conditioner is operated intermittently.
次に、以上に述べたウイークプログラマーの更
に具体的な動作につき第9図以下を参照して説明
する。 Next, more specific operations of the above-described weak programmer will be explained with reference to FIG. 9 and subsequent figures.
第9図はこのウイークプログラマーに使用され
る入力キー20の主要キーを示している。 FIG. 9 shows the main keys of the input keys 20 used in this weak programmer.
先ず各キーの機能を順に説明する。 First, the functions of each key will be explained in order.
「OUT」……出力No.設定用キー
「WEEK」……曜日設定用キー
「TIME」……時刻設定用キー
「SUN/O」、……「 /9」……数字および曜
日指定用数値キーで、「WEEK」キー操作によ
つて曜日指定となる。"OUT"...Key for setting the output number "WEEK"...Key for setting the day of the week "TIME"...Key for setting the time "SUN/O"..."/9"...Numeric key for specifying numbers and days of the week Then, the day of the week can be specified by operating the "WEEK" key.
「ENTER」……プログラムデーター書き込み用
キー
「ON」……プログラムデーター設定時、出力デ
ーターを“ON”に設定する出力データー設定
キー
「OFF」……プログラムデーター設定時、出力
データーを“OFF”に設定する出力データー
設定キー
「PLS」……プログラムデーター設定時、出力デ
ーターを“PULSE”に設定する出力データー
設定キー
「MEMO・CL」……RAM14,22の記憶デ
ーター(プログラム、テーブル用プリセツトデ
ーター)消去用キー
「READ」……RAM14,22の記憶データー
(プログラム、テーブル用プリセツトデーター)
読み出し用キー
「繰返」……デユーテイパターン参照指定キー
RAM14にブロツク単位にプログラムを書き
込む場合は、上記の各キーのうち、「OUT」キ
ー、「WEEK」キー、「TIME」キー、数値キー、
出力データー設定キー、「ENTER」キー、「繰
返」キー等を用いる。例えば、月曜日の8:00に
No.5の出力端子を“ON”とする場合には、
「OUT」、「5」、「WEEK」、「MON」、「TIME」、
「8」、「ON」、「ENTER」の順にキーを操作す
る。また、月曜日の8:00から、No.5の出力端子
をデユーテイパターンNo.2の形態で繰り返し
“ON”、“OFF”する場合には、「OUT」、「5」、
「WEEK」、「MON」、「TIME」、「8」、「ON」
(或いは「OFF」「PLS」)、「ENTER」、「繰返」、
「2」、「ENTER」の順にキーを操作する。"ENTER"...Key for writing program data "ON"...Set the output data to "ON" when setting program data Output data setting key "OFF"...Set the output data to "OFF" when setting program data Output data setting key "PLS" to set...Output data setting key "MEMO・CL" to set the output data to "PULSE" when setting program data...Data stored in RAM 14, 22 (program, table preset data) ) Erase key "READ"... Memory data of RAM14, 22 (program, table preset data)
Read key "Repeat"...Duty pattern reference designation key When writing a program to RAM14 block by block, among the above keys, use the "OUT" key, "WEEK" key, "TIME" key, numerical value Key,
Use the output data setting key, "ENTER" key, "Repeat" key, etc. For example, at 8:00 on Monday
When turning No. 5 output terminal “ON”,
"OUT", "5", "WEEK", "MON", "TIME",
Operate the keys in the order of "8", "ON", and "ENTER". Also, from 8:00 on Monday, when output terminal No. 5 is repeatedly turned "ON" and "OFF" in the form of duty pattern No. 2, "OUT", "5",
"WEEK", "MON", "TIME", "8", "ON"
(or "OFF", "PLS"), "ENTER", "Repeat",
Operate the keys in the order of "2" and "ENTER".
第10図はこのプログラムの書き込みを行う場
合の制御手順を示している。なお、デユーテイパ
ターンのプリセツトについては後述する。 FIG. 10 shows the control procedure for writing this program. Note that the presetting of the duty pattern will be described later.
ステツプn1(以下ステツプnxを単にnxという)
では、書き込み操作において最初に操作されたキ
ーが「OUT」キーであるか否かを判別する。こ
こでもし「OUT」キーであるならn2へ進み出力
No.の受け付けを行い、以下順に、曜日の受け付け
n3、時刻の受け付けn4、出力データーの受け付け
n5を実行し、n6で「ENTER」キーの操作された
のを判別してn7にてn2〜n5で受け付けたデーター
をRAM14のメモリーへ書き込む。続いてn8に
て次の操作に「繰返」キーの押圧があるか否かを
判別するが、もし操作が無ければ1ブロツクの書
き込みは終了となる。「繰返」キーの押圧があれ
ばn9へと進みデユーテイパターンNo.の受け付けを
行い、n10の「ENTER」キーの操作されたのを
判別してn11にてn9で受け付けたデータをRAM1
4のメモリーへ書き込む。この場合そのアドレス
はn2〜n5のデーターを書き込んだブロツクと同一
ブロツクになる様にされるとともに、デユーテイ
フラツグ領域に「1」も同時に書き込まれる様に
される。 Step n 1 (hereinafter step n x is simply referred to as n x )
Now, it is determined whether the first key operated in the write operation is the "OUT" key. Here, if it is the "OUT" key, proceed to n 2 and output
We will accept the number, and then we will accept the days of the week in the following order.
n 3 , time reception n 4 , output data reception
Execute n 5 , determine that the "ENTER" key has been operated at n 6 , and write the data received at n 2 to n 5 to the memory of the RAM 14 at n 7 . Subsequently, at n8 , it is determined whether or not the "repeat" key is pressed for the next operation, but if there is no operation, writing of one block is completed. If the ``Repeat'' key is pressed, the process advances to n9 and accepts the duty pattern number.It determines that the ``ENTER'' key in n10 has been operated and accepts the duty pattern number in n11 . Save the data to RAM1
Write to memory 4. In this case, the address is made to be the same block as the block in which data n2 to n5 are written, and "1" is also written to the duty flag area at the same time.
以上の様にして、スタートからエンド1まで進
む場合はデユーテイフラツグが立たず、従つて出
力状態領域のデーターがそのまま出力データーと
なり、スタートからエンド2まで進む場合はデユ
ーテイフラツグが立つて、従つて出力状態のデー
ターが無視され、出力データーは同一ブロツクに
記憶されるデユーテイパターンNo.が参照されるこ
ととなる。 As described above, when progressing from the start to end 1, the duty flag is not set, so the data in the output status area becomes the output data as is, and when progressing from the start to end 2, the duty flag is not set. Therefore, the output state data is ignored, and the duty pattern number stored in the same block is referred to for the output data.
ここで、デユーテイパターンのプリセツト操作
および動作について説明する。 Here, the duty pattern preset operation and operation will be explained.
デユーテイパターンのプリセツトは、「繰返」
キー操作後、デユーテイパターンNo.、サイクルタ
イム、オンタイム順に指定し、最後に
「ENTER」キーを操作することによつて行う。 The duty pattern preset is “Repeat”.
After operating the keys, specify the duty pattern number, cycle time, and on-time in this order, and finally press the "ENTER" key.
第11図はこの操作に伴う制御手順を示してい
る。 FIG. 11 shows the control procedure accompanying this operation.
先ずn20では「繰返」キーの操作があつたかど
うかを判別し、n21、n22、n23でそれぞれデユーテ
イパターンNo.、サイクルタイム、オンタイムの受
け付けを行う。それらの受け付けが終了すると
n24で「ENTER」キーの操作有無を判別し、操
作された時点でn25へと進み、ここでn21〜n23で受
け付けたデーターの書き込みを行う。なお、この
書き込みはRAM22の予め定められた領域に書
き込まれる様になつている。 First, at n20 , it is determined whether or not the "repeat" key has been operated, and at n21 , n22 , and n23 , the duty pattern number, cycle time, and on-time are accepted, respectively. Once they have been accepted
At n24 , it is determined whether or not the "ENTER" key has been operated, and when it has been operated, the process advances to n25 , where the data received at n21 to n23 is written. Note that this writing is performed in a predetermined area of the RAM 22.
また、RAM22には更に第8図に示すパター
No.加減テーブルも予め定められた領域に書き込ま
れているが、この書き込み操作、動作については
図示しない他のフアンクシヨンキーと
「ENTER」キーおよび数値キーを用いることに
より、上述のデユーテイパターンの場合と同様に
容易に行うことが出来るためここでは詳述をしな
い。 In addition, the RAM 22 also has a pattern shown in Fig. 8.
The No. addition/subtraction table is also written in a predetermined area, but this writing operation and operation can be performed using other function keys (not shown), the "ENTER" key, and numeric keys to create the above-mentioned duty pattern. Since this can be easily done in the same way as in the case of , it will not be described in detail here.
さて、上述した書き込み操作を繰返すことによ
つて、プログラムデーター、デユーテイパターン
等を複数個自由に記憶させておくことが出来る
が、次にこの様にして記憶したプログラムを実行
する場合の動作について説明をする。 Now, by repeating the write operation described above, it is possible to freely store multiple pieces of program data, duty patterns, etc. Next, we will explain the operation when executing the program stored in this way. I will explain about it.
前述した様に、プログラムの実行は内蔵する曜
日・時刻カウンター13の内容と、RAM14に
記憶される複数の各ブロツクの曜日、時刻データ
ーの対比を行い、即ち、カウンター13に相当す
る曜日、時刻データーの記憶するブロツクの検索
を行い、一致したブロツクがあつた時にその出力
No.の端子に出力データーを送出することによつて
行われる。 As mentioned above, when the program is executed, the content of the built-in day of the week/time counter 13 is compared with the day of the week and time data of each of a plurality of blocks stored in the RAM 14. In other words, the day of the week and time data corresponding to the counter 13 are compared. Searches for blocks stored in the memory, and outputs the output when a matching block is found.
This is done by sending output data to the No. terminal.
第12図はこの動作の制御手順を示すフローチ
ヤートである。 FIG. 12 is a flow chart showing the control procedure for this operation.
先ずn30は曜日・時刻カウンター13と一致す
る曜日、時刻の記憶したブロツクを検索するステ
ツプで、検索は既述した様に出力No.の小さい順、
次に曜日順に行われる様になつている。 First, n 30 is a step to search for blocks in which the day of the week and time that matches the day of the week and time counter 13 are stored.As mentioned above, the search is performed in descending order of output number,
The events are then held in order of the days of the week.
カウンター13と曜日、時刻の一致したブロツ
クが検出されると、n31へ進み、そのブロツクの
デユーテイフラツグ領域の記憶内容を判別する。
ここでもしフラツグが立つていなければn32へと
進み、そのブロツクの出力データー(出力状態領
域に記憶されるデーター)の実行を行い再たび
n30へ戻り次のブロツク検索を行う。しかし、フ
ラツグが立つている場合はn33へと進み、実行出
力データーの置き換えが行われる。 When a block whose day of the week and time match those of the counter 13 is detected, the process proceeds to n31 , where the stored contents of the duty flag area of that block are determined.
Here, if the flag is not set, proceed to n 32 , execute the output data (data stored in the output status area) of that block, and repeat it again.
Return to n 30 and search for the next block. However, if the flag is set, the process proceeds to n33 and the execution output data is replaced.
先ず当該ブロツクのデユーテイパターンNo.を読
み取り、そのブロツクのデユーテイパターンNo.加
減実行フラツグが立つていればn35、n36でセンサ
ー23,24の状態を検出し、上限温度センサー
23がONであるならn37でパターンNo.を「−1」
し、下限温度センサー24がONであるならn38で
パターンNo.を「+1」する。これらのセンサーが
両方共OFFであるなら、或いは当該ブロツクの
デユーテイパターンNo.加減実行フラツグがたつて
いなければ、そのままのデユーテイパターンNo.が
対象となる。次にn39でデユーテイパターンNo.に
対応したサイクルタイムとオンタイムを特定する
RAM22のデユーテイパターンデーターを読み
出し、n40でそのデーターを出力データーとして
実行する。 First, the duty pattern number of the block is read, and if the duty pattern number addition/subtraction execution flag of that block is set, the states of the sensors 23 and 24 are detected at n35 and n36 , and the upper limit temperature sensor 23 is set. If is ON, set the pattern number to "-1" with n 37
However, if the lower limit temperature sensor 24 is ON, the pattern number is incremented by "+1" in n38 . If both of these sensors are OFF, or if the duty pattern number addition/subtraction execution flag of the block concerned is not set, the current duty pattern number will be the target. Next, use n 39 to specify the cycle time and on-time corresponding to the duty pattern No.
The duty pattern data in the RAM 22 is read out, and the data is executed as output data at n40 .
この様にして或る出力端子のプログラムの実行
が行われるが、同様に各出力端子のプログラムの
実行も行われる。より詳しくは、曜日・時刻カウ
ンター13の内容が変動する毎に、RAM14に
記憶される全てのブロツクの検索が行われ、検索
の行われたブロツクの全てについて出力No.順にプ
ログラムの実行、即ち第12図に示す手順が繰り
返されることとなる。これらの手順の処理に要す
る時間は、ウイークプログラマーとして必要な出
力端子数がそれ程多くないことから、殆ど無視す
ることが出来、従つて見かけ上出力端子のオン、
オフ変動は全て同一時刻に行われる。 In this way, a program for a certain output terminal is executed, and a program for each output terminal is also executed in the same way. More specifically, every time the contents of the day/time counter 13 change, all blocks stored in the RAM 14 are searched, and programs are executed in the order of output numbers for all of the searched blocks. The procedure shown in FIG. 12 will be repeated. The time required to process these steps can be almost ignored since the number of output terminals required for a weak programmer is not that large, and therefore the time required to process these steps can be almost ignored.
All off fluctuations occur at the same time.
なお、以上の例では、センサーを2個用いてデ
ユーテイパターンNo.が自動的に「+1」、若しく
は「−1」変更される様にしたが、入力キー20
を用いてその変更分の大きさを任意に変えれるこ
とはいうまでもない。また、センサーを2個以上
用いても良く、温度センサーに限らず制御対象に
よつて種々のセンサーを用いることも可能であ
る。更にセンサーを用いず入力キー20により、
直接、デユーテイパターンNo.の加減数とその実施
を指定することもできる。 In the above example, two sensors were used to automatically change the duty pattern number to "+1" or "-1", but the input key 20
It goes without saying that the magnitude of the change can be changed arbitrarily using . Moreover, two or more sensors may be used, and it is also possible to use not only a temperature sensor but also various sensors depending on the object to be controlled. Furthermore, by using the input key 20 without using a sensor,
It is also possible to directly specify the number of additions and subtractions to the duty pattern number and its implementation.
以上の様に、この発明によればプログラムメモ
リー(RAM14)に記憶される各ブロツクの出
力データーが、他のメモリー(RAM22)に記
憶される連続した出力状態を表すデユーテイパタ
ーンのデーターによつて置き変えられる様になる
ため、プログラムメモリーの容量を小さくするこ
とが出来るとともに、ブロツクに記憶されるデユ
ーテイパターンNo.を変えるだけで、その連続する
出力データーのサイクルタイム、オンタイムを任
意に変更することが可能である。このため、出力
データーの変更が極めて容易であり、操作性を大
きく向上させるという効果がある。また、各ブロ
ツクのデユーテイパターンNo.を適当に設定するこ
とにより、複数の制御対象が同時に運転する瞬時
電力を小さくすることが容易に出来、省エネルギ
ーを図り得るとともに、契約電力を小さくし得る
有用性がある。 As described above, according to the present invention, the output data of each block stored in the program memory (RAM 14) is controlled by duty pattern data representing continuous output states stored in another memory (RAM 22). Since the program memory capacity can be reduced, the cycle time and on-time of continuous output data can be changed as desired by simply changing the duty pattern number stored in the block. It is possible to change to . Therefore, it is extremely easy to change the output data, which has the effect of greatly improving operability. In addition, by appropriately setting the duty pattern number of each block, it is possible to easily reduce the instantaneous power required for multiple controlled objects to operate simultaneously, thereby saving energy and reducing contract power. It has usefulness.
第1図、第2図はこの発明の前提であるウイー
クプログラマーの構成を示し、それぞれ概念的ブ
ロツク図とマイクロコンピユーターを利用したブ
ロツク図である。また、第3図は第2図のウイー
クプログラマーにおいてプログラムメモリー
RAM14に記憶される1ブロツクの記憶内容を
示し、第4図イ,ロはその例を示している。第5
図はこの発明の実施例であるウイークプログラマ
ーのブロツク図であり、第6図は同プログラマー
のプログラムメモリー(RAM14)に記憶され
る1ブロツクの記憶内容、また第7図は他のメモ
リー(RAM22)に記憶されるデユーテイパタ
ーンテーブル、第8図は同メモリー(RAM2
2)に記憶されるパターンNo.加減テーブルを示
す。更に第9図は同ウイークプログラマーに用い
られる入力キーの主要キーを示し、また、第10
図乃至第12図はこのウイークプログラマーの動
作手順を示すフローチヤートである。
10……CPU、13……曜日・時刻カウンタ
ー、14……RAM(プログラムメモリー)、19
……出力回路、20……入力キー、22……
RAM。
FIGS. 1 and 2 show the configuration of a weak programmer which is the premise of this invention, and are a conceptual block diagram and a block diagram using a microcomputer, respectively. Also, Figure 3 shows the program memory in the weak programmer shown in Figure 2.
The contents of one block stored in the RAM 14 are shown, and FIGS. 4A and 4B show examples thereof. Fifth
The figure is a block diagram of a weak programmer that is an embodiment of the present invention. Figure 6 shows the contents of one block stored in the program memory (RAM 14) of the programmer, and Figure 7 shows the contents of another memory (RAM 22). The duty pattern table stored in the same memory (RAM2) is shown in Figure 8.
2) shows the pattern number addition/subtraction table stored in FIG. Furthermore, FIG. 9 shows the main input keys used by the weak programmer, and also shows the 10th key.
Figures 1 through 12 are flowcharts showing the operating procedure of this weak programmer. 10...CPU, 13...Day/time counter, 14...RAM (program memory), 19
...Output circuit, 20...Input key, 22...
RAM.
Claims (1)
かを特定する出力No.、曜日、時刻、および出力状
態を出力データー毎に記憶する第1のメモリー
と、曜日および時刻を記憶する曜日・時刻カウン
ターとを有し、該カウンターの記憶内容の曜日、
時刻に対応する出力データーを前記第1のメモリ
ーから読み出してその出力データーの出力No.によ
つて特定される出力端子に同出力データーの出力
状態の内容を出力するようにしたウイークプログ
ラマーにおいて、 出力のオン、オフ繰り返し時間を特定する複数
個のデユーテイーパターンデーターを記憶する第
2のメモリーを設けるとともに、 前記第1のメモリーに記憶する出力データーの
出力状態を、前記第2のメモリーに記憶されるデ
ユーテイーパターンデーターの何れかに置き換え
られるようにしたことを特徴とするウイークプロ
グラマー。[Claims] 1. A first memory that stores a plurality of output terminals, an output number specifying any one of the plurality of output terminals, a day of the week, a time, and an output state for each output data; It has a day of the week/time counter that stores the time, and the day of the week of the memory contents of the counter,
In a week programmer that reads output data corresponding to a time from the first memory and outputs the contents of the output state of the output data to an output terminal specified by the output number of the output data, the output A second memory is provided for storing a plurality of duty pattern data specifying on/off repetition times, and the output state of the output data stored in the first memory is stored in the second memory. A weak programmer characterized in that it can be replaced with any of the duty pattern data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP950081A JPS57124284A (en) | 1981-01-24 | 1981-01-24 | Week programmer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP950081A JPS57124284A (en) | 1981-01-24 | 1981-01-24 | Week programmer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57124284A JPS57124284A (en) | 1982-08-03 |
| JPH0343599B2 true JPH0343599B2 (en) | 1991-07-03 |
Family
ID=11721951
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP950081A Granted JPS57124284A (en) | 1981-01-24 | 1981-01-24 | Week programmer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57124284A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0621039Y2 (en) * | 1988-11-16 | 1994-06-01 | ダイキン工業株式会社 | Load timer device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS55160896A (en) * | 1979-06-01 | 1980-12-15 | Matsushita Electric Ind Co Ltd | Program timer |
-
1981
- 1981-01-24 JP JP950081A patent/JPS57124284A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57124284A (en) | 1982-08-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0343599B2 (en) | ||
| JPS55124830A (en) | Input and output control system | |
| JPS6216715Y2 (en) | ||
| JP3355280B2 (en) | Display control system | |
| JPS6281103U (en) | ||
| JPS6222172A (en) | Electronic device with schedule function | |
| JPS61275959A (en) | Graph display control device and graph display control method | |
| JPH0310123B2 (en) | ||
| JP2966246B2 (en) | Schedule control device | |
| JP2576088B2 (en) | Electronic equipment with data storage device | |
| JPS6210831Y2 (en) | ||
| JPS6181359U (en) | ||
| JPS6012185Y2 (en) | data storage device | |
| JPS6335209A (en) | Timer device of rice cooker | |
| JPS6145550Y2 (en) | ||
| JPS6223031A (en) | Variable magnification copying machine | |
| JPH0751610Y2 (en) | Programmable controller with override function | |
| JP2696811B2 (en) | Electronic preset counter | |
| JPH0720769Y2 (en) | Small electronic calculator with programming function | |
| JPS5647781A (en) | Program timer | |
| JPS5815203U (en) | programmable controller | |
| JPS62109240U (en) | ||
| JPS59144909A (en) | Stored program controller | |
| JPS5681490A (en) | Week programmer | |
| JPS61168449U (en) |