JPH0584619B2 - - Google Patents

Info

Publication number
JPH0584619B2
JPH0584619B2 JP14054288A JP14054288A JPH0584619B2 JP H0584619 B2 JPH0584619 B2 JP H0584619B2 JP 14054288 A JP14054288 A JP 14054288A JP 14054288 A JP14054288 A JP 14054288A JP H0584619 B2 JPH0584619 B2 JP H0584619B2
Authority
JP
Japan
Prior art keywords
code
timer
code switch
switch
electrical equipment
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
Application number
JP14054288A
Other languages
Japanese (ja)
Other versions
JPH01311526A (en
Inventor
Akihiko Kasahara
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP14054288A priority Critical patent/JPH01311526A/en
Publication of JPH01311526A publication Critical patent/JPH01311526A/en
Publication of JPH0584619B2 publication Critical patent/JPH0584619B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、電気機器のタイマー装置に係り、
とくにコードスイツチによる連続運転とタイマー
運転の切替え指令によりマイクロコンピユータ制
御される電気機器のタイマー装置に関するもので
ある。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a timer device for electrical equipment,
In particular, the present invention relates to a timer device for electrical equipment that is controlled by a microcomputer using a code switch to switch between continuous operation and timer operation.

[従来の技術] 従来の電気機器のタイマー装置において、コー
ドスイツチを用いて連続運転とタイマー運転の設
定を行う装置要部の構成と設定方法について説明
する。
[Prior Art] In a conventional timer device for electrical equipment, the configuration and setting method of the main part of the device for setting continuous operation and timer operation using a code switch will be described.

第3図a,bはコードスイツチの模式説明図で
あり、aはコードスイツチの構造図、bはその結
線回路図である。図において、21はコードスイ
ツチ、22はコードスイツチ21の結線図であ
り、COMはスイツチの共通端子、t1,t2,t3,t4
はコードスイツチ21の接点の端子である。ま
た、第3図aに示した番号1,2,……,12は
コードスイツチの接点の組合せ位置を設定するポ
ジシヨンの番号の位置である。
FIGS. 3a and 3b are schematic explanatory diagrams of the code switch, where a is a structural diagram of the code switch and b is a wiring circuit diagram thereof. In the figure, 21 is a code switch, 22 is a wiring diagram of the code switch 21, COM is a common terminal of the switch, t 1 , t 2 , t 3 , t 4
is a contact terminal of the code switch 21. Further, the numbers 1, 2, . . . , 12 shown in FIG. 3A are the position numbers for setting the combination positions of the contacts of the code switch.

第4図はコードスイツチ21をタイマー装置の
操作部に組込んだ場合の模式正面図である。図に
おいて、24はタイマー装置の操作部であり、操
作部24の内側にコードスイツチ21が図のよう
に長穴から操作ノブ23が突出するように取付け
られている。23はコードスイツチ21の操作ノ
ブであり、1,2,……,12は第3図aに示し
たポジシヨンの番号の位置と合わせて印をつけた
操作ノブ23ポジシヨンの目盛である。
FIG. 4 is a schematic front view of the code switch 21 incorporated into the operating section of the timer device. In the figure, reference numeral 24 denotes an operating section of the timer device, and a cord switch 21 is mounted inside the operating section 24 so that an operating knob 23 protrudes from an elongated hole as shown in the figure. Reference numeral 23 is an operating knob of the code switch 21, and 1, 2, .

第5図はコードスイツチ21の接点t1,t2,t3
t4の組合せによるコード表である。第1列は操作
ノブ23のポジシヨン目盛、第2列は設定時間
(単位は時間)、第3列は各接点t1,t2,t3,t4
状態を示し、1は各接点がONの場合、0はOFF
の場合である。
FIG. 5 shows contact points t 1 , t 2 , t 3 , and
This is a code table for t 4 combinations. The first column shows the position scale of the operation knob 23, the second column shows the setting time (unit: hours), and the third column shows the status of each contact t 1 , t 2 , t 3 , t 4 , and 1 indicates that each contact is If ON, 0 is OFF
This is the case.

次に、第3図〜第5図によつて動作について説
明する。操作ノブ23をスライドさせて、接点
t1,t2,t3,t4をON・OFFさせることにより、第
5図のコード表に示されるコードにしたがつて、
連続運転及びタイマー運転の設定時間の1時間か
ら11時間までのコード設定を行う。このとき、操
作ノブ23は第4図に示すように、連続からタイ
マー設定時間の1時間から11時間の目盛に合わせ
るものとする。例えば、連続運転では目盛は1で
設定時間は連続、出力する接点状態は0−0−0
−0であり、目盛5の場合はタイマーの設定時間
4時間、接点状態は0−1−1−0といつた具合
である。
Next, the operation will be explained with reference to FIGS. 3 to 5. Slide the operation knob 23 and
By turning on and off t 1 , t 2 , t 3 , and t 4 , according to the code shown in the code table in Figure 5,
Set the code for continuous operation and timer operation from 1 hour to 11 hours. At this time, as shown in FIG. 4, the operating knob 23 is set to the continuous timer setting time scale of 1 hour to 11 hours. For example, in continuous operation, the scale is 1, the set time is continuous, and the output contact status is 0-0-0.
-0, and when the scale is 5, the timer setting time is 4 hours, and the contact state is 0-1-1-0.

このように目盛の設定ポジシヨンによるコード
をマイクロコンピユータに入力することにより、
図示しないマイクロコンピユータが連続又はタイ
マー運転の設定を行つて電気機器に指令し、作動
させるようになつている。この場合、マイクロコ
ンピユータまでの信号は、接点t1,t2,t3,t4
ON・OFFしている状態を入力するものとし、こ
の接点の状態を第5図のコード表に従つて、マイ
クロコンピユータが読みとることとするものであ
る。
In this way, by inputting the code according to the scale setting position into the microcomputer,
A microcomputer (not shown) sets continuous or timer operation and instructs the electrical equipment to operate. In this case, the signal to the microcomputer is transmitted through contacts t 1 , t 2 , t 3 , and t 4 .
The ON/OFF state is input, and the microcomputer reads the contact state according to the code table shown in Figure 5.

[発明が解決しようとする課題] 従来の電気機器のタイマー装置は以上のように
構成されているので、操作ノブ23の位置が例え
ば第4図及び第5図に示す設定時間の連続(目盛
1)と1時間(目盛2)の間に設定されると、マ
イクロコンピユータは連続運転かタイマー運転か
を判断することができず、結果的に電気機器は運
転と停止のチヤタリングを行うなどの問題があつ
た。
[Problems to be Solved by the Invention] Since the conventional timer device for electrical equipment is configured as described above, the position of the operation knob 23 is not adjusted to the continuous set time (scale 1) shown in FIGS. 4 and 5, for example. ) and 1 hour (scale 2), the microcomputer will not be able to determine whether to run continuously or on a timer, resulting in problems such as electrical equipment chattering between running and stopping. It was hot.

この発明は上記のような問題点を解消するため
になされたもので、コードスイツチの操作ノブが
連続運転とタイマー運転の中間に設定されても、
電気機器が運転と停止のチヤタリングを行なわな
いようにしたタイマー装置を得ることを目的とす
るものである。
This invention was made to solve the above problems, and even if the operating knob of the code switch is set between continuous operation and timer operation,
The object of the present invention is to provide a timer device that prevents electric equipment from chattering when it starts and stops.

[課題を解決するための手段] この発明に係る電気機器のタイマー装置は、マ
イクロコンピユータにより制御される電気機器を
コードスイツチを用いて連続運転とタイマー運転
の切替える場合、コードスイツチの連続運転とタ
イマー運転の両ポジシヨン(目盛)の間にヒステ
リシスポジシヨンを設けることにより、上述の問
題点を解決したものである。
[Means for Solving the Problems] A timer device for electrical equipment according to the present invention provides a timer device for switching between continuous operation and timer operation of an electrical equipment controlled by a microcomputer using a code switch. The above-mentioned problem is solved by providing a hysteresis position between both operating positions (scales).

[作用] この発明においては連続運転とタイマー運転の
切替えを行うコードスイツチにヒステリシスコー
ドを設けたので、このヒステリシスコードはマイ
クロコンピユータによつて直前に設定されていた
コードと同じ状態として読込まれるようになつて
いるため、たとえ操作ノブが連続運転とタイマー
運転の中間位置に設定されても、直前に設定され
た状態で運転され、マイクロコンピユータが設定
状態の判定に迷うことなく制御を実行する。
[Function] In this invention, a hysteresis code is provided in the code switch that switches between continuous operation and timer operation, so that this hysteresis code is read by the microcomputer as the same state as the code that was set immediately before. Therefore, even if the operating knob is set to an intermediate position between continuous operation and timer operation, the device will operate in the state set immediately before, and the microcomputer will execute control without hesitation in determining the setting state.

[発明の実施例] 以下、この発明の実施例を図によつて説明す
る。
[Embodiments of the Invention] Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図はこの発明の一実施例の構成を示す要部
ブロツク回路図である。なお、この構成において
第3図及び第4図の従来例に示したコードスイツ
チ及び操作部はほぼ同様の構成で第1図の実施例
に適用されている。
FIG. 1 is a main block circuit diagram showing the configuration of an embodiment of the present invention. In this configuration, the code switch and operating section shown in the conventional example shown in FIGS. 3 and 4 have substantially the same configuration and are applied to the embodiment shown in FIG.

図において、21はコードスイツチ、25はマ
イクロコンピユータ、26は電気機器のコントロ
ール回路である。27はコードスイツチ21とマ
イクロコンピユータ25とを接続する抵抗R1
R2,R3,R4と、電源端子27aとからなる付加
回路であり、電源端子27aからの電圧をコード
スイツチ接点t1,t2,t3,t4にそれぞれ抵抗R1
R2,R3,R4を介して印加したり、接地する役目
をもつており、コードスイツチ接点t1,t2,t3
t4のON・OFFによる接点状態をコンピユータに
入力するための中間回路である。したがつて、2
8はコードスイツチ21と、付加回路27とから
なるタイマー装置の操作部を示すものである。
In the figure, 21 is a code switch, 25 is a microcomputer, and 26 is a control circuit for electrical equipment. 27 is a resistor R 1 connecting the code switch 21 and the microcomputer 25;
This is an additional circuit consisting of R 2 , R 3 , R 4 and a power supply terminal 27a, and the voltage from the power supply terminal 27a is connected to code switch contacts t 1 , t 2 , t 3 , t 4 through resistors R 1 , t 3 and t 4 , respectively.
It has the role of applying voltage and grounding via R 2 , R 3 , R 4 , and the code switch contacts t 1 , t 2 , t 3 ,
This is an intermediate circuit for inputting the ON/OFF contact status of t4 to the computer. Therefore, 2
Reference numeral 8 indicates an operating section of the timer device consisting of a code switch 21 and an additional circuit 27.

第2図は第1図の実施例に用いるコードスイツ
チ21の接点t1,t2,t3,t4の接点状態を示すコ
ード表である。第2図において、コードスイツチ
21の操作ノブ23のポジシヨンの目盛2(コー
ド:1−0−0−0)をヒステリシスポジシヨン
とし、このヒステリシスポジシヨンの接点状態を
ヒステリシスコードとして用い、連続運転目盛1
とタイマー運転目盛3との間に設けた。したがつ
て、第2図のコード表では設定目盛3をタイマー
運転の設定時間の1時間とし、以下順次操下つて
最後の目盛12を10時間に設定するようにしてい
る。
FIG. 2 is a code table showing the contact states of contacts t 1 , t 2 , t 3 , and t 4 of the code switch 21 used in the embodiment of FIG. 1. In FIG. 2, position scale 2 (code: 1-0-0-0) of the operation knob 23 of the code switch 21 is set as the hysteresis position, and the contact state of this hysteresis position is used as the hysteresis code, and the continuous operation scale is 1
and the timer operation scale 3. Therefore, in the code table shown in FIG. 2, the setting scale 3 is set to 1 hour, which is the set time of the timer operation, and the setting scale 12 is set to 10 hours by sequentially descending.

次にこの実施例の動作について説明する。 Next, the operation of this embodiment will be explained.

コードスイツチ21の操作ノブ23が第4図の
連続の位置(目盛1)に設定されると、第2図の
コード表により接点t1,t2,t3,t4の接点の状態
がマイクロコンピユータ25に入力され、機器の
コントロール回路26は連続運転を行う。次に操
作ノブ23が第4図のポジシヨン2と連続のポジ
シヨン1の中間に設置された場合には、マイクロ
コンピユータ25に直前の状態を記憶させておく
ことと、ポジシヨン2をヒステリシスコードにす
ることにより、このコードはマイクロコンピユー
タ25が記憶している直前のコード状態と同じ状
態と判断されるようになるから、連続状態として
マイクロコンピユータ25に入力される。次に操
作ノブ23の位置を第4図のポジシヨン2とポジ
シヨン3の中間に設置した場合は、ヒステリシス
コードはマイクロコンピユータ25によつてタイ
マー運転状態と判断され、電気機器のコントロー
ル回路26はタイマー運転モードとなり、停止を
する。また、最初に操作ノブ23がタイマー運転
のポジシヨンにあつて、その後第4図のポジシヨ
ン3と2の中間に設置された場合は、前述のごと
く今度はヒステリシスコードはタイマー運転のコ
ードとマイクロコンピユータ26に判断されるよ
うになつている。
When the operation knob 23 of the code switch 21 is set to the continuous position (scale 1 ) shown in FIG. The information is input to the computer 25, and the control circuit 26 of the device performs continuous operation. Next, when the operating knob 23 is installed between position 2 and continuous position 1 in FIG. As a result, this code is determined to be in the same state as the immediately previous code state stored in the microcomputer 25, so that it is input to the microcomputer 25 as a continuous state. Next, when the operating knob 23 is placed between positions 2 and 3 in FIG. mode and stops. Furthermore, if the operation knob 23 is initially in the timer operation position and then installed between positions 3 and 2 in FIG. It is becoming increasingly judged by

以上のように、タイマー装置のコードスイツチ
の連続運転と、タイマー運転の両ポジシヨン(目
盛)の間にヒステリシスポジシヨンを設けてヒス
テリシスコードを組込んだので、連続運転からタ
イマー運転への移行及びタイマー運転から連続運
転への移行時に、コードスイツチの操作ノブすな
わちレバーが両運転ポジシヨンの中間に設定され
た場合でも、すなわちレバーの位置に関係なく、
マイクロコンピユータにコードスイツチよりの入
力される信号によるチヤタリングをおこさせない
で、電気機器のマイクロコンピユータ制御が安定
に実行できる。
As mentioned above, a hysteresis position is provided between the continuous operation of the code switch of the timer device and the timer operation position (scale), and a hysteresis code is incorporated, so that the transition from continuous operation to timer operation and the timer When transitioning from operation to continuous operation, even if the operating knob or lever of the code switch is set between the two operation positions, i.e. regardless of the position of the lever,
To stably execute microcomputer control of electrical equipment without causing chattering to the microcomputer due to signals input from a code switch.

[発明の効果] 以上のようにこの発明によれば、タイマー装置
のコードスイツチの連続運転と、タイマー運転と
の両ポジシヨンの間の目盛のコードをヒステリシ
スコードとし、このコードによつてマイクロコン
ピユータによる電気機器の操作制御を行うとき
に、コードスイツチの状態がどのように設定され
ていても、電気機器が運転、停止のチヤタリング
動作を行うことなく、安定した状態でタイマー設
定を行えるように構成したので、安価、かつ精度
の高い装置が得られる効果がある。
[Effects of the Invention] As described above, according to the present invention, the code on the scale between the continuous operation and timer operation positions of the code switch of the timer device is defined as a hysteresis code, and this code is used to control the When controlling the operation of electrical equipment, the system is configured so that timer settings can be made in a stable state without causing the electrical equipment to start or stop, no matter how the code switch is set. Therefore, an inexpensive and highly accurate device can be obtained.

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

第1図はこの発明の一実施例の構成を示す要部
回路図、第2図は第1図の実施例に使用するコー
ドスイツチの接点状態を示すコード表図、第3図
aは従来から用いられているコードスイツチの模
式構成図、第3図bはその結線回路図、第4図は
タイマー装置へコードスイツチを組込んだ操作部
の模式図、第5図は従来のコードスイツチの接点
状態を示すコード表図である。 図において、21はコードスイツチ、22はコ
ードスイツチの接点結線回路図、23は操作ノ
ブ、24は操作部、24はマイクロコンピユー
タ、26は電気機器のコントロール回路である。
なお、図中同一符号は同一又は相当部分を示す。
Fig. 1 is a main circuit diagram showing the configuration of an embodiment of the present invention, Fig. 2 is a code chart showing the contact state of the code switch used in the embodiment of Fig. 1, and Fig. 3a is a conventional circuit diagram. A schematic configuration diagram of the code switch used, Fig. 3b is its wiring circuit diagram, Fig. 4 is a schematic diagram of the operating section incorporating the code switch into a timer device, and Fig. 5 shows the contacts of a conventional code switch. It is a code table diagram showing the state. In the figure, 21 is a code switch, 22 is a contact connection circuit diagram of the code switch, 23 is an operating knob, 24 is an operating section, 24 is a microcomputer, and 26 is a control circuit for the electrical equipment.
Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 1 コードスイツチの接点切替えによる設定コー
ドの指令にもとづいて連続運転とタイマー運転と
の切替えをコンピユータ制御する電気機器のタイ
マー装置において、 上記連続運転とタイマー運転とを設定する上記
コードスイツチの2つのポジシヨンの間に、ヒス
テリシスコードを出力するヒステリシスポジシヨ
ンを設けたことを特徴とする電気機器のタイマー
装置。
[Scope of Claims] 1. In a timer device for electrical equipment in which a computer controls switching between continuous operation and timer operation based on a setting code command by switching contacts of a code switch, the above-mentioned method for setting continuous operation and timer operation is provided. A timer device for electrical equipment, characterized in that a hysteresis position for outputting a hysteresis code is provided between two positions of a code switch.
JP14054288A 1988-06-09 1988-06-09 Timer of electric apparatus Granted JPH01311526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14054288A JPH01311526A (en) 1988-06-09 1988-06-09 Timer of electric apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14054288A JPH01311526A (en) 1988-06-09 1988-06-09 Timer of electric apparatus

Publications (2)

Publication Number Publication Date
JPH01311526A JPH01311526A (en) 1989-12-15
JPH0584619B2 true JPH0584619B2 (en) 1993-12-02

Family

ID=15271097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14054288A Granted JPH01311526A (en) 1988-06-09 1988-06-09 Timer of electric apparatus

Country Status (1)

Country Link
JP (1) JPH01311526A (en)

Also Published As

Publication number Publication date
JPH01311526A (en) 1989-12-15

Similar Documents

Publication Publication Date Title
KR960040770A (en) Automotive power distribution system and its control circuit
US6944831B1 (en) Operator buttons as active buttons
JPH0584619B2 (en)
US5440695A (en) Input/output module having a combination input/output point
JPH0653015A (en) One-touch type analog information input equipment and variable resistor used in the equipment
JPS63299699A (en) Switching circuit device
JPH0128291B2 (en)
JP2893015B1 (en) Breaker electrical operating device
JPS6116978B2 (en)
JP2536150B2 (en) Fader voltage generator
JP2831024B2 (en) Motor control device
JPH05204497A (en) Peripheral device remote-controlled on/off of power source
JP2536235B2 (en) Power-on circuit
JPH0534034Y2 (en)
JPS5910820Y2 (en) Timer signal input/output circuit
JPH0735502Y2 (en) Communication device
JP2670825B2 (en) Laser trimming simulation method
KR100192394B1 (en) Reset device for microcomputer
JPH0674951U (en) Engine dynamometer device
KR880000501B1 (en) Power controller for multi-function
KR900003963B1 (en) Programmable swicting method
JPH04145835A (en) Power supply turning on/off system
JPH0342495Y2 (en)
JPH0122158Y2 (en)
JPH0354820B2 (en)